共用方式為


ReservationOrderOperationsExtensions.GetAsync Method

Definition

Get a specific ReservationOrder.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse> GetAsync (this Microsoft.Azure.Management.Reservations.IReservationOrderOperations operations, string reservationOrderId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Reservations.IReservationOrderOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse>
<Extension()>
Public Function GetAsync (operations As IReservationOrderOperations, reservationOrderId As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReservationOrderResponse)

Parameters

operations
IReservationOrderOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

expand
String

May be used to expand the planInformation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the details of the ReservationOrder.

Applies to