Skip to content

Commit e2ffad0

Browse files
author
Hovsep Mkrtchyan
committed
Addressed review feedbacks.
1 parent f600f7e commit e2ffad0

File tree

9 files changed

+5
-9
lines changed

9 files changed

+5
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public sealed class InvokAzureResourceActionCmdlet : ResourceManipulationCmdletB
3030
/// </summary>
3131
[Parameter(Mandatory = false, HelpMessage = "A hash table which represents resource properties.")]
3232
[ValidateNotNullOrEmpty]
33-
[Alias("Object","p")]
33+
[Alias("Object")]
3434
public Hashtable Parameters { get; set; }
3535

3636
/// <summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public sealed class NewAzureResourceCmdlet : ResourceManipulationCmdletBase
5050
/// </summary>
5151
[Parameter(Mandatory = true, HelpMessage = "A hash table which represents resource properties.")]
5252
[ValidateNotNullOrEmpty]
53-
[Alias("PropertyObject", "p")]
53+
[Alias("PropertyObject")]
5454
public PSObject Properties { get; set; }
5555

5656
/// <summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public sealed class SetAzureResourceCmdlet : ResourceManipulationCmdletBase
4343
/// </summary>
4444
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "A hash table which represents resource properties.")]
4545
[ValidateNotNullOrEmpty]
46-
[Alias("PropertyObject", "p")]
46+
[Alias("PropertyObject")]
4747
public PSObject Properties { get; set; }
4848

4949
/// <summary>

src/CLU/Microsoft.Azure.Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public class GetAzureRoleAssignmentCommand : ResourcesBaseCmdlet
119119
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceWithSPN,
120120
HelpMessage = "Parent resource of the resource to assign the role to, if there is any.")]
121121
[ValidateNotNullOrEmpty]
122-
[Alias("parent", "p")]
122+
[Alias("parent")]
123123
public string ParentResource { get; set; }
124124

125125
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.Empty,

src/CLU/Microsoft.Azure.Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class NewAzureRoleAssignmentCommand : ResourcesBaseCmdlet
104104
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceWithSPN,
105105
HelpMessage = "Parent resource of the resource to assign the role to, if there is any.")]
106106
[ValidateNotNullOrEmpty]
107-
[Alias("parent", "p")]
107+
[Alias("parent")]
108108
public string ParentResource { get; set; }
109109

110110
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.Empty,

src/CLU/Microsoft.Azure.Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public class GetAzureRoleDefinitionCommand : ResourcesBaseCmdlet
4141

4242
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.RoleDefinitionCustom,
4343
HelpMessage = "If specified, only displays the custom created roles in the directory.")]
44-
[Alias("c")]
4544
public SwitchParameter Custom { get; set; }
4645

4746
protected override void ProcessRecord()

src/CLU/Microsoft.Azure.Commands.Websites/Cmdlets/DeploymentSlots/GetAzureWebAppSlot.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public class GetAzureWebAppSlotCmdlet : WebAppBaseClientCmdLet
4747

4848
[Parameter(ParameterSetName = ParameterSet2Name, Position = 0, Mandatory = true, HelpMessage = "The web app object", ValueFromPipeline = true)]
4949
[ValidateNotNullOrEmpty]
50-
[Alias("w")]
5150
public Site WebApp { get; set; }
5251

5352
protected override void ProcessRecord()

src/CLU/Microsoft.Azure.Commands.Websites/Models.WebApp/WebAppBaseCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public class WebAppBaseCmdlet : WebAppBaseClientCmdLet
3838

3939
[Parameter(ParameterSetName = ParameterSet2Name, Position = 0, Mandatory = true, HelpMessage = "The web app object", ValueFromPipeline = true)]
4040
[ValidateNotNullOrEmpty]
41-
[Alias("w")]
4241
public Site WebApp { get; set; }
4342

4443
protected override void ProcessRecord()

src/CLU/Microsoft.Azure.Commands.Websites/Models.WebApp/WebAppSlotBaseCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public class WebAppSlotBaseCmdlet : WebAppBaseClientCmdLet
4242

4343
[Parameter(ParameterSetName = ParameterSet2Name, Position = 0, Mandatory = true, HelpMessage = "The web app object", ValueFromPipeline = true)]
4444
[ValidateNotNullOrEmpty]
45-
[Alias("w")]
4645
public Site WebApp { get; set; }
4746

4847
protected override void ProcessRecord()

0 commit comments

Comments
 (0)