Skip to content

Commit 59001c6

Browse files
grizzlytheodoreTheodore Chang
andauthored
updated (#23504)
Co-authored-by: Theodore Chang <[email protected]>
1 parent a7e8e7f commit 59001c6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* Added new parameter `-ElasticSanResourceId` to `New-AzSnapshotConfig` cmdlet.
2424
* Added new parameter `-OptimizedForFrequentAttach` to `New-AzDiskConfig` cmdlet.
2525
* Added new examples in `New-AzVM` and `New-AzVmss` for TrustedLaunch default usage.
26+
* Updated `Get-AzVmExtension` to return instanceView when used with `-Status`.
2627

2728
## Version 7.0.0
2829
* Added update functionality in `Update-AzVmss` for parameters `SecurityType`, `EnableSecureBoot`, and `EnableVtpm` for the parameter set with the Put operation.

src/Compute/Compute/Models/PSVirtualMachineExtension.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ public class PSVirtualMachineExtension
5353

5454
public string ForceUpdateTag { get; set; }
5555
public bool? EnableAutomaticUpgrade { get; set; }
56+
public VirtualMachineExtensionInstanceView InstanceView { get; set; }
57+
5658
}
5759

5860
public static class PSVirtualMachineExtensionConversions
@@ -87,7 +89,8 @@ public static PSVirtualMachineExtension ToPSVirtualMachineExtension(this Virtual
8789
SubStatuses = ext.InstanceView == null ? null : ext.InstanceView.Substatuses,
8890
AutoUpgradeMinorVersion = ext.AutoUpgradeMinorVersion,
8991
ForceUpdateTag = ext.ForceUpdateTag,
90-
EnableAutomaticUpgrade = ext.EnableAutomaticUpgrade
92+
EnableAutomaticUpgrade = ext.EnableAutomaticUpgrade,
93+
InstanceView = ext.InstanceView
9194
};
9295

9396
return result;

0 commit comments

Comments
 (0)