Partilhar via


AvailabilitySetResource.UpdateAsync Método

Definição

Atualizar um conjunto de disponibilidade.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}
  • Operação IdAvailabilitySets_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.AvailabilitySetResource>> UpdateAsync (Azure.ResourceManager.Compute.Models.AvailabilitySetPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Compute.Models.AvailabilitySetPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.AvailabilitySetResource>>
override this.UpdateAsync : Azure.ResourceManager.Compute.Models.AvailabilitySetPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.AvailabilitySetResource>>
Public Overridable Function UpdateAsync (patch As AvailabilitySetPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AvailabilitySetResource))

Parâmetros

patch
AvailabilitySetPatch

Parâmetros fornecidos para a operação Atualizar Conjunto de Disponibilidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a