Compartilhar via


ReservationDetailResource.UpdateAsync Método

Definição

Atualizações os escopos aplicados do Reservation.

  • Caminho da Solicitação/provedores/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
  • Operação IdReservation_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationDetailResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.ReservationDetailPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.ReservationDetailPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationDetailResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.ReservationDetailPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.ReservationDetailResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As ReservationDetailPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ReservationDetailResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

patch
ReservationDetailPatch

Informações necessárias para corrigir um item de reserva.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a