Udostępnij za pośrednictwem


ProductsOperationsExtensions.ListByBillingProfileAsync Metoda

Definicja

Wyświetla listę produktów dla profilu rozliczeniowego. Nie obejmują one produktów rozliczanych na podstawie użycia. Ta operacja jest obsługiwana w przypadku kont rozliczeniowych z typem umowy Umowa z Klientem Microsoft lub Microsoft Partner Agreement. 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))

Parametry

operations
IProductsOperations

Grupa operacji dla tej metody rozszerzenia.

billingAccountName
String

Identyfikator, który jednoznacznie identyfikuje konto rozliczeniowe.

billingProfileName
String

Identyfikator, który jednoznacznie identyfikuje profil rozliczeniowy.

filter
String

Może służyć do filtrowania według typu produktu. Filtr obsługuje "eq", "lt", "gt", "le", "ge" i "and". Obecnie nie obsługuje "ne", "lub" lub "nie". Filtr tagu to ciąg pary klucz-wartość, w którym klucz i wartość są oddzielone dwukropkiem (:).

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy