Skip to content

Commit f299dc7

Browse files
author
Kamran Khan
committed
Add table for if condition
1 parent 3f0f6c8 commit f299dc7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,17 @@ public override void ExecuteCmdlet()
257257
this.Name,
258258
parameters).GetAwaiter().GetResult();
259259

260+
// +---------+---------------+----------------------------+
261+
// | OSType | VolumeType | UpdateVmEncryptionSettings |
262+
// +---------+---------------+----------------------------+
263+
// | Windows | OS | Yes |
264+
// | Windows | Data | No |
265+
// | Windows | Not Specified | Yes |
266+
// | Linux | OS | N/A |
267+
// | Linux | Data | Yes |
268+
// | Linux | Not Specified | N/A |
269+
// +---------+---------------+----------------------------+
270+
260271
if (OperatingSystemTypes.Windows.Equals(currentOSType) &&
261272
VolumeType.Equals(AzureDiskEncryptionExtensionContext.VolumeTypeData, StringComparison.InvariantCultureIgnoreCase))
262273
{

0 commit comments

Comments
 (0)