ReservationOrderOperationsExtensions.CalculateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculate price for a ReservationOrder
.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.CalculatePriceResponse> CalculateAsync (this Microsoft.Azure.Management.Reservations.IReservationOrderOperations operations, Microsoft.Azure.Management.Reservations.Models.PurchaseRequest body, System.Threading.CancellationToken cancellationToken = default);
static member CalculateAsync : Microsoft.Azure.Management.Reservations.IReservationOrderOperations * Microsoft.Azure.Management.Reservations.Models.PurchaseRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.CalculatePriceResponse>
<Extension()>
Public Function CalculateAsync (operations As IReservationOrderOperations, body As PurchaseRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CalculatePriceResponse)
Parameters
- operations
- IReservationOrderOperations
The operations group for this extension method.
- body
- PurchaseRequest
Information needed for calculate or purchase reservation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Calculate price for placing a ReservationOrder
.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET