Compartir a través de


ReservationsExtensions.GetAppliedReservationsAsync Método

Definición

Obtenga los s aplicables Reservationque se aplican a esta suscripción o a un grupo de recursos en esta suscripción.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations
  • Operation IdGetAppliedReservationList
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.AppliedReservationData>> GetAppliedReservationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppliedReservationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.AppliedReservationData>>
<Extension()>
Public Function GetAppliedReservationsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppliedReservationData))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a