다음을 통해 공유


BillingInvoiceResource.DownloadByBillingAccountAsync Method

Definition

Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/download
  • Operation Id: Invoices_DownloadByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingInvoiceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>> DownloadByBillingAccountAsync (Azure.WaitUntil waitUntil, string documentName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadByBillingAccountAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>>
override this.DownloadByBillingAccountAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>>
Public Overridable Function DownloadByBillingAccountAsync (waitUntil As WaitUntil, Optional documentName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BillingDocumentDownloadResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

documentName
String

The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to