BillingRoleAssignmentsOperationsExtensions.GetByBillingProfileAsync Method

Definition

Gets a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleAssignment> GetByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IBillingRoleAssignmentsOperations operations, string billingAccountName, string billingProfileName, string billingRoleAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetByBillingProfileAsync : Microsoft.Azure.Management.Billing.IBillingRoleAssignmentsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleAssignment>
<Extension()>
Public Function GetByBillingProfileAsync (operations As IBillingRoleAssignmentsOperations, billingAccountName As String, billingProfileName As String, billingRoleAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

billingRoleAssignmentName
String

The ID that uniquely identifies a role assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to