你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BillingManagementClient class

扩展

构造函数

BillingManagementClient(TokenCredential, BillingManagementClientOptionalParams)
BillingManagementClient(TokenCredential, string, BillingManagementClientOptionalParams)

初始化 BillingManagementClient 类的新实例。

属性

$host
address
agreements
apiVersion
associatedTenants
availableBalances
billingAccounts
billingPermissions
billingProfiles
billingPropertyOperations
billingRequests
billingRoleAssignments
billingRoleDefinitionOperations
billingSubscriptions
billingSubscriptionsAliases
customers
departments
enrollmentAccounts
invoices
invoiceSections
operations
partnerTransfers
paymentMethods
policies
products
recipientTransfers
reservationOrders
reservations
savingsPlanOrders
savingsPlans
subscriptionId
transactions
transfers

继承属性

pipeline

此客户端用于发出请求的管道

继承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

sendRequest(PipelineRequest)

发送提供的 httpRequest。

构造函数详细信息

BillingManagementClient(TokenCredential, BillingManagementClientOptionalParams)

new BillingManagementClient(credentials: TokenCredential, options?: BillingManagementClientOptionalParams)

参数

credentials
TokenCredential

BillingManagementClient(TokenCredential, string, BillingManagementClientOptionalParams)

初始化 BillingManagementClient 类的新实例。

new BillingManagementClient(credentials: TokenCredential, subscriptionId: string, options?: BillingManagementClientOptionalParams)

参数

credentials
TokenCredential

唯一标识客户端订阅的订阅凭据。

subscriptionId

string

唯一标识计费订阅的 ID。

属性详细信息

$host

$host: string

属性值

string

address

address: Address

属性值

agreements

agreements: Agreements

属性值

apiVersion

apiVersion: string

属性值

string

associatedTenants

associatedTenants: AssociatedTenants

属性值

availableBalances

availableBalances: AvailableBalances

属性值

billingAccounts

billingAccounts: BillingAccounts

属性值

billingPermissions

billingPermissions: BillingPermissions

属性值

billingProfiles

billingProfiles: BillingProfiles

属性值

billingPropertyOperations

billingPropertyOperations: BillingPropertyOperations

属性值

billingRequests

billingRequests: BillingRequests

属性值

billingRoleAssignments

billingRoleAssignments: BillingRoleAssignments

属性值

billingRoleDefinitionOperations

billingRoleDefinitionOperations: BillingRoleDefinitionOperations

属性值

billingSubscriptions

billingSubscriptions: BillingSubscriptions

属性值

billingSubscriptionsAliases

billingSubscriptionsAliases: BillingSubscriptionsAliases

属性值

customers

customers: Customers

属性值

departments

departments: Departments

属性值

enrollmentAccounts

enrollmentAccounts: EnrollmentAccounts

属性值

invoices

invoices: Invoices

属性值

invoiceSections

invoiceSections: InvoiceSections

属性值

operations

operations: Operations

属性值

partnerTransfers

partnerTransfers: PartnerTransfers

属性值

paymentMethods

paymentMethods: PaymentMethods

属性值

policies

policies: Policies

属性值

products

products: Products

属性值

recipientTransfers

recipientTransfers: RecipientTransfers

属性值

reservationOrders

reservationOrders: ReservationOrders

属性值

reservations

reservations: Reservations

属性值

savingsPlanOrders

savingsPlanOrders: SavingsPlanOrders

属性值

savingsPlans

savingsPlans: SavingsPlans

属性值

subscriptionId

subscriptionId?: string

属性值

string

transactions

transactions: Transactions

属性值

transfers

transfers: Transfers

属性值

继承属性详细信息

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