Skip to content

Commit a9b7146

Browse files
grizzlytheodoreTheodore Chang
andauthored
updates (#26114)
Co-authored-by: Theodore Chang <[email protected]>
1 parent d7338d0 commit a9b7146

File tree

3 files changed

+5
-1
lines changed

3 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 `SkuProfileVmSize` and `SkuProfileAllocationStrategy` parameters to `New-AzVmss`, `New-AzVmssConfig`, and `Update-AzVmss` cmdlets for VMSS Instance Mix operations.
2424
* Added a new optional parameter `-GenerateSshKey-type` to the `New-AzVM` cmdlet, allowing users to specify the type of SSH key to generate (Ed25519 or RSA).
2525
* Added `EnableResilientVMCreate` and `EnableResilientVMDelete` parameters to `Update-AzVmss` and `New-AzVmssConfig` cmdlets for enhanced VM resilience options.
26+
* Added `IsVMInStandByPool` property to `PSVirtualMachineInstanceView` object. [#25736]
2627

2728
## Version 8.3.0
2829
* Fixed secrets exposure in example documentation.

src/Compute/Compute/Generated/Models/PSVirtualMachineInstanceView.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public partial class PSVirtualMachineInstanceView
4343
public IList<InstanceViewStatus> Statuses { get; set; }
4444
public VirtualMachinePatchStatus PatchStatus { get; set; }
4545
public VirtualMachineHealthStatus VmHealth { get; set; }
46+
public bool? IsVMInStandbyPool { get; set; }
4647

4748
}
4849
}

src/Compute/Compute/Models/PSVirtualMachineInstanceView.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class PSVirtualMachineInstanceView
2727
public string OsVersion { get; set; }
2828
public string HyperVGeneration { get; set; }
2929
public string AssignedHost {get; set; }
30+
public bool? IsVMInStandbyPool { get; set; }
3031

3132
public BootDiagnosticsInstanceView BootDiagnostics { get; set; }
3233

@@ -75,7 +76,8 @@ public static PSVirtualMachineInstanceView ToPSVirtualMachineInstanceView(
7576
HyperVGeneration = virtualMachineInstanceView.HyperVGeneration,
7677
PatchStatus = virtualMachineInstanceView.PatchStatus,
7778
VMHealth = virtualMachineInstanceView.VmHealth,
78-
AssignedHost = virtualMachineInstanceView.AssignedHost
79+
AssignedHost = virtualMachineInstanceView.AssignedHost,
80+
IsVMInStandbyPool = virtualMachineInstanceView.IsVMInStandbyPool
7981
};
8082

8183
return result;

0 commit comments

Comments
 (0)