다음을 통해 공유


SubscriptionBillingInvoiceResource.DownloadByBillingSubscription Method

Definition

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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download
  • Operation Id: Invoices_DownloadByBillingSubscription
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionBillingInvoiceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult> DownloadByBillingSubscription (Azure.WaitUntil waitUntil, string documentName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadByBillingSubscription : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
override this.DownloadByBillingSubscription : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
Public Overridable Function DownloadByBillingSubscription (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