Aracılığıyla paylaş


ReservationOperationsExtensions.GetAsync Method

Definition

Get Reservation details.

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

Parameters

operations
IReservationOperations

The operations group for this extension method.

reservationId
String

Id of the Reservation Item

reservationOrderId
String

Order Id of the reservation

expand
String

Supported value of this query is renewProperties

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get specific Reservation details.

Applies to