Share via


WebSiteManagementClient.ListBillingMetersWithHttpMessagesAsync Méthode

Définition

Obtient une liste de compteurs pour un emplacement donné.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.BillingMeter>>> ListBillingMetersWithHttpMessagesAsync (string billingLocation = default, string osType = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBillingMetersWithHttpMessagesAsync : 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.AppService.Fluent.Models.BillingMeter>>>
override this.ListBillingMetersWithHttpMessagesAsync : 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.AppService.Fluent.Models.BillingMeter>>>
Public Function ListBillingMetersWithHttpMessagesAsync (Optional billingLocation As String = Nothing, Optional osType As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of BillingMeter)))

Paramètres

billingLocation
String

Emplacement Azure de la ressource facturable

osType
String

App Service compteurs de type de système d’exploitation utilisés pour

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

Levée lorsqu’un paramètre obligatoire a la valeur Null

Remarques

Description pour Obtient une liste de compteurs pour un emplacement donné.

S’applique à