다음을 통해 공유


IInvoicesOperations.DownloadInvoiceWithHttpMessagesAsync 메서드

정의

청구서를 다운로드할 URL을 가져옵니다. 이 작업은 계약 유형이 Microsoft 파트너 계약 또는 Microsoft 고객 계약 청구 계정에 대해 지원됩니다. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.DownloadUrl,Microsoft.Azure.Management.Billing.Models.InvoicesDownloadInvoiceHeaders>> DownloadInvoiceWithHttpMessagesAsync (string billingAccountName, string invoiceName, string downloadToken, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadInvoiceWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.DownloadUrl, Microsoft.Azure.Management.Billing.Models.InvoicesDownloadInvoiceHeaders>>
Public Function DownloadInvoiceWithHttpMessagesAsync (billingAccountName As String, invoiceName As String, downloadToken As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DownloadUrl, InvoicesDownloadInvoiceHeaders))

매개 변수

billingAccountName
String

청구 계정을 고유하게 식별하는 ID입니다.

invoiceName
String

청구서를 고유하게 식별하는 ID입니다.

downloadToken
String

문서 원본 및 문서 ID를 사용하여 토큰을 다운로드합니다.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

응답을 역직렬화할 수 없는 경우 throw됨

필수 매개 변수가 null일 때 throw됨

적용 대상