BillingCustomerRoleAssignmentCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the role assignments for the caller on 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}/billingRoleAssignments
- Operation Id: BillingRoleAssignments_ListByCustomer
- Default Api Version: 2024-04-01
- Resource: BillingCustomerRoleAssignmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingCustomerRoleAssignmentResource> 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.BillingCustomerRoleAssignmentResource>
override this.GetAllAsync : string * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingCustomerRoleAssignmentResource>
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 BillingCustomerRoleAssignmentResource)
Parameters
- filter
- String
The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
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.
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 BillingCustomerRoleAssignmentResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET