Compartir a través de


ProductsOperationsExtensions.ListByCustomerAsync Método

Definición

Enumera los productos de un cliente. Estos no incluyen productos facturados en función del uso. La operación solo se admite para las cuentas de facturación con el tipo de contrato 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>> 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))

Parámetros

operations
IProductsOperations

Grupo de operaciones para este método de extensión.

billingAccountName
String

Identificador que identifica de forma única una cuenta de facturación.

customerName
String

Identificador que identifica de forma única a un cliente.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a