Share via


MockableReservationsSubscriptionResource.GetAppliedReservationsAsync Method

Definition

Get applicable Reservations that are applied to this subscription or a resource group under this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations
  • Operation Id: GetAppliedReservationList
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.AppliedReservationData>> GetAppliedReservationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppliedReservationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.AppliedReservationData>>
override this.GetAppliedReservationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.Models.AppliedReservationData>>
Public Overridable Function GetAppliedReservationsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppliedReservationData))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to