Dela via


InvoicesOperationsExtensions.ListByBillingProfileAsync Metod

Definition

Visar en lista över fakturor för en faktureringsprofil 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>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IInvoicesOperations operations, string billingAccountName, string billingProfileName, string periodStartDate, string periodEndDate, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.IInvoicesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Invoice>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As IInvoicesOperations, billingAccountName As String, billingProfileName 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.

billingProfileName
String

Det ID som unikt identifierar en faktureringsprofil.

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