Skip to content

Commit 2e5388f

Browse files
committed
Limit the max number of position value to 3 for new cmdlets.
1 parent 3b87009 commit 2e5388f

File tree

8 files changed

+0
-45
lines changed

8 files changed

+0
-45
lines changed

src/ResourceManager/Compute/Commands.Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,55 +58,46 @@ public class NewAzureRmDiskConfigCommand : Microsoft.Azure.Commands.ResourceMana
5858

5959
[Parameter(
6060
Mandatory = false,
61-
Position = 4,
6261
ValueFromPipelineByPropertyName = true)]
6362
public Hashtable Tag { get; set; }
6463

6564
[Parameter(
6665
Mandatory = false,
67-
Position = 5,
6866
ValueFromPipelineByPropertyName = true)]
6967
public DiskCreateOption? CreateOption { get; set; }
7068

7169
[Parameter(
7270
Mandatory = false,
73-
Position = 6,
7471
ValueFromPipelineByPropertyName = true)]
7572
public string StorageAccountId { get; set; }
7673

7774
[Parameter(
7875
Mandatory = false,
79-
Position = 7,
8076
ValueFromPipelineByPropertyName = true)]
8177
public ImageDiskReference ImageReference { get; set; }
8278

8379
[Parameter(
8480
Mandatory = false,
85-
Position = 8,
8681
ValueFromPipelineByPropertyName = true)]
8782
public string SourceUri { get; set; }
8883

8984
[Parameter(
9085
Mandatory = false,
91-
Position = 9,
9286
ValueFromPipelineByPropertyName = true)]
9387
public string SourceResourceId { get; set; }
9488

9589
[Parameter(
9690
Mandatory = false,
97-
Position = 10,
9891
ValueFromPipelineByPropertyName = true)]
9992
public bool? EncryptionSettingsEnabled { get; set; }
10093

10194
[Parameter(
10295
Mandatory = false,
103-
Position = 11,
10496
ValueFromPipelineByPropertyName = true)]
10597
public KeyVaultAndSecretReference DiskEncryptionKey { get; set; }
10698

10799
[Parameter(
108100
Mandatory = false,
109-
Position = 12,
110101
ValueFromPipelineByPropertyName = true)]
111102
public KeyVaultAndKeyReference KeyEncryptionKey { get; set; }
112103

src/ResourceManager/Compute/Commands.Compute/Generated/Disk/Config/NewAzureRmDiskUpdateConfigCommand.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,49 +58,41 @@ public class NewAzureRmDiskUpdateConfigCommand : Microsoft.Azure.Commands.Resour
5858

5959
[Parameter(
6060
Mandatory = false,
61-
Position = 4,
6261
ValueFromPipelineByPropertyName = true)]
6362
public DiskCreateOption? CreateOption { get; set; }
6463

6564
[Parameter(
6665
Mandatory = false,
67-
Position = 5,
6866
ValueFromPipelineByPropertyName = true)]
6967
public string StorageAccountId { get; set; }
7068

7169
[Parameter(
7270
Mandatory = false,
73-
Position = 6,
7471
ValueFromPipelineByPropertyName = true)]
7572
public ImageDiskReference ImageReference { get; set; }
7673

7774
[Parameter(
7875
Mandatory = false,
79-
Position = 7,
8076
ValueFromPipelineByPropertyName = true)]
8177
public string SourceUri { get; set; }
8278

8379
[Parameter(
8480
Mandatory = false,
85-
Position = 8,
8681
ValueFromPipelineByPropertyName = true)]
8782
public string SourceResourceId { get; set; }
8883

8984
[Parameter(
9085
Mandatory = false,
91-
Position = 9,
9286
ValueFromPipelineByPropertyName = true)]
9387
public bool? EncryptionSettingsEnabled { get; set; }
9488

9589
[Parameter(
9690
Mandatory = false,
97-
Position = 10,
9891
ValueFromPipelineByPropertyName = true)]
9992
public KeyVaultAndSecretReference DiskEncryptionKey { get; set; }
10093

10194
[Parameter(
10295
Mandatory = false,
103-
Position = 11,
10496
ValueFromPipelineByPropertyName = true)]
10597
public KeyVaultAndKeyReference KeyEncryptionKey { get; set; }
10698

src/ResourceManager/Compute/Commands.Compute/Generated/Image/Config/AddAzureRmImageDataDiskCommand.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,16 @@ public class AddAzureRmImageDataDiskCommand : Microsoft.Azure.Commands.ResourceM
5959

6060
[Parameter(
6161
Mandatory = false,
62-
Position = 4,
6362
ValueFromPipelineByPropertyName = true)]
6463
public int? DiskSizeGB { get; set; }
6564

6665
[Parameter(
6766
Mandatory = false,
68-
Position = 5,
6967
ValueFromPipelineByPropertyName = true)]
7068
public string SnapshotId { get; set; }
7169

7270
[Parameter(
7371
Mandatory = false,
74-
Position = 6,
7572
ValueFromPipelineByPropertyName = true)]
7673
public string ManagedDiskId { get; set; }
7774

src/ResourceManager/Compute/Commands.Compute/Generated/Image/Config/NewAzureRmImageConfigCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ public class NewAzureRmImageConfigCommand : Microsoft.Azure.Commands.ResourceMan
5858

5959
[Parameter(
6060
Mandatory = false,
61-
Position = 4,
6261
ValueFromPipelineByPropertyName = true)]
6362
public ImageDataDisk[] DataDisk { get; set; }
6463

src/ResourceManager/Compute/Commands.Compute/Generated/Image/Config/SetAzureRmImageOsDiskCommand.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,21 @@ public class SetAzureRmImageOsDiskCommand : Microsoft.Azure.Commands.ResourceMan
5959

6060
[Parameter(
6161
Mandatory = false,
62-
Position = 4,
6362
ValueFromPipelineByPropertyName = true)]
6463
public CachingTypes? Caching { get; set; }
6564

6665
[Parameter(
6766
Mandatory = false,
68-
Position = 5,
6967
ValueFromPipelineByPropertyName = true)]
7068
public int? DiskSizeGB { get; set; }
7169

7270
[Parameter(
7371
Mandatory = false,
74-
Position = 6,
7572
ValueFromPipelineByPropertyName = true)]
7673
public string SnapshotId { get; set; }
7774

7875
[Parameter(
7976
Mandatory = false,
80-
Position = 7,
8177
ValueFromPipelineByPropertyName = true)]
8278
public string ManagedDiskId { get; set; }
8379

src/ResourceManager/Compute/Commands.Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,55 +58,46 @@ public class NewAzureRmSnapshotConfigCommand : Microsoft.Azure.Commands.Resource
5858

5959
[Parameter(
6060
Mandatory = false,
61-
Position = 4,
6261
ValueFromPipelineByPropertyName = true)]
6362
public Hashtable Tag { get; set; }
6463

6564
[Parameter(
6665
Mandatory = false,
67-
Position = 5,
6866
ValueFromPipelineByPropertyName = true)]
6967
public DiskCreateOption? CreateOption { get; set; }
7068

7169
[Parameter(
7270
Mandatory = false,
73-
Position = 6,
7471
ValueFromPipelineByPropertyName = true)]
7572
public string StorageAccountId { get; set; }
7673

7774
[Parameter(
7875
Mandatory = false,
79-
Position = 7,
8076
ValueFromPipelineByPropertyName = true)]
8177
public ImageDiskReference ImageReference { get; set; }
8278

8379
[Parameter(
8480
Mandatory = false,
85-
Position = 8,
8681
ValueFromPipelineByPropertyName = true)]
8782
public string SourceUri { get; set; }
8883

8984
[Parameter(
9085
Mandatory = false,
91-
Position = 9,
9286
ValueFromPipelineByPropertyName = true)]
9387
public string SourceResourceId { get; set; }
9488

9589
[Parameter(
9690
Mandatory = false,
97-
Position = 10,
9891
ValueFromPipelineByPropertyName = true)]
9992
public bool? EncryptionSettingsEnabled { get; set; }
10093

10194
[Parameter(
10295
Mandatory = false,
103-
Position = 11,
10496
ValueFromPipelineByPropertyName = true)]
10597
public KeyVaultAndSecretReference DiskEncryptionKey { get; set; }
10698

10799
[Parameter(
108100
Mandatory = false,
109-
Position = 12,
110101
ValueFromPipelineByPropertyName = true)]
111102
public KeyVaultAndKeyReference KeyEncryptionKey { get; set; }
112103

src/ResourceManager/Compute/Commands.Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,49 +58,41 @@ public class NewAzureRmSnapshotUpdateConfigCommand : Microsoft.Azure.Commands.Re
5858

5959
[Parameter(
6060
Mandatory = false,
61-
Position = 4,
6261
ValueFromPipelineByPropertyName = true)]
6362
public DiskCreateOption? CreateOption { get; set; }
6463

6564
[Parameter(
6665
Mandatory = false,
67-
Position = 5,
6866
ValueFromPipelineByPropertyName = true)]
6967
public string StorageAccountId { get; set; }
7068

7169
[Parameter(
7270
Mandatory = false,
73-
Position = 6,
7471
ValueFromPipelineByPropertyName = true)]
7572
public ImageDiskReference ImageReference { get; set; }
7673

7774
[Parameter(
7875
Mandatory = false,
79-
Position = 7,
8076
ValueFromPipelineByPropertyName = true)]
8177
public string SourceUri { get; set; }
8278

8379
[Parameter(
8480
Mandatory = false,
85-
Position = 8,
8681
ValueFromPipelineByPropertyName = true)]
8782
public string SourceResourceId { get; set; }
8883

8984
[Parameter(
9085
Mandatory = false,
91-
Position = 9,
9286
ValueFromPipelineByPropertyName = true)]
9387
public bool? EncryptionSettingsEnabled { get; set; }
9488

9589
[Parameter(
9690
Mandatory = false,
97-
Position = 10,
9891
ValueFromPipelineByPropertyName = true)]
9992
public KeyVaultAndSecretReference DiskEncryptionKey { get; set; }
10093

10194
[Parameter(
10295
Mandatory = false,
103-
Position = 11,
10496
ValueFromPipelineByPropertyName = true)]
10597
public KeyVaultAndKeyReference KeyEncryptionKey { get; set; }
10698

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,16 @@ public class AddAzureRmVmssDataDiskCommand : Microsoft.Azure.Commands.ResourceMa
5959

6060
[Parameter(
6161
Mandatory = false,
62-
Position = 4,
6362
ValueFromPipelineByPropertyName = true)]
6463
public DiskCreateOptionTypes? CreateOption { get; set; }
6564

6665
[Parameter(
6766
Mandatory = false,
68-
Position = 5,
6967
ValueFromPipelineByPropertyName = true)]
7068
public int? DiskSizeGB { get; set; }
7169

7270
[Parameter(
7371
Mandatory = false,
74-
Position = 6,
7572
ValueFromPipelineByPropertyName = true)]
7673
public StorageAccountTypes? StorageAccountType { get; set; }
7774

0 commit comments

Comments
 (0)