Dela via


ProductsOperationsExtensions.ListByInvoiceSectionAsync Metod

Definition

Visar en lista över produkter för ett fakturaavsnitt. Dessa inkluderar inte produkter som faktureras baserat på användning. Åtgärden stöds endast för faktureringskonton med avtalstyp 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.Product>> ListByInvoiceSectionAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByInvoiceSectionAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>
<Extension()>
Public Function ListByInvoiceSectionAsync (operations As IProductsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Product))

Parametrar

operations
IProductsOperations

Å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.

invoiceSectionName
String

Det ID som unikt identifierar ett fakturaavsnitt.

filter
String

Kan användas för att filtrera efter produkttyp. Filtret stöder "eq", "lt", "gt", "le", "ge" och "and". Det stöder för närvarande inte "ne", "eller" eller "inte". Taggfilter är en nyckelvärdeparsträng där nyckel och värde avgränsas med ett kolon (:).

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för