Compartir a través de


ReservationsExtensions.CalculateReservationOrder Método

Definición

Calcule el precio para colocar un ReservationOrder.

  • Ruta de acceso de solicitud/providers/Microsoft.Capacity/calculatePrice
  • IdReservationOrder_Calculate de operación
public static Azure.Response<Azure.ResourceManager.Reservations.Models.CalculatePriceResult> CalculateReservationOrder (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent content, System.Threading.CancellationToken cancellationToken = default);
static member CalculateReservationOrder : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.Models.CalculatePriceResult>
<Extension()>
Public Function CalculateReservationOrder (tenantResource As TenantResource, content As ReservationPurchaseContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CalculatePriceResult)

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

content
ReservationPurchaseContent

Información necesaria para calcular o comprar reserva.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a