Dela via


InvoicesOperationsExtensions.ListByBillingAccountAsync Metod

Definition

Visar fakturor för ett faktureringskonto för ett visst startdatum och slutdatum. Åtgärden stöds för faktureringskonton med avtalstyp Microsoft-partneravtal eller Microsoft-kundavtal. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>> ListByBillingAccountAsync (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string billingAccountName, string periodStartDate, string periodEndDate, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingAccountAsync : Microsoft.Azure.Management.Billing.IInvoicesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>>
<Extension()>
Public Function ListByBillingAccountAsync (operations As IInvoicesOperations, billingAccountName As String, periodStartDate As String, periodEndDate As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Invoice))

Parametrar

operations
IInvoicesOperations

Åtgärdsgruppen för den här tilläggsmetoden.

billingAccountName
String

Det ID som unikt identifierar ett faktureringskonto.

periodStartDate
String

Startdatumet för att hämta fakturorna. Datumet ska anges i FORMATET MM-DD-ÅÅÅÅÅ.

periodEndDate
String

Slutdatumet för att hämta fakturorna. Datumet ska anges i FORMATET MM-DD-ÅÅÅÅÅ.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för