Partager via


IAnalyticsItemsOperations.GetWithHttpMessagesAsync Méthode

Définition

Obtient un élément d’analyse spécifique défini dans un composant Application Insights.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>> GetWithHttpMessagesAsync (string resourceGroupName, string resourceName, string scopePath, string id = default, string name = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, resourceName As String, scopePath As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ApplicationInsightsComponentAnalyticsItem))

Paramètres

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

scopePath
String

Énumération indiquant si cette définition d’élément appartient à un utilisateur spécifique ou est partagée entre tous les utilisateurs ayant accès au composant Application Insights. Les valeurs possibles sont les suivantes : 'analyticsItems', 'myanalyticsItems'

id
String

ID d’un élément spécifique défini dans le composant Application Insights

name
String

Nom d’un élément spécifique défini dans le composant Application Insights

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

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

S’applique à