Compartir a través de


VirtualMachineScaleSetResource.GetOSUpgradeHistoryAsync Método

Definición

Obtiene la lista de actualizaciones del sistema operativo en una instancia del conjunto de escalado de máquinas virtuales.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
  • IdVirtualMachineScaleSets_GetOSUpgradeHistory de operación
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)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de que puede tomar varias solicitudes de UpgradeOperationHistoricalStatusInfo servicio para iterar.

Se aplica a