MockableReservationsSubscriptionResource.GetCatalog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetCatalog(SubscriptionResourceGetCatalogOptions, CancellationToken) |
Get the regions and skus that are available for RI purchase for the specified Azure subscription.
|
GetCatalog(String, Nullable<AzureLocation>, String, String, String, CancellationToken) |
Get the regions and skus that are available for RI purchase for the specified Azure subscription.
|
GetCatalog(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
public virtual Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalog (Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCatalog : Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
override this.GetCatalog : Azure.ResourceManager.Reservations.Models.SubscriptionResourceGetCatalogOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
Public Overridable Function GetCatalog (options As SubscriptionResourceGetCatalogOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ReservationCatalog)
Parameters
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
A collection of Azure.ResourceManager.Reservations.Models.ReservationCatalog that may take multiple service requests to iterate over.
Applies to
GetCatalog(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
public virtual Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog> GetCatalog (string reservedResourceType = default, Azure.Core.AzureLocation? location = default, string publisherId = default, string offerId = default, string planId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCatalog : string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
override this.GetCatalog : string * Nullable<Azure.Core.AzureLocation> * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Reservations.Models.ReservationCatalog>
Public Overridable Function GetCatalog (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
- 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
A collection of Azure.ResourceManager.Reservations.Models.ReservationCatalog that may take multiple service requests to iterate over.