Udostępnij za pośrednictwem


ReservationOperationsExtensions.AvailableScopesAsync Method

Definition

Get Available Scopes for Reservation.

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

Parameters

operations
IReservationOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

reservationId
String

Id of the Reservation Item

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get Available Scopes for Reservation.

Applies to