Share via


MockableReservationsSubscriptionResource.GetCatalogAsync Method

Definition

Overloads

GetCatalogAsync(SubscriptionResourceGetCatalogOptions, CancellationToken)

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • Operation Id: GetCatalog
GetCatalogAsync(String, Nullable<AzureLocation>, String, String, String, CancellationToken)

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • Operation Id: GetCatalog

GetCatalogAsync(SubscriptionResourceGetCatalogOptions, CancellationToken)

Source:
MockableReservationsSubscriptionResource.cs

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • Operation Id: GetCatalog
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalogAsync (Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCatalogAsync : Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
override this.GetCatalogAsync : Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
Public Overridable Function GetCatalogAsync (options As SubscriptionResourceGetCatalogOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationCatalog)

Parameters

options
SubscriptionResourceGetCatalogOptions

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

AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>

An async collection of Azure.ResourceManager.Reservations.Models.ReservationCatalog that may take multiple service requests to iterate over.

Applies to

GetCatalogAsync(String, Nullable<AzureLocation>, String, String, String, CancellationToken)

Source:
MockableReservationsSubscriptionResource.cs

Get the regions and skus that are available for RI purchase for the specified Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs
  • Operation Id: GetCatalog
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalogAsync (string reservedResourceType = default, Azure.Core.AzureLocation? location = default, string publisherId = default, string offerId = default, string planId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCatalogAsync : string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
override this.GetCatalogAsync : string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
Public Overridable Function GetCatalogAsync (Optional reservedResourceType As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional publisherId As String = Nothing, Optional offerId As String = Nothing, Optional planId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationCatalog)

Parameters

reservedResourceType
String

The type of the resource for which the skus should be provided.

location
Nullable<AzureLocation>

Filters the skus based on the location specified in this parameter. This can be an azure region or global.

publisherId
String

Publisher id used to get the third party products.

offerId
String

Offer id used to get the third party products.

planId
String

Plan id used to get the third party products.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

AsyncPageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>

An async collection of Azure.ResourceManager.Reservations.Models.ReservationCatalog that may take multiple service requests to iterate over.

Applies to