Share via


ReservationsExtensions.GetCatalog Method

Definition

Overloads

GetCatalog(SubscriptionResource, 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
GetCatalog(SubscriptionResource, 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

GetCatalog(SubscriptionResource, SubscriptionResourceGetCatalogOptions, CancellationToken)

Source:
ReservationsExtensions.cs
Source:
ReservationsExtensions.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 static Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalog (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetCatalog : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
<Extension()>
Public Function GetCatalog (subscriptionResource As SubscriptionResource, options As SubscriptionResourceGetCatalogOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ReservationCatalog)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

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

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

Exceptions

subscriptionResource is null.

Applies to

GetCatalog(SubscriptionResource, String, Nullable<AzureLocation>, String, String, String, CancellationToken)

Source:
ReservationsExtensions.cs
Source:
ReservationsExtensions.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 static Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalog (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string reservedResourceType = default, Azure.Core.AzureLocation? location = default, string publisherId = default, string offerId = default, string planId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCatalog : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
<Extension()>
Public Function GetCatalog (subscriptionResource As SubscriptionResource, 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 Pageable(Of ReservationCatalog)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

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

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

Applies to