Share via


BillingRoleAssignmentsOperationsExtensions.DeleteByBillingProfileAsync Method

Definition

Deletes 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.

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