BillingRoleAssignmentsOperationsExtensions.GetByInvoiceSectionAsync Method

Definition

Gets a role assignment for the caller on an invoice section. 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.Azure.Management.Billing.Models.BillingRoleAssignment> GetByInvoiceSectionAsync (this Microsoft.Azure.Management.Billing.IBillingRoleAssignmentsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, string billingRoleAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetByInvoiceSectionAsync : 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 GetByInvoiceSectionAsync (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