Partilhar via


CapacityReservationGroupResource.Update 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 Azure.Response<Azure.ResourceManager.Compute.CapacityReservationGroupResource> Update (Azure.ResourceManager.Compute.Models.CapacityReservationGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Compute.Models.CapacityReservationGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CapacityReservationGroupResource>
override this.Update : Azure.ResourceManager.Compute.Models.CapacityReservationGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CapacityReservationGroupResource>
Public Overridable Function Update (patch As CapacityReservationGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As 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