Share via


MockableReservationsTenantResource.GetReservationDetailsAsync Method

Definition

Overloads

GetReservationDetailsAsync(TenantResourceGetReservationDetailsOptions, CancellationToken)

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

  • Request Path: /providers/Microsoft.Capacity/reservations
  • Operation Id: Reservation_ListAll
GetReservationDetailsAsync(String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken)

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

  • Request Path: /providers/Microsoft.Capacity/reservations
  • Operation Id: Reservation_ListAll

GetReservationDetailsAsync(TenantResourceGetReservationDetailsOptions, CancellationToken)

Source:
MockableReservationsTenantResource.cs

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

  • Request Path: /providers/Microsoft.Capacity/reservations
  • Operation Id: Reservation_ListAll
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource> GetReservationDetailsAsync (Azure.ResourceManager.Reservations.Models.TenantResourceGetReservationDetailsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationDetailsAsync : Azure.ResourceManager.Reservations.Models.TenantResourceGetReservationDetailsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
override this.GetReservationDetailsAsync : Azure.ResourceManager.Reservations.Models.TenantResourceGetReservationDetailsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
Public Overridable Function GetReservationDetailsAsync (options As TenantResourceGetReservationDetailsOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationDetailResource)

Parameters

options
TenantResourceGetReservationDetailsOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ReservationDetailResource that may take multiple service requests to iterate over.

Applies to

GetReservationDetailsAsync(String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken)

Source:
MockableReservationsTenantResource.cs

List the reservations and the roll up counts of reservations group by provisioning states that the user has access to in the current tenant.

  • Request Path: /providers/Microsoft.Capacity/reservations
  • Operation Id: Reservation_ListAll
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource> GetReservationDetailsAsync (string filter = default, string orderby = default, string refreshSummary = default, float? skiptoken = default, string selectedState = default, float? take = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationDetailsAsync : string * string * string * Nullable<single> * string * Nullable<single> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
override this.GetReservationDetailsAsync : string * string * string * Nullable<single> * string * Nullable<single> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
Public Overridable Function GetReservationDetailsAsync (Optional filter As String = Nothing, Optional orderby As String = Nothing, Optional refreshSummary As String = Nothing, Optional skiptoken As Nullable(Of Single) = Nothing, Optional selectedState As String = Nothing, Optional take As Nullable(Of Single) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationDetailResource)

Parameters

filter
String

May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. Reservation properties include sku/name, properties/{appliedScopeType, archived, displayName, displayProvisioningState, effectiveDateTime, expiryDate, provisioningState, quantity, renew, reservedResourceType, term, userFriendlyAppliedScopeType, userFriendlyRenewState}.

orderby
String

May be used to sort order by reservation properties.

refreshSummary
String

To indicate whether to refresh the roll up counts of the reservations group by provisioning states.

skiptoken
Nullable<Single>

The number of reservations to skip from the list before returning results.

selectedState
String

The selected provisioning state.

take
Nullable<Single>

To number of reservations to return.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ReservationDetailResource that may take multiple service requests to iterate over.

Applies to