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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET