BillingSubscriptionsOperationsExtensions.ListByInvoiceSectionAsync(IBillingSubscriptionsOperations, String, String, String, CancellationToken) Method

Definition

Lists the subscriptions that are billed to 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.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>> ListByInvoiceSectionAsync (this Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, System.Threading.CancellationToken cancellationToken = default);
static member ListByInvoiceSectionAsync : Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>>
<Extension()>
Public Function ListByInvoiceSectionAsync (operations As IBillingSubscriptionsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingSubscription))

Parameters

operations
IBillingSubscriptionsOperations

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

Task<IPage<BillingSubscription>>

Applies to