共用方式為


InvoicesOperationsExtensions.DownloadInvoiceAsync 方法

定義

取得下載發票的 URL。 合約類型為Microsoft 合作夥伴合約或Microsoft 客戶合約的計費帳戶支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.DownloadUrl> DownloadInvoiceAsync (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string billingAccountName, string invoiceName, string downloadToken, System.Threading.CancellationToken cancellationToken = default);
static member DownloadInvoiceAsync : Microsoft.Azure.Management.Billing.IInvoicesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.DownloadUrl>
<Extension()>
Public Function DownloadInvoiceAsync (operations As IInvoicesOperations, billingAccountName As String, invoiceName As String, downloadToken As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DownloadUrl)

參數

operations
IInvoicesOperations

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

billingAccountName
String

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

invoiceName
String

可唯一識別發票的識別碼。

downloadToken
String

使用檔來源和檔識別碼下載權杖。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於