Sdílet prostřednictvím


ProductsOperationsExtensions.ListByCustomerAsync Metoda

Definice

Zobrazí seznam produktů pro zákazníka. Nezahrnuje produkty fakturované na základě využití. Tato operace se podporuje jenom pro fakturační účty s typem smlouvy Smlouva s partnerem Microsoftu. 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>> ListByCustomerAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string customerName, System.Threading.CancellationToken cancellationToken = default);
static member ListByCustomerAsync : 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 ListByCustomerAsync (operations As IProductsOperations, billingAccountName As String, customerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Product))

Parametry

operations
IProductsOperations

Skupina operací pro tuto rozšiřující metodu.

billingAccountName
String

ID, které jednoznačně identifikuje fakturační účet.

customerName
String

ID, které jednoznačně identifikuje zákazníka.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro