Freigeben über


ProductsOperationsExtensions.ListByBillingProfileAsync Methode

Definition

Listet die Produkte für ein Abrechnungsprofil auf. Dazu gehören keine Produkte, die basierend auf der Nutzung abgerechnet werden. Der Vorgang wird für Abrechnungskonten mit dem Vertragstyp Microsoft-Kundenvereinbarung oder Microsoft Partner-Vereinbarung unterstützt. 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>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string billingProfileName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As IProductsOperations, billingAccountName As String, billingProfileName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Product))

Parameter

operations
IProductsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

billingAccountName
String

Die ID, die ein Abrechnungskonto eindeutig identifiziert.

billingProfileName
String

Die ID, die ein Abrechnungsprofil eindeutig identifiziert.

filter
String

Kann verwendet werden, um nach Produkttyp zu filtern. Der Filter unterstützt "eq", "lt", "gt", "le", "ge" und "and". "ne", "or" oder "nicht" wird derzeit nicht unterstützt. Tagfilter ist eine Schlüsselwertpaarzeichenfolge, bei der Schlüssel und Wert durch einen Doppelpunkt (:).

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: