Sdílet prostřednictvím


WebSiteManagementClient.ListBillingMetersWithHttpMessagesAsync Metoda

Definice

Získá seznam měřičů pro dané umístění.

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)))

Parametry

billingLocation
String

Umístění fakturovatelného prostředku v Azure

osType
String

App Service měřiče typu operačního systému používané pro

customHeaders
Dictionary<String,List<String>>

Hlavičky, které budou přidány do žádosti.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Implementuje

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolána při nemožnosti deserializovat odpověď

Vyvolá se, když má požadovaný parametr hodnotu null.

Vyvolá se, když má požadovaný parametr hodnotu null.

Poznámky

Popis pro: Získá seznam měřičů pro dané umístění.

Platí pro