BillingAccountsOperationsExtensions.ListInvoiceSectionsByCreateSubscriptionPermissionAsync Method

Definition

Lists the invoice sections for which the user has permission to create Azure subscriptions. 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.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.InvoiceSectionWithCreateSubPermission>> ListInvoiceSectionsByCreateSubscriptionPermissionAsync (this Microsoft.Azure.Management.Billing.IBillingAccountsOperations operations, string billingAccountName, System.Threading.CancellationToken cancellationToken = default);
static member ListInvoiceSectionsByCreateSubscriptionPermissionAsync : Microsoft.Azure.Management.Billing.IBillingAccountsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.InvoiceSectionWithCreateSubPermission>>
<Extension()>
Public Function ListInvoiceSectionsByCreateSubscriptionPermissionAsync (operations As IBillingAccountsOperations, billingAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of InvoiceSectionWithCreateSubPermission))

Parameters

operations
IBillingAccountsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to