ConsumptionManagementClient Class

Definition

Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.

public class ConsumptionManagementClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.Consumption.ConsumptionManagementClient>, IDisposable, Microsoft.Azure.Management.Consumption.IConsumptionManagementClient, Microsoft.Rest.Azure.IAzureClient
type ConsumptionManagementClient = class
    inherit ServiceClient<ConsumptionManagementClient>
    interface IConsumptionManagementClient
    interface IDisposable
    interface IAzureClient
Public Class ConsumptionManagementClient
Inherits ServiceClient(Of ConsumptionManagementClient)
Implements IAzureClient, IConsumptionManagementClient, IDisposable
Inheritance
System.Object
ConsumptionManagementClient
Implements

Constructors

ConsumptionManagementClient(DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(Uri, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

ConsumptionManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ConsumptionManagementClient class.

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

Initializes a new instance of the ConsumptionManagementClient class.

Properties

AcceptLanguage

Gets or sets the preferred language for the response.

ApiVersion

Version of the API to be used with the client request. The current version is 2018-01-31.

BaseUri

The base URI of the service.

Budgets

Gets the IBudgetsOperations.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

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

Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.

Marketplaces

Gets the IMarketplacesOperations.

Operations

Gets the IOperations.

PriceSheet

Gets the IPriceSheetOperations.

ReservationsDetails

Gets the IReservationsDetailsOperations.

ReservationsSummaries

Gets the IReservationsSummariesOperations.

SerializationSettings

Gets or sets json serialization settings.

SubscriptionId

Azure Subscription ID.

UsageDetails

Gets the IUsageDetailsOperations.

UserAgent (Inherited from ServiceClient<T>)

Methods

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

Extension Methods

GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for long running operations.

GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for long running operations.

GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for long running operations.

GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for long running operations.

GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

Applies to