Share via


BillingRoleDefinitionsOperationsExtensions.GetByInvoiceSectionAsync Method

Definition

Gets the definition for a role on an invoice section. The operation is supported only 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.BillingRoleDefinition> GetByInvoiceSectionAsync (this Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, string billingRoleDefinitionName, System.Threading.CancellationToken cancellationToken = default);
static member GetByInvoiceSectionAsync : Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition>
<Extension()>
Public Function GetByInvoiceSectionAsync (operations As IBillingRoleDefinitionsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, billingRoleDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

billingRoleDefinitionName
String

The ID that uniquely identifies a role definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to