AzureReservationAPIClient.GetCatalogWithHttpMessagesAsync 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.
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>>>
override this.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>>
Headers that will be added to request.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Implements
Exceptions
Thrown when the operation returned an invalid status code
Thrown when unable to deserialize the response
Thrown when a required parameter is null
Thrown when a required parameter is null