Partilhar via


ReservationsExtensions.GetAppliedReservationsAsync Método

Definição

Obtenha os s aplicáveis Reservationque são aplicados a esta assinatura ou a um grupo de recursos nesta assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations
  • Operação 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

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a