Skip to content

Commit a54d400

Browse files
authored
Fill in empty Compute parameter descriptions (#20726)
* descriptions filled * fix missing * changelog
1 parent 2c6181f commit a54d400

11 files changed

+43
-35
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
-->
2222
## Upcoming Release
2323
* Added `ConsistencyMode` parameter to `New-AzRestorePoint`
24+
* Filled in missing parameter descriptions across multiple parameters and improved some existing parameter descriptions.
2425

2526
## Version 5.3.0
2627
* Removed the image `Win2008R2SP1` from the list of available images and documentation. This image is no longer available on the backend so the client tools need to sync to that change.

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ public partial class NewAzureRmDiskUpdateConfigCommand : Microsoft.Azure.Command
6868

6969
[Parameter(
7070
Mandatory = false,
71-
ValueFromPipelineByPropertyName = true)]
71+
ValueFromPipelineByPropertyName = true,
72+
HelpMessage = "Policy for accessing the disk via network. Available values are: AllowAll, AllowPrivate, DeyAll")]
7273
[PSArgumentCompleter("AllowAll", "AllowPrivate", "DenyAll")]
7374
public string NetworkAccessPolicy { get; set; }
7475

7576
[Parameter(
7677
Mandatory = false,
77-
ValueFromPipelineByPropertyName = true)]
78+
ValueFromPipelineByPropertyName = true,
79+
HelpMessage = "ARM id of the DiskAccess resource for using private endpoints on disks")]
7880
public string DiskAccessId { get; set; }
7981

8082
[Parameter(
@@ -108,18 +110,19 @@ public partial class NewAzureRmDiskUpdateConfigCommand : Microsoft.Azure.Command
108110
[Parameter(
109111
Mandatory = false,
110112
ValueFromPipelineByPropertyName = true,
111-
HelpMessage = "Sets the Purchase Plan for the Disk")]
113+
HelpMessage = "Sets the purchase plan for the disk. Used for establishing the purchase context of any 3rd Party artifact through Marketplace.")]
112114
public PSPurchasePlan PurchasePlan { get; set; }
113115

114116
[Parameter(
115117
Mandatory = false,
116118
ValueFromPipelineByPropertyName = true,
117-
HelpMessage = "Specify if Disk Supports Hibernation with $true of $false")]
119+
HelpMessage = "Indicates if the OS on the disk supports hibernation with $true or $false")]
118120
public bool? SupportsHibernation { get; set; }
119121

120122
[Parameter(
121123
Mandatory = false,
122-
ValueFromPipelineByPropertyName = true)]
124+
ValueFromPipelineByPropertyName = true,
125+
HelpMessage = "Enable encryption settings on the disk")]
123126
public bool? EncryptionSettingsEnabled { get; set; }
124127

125128
[Parameter(
@@ -138,7 +141,8 @@ public partial class NewAzureRmDiskUpdateConfigCommand : Microsoft.Azure.Command
138141

139142
[Parameter(
140143
Mandatory = false,
141-
ValueFromPipelineByPropertyName = true)]
144+
ValueFromPipelineByPropertyName = true,
145+
HelpMessage = "The type of key used to encrypt the data of the disk. Available values are: EncryptionAtRestWithPlatformKey, EncryptionAtRestWithCustomerKey")]
142146
[PSArgumentCompleter("EncryptionAtRestWithPlatformKey", "EncryptionAtRestWithCustomerKey")]
143147

144148
public string EncryptionType { get; set; }

src/Compute/Compute/Generated/DiskEncryptionSet/DiskEncryptionSetUpdateMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public override void ExecuteCmdlet()
129129
[Parameter(
130130
Mandatory = false,
131131
ValueFromPipelineByPropertyName = true,
132-
HelpMessage = "Gets or sets set this flag to true to enable auto-updating of this disk encryption")]
132+
HelpMessage = "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version")]
133133
public bool? RotationToLatestKeyVersionEnabled { get; set; }
134134

135135
[Parameter(

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public partial class NewAzureRmSnapshotConfigCommand : Microsoft.Azure.Commands.
8888
Mandatory = false,
8989
ValueFromPipelineByPropertyName = true,
9090
HelpMessage = "Specifies whether this cmdlet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. Possible values are: Empty, Attach, FromImage, Import, Copy, Restore, Upload, CopyStart")]
91-
//todo: verify help message with API team
9291
public string CreateOption { get; set; }
9392

9493
[Parameter(
@@ -99,13 +98,13 @@ public partial class NewAzureRmSnapshotConfigCommand : Microsoft.Azure.Commands.
9998
[Parameter(
10099
Mandatory = false,
101100
ValueFromPipelineByPropertyName = true,
102-
HelpMessage = "Sets the Purchase Plan for the Snapshot.")]
101+
HelpMessage = "Sets the purchase plan for the snapshot. Used for establishing the purchase context of any 3rd Party artifact through Marketplace.")]
103102
public PSPurchasePlan PurchasePlan { get; set; }
104103

105104
[Parameter(
106105
Mandatory = false,
107106
ValueFromPipelineByPropertyName = true,
108-
HelpMessage = "Specify if Disk Supports Hibernation with $true of $false")]
107+
HelpMessage = "Indicates if the OS on the snapshot supports hibernation with $true or $false")]
109108
public bool? SupportsHibernation { get; set; }
110109

111110
[Parameter(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public partial class NewAzureRmSnapshotUpdateConfigCommand : Microsoft.Azure.Com
6464
[Parameter(
6565
Mandatory = false,
6666
ValueFromPipelineByPropertyName = true,
67-
HelpMessage = "Specify if Disk Supports Hibernation with $true of $false")]
67+
HelpMessage = "Indicates if the OS on the snapshot supports hibernation with $true or $false")]
6868
public bool? SupportsHibernation { get; set; }
6969

7070

src/Compute/Compute/RestorePoints/NewAzRestorePoint.cs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,48 +34,52 @@ public class NewAzureRestorePoint : ComputeAutomationBaseCmdlet
3434
[Parameter(
3535
Position = 0,
3636
Mandatory = true,
37-
ValueFromPipelineByPropertyName = true)]
37+
ValueFromPipelineByPropertyName = true,
38+
HelpMessage = "Resource group name this resource belongs to")]
3839
[ResourceGroupCompleter]
3940
public string ResourceGroupName { get; set; }
4041

4142
[Parameter(
4243
Position = 1,
4344
Mandatory = true,
44-
ValueFromPipelineByPropertyName = true)]
45+
ValueFromPipelineByPropertyName = true,
46+
HelpMessage = "Name of the restore point collection this restore point is part of")]
4547
public string RestorePointCollectionName{ get; set; }
4648

4749
[Parameter(
4850
Position = 1,
4951
Mandatory = true,
50-
ValueFromPipelineByPropertyName = true)]
52+
ValueFromPipelineByPropertyName = true,
53+
HelpMessage = "The name of the restore point")]
5154
[Alias("RestorePointName")]
5255
public string Name { get; set; }
5356

5457
[Parameter(
5558
Position = 3,
5659
Mandatory = false,
5760
ValueFromPipelineByPropertyName = false,
58-
HelpMessage = "Set the region of the Restore Point")]
61+
HelpMessage = "Set the region of the restore point")]
5962
public string Location { get; set; }
6063

6164

6265
[Parameter(
6366
Mandatory = false,
6467
ValueFromPipeline = true,
65-
HelpMessage = "ARM Id of the source Restore Point")]
68+
HelpMessage = "ARM Id of the source restore point")]
6669
public string RestorePointId { get; set; }
6770

6871

6972
[Parameter(
7073
Mandatory = false,
71-
ValueFromPipeline = true)]
74+
ValueFromPipeline = true,
75+
HelpMessage = "List of disk resource Id values that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.")]
7276
public string[] DisksToExclude { get; set; }
7377

7478

7579
[Parameter(
7680
Mandatory = false,
7781
ValueFromPipeline = true,
78-
HelpMessage = "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.")]
82+
HelpMessage = "ConsistencyMode of the restore point. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.")]
7983
[PSArgumentCompleter("CrashConsistent", "FileSystemConsistent", "ApplicationConsistent")]
8084
public string ConsistencyMode { get; set; }
8185

src/Compute/Compute/help/New-AzDiskUpdateConfig.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Accept wildcard characters: False
132132
```
133133
134134
### -DiskAccessId
135-
{{ Fill DiskAccessId Description }}
135+
ARM id of the DiskAccess resource for using private endpoints on disks
136136
137137
```yaml
138138
Type: System.String
@@ -252,7 +252,7 @@ Accept wildcard characters: False
252252
```
253253
254254
### -EncryptionSettingsEnabled
255-
Enable encryption settings.
255+
Enable encryption settings on the disk
256256
257257
```yaml
258258
Type: System.Nullable`1[System.Boolean]
@@ -267,7 +267,7 @@ Accept wildcard characters: False
267267
```
268268
269269
### -EncryptionType
270-
The type of key used to encrypt the data of the disk. Available values are: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey'
270+
The type of key used to encrypt the data of the disk. Available values are: EncryptionAtRestWithPlatformKey, EncryptionAtRestWithCustomerKey
271271
272272
```yaml
273273
Type: System.String
@@ -312,7 +312,7 @@ Accept wildcard characters: False
312312
```
313313
314314
### -NetworkAccessPolicy
315-
{{ Fill NetworkAccessPolicy Description }}
315+
Policy for accessing the disk via network. Available values are: AllowAll, AllowPrivate, DeyAll
316316
317317
```yaml
318318
Type: System.String
@@ -358,7 +358,7 @@ Accept wildcard characters: False
358358
```
359359
360360
### -PurchasePlan
361-
{{ Fill PurchasePlan Description }}
361+
Sets the purchase plan for the disk. Used for establishing the purchase context of any 3rd Party artifact through Marketplace.
362362
363363
```yaml
364364
Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSPurchasePlan
@@ -388,7 +388,7 @@ Accept wildcard characters: False
388388
```
389389
390390
### -SupportsHibernation
391-
{{ Fill SupportsHibernation Description }}
391+
Indicates if the OS on the disk supports hibernation with $true or $false
392392
393393
```yaml
394394
Type: System.Nullable`1[System.Boolean]

src/Compute/Compute/help/New-AzRestorePoint.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Creates a new Restore Point
3333
## PARAMETERS
3434

3535
### -ConsistencyMode
36-
ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
36+
ConsistencyMode of the restore point. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
3737

3838
```yaml
3939
Type: System.String
@@ -63,7 +63,7 @@ Accept wildcard characters: False
6363
```
6464
6565
### -DisksToExclude
66-
List of disk resource ids that the customer wishes to exclude from the restorepoint. If no disks are specified, all disks will be included.
66+
List of disk resource Id values that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
6767
6868
```yaml
6969
Type: System.String[]
@@ -78,7 +78,7 @@ Accept wildcard characters: False
7878
```
7979
8080
### -Location
81-
{{ Fill Location Description }}
81+
Set the region of the restore point
8282
8383
```yaml
8484
Type: System.String
@@ -93,7 +93,7 @@ Accept wildcard characters: False
9393
```
9494
9595
### -Name
96-
Resource Name
96+
The name of the restore point
9797
9898
```yaml
9999
Type: System.String
@@ -108,7 +108,7 @@ Accept wildcard characters: False
108108
```
109109
110110
### -ResourceGroupName
111-
Resource Group Name
111+
Resource group name this resource belongs to
112112
113113
```yaml
114114
Type: System.String
@@ -123,7 +123,7 @@ Accept wildcard characters: False
123123
```
124124
125125
### -RestorePointCollectionName
126-
Restore Point Collection Name
126+
Name of the restore point collection this restore point is part of
127127
128128
```yaml
129129
Type: System.String
@@ -138,7 +138,7 @@ Accept wildcard characters: False
138138
```
139139
140140
### -RestorePointId
141-
{{ Fill RestorePointId Description }}
141+
ARM Id of the source restore point
142142
143143
```yaml
144144
Type: System.String

src/Compute/Compute/help/New-AzSnapshotConfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Accept wildcard characters: False
362362
```
363363
364364
### -PurchasePlan
365-
{{ Fill PurchasePlan Description }}
365+
Sets the purchase plan for the snapshot. Used for establishing the purchase context of any 3rd Party artifact through Marketplace.
366366
367367
```yaml
368368
Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSPurchasePlan
@@ -437,7 +437,7 @@ Accept wildcard characters: False
437437
```
438438
439439
### -SupportsHibernation
440-
{{ Fill SupportsHibernation Description }}
440+
Indicates if the OS on the snapshot supports hibernation with $true or $false
441441
442442
```yaml
443443
Type: System.Nullable`1[System.Boolean]

src/Compute/Compute/help/New-AzSnapshotUpdateConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Accept wildcard characters: False
251251
```
252252
253253
### -SupportsHibernation
254-
{{ Fill SupportsHibernation Description }}
254+
Indicates if the OS on the snapshot supports hibernation with $true or $false
255255
256256
```yaml
257257
Type: System.Nullable`1[System.Boolean]

src/Compute/Compute/help/Update-AzDiskEncryptionSet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Accept wildcard characters: False
171171
```
172172
173173
### -RotationToLatestKeyVersionEnabled
174-
{{ Fill RotationToLatestKeyVersionEnabled Description }}
174+
Set this flag to true to enable auto-updating of this disk encryption set to the latest key version
175175
176176
```yaml
177177
Type: System.Nullable`1[System.Boolean]

0 commit comments

Comments
 (0)