Dela via


BillingSubscriptionsOperationsExtensions.ListByCustomerAsync Metod

Definition

Visar en lista över prenumerationer för en kund. Åtgärden stöds endast för faktureringskonton med avtalstyp Microsoft-partneravtal. 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>> ListByCustomerAsync (this Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations operations, string billingAccountName, string customerName, System.Threading.CancellationToken cancellationToken = default);
static member ListByCustomerAsync : 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 ListByCustomerAsync (operations As IBillingSubscriptionsOperations, billingAccountName As String, customerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingSubscription))

Parametrar

operations
IBillingSubscriptionsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

billingAccountName
String

Det ID som unikt identifierar ett faktureringskonto.

customerName
String

Det ID som unikt identifierar en kund.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för