Skip to content

Commit 40d2e44

Browse files
committed
Update the order of the paramters not to break existing ones.
1 parent e819645 commit 40d2e44

File tree

3 files changed

+35
-47
lines changed

3 files changed

+35
-47
lines changed

src/ResourceManager/Compute/Commands.Compute/Generated/ContainerService/Config/NewAzureRmContainerServiceConfigCommand.cs

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,67 +54,64 @@ public class NewAzureRmContainerServiceConfigCommand : Microsoft.Azure.Commands.
5454
Mandatory = false,
5555
Position = 3,
5656
ValueFromPipelineByPropertyName = true)]
57-
public string CustomProfileOrchestrator { get; set; }
57+
public int? MasterCount { get; set; }
5858

5959
[Parameter(
6060
Mandatory = false,
6161
Position = 4,
6262
ValueFromPipelineByPropertyName = true)]
63-
public string ServicePrincipalProfileClientId { get; set; }
63+
public string MasterDnsPrefix { get; set; }
6464

6565
[Parameter(
6666
Mandatory = false,
6767
Position = 5,
6868
ValueFromPipelineByPropertyName = true)]
69-
public string ServicePrincipalProfileSecret { get; set; }
69+
public ContainerServiceAgentPoolProfile[] AgentPoolProfile { get; set; }
7070

7171
[Parameter(
7272
Mandatory = false,
7373
Position = 6,
7474
ValueFromPipelineByPropertyName = true)]
75-
public int? MasterCount { get; set; }
75+
public string WindowsProfileAdminUsername { get; set; }
7676

7777
[Parameter(
7878
Mandatory = false,
7979
Position = 7,
8080
ValueFromPipelineByPropertyName = true)]
81-
public string MasterDnsPrefix { get; set; }
81+
public string WindowsProfileAdminPassword { get; set; }
8282

8383
[Parameter(
8484
Mandatory = false,
8585
Position = 8,
8686
ValueFromPipelineByPropertyName = true)]
87-
public ContainerServiceAgentPoolProfile[] AgentPoolProfile { get; set; }
87+
public string AdminUsername { get; set; }
8888

8989
[Parameter(
9090
Mandatory = false,
9191
Position = 9,
9292
ValueFromPipelineByPropertyName = true)]
93-
public string WindowsProfileAdminUsername { get; set; }
93+
public string[] SshPublicKey { get; set; }
9494

9595
[Parameter(
9696
Mandatory = false,
9797
Position = 10,
9898
ValueFromPipelineByPropertyName = true)]
99-
public string WindowsProfileAdminPassword { get; set; }
99+
public bool VmDiagnosticsEnabled { get; set; }
100100

101101
[Parameter(
102102
Mandatory = false,
103-
Position = 11,
104103
ValueFromPipelineByPropertyName = true)]
105-
public string AdminUsername { get; set; }
104+
public string CustomProfileOrchestrator { get; set; }
106105

107106
[Parameter(
108107
Mandatory = false,
109-
Position = 12,
110108
ValueFromPipelineByPropertyName = true)]
111-
public string[] SshPublicKey { get; set; }
109+
public string ServicePrincipalProfileClientId { get; set; }
112110

113111
[Parameter(
114112
Mandatory = false,
115-
Position = 13,
116113
ValueFromPipelineByPropertyName = true)]
117-
public bool VmDiagnosticsEnabled { get; set; }
114+
public string ServicePrincipalProfileSecret { get; set; }
118115

119116
protected override void ProcessRecord()
120117
{

src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSet/Config/NewAzureRmVmssConfigCommand.cs

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,91 +42,85 @@ public class NewAzureRmVmssConfigCommand : Microsoft.Azure.Commands.ResourceMana
4242
Mandatory = false,
4343
Position = 1,
4444
ValueFromPipelineByPropertyName = true)]
45-
public bool? SinglePlacementGroup { get; set; }
45+
public string Location { get; set; }
4646

4747
[Parameter(
4848
Mandatory = false,
4949
Position = 2,
5050
ValueFromPipelineByPropertyName = true)]
51-
public string Location { get; set; }
51+
public Hashtable Tag { get; set; }
5252

5353
[Parameter(
5454
Mandatory = false,
5555
Position = 3,
5656
ValueFromPipelineByPropertyName = true)]
57-
public Hashtable Tag { get; set; }
57+
public string SkuName { get; set; }
5858

5959
[Parameter(
6060
Mandatory = false,
6161
Position = 4,
6262
ValueFromPipelineByPropertyName = true)]
63-
public string SkuName { get; set; }
63+
public string SkuTier { get; set; }
6464

6565
[Parameter(
6666
Mandatory = false,
6767
Position = 5,
6868
ValueFromPipelineByPropertyName = true)]
69-
public string SkuTier { get; set; }
69+
public Int64? SkuCapacity { get; set; }
7070

7171
[Parameter(
7272
Mandatory = false,
7373
Position = 6,
7474
ValueFromPipelineByPropertyName = true)]
75-
public Int64? SkuCapacity { get; set; }
75+
public UpgradeMode? UpgradePolicyMode { get; set; }
7676

7777
[Parameter(
7878
Mandatory = false,
7979
Position = 7,
8080
ValueFromPipelineByPropertyName = true)]
81-
public string PlanName { get; set; }
81+
public VirtualMachineScaleSetOSProfile OsProfile { get; set; }
8282

8383
[Parameter(
8484
Mandatory = false,
8585
Position = 8,
8686
ValueFromPipelineByPropertyName = true)]
87-
public string PlanPublisher { get; set; }
87+
public VirtualMachineScaleSetStorageProfile StorageProfile { get; set; }
8888

8989
[Parameter(
9090
Mandatory = false,
9191
Position = 9,
9292
ValueFromPipelineByPropertyName = true)]
93-
public string PlanProduct { get; set; }
93+
public VirtualMachineScaleSetNetworkConfiguration[] NetworkInterfaceConfiguration { get; set; }
9494

9595
[Parameter(
9696
Mandatory = false,
9797
Position = 10,
9898
ValueFromPipelineByPropertyName = true)]
99-
public string PlanPromotionCode { get; set; }
99+
public VirtualMachineScaleSetExtension[] Extension { get; set; }
100100

101101
[Parameter(
102102
Mandatory = false,
103-
Position = 11,
104103
ValueFromPipelineByPropertyName = true)]
105-
public UpgradeMode? UpgradePolicyMode { get; set; }
106-
104+
public bool? SinglePlacementGroup { get; set; }
107105
[Parameter(
108-
Mandatory = false,
109-
Position = 12,
110-
ValueFromPipelineByPropertyName = true)]
111-
public VirtualMachineScaleSetOSProfile OsProfile { get; set; }
106+
Mandatory = false,
107+
ValueFromPipelineByPropertyName = true)]
108+
public string PlanName { get; set; }
112109

113110
[Parameter(
114111
Mandatory = false,
115-
Position = 13,
116112
ValueFromPipelineByPropertyName = true)]
117-
public VirtualMachineScaleSetStorageProfile StorageProfile { get; set; }
113+
public string PlanPublisher { get; set; }
118114

119115
[Parameter(
120116
Mandatory = false,
121-
Position = 14,
122117
ValueFromPipelineByPropertyName = true)]
123-
public VirtualMachineScaleSetNetworkConfiguration[] NetworkInterfaceConfiguration { get; set; }
118+
public string PlanProduct { get; set; }
124119

125120
[Parameter(
126121
Mandatory = false,
127-
Position = 15,
128122
ValueFromPipelineByPropertyName = true)]
129-
public VirtualMachineScaleSetExtension[] Extension { get; set; }
123+
public string PlanPromotionCode { get; set; }
130124

131125
protected override void ProcessRecord()
132126
{

src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSet/Config/SetAzureRmVmssStorageProfileCommand.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,53 +67,50 @@ public class SetAzureRmVmssStorageProfileCommand : Microsoft.Azure.Commands.Reso
6767
Mandatory = false,
6868
Position = 5,
6969
ValueFromPipelineByPropertyName = true)]
70-
public string ImageReferenceId { get; set; }
70+
public string Name { get; set; }
7171

7272
[Parameter(
7373
Mandatory = false,
7474
Position = 6,
7575
ValueFromPipelineByPropertyName = true)]
76-
public string Name { get; set; }
76+
public CachingTypes? OsDiskCaching { get; set; }
7777

7878
[Parameter(
7979
Mandatory = false,
8080
Position = 7,
8181
ValueFromPipelineByPropertyName = true)]
82-
public CachingTypes? OsDiskCaching { get; set; }
82+
public DiskCreateOptionTypes? OsDiskCreateOption { get; set; }
8383

8484
[Parameter(
8585
Mandatory = false,
8686
Position = 8,
8787
ValueFromPipelineByPropertyName = true)]
88-
public DiskCreateOptionTypes? OsDiskCreateOption { get; set; }
88+
public OperatingSystemTypes? OsDiskOsType { get; set; }
8989

9090
[Parameter(
9191
Mandatory = false,
9292
Position = 9,
9393
ValueFromPipelineByPropertyName = true)]
94-
public OperatingSystemTypes? OsDiskOsType { get; set; }
94+
public string Image { get; set; }
9595

9696
[Parameter(
9797
Mandatory = false,
9898
Position = 10,
9999
ValueFromPipelineByPropertyName = true)]
100-
public string Image { get; set; }
100+
public string[] VhdContainer { get; set; }
101101

102102
[Parameter(
103103
Mandatory = false,
104-
Position = 11,
105104
ValueFromPipelineByPropertyName = true)]
106-
public string[] VhdContainer { get; set; }
105+
public string ImageReferenceId { get; set; }
107106

108107
[Parameter(
109108
Mandatory = false,
110-
Position = 12,
111109
ValueFromPipelineByPropertyName = true)]
112110
public Microsoft.Azure.Management.Compute.Models.StorageAccountTypes? ManagedDisk { get; set; }
113111

114112
[Parameter(
115113
Mandatory = false,
116-
Position = 13,
117114
ValueFromPipelineByPropertyName = true)]
118115
public VirtualMachineScaleSetDataDisk[] DataDisk { get; set; }
119116

0 commit comments

Comments
 (0)