Skip to content

Commit

Permalink
updates (#26114)
Browse files Browse the repository at this point in the history
Co-authored-by: Theodore Chang <theodore.l.chang@gmail.com>
  • Loading branch information
grizzlytheodore and Theodore Chang authored Sep 18, 2024
1 parent d7338d0 commit a9b7146
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Compute/Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Added `SkuProfileVmSize` and `SkuProfileAllocationStrategy` parameters to `New-AzVmss`, `New-AzVmssConfig`, and `Update-AzVmss` cmdlets for VMSS Instance Mix operations.
* 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).
* Added `EnableResilientVMCreate` and `EnableResilientVMDelete` parameters to `Update-AzVmss` and `New-AzVmssConfig` cmdlets for enhanced VM resilience options.
* Added `IsVMInStandByPool` property to `PSVirtualMachineInstanceView` object. [#25736]

## Version 8.3.0
* Fixed secrets exposure in example documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public partial class PSVirtualMachineInstanceView
public IList<InstanceViewStatus> Statuses { get; set; }
public VirtualMachinePatchStatus PatchStatus { get; set; }
public VirtualMachineHealthStatus VmHealth { get; set; }
public bool? IsVMInStandbyPool { get; set; }

}
}
4 changes: 3 additions & 1 deletion src/Compute/Compute/Models/PSVirtualMachineInstanceView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class PSVirtualMachineInstanceView
public string OsVersion { get; set; }
public string HyperVGeneration { get; set; }
public string AssignedHost {get; set; }
public bool? IsVMInStandbyPool { get; set; }

public BootDiagnosticsInstanceView BootDiagnostics { get; set; }

Expand Down Expand Up @@ -75,7 +76,8 @@ public static PSVirtualMachineInstanceView ToPSVirtualMachineInstanceView(
HyperVGeneration = virtualMachineInstanceView.HyperVGeneration,
PatchStatus = virtualMachineInstanceView.PatchStatus,
VMHealth = virtualMachineInstanceView.VmHealth,
AssignedHost = virtualMachineInstanceView.AssignedHost
AssignedHost = virtualMachineInstanceView.AssignedHost,
IsVMInStandbyPool = virtualMachineInstanceView.IsVMInStandbyPool
};

return result;
Expand Down

0 comments on commit a9b7146

Please sign in to comment.