Condividi tramite


ReservationOperationsExtensions.ListAsync Method

Definition

Get Reservations in a given reservation Order

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

Parameters

operations
IReservationOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List Reservations within a single ReservationOrder.

Applies to