BillingSubscriptionsOperationsExtensions.ListByBillingProfileAsync Method

Definition

Lists the subscriptions that are billed to a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner 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>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations operations, string billingAccountName, string billingProfileName, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As IBillingSubscriptionsOperations, billingAccountName As String, billingProfileName 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to