Partilhar via


CapacityReservationGroupResource.UpdateAsync Método

Definição

A operação para atualizar um grupo de reserva de capacidade. Ao atualizar um grupo de reserva de capacidade, somente as marcas podem ser modificadas.

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

Parâmetros

patch
CapacityReservationGroupPatch

Parâmetros fornecidos para a operação Atualizar grupo de reserva de capacidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a