Partager via


InvoicesOperationsExtensions.DownloadInvoiceAsync Méthode

Définition

Obtient une URL pour télécharger une facture. L’opération est prise en charge pour les comptes de facturation de type Contrat Partenaire Microsoft ou Contrat client 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)

Paramètres

operations
IInvoicesOperations

Groupe d’opérations pour cette méthode d’extension.

billingAccountName
String

ID qui identifie de façon unique un compte de facturation.

invoiceName
String

ID qui identifie de façon unique une facture.

downloadToken
String

Télécharger le jeton avec la source du document et l’ID de document.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à