Skip to content

Commit 0732135

Browse files
committed
Renaming resource cmdlets
1 parent a1c571b commit 0732135

File tree

54 files changed

+54
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+54
-54
lines changed

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/FindAzureResourceGroupCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2626
/// Finds the resource group.
2727
/// </summary>
2828
[Cmdlet(VerbsCommon.Find, "AzureRmResourceGroup"), OutputType(typeof(PSObject))]
29-
[CliCommandAlias("resourcemanager;group;find")]
29+
[CliCommandAlias("resource;group;find")]
3030
public class FindAzureResourceGroupCmdlet : ResourceManagerCmdletBase
3131
{
3232
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The tag filter for the OData query. The expected format is @{Name = 'tagName'} or @{Name = 'tagName'; Value = 'tagValue'}.")]

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/GetAzureResourceGroupDeploymentOperationCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2626
/// Gets the deployment operation.
2727
/// </summary>
2828
[Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupDeploymentOperation"), OutputType(typeof(PSResourceObject))]
29-
[CliCommandAlias("resourcemanager;group;deployment;operation;ls")]
29+
[CliCommandAlias("resource;group;deployment;operation;ls")]
3030
public class GetAzureResourceGroupDeploymentOperationCmdlet : ResourceManagerCmdletBase
3131
{
3232
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2626
/// </summary>
2727
[Cmdlet(VerbsLifecycle.Invoke, "AzureRmResourceAction", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet),
2828
OutputType(typeof(PSResourceObject))]
29-
[CliCommandAlias("resourcemanager;resource;action;invoke")]
29+
[CliCommandAlias("resource;action;invoke")]
3030
public sealed class InvokAzureResourceActionCmdlet : ResourceManipulationCmdletBase
3131
{
3232
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Lock/GetAzureResourceLockCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2424
/// Gets the resource lock.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmResourceLock"), OutputType(typeof(ResourceLock<JToken>))]
27-
[CliCommandAlias("resourcemanager;resource;lock;ls")]
27+
[CliCommandAlias("resource;lock;ls")]
2828
public class GetAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2929
{
3030
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Lock/NewAzureResourceLockCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.New, "AzureRmResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock),
2626
OutputType(typeof(ResourceLock<JToken>))]
27-
[CliCommandAlias("resourcemanager;resource;lock;create")]
27+
[CliCommandAlias("resource;lock;create")]
2828
public class NewAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2929
{
3030
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Lock/RemoveAzureResourceLockCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2121
/// The remove azure resource lock cmdlet.
2222
/// </summary>
2323
[Cmdlet(VerbsCommon.Remove, "AzureRmResourceLock", SupportsShouldProcess = true), OutputType(typeof(bool))]
24-
[CliCommandAlias("resourcemanager;resource;lock;rm")]
24+
[CliCommandAlias("resource;lock;rm")]
2525
public class RemoveAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2626
{
2727
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Lock/SetAzureResourceLockCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Set, "AzureRmResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock),
2525
OutputType(typeof(ResourceLock<JToken>))]
26-
[CliCommandAlias("resourcemanager;resource;lock;set")]
26+
[CliCommandAlias("resource;lock;set")]
2727
public class SetAzureResourceLockCmdlet : NewAzureResourceLockCmdlet
2828
{
2929
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/GetAzurePolicyAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2424
/// Gets the policy assignment.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmPolicyAssignment", DefaultParameterSetName = GetAzurePolicyAssignmentCmdlet.ParameterlessSet), OutputType(typeof(ResourcePolicyAssignment<JToken>))]
27-
[CliCommandAlias("networksecuritypolicy;assignment;ls")]
27+
[CliCommandAlias("resource;policy;assignment;ls")]
2828
public class GetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
2929
{
3030
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2424
/// Gets the policy definition.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmPolicyDefinition", DefaultParameterSetName = GetAzurePolicyDefinitionCmdlet.ParameterlessSet), OutputType(typeof(ResourcePolicyDefinition<JToken>))]
27-
[CliCommandAlias("networksecuritypolicy;definition;ls")]
27+
[CliCommandAlias("resource;policy;definition;ls")]
2828
public class GetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
2929
{
3030
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/NewAzurePolicyAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2424
/// Creates a policy assignment.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.New, "AzureRmPolicyAssignment"), OutputType(typeof(ResourcePolicyAssignment<JToken>))]
27-
[CliCommandAlias("networksecuritypolicy;assignment;create")]
27+
[CliCommandAlias("resource;policy;assignment;create")]
2828
public class NewAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
2929
{
3030
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2626
/// Creates the policy definition.
2727
/// </summary>
2828
[Cmdlet(VerbsCommon.New, "AzureRmPolicyDefinition"), OutputType(typeof(ResourcePolicyDefinition<JToken>))]
29-
[CliCommandAlias("networksecuritypolicy;definition;create")]
29+
[CliCommandAlias("resource;policy;definition;create")]
3030
public class NewAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
3131
{
3232
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/RemoveAzurePolicyAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2121
/// Removes the policy assignment.
2222
/// </summary>
2323
[Cmdlet(VerbsCommon.Remove, "AzureRmPolicyAssignment", DefaultParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet), OutputType(typeof(bool))]
24-
[CliCommandAlias("networksecuritypolicy;assignment;rm")]
24+
[CliCommandAlias("resource;policy;assignment;rm")]
2525
public class RemoveAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
2626
{
2727
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/RemoveAzurePolicyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2121
/// Removes the policy definition.
2222
/// </summary>
2323
[Cmdlet(VerbsCommon.Remove, "AzureRmPolicyDefinition", DefaultParameterSetName = RemoveAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(bool))]
24-
[CliCommandAlias("networksecuritypolicy;definition;rm")]
24+
[CliCommandAlias("resource;policy;definition;rm")]
2525
public class RemoveAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
2626
{
2727
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/SetAzurePolicyAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2525
/// Sets the policy assignment.
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Set, "AzureRmPolicyAssignment", DefaultParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet), OutputType(typeof(ResourcePolicyAssignment<JToken>))]
28-
[CliCommandAlias("networksecuritypolicy;assignment;set")]
28+
[CliCommandAlias("resource;policy;assignment;set")]
2929
public class SetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
3030
{
3131
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2727
/// Sets the policy definition.
2828
/// </summary>
2929
[Cmdlet(VerbsCommon.Set, "AzureRmPolicyDefinition", DefaultParameterSetName = SetAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(ResourcePolicyDefinition<JToken>))]
30-
[CliCommandAlias("networksecuritypolicy;definition;set")]
30+
[CliCommandAlias("resource;policy;definition;set")]
3131
public class SetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
3232
{
3333
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/FindAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
3131
/// Cmdlet to get existing resources from ARM cache.
3232
/// </summary>
3333
[Cmdlet(VerbsCommon.Find, "AzureRmResource", DefaultParameterSetName = FindAzureResourceCmdlet.ListResourcesParameterSet), OutputType(typeof(PSResourceObject))]
34-
[CliCommandAlias("resourcemanager;resource;find")]
34+
[CliCommandAlias("resource;find")]
3535
public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
3636
{
3737
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
3131
/// Cmdlet to get existing resources.
3232
/// </summary>
3333
[Cmdlet(VerbsCommon.Get, "AzureRmResource", DefaultParameterSetName = GetAzureResourceCmdlet.ParameterlessSet), OutputType(typeof(PSResourceObject))]
34-
[CliCommandAlias("resourcemanager;resource;ls")]
34+
[CliCommandAlias("resource;ls")]
3535
public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase
3636
{
3737
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/MoveAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2828
/// Moves existing resources to a new resource group or subscription.
2929
/// </summary>
3030
[Cmdlet(VerbsCommon.Move, "AzureRmResource", SupportsShouldProcess = true), OutputType(typeof(bool))]
31-
[CliCommandAlias("resourcemanager;resource;move")]
31+
[CliCommandAlias("resource;mv")]
3232
public class MoveAzureResourceCommand : ResourceManagerCmdletBase
3333
{
3434
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/NewAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
3232
SupportsShouldProcess = true,
3333
DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet),
3434
OutputType(typeof(PSResourceObject))]
35-
[CliCommandAlias("resourcemanager;resource;create")]
35+
[CliCommandAlias("resource;create")]
3636
public sealed class NewAzureResourceCmdlet : ResourceManipulationCmdletBase
3737
{
3838
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/RemoveAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2222
/// A cmdlet that removes an azure resource.
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Remove, "AzureRmResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(bool))]
25-
[CliCommandAlias("resourcemanager;resource;rm")]
25+
[CliCommandAlias("resource;rm")]
2626
public class RemoveAzureResourceCmdlet : ResourceManipulationCmdletBase
2727
{
2828
/// <summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/SetAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
3030
/// </summary>
3131
[Cmdlet(VerbsCommon.Set, "AzureRmResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet),
3232
OutputType(typeof(PSResourceObject))]
33-
[CliCommandAlias("resourcemanager;resource;set")]
33+
[CliCommandAlias("resource;set")]
3434
public sealed class SetAzureResourceCmdlet : ResourceManipulationCmdletBase
3535
{
3636
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/GetAzureADGroupCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Get AD groups.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmADGroup", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADGroup>))]
27-
[CliCommandAlias("activedirectory;resourcemanager;group;ls")]
27+
[CliCommandAlias("ad;group;ls")]
2828
public class GetAzureADGroupCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString,

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/GetAzureADGroupMemberCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Get AD groups members.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmADGroupMember", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADObject>))]
27-
[CliCommandAlias("activedirectory;resourcemanager;group;member;ls")]
27+
[CliCommandAlias("ad;group;member;ls")]
2828
public class GetAzureADGroupMemberCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The user email address.")]

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/GetAzureADServicePrincipalCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Get AD users.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmADServicePrincipal", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADServicePrincipal>))]
27-
[CliCommandAlias("activedirectory;sp;principal;ls")]
27+
[CliCommandAlias("ad;service;principal;ls")]
2828
public class GetAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString,

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Get AD users.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Get, "AzureRmADUser", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADUser>))]
27-
[CliCommandAlias("activedirectory;users;ls")]
27+
[CliCommandAlias("ad;user;ls")]
2828
public class GetAzureADUserCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString,

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/NewAzureADApplicationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Creates a new AD application.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.New, "AzureRmADApplication", DefaultParameterSetName = ParameterSet.ApplicationWithoutCredential), OutputType(typeof(PSADApplication))]
27-
[CliCommandAlias("activedirectory;app;create")]
27+
[CliCommandAlias("ad;app;create")]
2828
public class NewAzureADApplicationCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ApplicationWithoutCredential,

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/NewAzureADServicePrincipalCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2323
/// Creates a new service principal.
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.New, "AzureRmADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))]
26-
[CliCommandAlias("activedirectory;sp;principal;create")]
26+
[CliCommandAlias("ad;service;principal;create")]
2727
public class NewAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet
2828
{
2929
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The application id for which service principal is created.")]

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/RemoveAzureADApplicationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2525
/// Removes the AD application.
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Remove, "AzureRmADApplication")]
28-
[CliCommandAlias("activedirectory;app;rm")]
28+
[CliCommandAlias("ad;app;rm")]
2929
public class RemoveAzureADApplicationCommand : ActiveDirectoryBaseCmdlet
3030
{
3131
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The application object id.")]

src/CLU/Microsoft.Azure.Commands.Resources/ActiveDirectory/RemoveAzureADServicePrincipalCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory
2424
/// Removes the service principal.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Remove, "AzureRmADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))]
27-
[CliCommandAlias("activedirectory;sp;principal;rm")]
27+
[CliCommandAlias("ad;service;principal;rm")]
2828
public class RemoveAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet
2929
{
3030
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ObjectId,

src/CLU/Microsoft.Azure.Commands.Resources/ProviderFeatures/GetAzureProviderFeatureCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Resources.ProviderFeatures
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Get, "AzureRmProviderFeature", DefaultParameterSetName = GetAzureProviderFeatureCmdlet.ListAvailableParameterSet)]
2626
[OutputType(typeof(List<PSProviderFeature>))]
27-
[CliCommandAlias("resourcemanager;provider;feature;ls")]
27+
[CliCommandAlias("resource;provider;feature;ls")]
2828
public class GetAzureProviderFeatureCmdlet : AzureProviderFeatureCmdletBase
2929
{
3030
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/ProviderFeatures/RegisterAzureProviderFeatureCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources.ProviderFeatures
2323
/// Register the previewed features of a certain azure resource provider.
2424
/// </summary>
2525
[Cmdlet(VerbsLifecycle.Register, "AzureRmProviderFeature"), OutputType(typeof(List<PSProviderFeature>))]
26-
[CliCommandAlias("resourcemanager;provider;feature;register")]
26+
[CliCommandAlias("resource;provider;feature;register")]
2727
public class RegisterAzureProviderFeatureCmdlet : AzureProviderFeatureCmdletBase
2828
{
2929
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/Providers/GetAzureProviderCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Providers
2323
/// Get an existing resource.
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Get, "AzureRmResourceProvider", DefaultParameterSetName = GetAzureProviderCmdlet.ListAvailableParameterSet), OutputType(typeof(PSResourceProvider))]
26-
[CliCommandAlias("resourcemanager;resource;provider;ls")]
26+
[CliCommandAlias("resource;provider;ls")]
2727
public class GetAzureProviderCmdlet : ResourcesBaseCmdlet
2828
{
2929
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/Providers/GetAzureProviderOperationCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Resources
2828
/// Get an existing resource.
2929
/// </summary>
3030
[Cmdlet(VerbsCommon.Get, "AzureRmProviderOperation"), OutputType(typeof(PSResourceProviderOperation))]
31-
[CliCommandAlias("resourcemanager;resource;provider;operation;ls")]
31+
[CliCommandAlias("resource;provider;operation;ls")]
3232
public class GetAzureProviderOperationCommand : ResourcesBaseCmdlet
3333
{
3434
private const string WildCardCharacter = "*";

src/CLU/Microsoft.Azure.Commands.Resources/Providers/RegisterAzureProviderCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources
2323
/// Register the previewed features of a certain azure resource provider.
2424
/// </summary>
2525
[Cmdlet(VerbsLifecycle.Register, "AzureRmResourceProvider"), OutputType(typeof(PSResourceProvider))]
26-
[CliCommandAlias("resourcemanager;resource;provider;register")]
26+
[CliCommandAlias("resource;provider;register")]
2727
public class RegisterAzureProviderCmdlet : ResourcesBaseCmdlet
2828
{
2929
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/Providers/UnregisterAzureProviderCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources
2323
/// Un-registers the resource provider from the current subscription.
2424
/// </summary>
2525
[Cmdlet(VerbsLifecycle.Unregister, "AzureRmResourceProvider"), OutputType(typeof(List<PSResourceProvider>))]
26-
[CliCommandAlias("resourcemanager;resource;provider;unregister")]
26+
[CliCommandAlias("resource;provider;unregister")]
2727
public class UnregisterAzureProviderCmdlet : ResourcesBaseCmdlet
2828
{
2929
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/ResourceGroupDeployments/GetAzureResourceGroupDeploymentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources
2323
/// Filters resource group deployments.
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupDeployment", DefaultParameterSetName = GetAzureResourceGroupDeploymentCommand.DeploymentNameParameterSet), OutputType(typeof(List<PSResourceGroupDeployment>))]
26-
[CliCommandAlias("resourcemanager;group;deployment;ls")]
26+
[CliCommandAlias("resource;group;deployment;ls")]
2727
public class GetAzureResourceGroupDeploymentCommand : ResourcesBaseCmdlet
2828
{
2929
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources
2323
/// Creates a new resource group deployment.
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.New, "AzureRmResourceGroupDeployment", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(PSResourceGroupDeployment))]
26-
[CliCommandAlias("resourcemanager;group;deployment;create")]
26+
[CliCommandAlias("resource;group;deployment;create")]
2727
public class NewAzureResourceGroupDeploymentCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters
2828
{
2929
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true,

0 commit comments

Comments
 (0)