Freigeben über


VirtualMachineScaleSetResource.GetOSUpgradeHistoryAsync Methode

Definition

Ruft eine Liste der Betriebssystemupgrades für eine VM-Skalierungsgruppe instance ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
  • Vorgangs-IdVirtualMachineScaleSets_GetOSUpgradeHistory
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo> GetOSUpgradeHistoryAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetOSUpgradeHistoryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
override this.GetOSUpgradeHistoryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
Public Overridable Function GetOSUpgradeHistoryAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of UpgradeOperationHistoricalStatusInfo)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von UpgradeOperationHistoricalStatusInfo , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: