Freigeben über


IApplicationInsightsDataClient.GetPerformanceCounterEventWithHttpMessagesAsync Methode

Definition

Abrufen eines Leistungsindikatorereignisses

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsPerformanceCounterResult>>> GetPerformanceCounterEventWithHttpMessagesAsync (string eventId, TimeSpan? timespan = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPerformanceCounterEventWithHttpMessagesAsync : string * Nullable<TimeSpan> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsPerformanceCounterResult>>>
Public Function GetPerformanceCounterEventWithHttpMessagesAsync (eventId As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EventsResults(Of EventsPerformanceCounterResult)))

Parameter

eventId
String

ID des Ereignisses.

timespan
Nullable<TimeSpan>

Optional. Der Zeitraum, über den Ereignisse abgerufen werden sollen. Dies ist ein ISO8601-Zeitraumwert. Dieser Zeitraum wird zusätzlich zu allen angewendet, die im Odata-Ausdruck angegeben sind.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Ruft die Daten für ein einzelnes Leistungsindikatorereignis ab.

Gilt für: