Partilhar via


BillingCustomerRoleDefinitionCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRoleDefinitions
  • Operation Id: BillingRoleDefinition_ListByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingCustomerRoleDefinitionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingCustomerRoleDefinitionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingCustomerRoleDefinitionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingCustomerRoleDefinitionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingCustomerRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BillingCustomerRoleDefinitionResource that may take multiple service requests to iterate over.

Applies to