Skip to content

Commit a2bcb50

Browse files
committed
fix help docs and cmdlet parameter
1 parent f3b0390 commit a2bcb50

File tree

5 files changed

+27
-10
lines changed

5 files changed

+27
-10
lines changed

src/ResourceManager/Compute/ChangeLog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Azure Disk Encryption Extension Commands
22+
- New Parameter for 'Set-AzureRmVmDiskEncryptionExtension': '-EncryptFormatAll' encrypt formats data disks
23+
- New Parameters for 'Set-AzureRmVmDiskEncryptionExtension': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
24+
- New Parameters for 'Disable-AzureRmVmDiskEncryption': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
25+
- New Parameters for 'Get-AzureRmVmDiskEncryptionStatus': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
2126

2227
## Version 3.4.1
2328

@@ -173,4 +178,4 @@
173178
- VMScaleSet and ContainerService now have "ResourceGroupName" property, so when piping Get command to Delete/Update command, -ResourceGroupName is not required.
174179
* Separate paremater sets for Set-AzureRmVM with Generalized and Redeploy parameter
175180
* Reduce time taken by Get-AzureRmVMDiskEncryptionStatus cmdlet from two minutes to under five seconds
176-
* Allow Set-AzureRmVMDiskEncryptionStatus to be used with VHDs residing in multiple resource groups
181+
* Allow Set-AzureRmVMDiskEncryptionStatus to be used with VHDs residing in multiple resource groups

src/ResourceManager/Compute/Commands.Compute/Extension/AzureDiskEncryption/SetAzureDiskEncryptionExtension.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ public class SetAzureDiskEncryptionExtensionCommand : VirtualMachineExtensionBas
195195

196196
[Parameter(
197197
Mandatory = false,
198-
Position = 18,
199-
ValueFromPipelineByPropertyName = true,
200198
HelpMessage = "Encrypt-Format all data drives that are not already encrypted")]
201199
public SwitchParameter EncryptFormatAll { get; set; }
202200

src/ResourceManager/Compute/Commands.Compute/help/Disable-AzureRmVMDiskEncryption.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Accept wildcard characters: False
7979
```
8080
8181
### -ExtensionPublisherName
82-
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".```yaml
82+
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".
83+
84+
```yaml
8385
Type: String
8486
Parameter Sets: (All)
8587
Aliases:
@@ -92,7 +94,9 @@ Accept wildcard characters: False
9294
```
9395
9496
### -ExtensionType
95-
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.```yaml
97+
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.
98+
99+
```yaml
96100
Type: String
97101
Parameter Sets: (All)
98102
Aliases:

src/ResourceManager/Compute/Commands.Compute/help/Get-AzureRmVMDiskEncryptionStatus.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ Accept wildcard characters: False
5151
```
5252
5353
### -ExtensionPublisherName
54-
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".```yaml
54+
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".
55+
56+
```yaml
5557
Type: String
5658
Parameter Sets: (All)
5759
Aliases:
@@ -64,7 +66,9 @@ Accept wildcard characters: False
6466
```
6567
6668
### -ExtensionType
67-
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.```yaml
69+
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.
70+
71+
```yaml
6872
Type: String
6973
Parameter Sets: (All)
7074
Aliases:

src/ResourceManager/Compute/Commands.Compute/help/Set-AzureRmVMDiskEncryptionExtension.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ Accept wildcard characters: False
297297
```
298298
299299
### -EncryptFormatAll
300-
Encrypt-Format all data drives that are not already encrypted```yaml
300+
Encrypt-Format all data drives that are not already encrypted
301+
302+
```yaml
301303
Type: SwitchParameter
302304
Parameter Sets: (All)
303305
Aliases:
@@ -310,7 +312,9 @@ Accept wildcard characters: False
310312
```
311313
312314
### -ExtensionPublisherName
313-
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".```yaml
315+
The extension publisher name. Specify this parameter only to override the default value of "Microsoft.Azure.Security".
316+
317+
```yaml
314318
Type: String
315319
Parameter Sets: (All)
316320
Aliases:
@@ -323,7 +327,9 @@ Accept wildcard characters: False
323327
```
324328
325329
### -ExtensionType
326-
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.```yaml
330+
The extension type. Specify this parameter to override its default value of "AzureDiskEncryption" for Windows VMs and "AzureDiskEncryptionForLinux" for Linux VMs.
331+
332+
```yaml
327333
Type: String
328334
Parameter Sets: (All)
329335
Aliases:

0 commit comments

Comments
 (0)