CustomersOperationsExtensions.ListByBillingProfileAsync Method

Definition

Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type 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.Customer>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.ICustomersOperations operations, string billingAccountName, string billingProfileName, string search = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.ICustomersOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Customer>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As ICustomersOperations, billingAccountName As String, billingProfileName As String, Optional search As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Customer))

Parameters

operations
ICustomersOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

search
String

Used for searching customers by their name. Any customer with name containing the search text will be included in the response

filter
String

May be used to filter the list of customers.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to