Skip to content

Commit 579d8db

Browse files
committed
remove position parameter from switch parameters
1 parent 3424d30 commit 579d8db

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AEM/SetAzureRmVMAEMExtension.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,35 +59,33 @@ public class SetAzureRmVMAEMExtension : VirtualMachineExtensionBaseCmdlet
5959

6060
[Parameter(
6161
Mandatory = false,
62-
Position = 2,
6362
ValueFromPipelineByPropertyName = false,
6463
HelpMessage = "Deprecated - Windows Azure Diagnostics is now disabled by default")]
6564
public SwitchParameter DisableWAD { get; set; }
6665

6766
[Parameter(
6867
Mandatory = false,
69-
Position = 2,
7068
ValueFromPipelineByPropertyName = false,
7169
HelpMessage = "If this parameter is provided, the commandlet will enable Windows Azure Diagnostics for this virtual machine.")]
7270
public SwitchParameter EnableWAD { get; set; }
7371

7472
[Parameter(
7573
Mandatory = false,
76-
Position = 3,
74+
Position = 2,
7775
ValueFromPipelineByPropertyName = false,
7876
HelpMessage = "Name of the storage account that should be used to store analytics data.")]
7977
public string WADStorageAccountName { get; set; }
8078

8179
[Parameter(
8280
Mandatory = false,
83-
Position = 4,
81+
Position = 3,
8482
ValueFromPipelineByPropertyName = false,
8583
HelpMessage = "Operating System Type of the virtual machines. Possible values: Windows | Linux")]
8684
public string OSType { get; set; }
8785

8886
[Parameter(
8987
Mandatory = false,
90-
Position = 5,
88+
Position = 4,
9189
ValueFromPipelineByPropertyName = false,
9290
HelpMessage = "Disables the settings for table content")]
9391
public SwitchParameter SkipStorage { get; set; }

0 commit comments

Comments
 (0)