Metrics.GetMultipleWithHttpMessagesAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Abrufen von Metrikdaten
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsResultsItem>>> GetMultipleWithHttpMessagesAsync (string appId, System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsPostBodySchema> body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMultipleWithHttpMessagesAsync : string * System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsPostBodySchema> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsResultsItem>>>
override this.GetMultipleWithHttpMessagesAsync : string * System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsPostBodySchema> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsResultsItem>>>
Public Function GetMultipleWithHttpMessagesAsync (appId As String, body As IList(Of MetricsPostBodySchema), Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of MetricsResultsItem)))
Parameter
- appId
- String
ID der Anwendung. Dies ist die Anwendungs-ID auf dem Blatt API-Zugriffseinstellungen im Azure-Portal.
- body
- IList<MetricsPostBodySchema>
Die Batchabfrage für Metriken.
- customHeaders
- Dictionary<String,List<String>>
Header, die der Anforderung hinzugefügt werden.
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Implementiert
Ausnahmen
Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.
Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann
Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist
Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist
Hinweise
Ruft Metrikwerte für mehrere Metriken ab.
Gilt für:
Azure SDK for .NET