Freigeben über


InvoicesOperationsExtensions.DownloadInvoiceAsync Methode

Definition

Ruft eine URL zum Herunterladen einer Rechnung ab. Der Vorgang wird für Abrechnungskonten mit dem Vertragstyp Microsoft Partner-Vereinbarung oder Microsoft-Kundenvereinbarung unterstützt. 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)

Parameter

operations
IInvoicesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

billingAccountName
String

Die ID, die ein Abrechnungskonto eindeutig identifiziert.

invoiceName
String

Die ID, die eine Rechnung eindeutig identifiziert.

downloadToken
String

Token mit Dokumentquelle und Dokument-ID herunterladen

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: