Skip to content

Commit 4305c9b

Browse files
committed
Merge pull request #249 from Azure/clu
Clu
2 parents 28b0ba3 + e7ac156 commit 4305c9b

File tree

81 files changed

+199
-40
lines changed

Some content is hidden

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

81 files changed

+199
-40
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
new: create
2+
ResourceGroup: group

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2929
public class FindAzureResourceGroupCmdlet : ResourceManagerCmdletBase
3030
{
3131
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The tag filter for the OData query. The expected format is @{Name = 'tagName'} or @{Name = 'tagName'; Value = 'tagValue'}.")]
32+
[Alias("t")]
3233
public Hashtable Tag { get; set; }
3334

3435
/// <summary>

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,25 @@ public class GetAzureResourceGroupDeploymentOperationCmdlet : ResourceManagerCmd
3131
/// <summary>
3232
/// Gets or sets the resource group name parameter.
3333
/// </summary>
34-
[Alias("Name")]
3534
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The deployment name.")]
3635
[ValidateNotNullOrEmpty]
36+
[Alias("Name","n")]
3737
public string DeploymentName { get; set; }
3838

3939
/// <summary>
4040
/// Gets or sets the subscription id parameter.
4141
/// </summary>
4242
[Parameter(Mandatory = false, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The subscription to use.")]
4343
[ValidateNotNullOrEmpty]
44+
[Alias("s", "id")]
4445
public Guid? SubscriptionId { get; set; }
4546

4647
/// <summary>
4748
/// Gets or sets the resource group name parameter.
4849
/// </summary>
4950
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
5051
[ValidateNotNullOrEmpty]
52+
[Alias("group", "g")]
5153
public string ResourceGroupName { get; set; }
5254

5355
/// <summary>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ public sealed class InvokAzureResourceActionCmdlet : ResourceManipulationCmdletB
2828
/// <summary>
2929
/// Gets or sets the property object.
3030
/// </summary>
31-
[Alias("Object")]
3231
[Parameter(Mandatory = false, HelpMessage = "A hash table which represents resource properties.")]
3332
[ValidateNotNullOrEmpty]
33+
[Alias("Object")]
3434
public Hashtable Parameters { get; set; }
3535

3636
/// <summary>
3737
/// Gets or sets the property object.
3838
/// </summary>
39-
[Alias("ActionName")]
4039
[Parameter(Mandatory = true, HelpMessage = "The name of the action to invoke.")]
4140
[ValidateNotNullOrEmpty]
41+
[Alias("ActionName","a")]
4242
public string Action { get; set; }
4343

4444
/// <summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ public class GetAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2929
/// <summary>
3030
/// Gets or sets the extension resource name parameter.
3131
/// </summary>
32-
[Alias("ExtensionResourceName")]
3332
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3433
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupResourceLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3534
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3635
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3736
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3837
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.TenantResourceLevelLock, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3938
[ValidateNotNullOrEmpty]
39+
[Alias("ExtensionResourceName", "name", "n")]
4040
public string LockName { get; set; }
4141

4242
/// <summary>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ public class NewAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2828
/// <summary>
2929
/// Gets or sets the extension resource name parameter.
3030
/// </summary>
31-
[Alias("ExtensionResourceName")]
3231
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3332
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3433
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3534
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3635
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3736
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.TenantResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3837
[ValidateNotNullOrEmpty]
38+
[Alias("ExtensionResourceName", "name", "n")]
3939
public string LockName { get; set; }
4040

4141
/// <summary>
@@ -58,6 +58,7 @@ public class NewAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
5858
/// Gets or sets the force parameter.
5959
/// </summary>
6060
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
61+
[Alias("f")]
6162
public SwitchParameter Force { get; set; }
6263

6364
/// <summary>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,21 @@ public class RemoveAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2626
/// <summary>
2727
/// Gets or sets the extension resource name parameter.
2828
/// </summary>
29-
[Alias("ExtensionResourceName")]
3029
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3130
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3231
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3332
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3433
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3534
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.TenantResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the lock.")]
3635
[ValidateNotNullOrEmpty]
36+
[Alias("ExtensionResourceName", "name", "n")]
3737
public string LockName { get; set; }
3838

3939
/// <summary>
4040
/// Gets or sets the force parameter.
4141
/// </summary>
4242
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
43+
[Alias("f")]
4344
public SwitchParameter Force { get; set; }
4445

4546
/// <summary>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa
7777
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name. e.g. to specify a database MyServer/MyDatabase.")]
7878
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.TenantResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name. e.g. to specify a database MyServer/MyDatabase.")]
7979
[ValidateNotNullOrEmpty]
80+
[Alias("name", "n")]
8081
public string ResourceName { get; set; }
8182

8283
/// <summary>
@@ -86,6 +87,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa
8687
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
8788
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.TenantResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
8889
[ValidateNotNullOrEmpty]
90+
[Alias("type", "t")]
8991
public string ResourceType { get; set; }
9092

9193
/// <summary>
@@ -94,6 +96,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa
9496
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupResourceLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
9597
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ResourceGroupLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
9698
[ValidateNotNullOrEmpty]
99+
[Alias("group", "g")]
97100
public string ResourceGroupName { get; set; }
98101

99102
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class GetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
4646
/// </summary>
4747
[Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")]
4848
[ValidateNotNullOrEmpty]
49+
[Alias("n")]
4950
public string Name { get; set; }
5051

5152
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class GetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
4646
/// </summary>
4747
[Parameter(ParameterSetName = GetAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy definition name.")]
4848
[ValidateNotNullOrEmpty]
49+
[Alias("n")]
4950
public string Name { get; set; }
5051

5152
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class NewAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
3131
/// </summary>
3232
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")]
3333
[ValidateNotNullOrEmpty]
34+
[Alias("n")]
3435
public string Name { get; set; }
3536

3637
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class NewAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
3333
/// </summary>
3434
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy definition name.")]
3535
[ValidateNotNullOrEmpty]
36+
[Alias("n")]
3637
public string Name { get; set; }
3738

3839
/// <summary>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class RemoveAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
3838
/// </summary>
3939
[Parameter(ParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")]
4040
[ValidateNotNullOrEmpty]
41+
[Alias("n")]
4142
public string Name { get; set; }
4243

4344
/// <summary>
@@ -59,6 +60,7 @@ public class RemoveAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
5960
/// Gets or sets the force parameter.
6061
/// </summary>
6162
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
63+
[Alias("f")]
6264
public SwitchParameter Force { get; set; }
6365

6466
/// <summary>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class RemoveAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
3838
/// </summary>
3939
[Parameter(ParameterSetName = RemoveAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy definition name.")]
4040
[ValidateNotNullOrEmpty]
41+
[Alias("n")]
4142
public string Name { get; set; }
4243

4344
/// <summary>
@@ -52,6 +53,7 @@ public class RemoveAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
5253
/// Gets or sets the force parameter.
5354
/// </summary>
5455
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
56+
[Alias("f")]
5557
public SwitchParameter Force { get; set; }
5658

5759
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public class SetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase
4242
/// </summary>
4343
[Parameter(ParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")]
4444
[ValidateNotNullOrEmpty]
45+
[Alias("n")]
4546
public string Name { get; set; }
4647

4748
/// <summary>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public class SetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase
4444
/// </summary>
4545
[Parameter(ParameterSetName = GetAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy definition name.")]
4646
[ValidateNotNullOrEmpty]
47+
[Alias("n")]
4748
public string Name { get; set; }
4849

4950
/// <summary>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
6060
/// <summary>
6161
/// Gets or sets the resource name parameter.
6262
/// </summary>
63-
[Alias("Name")]
6463
[Parameter(ParameterSetName = FindAzureResourceCmdlet.ListResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name substring. e.g. if your resource name is testResource, you can specify test.")]
6564
[Parameter(ParameterSetName = FindAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name substring. e.g. if your resource name is testResource, you can specify test.")]
6665
[Parameter(ParameterSetName = FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name substring. e.g. if your resource name is testResource, you can specify test.")]
6766
[ValidateNotNullOrEmpty]
67+
[Alias("Name", "n")]
6868
public string ResourceNameContains { get; set; }
6969

7070
/// <summary>
@@ -74,6 +74,7 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
7474
[Parameter(ParameterSetName = FindAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
7575
[Parameter(ParameterSetName = FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
7676
[ValidateNotNullOrEmpty]
77+
[Alias("type","t")]
7778
public string ResourceType { get; set; }
7879

7980
/// <summary>
@@ -120,10 +121,10 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
120121
/// <summary>
121122
/// Gets or sets the resource group name.
122123
/// </summary>
123-
[Alias("ResourceGroupName")]
124124
[Parameter(Mandatory = false, ParameterSetName = FindAzureResourceCmdlet.ListResourcesParameterSet, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name substring.")]
125125
[Parameter(Mandatory = false, ParameterSetName = FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name substring.")]
126126
[ValidateNotNullOrEmpty]
127+
[Alias("ResourceGroupName", "group", "g")]
127128
public string ResourceGroupNameContains { get; set; }
128129

129130
/// <summary>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase
105105
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameTypeParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
106106
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")]
107107
[ValidateNotNullOrEmpty]
108+
[Alias("type", "t")]
108109
public string ResourceType { get; set; }
109110

110111
/// <summary>
@@ -165,6 +166,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase
165166
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
166167
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")]
167168
[ValidateNotNullOrEmpty]
169+
[Alias("group", "g")]
168170
public string ResourceGroupName { get; set; }
169171

170172
/// <summary>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class MoveAzureResourceCommand : ResourceManagerCmdletBase
4141
[Parameter(Mandatory = true,
4242
HelpMessage = "The name of the resource group into which the resources are to be moved.")]
4343
[ValidateNotNullOrEmpty]
44-
[Alias("TargetResourceGroup")]
44+
[Alias("TargetResourceGroup", "destination", "target", "group", "g")]
4545
public string DestinationResourceGroupName { get; set; }
4646

4747
/// <summary>
@@ -50,13 +50,14 @@ public class MoveAzureResourceCommand : ResourceManagerCmdletBase
5050
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true,
5151
HelpMessage = "The Id of the subscription to move the resources into.")]
5252
[ValidateNotNullOrEmpty]
53-
[Alias("Id", "SubscriptionId")]
53+
[Alias("Id", "SubscriptionId", "s")]
5454
public Guid? DestinationSubscriptionId { get; set; }
5555

5656
/// <summary>
5757
/// Gets or sets a value that indicates if the user should be prompted for confirmation.
5858
/// </summary>
5959
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
60+
[Alias("f")]
6061
public SwitchParameter Force { get; set; }
6162

6263
/// <summary>

0 commit comments

Comments
 (0)