Delen via


AzureReservationAPIClient Class

Definition

public class AzureReservationAPIClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.Reservations.AzureReservationAPIClient>, IDisposable, Microsoft.Azure.Management.Reservations.IAzureReservationAPIClient, Microsoft.Rest.Azure.IAzureClient
type AzureReservationAPIClient = class
    inherit ServiceClient<AzureReservationAPIClient>
    interface IAzureReservationAPIClient
    interface IDisposable
    interface IAzureClient
Public Class AzureReservationAPIClient
Inherits ServiceClient(Of AzureReservationAPIClient)
Implements IAzureClient, IAzureReservationAPIClient, IDisposable
Inheritance
AzureReservationAPIClient
Implements

Constructors

AzureReservationAPIClient(DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(HttpClient, Boolean)

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(Uri, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

AzureReservationAPIClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the AzureReservationAPIClient class.

Properties

AcceptLanguage

The preferred language for the response.

BaseUri

The base URI of the service.

CalculateExchange

Gets the ICalculateExchangeOperations.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

Exchange

Gets the IExchangeOperations.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
LongRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

Operation

Gets the IOperationOperations.

Quota

Gets the IQuotaOperations.

QuotaRequestStatus

Gets the IQuotaRequestStatusOperations.

Reservation

Gets the IReservationOperations.

ReservationOrder

Gets the IReservationOrderOperations.

SerializationSettings

Gets or sets json serialization settings.

UserAgent (Inherited from ServiceClient<T>)

Methods

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
GetAppliedReservationListWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Get list of applicable Reservations.

GetCatalogWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)

Extension Methods

GetAppliedReservationList(IAzureReservationAPIClient, String)

Get list of applicable Reservations.

GetAppliedReservationListAsync(IAzureReservationAPIClient, String, CancellationToken)

Get list of applicable Reservations.

GetCatalog(IAzureReservationAPIClient, String, String, String)

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

GetCatalogAsync(IAzureReservationAPIClient, String, String, String, CancellationToken)

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

Applies to