Share via


BillingRoleAssignmentCollection.GetAllAsync Method

Definition

Lists the role assignments for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingRoleAssignmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleAssignmentResource> GetAllAsync (string filter = default, long? top = default, long? skip = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleAssignmentResource>
override this.GetAllAsync : string * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleAssignmentResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Long) = Nothing, Optional skip As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingRoleAssignmentResource)

Parameters

filter
String

The filter query option allows clients to filter a collection of resources that are addressed by a request URL.

top
Nullable<Int64>

The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.

skip
Nullable<Int64>

The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to