Partilhar via


VirtualMachineScaleSetResource.GetOSUpgradeHistoryAsync Método

Definição

Obtém a lista de atualizações do sistema operacional em uma instância do conjunto de dimensionamento de VMs.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
  • Operação 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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de UpgradeOperationHistoricalStatusInfo que pode levar várias solicitações de serviço para iterar.

Aplica-se a