共用方式為


InvoicesOperationsExtensions.ListByBillingProfileAsync 方法

定義

列出指定開始日期和結束日期之帳單設定檔的發票。 合約類型為Microsoft 合作夥伴合約或Microsoft 客戶合約的計費帳戶支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string billingAccountName, string billingProfileName, string periodStartDate, string periodEndDate, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.IInvoicesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As IInvoicesOperations, billingAccountName As String, billingProfileName As String, periodStartDate As String, periodEndDate As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Invoice))

參數

operations
IInvoicesOperations

這個擴充方法的作業群組。

billingAccountName
String

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

billingProfileName
String

可唯一識別帳單設定檔的識別碼。

periodStartDate
String

擷取發票的開始日期。 日期應以 MM-DD-YYYY 格式指定。

periodEndDate
String

擷取發票的結束日期。 日期應以 MM-DD-YYYY 格式指定。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於