Share via


BillingProfileRoleAssignmentCollection.GetAllAsync Method

Definition

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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments
  • Operation Id: BillingRoleAssignments_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleAssignmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingProfileRoleAssignmentResource> 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.BillingProfileRoleAssignmentResource>
override this.GetAllAsync : string * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingProfileRoleAssignmentResource>
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 BillingProfileRoleAssignmentResource)

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 BillingProfileRoleAssignmentResource that may take multiple service requests to iterate over.

Applies to