Partilhar via


VirtualMachineScaleSetResource.GetOSUpgradeHistory(CancellationToken) Method

Definition

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.

Applies to