VirtualMachineScaleSetResource.GetOSUpgradeHistory(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets list of OS upgrades on a VM scale set instance.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
- Operation Id: VirtualMachineScaleSets_GetOSUpgradeHistory
- Default Api Version: 2024-07-01
- Resource: VirtualMachineScaleSetResource
public virtual Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo> GetOSUpgradeHistory (System.Threading.CancellationToken cancellationToken = default);
abstract member GetOSUpgradeHistory : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
override this.GetOSUpgradeHistory : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
Public Overridable Function GetOSUpgradeHistory (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of UpgradeOperationHistoricalStatusInfo)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of UpgradeOperationHistoricalStatusInfo that may take multiple service requests to iterate over.