ConsumptionManagementClient class

Extends

Constructors

ConsumptionManagementClient(TokenCredential, string, ConsumptionManagementClientOptionalParams)

Initializes a new instance of the ConsumptionManagementClient class.

Properties

$host
aggregatedCost
apiVersion
balances
budgets
charges
credits
eventsOperations
lotsOperations
marketplaces
operations
priceSheet
reservationRecommendationDetails
reservationRecommendations
reservationsDetails
reservationsSummaries
reservationTransactions
subscriptionId
tags
usageDetails

Inherited Properties

pipeline

The pipeline used by this client to make requests

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

ConsumptionManagementClient(TokenCredential, string, ConsumptionManagementClientOptionalParams)

Initializes a new instance of the ConsumptionManagementClient class.

new ConsumptionManagementClient(credentials: TokenCredential, subscriptionId: string, options?: ConsumptionManagementClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

Azure Subscription ID.

options
ConsumptionManagementClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

aggregatedCost

aggregatedCost: AggregatedCost

Property Value

apiVersion

apiVersion: string

Property Value

string

balances

balances: Balances

Property Value

budgets

budgets: Budgets

Property Value

charges

charges: Charges

Property Value

credits

credits: Credits

Property Value

eventsOperations

eventsOperations: EventsOperations

Property Value

lotsOperations

lotsOperations: LotsOperations

Property Value

marketplaces

marketplaces: Marketplaces

Property Value

operations

operations: Operations

Property Value

priceSheet

priceSheet: PriceSheet

Property Value

reservationRecommendationDetails

reservationRecommendationDetails: ReservationRecommendationDetails

Property Value

reservationRecommendations

reservationRecommendations: ReservationRecommendations

Property Value

reservationsDetails

reservationsDetails: ReservationsDetails

Property Value

reservationsSummaries

reservationsSummaries: ReservationsSummaries

Property Value

reservationTransactions

reservationTransactions: ReservationTransactions

Property Value

subscriptionId

subscriptionId: string

Property Value

string

tags

tags: Tags

Property Value

usageDetails

usageDetails: UsageDetails

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest