次の方法で共有


BillingInvoiceResource.DownloadByBillingAccount 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult> DownloadByBillingAccount (Azure.WaitUntil waitUntil, string documentName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadByBillingAccount : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
override this.DownloadByBillingAccount : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
Public Overridable Function DownloadByBillingAccount (waitUntil As WaitUntil, Optional documentName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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