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

InvoicesOperationsExtensions.ListByBillingAccountAsync 方法

定义

列出给定开始日期和结束日期的计费帐户的发票。 协议类型为 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>> ListByBillingAccountAsync (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string billingAccountName, string periodStartDate, string periodEndDate, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingAccountAsync : Microsoft.Azure.Management.Billing.IInvoicesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>>
<Extension()>
Public Function ListByBillingAccountAsync (operations As IInvoicesOperations, billingAccountName As String, periodStartDate As String, periodEndDate As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Invoice))

参数

operations
IInvoicesOperations

此扩展方法的操作组。

billingAccountName
String

唯一标识计费帐户的 ID。

periodStartDate
String

提取发票的开始日期。 日期应以 MM-DD-YYYY 格式指定。

periodEndDate
String

提取发票的结束日期。 日期应以 MM-DD-YYYY 格式指定。

cancellationToken
CancellationToken

取消标记。

返回

适用于