共用方式為


BillingSubscriptions interface

代表 BillingSubscriptions 的介面。

方法

beginCancel(string, string, CancelSubscriptionRequest, BillingSubscriptionsCancelOptionalParams)

取消以使用量為基礎的訂用帳戶。 此作業僅支援Microsoft合作夥伴合約類型的計費帳戶。

beginCancelAndWait(string, string, CancelSubscriptionRequest, BillingSubscriptionsCancelOptionalParams)

取消以使用量為基礎的訂用帳戶。 此作業僅支援Microsoft合作夥伴合約類型的計費帳戶。

beginDelete(string, string, BillingSubscriptionsDeleteOptionalParams)

取消計費訂閱。 此作業僅支援Microsoft合作夥伴合約或Microsoft客戶合約類型的計費帳戶。

beginDeleteAndWait(string, string, BillingSubscriptionsDeleteOptionalParams)

取消計費訂閱。 此作業僅支援Microsoft合作夥伴合約或Microsoft客戶合約類型的計費帳戶。

beginMerge(string, string, BillingSubscriptionMergeRequest, BillingSubscriptionsMergeOptionalParams)

將要求中提供的計費訂用帳戶與目標計費訂用帳戶合併。

beginMergeAndWait(string, string, BillingSubscriptionMergeRequest, BillingSubscriptionsMergeOptionalParams)

將要求中提供的計費訂用帳戶與目標計費訂用帳戶合併。

beginMove(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsMoveOptionalParams)

將訂用帳戶的費用移至新的發票區段。 新的發票區段必須屬於與現有發票區段相同的帳單配置檔。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

beginMoveAndWait(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsMoveOptionalParams)

將訂用帳戶的費用移至新的發票區段。 新的發票區段必須屬於與現有發票區段相同的帳單配置檔。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

beginSplit(string, string, BillingSubscriptionSplitRequest, BillingSubscriptionsSplitOptionalParams)

將訂用帳戶分割成小於目前訂用帳戶數量且不等於0的新訂用帳戶。

beginSplitAndWait(string, string, BillingSubscriptionSplitRequest, BillingSubscriptionsSplitOptionalParams)

將訂用帳戶分割成小於目前訂用帳戶數量且不等於0的新訂用帳戶。

beginUpdate(string, string, BillingSubscriptionPatch, BillingSubscriptionsUpdateOptionalParams)

更新計費訂閱的屬性。

beginUpdateAndWait(string, string, BillingSubscriptionPatch, BillingSubscriptionsUpdateOptionalParams)

更新計費訂閱的屬性。

get(string, string, BillingSubscriptionsGetOptionalParams)

依其標識碼取得訂用帳戶。 合約類型Microsoft客戶合約、Microsoft合作夥伴合約和 Enterprise 合約的計費帳戶支援此作業。

getByBillingProfile(string, string, string, BillingSubscriptionsGetByBillingProfileOptionalParams)

依訂用帳戶的帳單配置檔和標識元取得訂用帳戶。 合約類型為 Enterprise 合約的計費帳戶支援此作業。

listByBillingAccount(string, BillingSubscriptionsListByBillingAccountOptionalParams)

列出計費帳戶的訂用帳戶。

listByBillingProfile(string, string, BillingSubscriptionsListByBillingProfileOptionalParams)

列出計費配置檔的訂用帳戶。 合約類型Microsoft客戶合約或Microsoft合作夥伴合約的計費帳戶支援此作業。

listByCustomer(string, string, string, BillingSubscriptionsListByCustomerOptionalParams)

列出客戶的訂用帳戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。

listByCustomerAtBillingAccount(string, string, BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams)

列出客戶在計費帳戶層級的訂用帳戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。

listByEnrollmentAccount(string, string, BillingSubscriptionsListByEnrollmentAccountOptionalParams)

列出註冊帳戶的訂用帳戶。 合約類型為 Enterprise 合約的計費帳戶支援此作業。

listByInvoiceSection(string, string, string, BillingSubscriptionsListByInvoiceSectionOptionalParams)

列出計費至發票區段的訂用帳戶。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

validateMoveEligibility(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsValidateMoveEligibilityOptionalParams)

驗證訂用帳戶的費用是否可以移至新的發票區段。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

方法詳細資料

beginCancel(string, string, CancelSubscriptionRequest, BillingSubscriptionsCancelOptionalParams)

取消以使用量為基礎的訂用帳戶。 此作業僅支援Microsoft合作夥伴合約類型的計費帳戶。

function beginCancel(billingAccountName: string, billingSubscriptionName: string, parameters: CancelSubscriptionRequest, options?: BillingSubscriptionsCancelOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscriptionsCancelHeaders>, BillingSubscriptionsCancelHeaders>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
CancelSubscriptionRequest

要求取消客戶訂用帳戶的參數。

傳回

beginCancelAndWait(string, string, CancelSubscriptionRequest, BillingSubscriptionsCancelOptionalParams)

取消以使用量為基礎的訂用帳戶。 此作業僅支援Microsoft合作夥伴合約類型的計費帳戶。

function beginCancelAndWait(billingAccountName: string, billingSubscriptionName: string, parameters: CancelSubscriptionRequest, options?: BillingSubscriptionsCancelOptionalParams): Promise<BillingSubscriptionsCancelHeaders>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
CancelSubscriptionRequest

要求取消客戶訂用帳戶的參數。

傳回

beginDelete(string, string, BillingSubscriptionsDeleteOptionalParams)

取消計費訂閱。 此作業僅支援Microsoft合作夥伴合約或Microsoft客戶合約類型的計費帳戶。

function beginDelete(billingAccountName: string, billingSubscriptionName: string, options?: BillingSubscriptionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscriptionsDeleteHeaders>, BillingSubscriptionsDeleteHeaders>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

傳回

beginDeleteAndWait(string, string, BillingSubscriptionsDeleteOptionalParams)

取消計費訂閱。 此作業僅支援Microsoft合作夥伴合約或Microsoft客戶合約類型的計費帳戶。

function beginDeleteAndWait(billingAccountName: string, billingSubscriptionName: string, options?: BillingSubscriptionsDeleteOptionalParams): Promise<BillingSubscriptionsDeleteHeaders>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

傳回

beginMerge(string, string, BillingSubscriptionMergeRequest, BillingSubscriptionsMergeOptionalParams)

將要求中提供的計費訂用帳戶與目標計費訂用帳戶合併。

function beginMerge(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionMergeRequest, options?: BillingSubscriptionsMergeOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionMergeRequest

提供以合併兩個計費訂用帳戶的要求參數。

options
BillingSubscriptionsMergeOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

beginMergeAndWait(string, string, BillingSubscriptionMergeRequest, BillingSubscriptionsMergeOptionalParams)

將要求中提供的計費訂用帳戶與目標計費訂用帳戶合併。

function beginMergeAndWait(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionMergeRequest, options?: BillingSubscriptionsMergeOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionMergeRequest

提供以合併兩個計費訂用帳戶的要求參數。

options
BillingSubscriptionsMergeOptionalParams

選項參數。

傳回

beginMove(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsMoveOptionalParams)

將訂用帳戶的費用移至新的發票區段。 新的發票區段必須屬於與現有發票區段相同的帳單配置檔。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

function beginMove(billingAccountName: string, billingSubscriptionName: string, parameters: MoveBillingSubscriptionRequest, options?: BillingSubscriptionsMoveOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
MoveBillingSubscriptionRequest

要求參數以轉移計費訂用帳戶。

options
BillingSubscriptionsMoveOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

beginMoveAndWait(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsMoveOptionalParams)

將訂用帳戶的費用移至新的發票區段。 新的發票區段必須屬於與現有發票區段相同的帳單配置檔。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

function beginMoveAndWait(billingAccountName: string, billingSubscriptionName: string, parameters: MoveBillingSubscriptionRequest, options?: BillingSubscriptionsMoveOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
MoveBillingSubscriptionRequest

要求參數以轉移計費訂用帳戶。

options
BillingSubscriptionsMoveOptionalParams

選項參數。

傳回

beginSplit(string, string, BillingSubscriptionSplitRequest, BillingSubscriptionsSplitOptionalParams)

將訂用帳戶分割成小於目前訂用帳戶數量且不等於0的新訂用帳戶。

function beginSplit(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionSplitRequest, options?: BillingSubscriptionsSplitOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionSplitRequest

提供以分割計費訂用帳戶的要求參數。

options
BillingSubscriptionsSplitOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

beginSplitAndWait(string, string, BillingSubscriptionSplitRequest, BillingSubscriptionsSplitOptionalParams)

將訂用帳戶分割成小於目前訂用帳戶數量且不等於0的新訂用帳戶。

function beginSplitAndWait(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionSplitRequest, options?: BillingSubscriptionsSplitOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionSplitRequest

提供以分割計費訂用帳戶的要求參數。

options
BillingSubscriptionsSplitOptionalParams

選項參數。

傳回

beginUpdate(string, string, BillingSubscriptionPatch, BillingSubscriptionsUpdateOptionalParams)

更新計費訂閱的屬性。

function beginUpdate(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionPatch, options?: BillingSubscriptionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionPatch

訂用帳戶的計費屬性。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingSubscription>, BillingSubscription>>

beginUpdateAndWait(string, string, BillingSubscriptionPatch, BillingSubscriptionsUpdateOptionalParams)

更新計費訂閱的屬性。

function beginUpdateAndWait(billingAccountName: string, billingSubscriptionName: string, parameters: BillingSubscriptionPatch, options?: BillingSubscriptionsUpdateOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
BillingSubscriptionPatch

訂用帳戶的計費屬性。

傳回

get(string, string, BillingSubscriptionsGetOptionalParams)

依其標識碼取得訂用帳戶。 合約類型Microsoft客戶合約、Microsoft合作夥伴合約和 Enterprise 合約的計費帳戶支援此作業。

function get(billingAccountName: string, billingSubscriptionName: string, options?: BillingSubscriptionsGetOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

options
BillingSubscriptionsGetOptionalParams

選項參數。

傳回

getByBillingProfile(string, string, string, BillingSubscriptionsGetByBillingProfileOptionalParams)

依訂用帳戶的帳單配置檔和標識元取得訂用帳戶。 合約類型為 Enterprise 合約的計費帳戶支援此作業。

function getByBillingProfile(billingAccountName: string, billingProfileName: string, billingSubscriptionName: string, options?: BillingSubscriptionsGetByBillingProfileOptionalParams): Promise<BillingSubscription>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

傳回

listByBillingAccount(string, BillingSubscriptionsListByBillingAccountOptionalParams)

列出計費帳戶的訂用帳戶。

function listByBillingAccount(billingAccountName: string, options?: BillingSubscriptionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

傳回

listByBillingProfile(string, string, BillingSubscriptionsListByBillingProfileOptionalParams)

列出計費配置檔的訂用帳戶。 合約類型Microsoft客戶合約或Microsoft合作夥伴合約的計費帳戶支援此作業。

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingSubscriptionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

傳回

listByCustomer(string, string, string, BillingSubscriptionsListByCustomerOptionalParams)

列出客戶的訂用帳戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。

function listByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingSubscriptionsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

customerName

string

可唯一識別客戶的標識碼。

傳回

listByCustomerAtBillingAccount(string, string, BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams)

列出客戶在計費帳戶層級的訂用帳戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。

function listByCustomerAtBillingAccount(billingAccountName: string, customerName: string, options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

customerName

string

可唯一識別客戶的標識碼。

傳回

listByEnrollmentAccount(string, string, BillingSubscriptionsListByEnrollmentAccountOptionalParams)

列出註冊帳戶的訂用帳戶。 合約類型為 Enterprise 合約的計費帳戶支援此作業。

function listByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

enrollmentAccountName

string

註冊帳戶的名稱。

傳回

listByInvoiceSection(string, string, string, BillingSubscriptionsListByInvoiceSectionOptionalParams)

列出計費至發票區段的訂用帳戶。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingSubscriptionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingSubscription, BillingSubscription[], PageSettings>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingProfileName

string

可唯一識別帳單配置檔的標識碼。

invoiceSectionName

string

可唯一識別發票區段的標識碼。

傳回

validateMoveEligibility(string, string, MoveBillingSubscriptionRequest, BillingSubscriptionsValidateMoveEligibilityOptionalParams)

驗證訂用帳戶的費用是否可以移至新的發票區段。 此作業支援合約類型Microsoft客戶合約的計費帳戶。

function validateMoveEligibility(billingAccountName: string, billingSubscriptionName: string, parameters: MoveBillingSubscriptionRequest, options?: BillingSubscriptionsValidateMoveEligibilityOptionalParams): Promise<MoveBillingSubscriptionEligibilityResult>

參數

billingAccountName

string

可唯一識別計費帳戶的標識碼。

billingSubscriptionName

string

可唯一識別訂用帳戶的標識碼。

parameters
MoveBillingSubscriptionRequest

要求參數以轉移計費訂用帳戶。

傳回