Dela via


IBillingSubscriptionsOperations.ListByBillingProfileWithHttpMessagesAsync Metod

Definition

Visar en lista över de prenumerationer som debiteras till en faktureringsprofil. Åtgärden stöds för faktureringskonton med avtalstyp Microsoft-kundavtal eller Microsoft-partneravtal. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>>> ListByBillingProfileWithHttpMessagesAsync (string billingAccountName, string billingProfileName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByBillingProfileWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>>>
Public Function ListByBillingProfileWithHttpMessagesAsync (billingAccountName As String, billingProfileName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of BillingSubscription)))

Parametrar

billingAccountName
String

Det ID som unikt identifierar ett faktureringskonto.

billingProfileName
String

Det ID som unikt identifierar en faktureringsprofil.

customHeaders
Dictionary<String,List<String>>

Rubrikerna som ska läggas till i begäran.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Undantag

Genereras när åtgärden returnerade en ogiltig statuskod

Utlöses när det inte går att deserialisera svaret

Genereras när en obligatorisk parameter är null

Gäller för