BillingRoleAssignmentsOperationsExtensions.DeleteByInvoiceSectionAsync Method

Definition

Deletes a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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

invoiceSectionName
String

The ID that uniquely identifies an invoice section.

billingRoleAssignmentName
String

The ID that uniquely identifies a role assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to