BillingRoleAssignmentsOperationsExtensions.ListByBillingProfileAsync Method

Definition

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

Parameters

operations
IBillingRoleAssignmentsOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to