Dela via


ProductsOperationsExtensions.ListByBillingAccountAsync Metod

Definition

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

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 nyckel/värde-parsträng där nyckel och värde avgränsas med ett kolon (:).

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för