Compartilhar via


ReservationOrderResource.CalculateRefund Método

Definição

Calcule o preço para retornar Reservations se não houver erros de política.

  • Caminho da Solicitação/provedores/Microsoft.Capacity/reservationOrders/{reservationOrderId}/calculateRefund
  • IdCalculateRefund_Post de operação
public virtual Azure.Response<Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundResult> CalculateRefund (Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CalculateRefund : Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundResult>
override this.CalculateRefund : Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.Models.ReservationCalculateRefundResult>
Public Overridable Function CalculateRefund (content As ReservationCalculateRefundContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ReservationCalculateRefundResult)

Parâmetros

content
ReservationCalculateRefundContent

Informações necessárias para calcular o reembolso de uma reserva.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a