Udostępnij za pośrednictwem


ReservationOrderOperationsExtensions.Purchase Method

Definition

Purchase ReservationOrder

public static Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse Purchase (this Microsoft.Azure.Management.Reservations.IReservationOrderOperations operations, string reservationOrderId, Microsoft.Azure.Management.Reservations.Models.PurchaseRequest body);
static member Purchase : Microsoft.Azure.Management.Reservations.IReservationOrderOperations * string * Microsoft.Azure.Management.Reservations.Models.PurchaseRequest -> Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse
<Extension()>
Public Function Purchase (operations As IReservationOrderOperations, reservationOrderId As String, body As PurchaseRequest) As ReservationOrderResponse

Parameters

operations
IReservationOrderOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

body
PurchaseRequest

Information needed for calculate or purchase reservation

Returns

Remarks

Purchase ReservationOrder and create resource under the specified URI.

Applies to