BillingRoleDefinitionsOperationsExtensions.ListByInvoiceSectionAsync Method

Definition

Lists the role definitions for an invoice section. 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.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition>> ListByInvoiceSectionAsync (this Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, System.Threading.CancellationToken cancellationToken = default);
static member ListByInvoiceSectionAsync : Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition>>
<Extension()>
Public Function ListByInvoiceSectionAsync (operations As IBillingRoleDefinitionsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingRoleDefinition))

Parameters

operations
IBillingRoleDefinitionsOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to