Delen via


IAzureReservationAPIClient.GetCatalogWithHttpMessagesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.Catalog>>> GetCatalogWithHttpMessagesAsync (string subscriptionId, string reservedResourceType, string location = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCatalogWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.Catalog>>>
Public Function GetCatalogWithHttpMessagesAsync (subscriptionId As String, reservedResourceType As String, Optional location As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IList(Of Catalog)))

Parameters

subscriptionId
String

Id of the subscription

reservedResourceType
String

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

location
String

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

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to