共用方式為


InvoiceSections interface

表示 InvoiceSections 的介面。

方法

beginCreateOrUpdate(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

建立或更新發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

beginCreateOrUpdateAndWait(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

建立或更新發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

beginDelete(string, string, string, InvoiceSectionsDeleteOptionalParams)

刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

beginDeleteAndWait(string, string, string, InvoiceSectionsDeleteOptionalParams)

刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

get(string, string, string, InvoiceSectionsGetOptionalParams)

依標識碼取得發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

listByBillingProfile(string, string, InvoiceSectionsListByBillingProfileOptionalParams)

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

validateDeleteEligibility(string, string, string, InvoiceSectionsValidateDeleteEligibilityOptionalParams)

驗證是否可以刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

方法詳細資料

beginCreateOrUpdate(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

建立或更新發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<InvoiceSection>, InvoiceSection>>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

parameters
InvoiceSection

發票區段。

傳回

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

beginCreateOrUpdateAndWait(string, string, string, InvoiceSection, InvoiceSectionsCreateOrUpdateOptionalParams)

建立或更新發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<InvoiceSection>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

parameters
InvoiceSection

發票區段。

傳回

Promise<InvoiceSection>

beginDelete(string, string, string, InvoiceSectionsDeleteOptionalParams)

刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

function beginDelete(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<InvoiceSectionsDeleteHeaders>, InvoiceSectionsDeleteHeaders>>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

options
InvoiceSectionsDeleteOptionalParams

選項參數。

傳回

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

beginDeleteAndWait(string, string, string, InvoiceSectionsDeleteOptionalParams)

刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

function beginDeleteAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams): Promise<InvoiceSectionsDeleteHeaders>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

options
InvoiceSectionsDeleteOptionalParams

選項參數。

傳回

get(string, string, string, InvoiceSectionsGetOptionalParams)

依標識碼取得發票區段。 只有合約類型Microsoft客戶合約的計費帳戶才支援此作業。

function get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams): Promise<InvoiceSection>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

options
InvoiceSectionsGetOptionalParams

選項參數。

傳回

Promise<InvoiceSection>

listByBillingProfile(string, string, InvoiceSectionsListByBillingProfileOptionalParams)

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

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

參數

billingAccountName

string

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

billingProfileName

string

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

傳回

validateDeleteEligibility(string, string, string, InvoiceSectionsValidateDeleteEligibilityOptionalParams)

驗證是否可以刪除發票區段。 合約類型Microsoft客戶合約的計費帳戶支援此作業。

function validateDeleteEligibility(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsValidateDeleteEligibilityOptionalParams): Promise<DeleteInvoiceSectionEligibilityResult>

參數

billingAccountName

string

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

billingProfileName

string

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

invoiceSectionName

string

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

傳回