共用方式為


ConsumptionManagementClient class

Extends

建構函式

ConsumptionManagementClient(TokenCredential, string, ConsumptionManagementClientOptionalParams)

初始化 ConsumptionManagementClient 類別的新實例。

屬性

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

繼承的屬性

pipeline

此用戶端用來提出要求的管線

繼承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

建構函式詳細資料

ConsumptionManagementClient(TokenCredential, string, ConsumptionManagementClientOptionalParams)

初始化 ConsumptionManagementClient 類別的新實例。

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

參數

credentials
TokenCredential

可唯一識別用戶端訂用帳戶的訂用帳號憑證。

subscriptionId

string

Azure 訂用帳戶識別碼。

屬性詳細資料

$host

$host: string

屬性值

string

aggregatedCost

aggregatedCost: AggregatedCost

屬性值

apiVersion

apiVersion: string

屬性值

string

balances

balances: Balances

屬性值

budgets

budgets: Budgets

屬性值

charges

charges: Charges

屬性值

credits

credits: Credits

屬性值

eventsOperations

eventsOperations: EventsOperations

屬性值

lotsOperations

lotsOperations: LotsOperations

屬性值

marketplaces

marketplaces: Marketplaces

屬性值

operations

operations: Operations

屬性值

priceSheet

priceSheet: PriceSheet

屬性值

reservationRecommendationDetails

reservationRecommendationDetails: ReservationRecommendationDetails

屬性值

reservationRecommendations

reservationRecommendations: ReservationRecommendations

屬性值

reservationsDetails

reservationsDetails: ReservationsDetails

屬性值

reservationsSummaries

reservationsSummaries: ReservationsSummaries

屬性值

reservationTransactions

reservationTransactions: ReservationTransactions

屬性值

subscriptionId

subscriptionId: string

屬性值

string

tags

tags: Tags

屬性值

usageDetails

usageDetails: UsageDetails

屬性值

繼承的屬性詳細資料

pipeline

此用戶端用來提出要求的管線

pipeline: Pipeline

屬性值

繼承自 coreClient.ServiceClient.pipeline

繼承的方法的詳細資料

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

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

參數

operationArguments
OperationArguments

HTTP 要求樣板化值的引數將會從 中填入。

operationSpec
OperationSpec

用來填入 HTTPRequest 的 OperationSpec。

傳回

Promise<T>

繼承自 coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

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

參數

request
PipelineRequest

傳回

Promise<PipelineResponse>

繼承自 coreClient.ServiceClient.sendRequest