Compartilhar via


ApplicationInsightsComponentResource.GetAnalyticsItemAsync Método

Definição

Obtém itens de análise específicos definidos em um componente do Application Insights.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • IdAnalyticsItems_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>> GetAnalyticsItemAsync (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
override this.GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
Public Overridable Function GetAnalyticsItemAsync (scopePath As ItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentAnalyticsItem))

Parâmetros

scopePath
ItemScopePath

Enumeração que indica se essa definição de item pertence a um usuário específico ou é compartilhada entre todos os usuários com acesso ao componente do Application Insights.

id
String

A ID de um item específico definido no componente application insights.

name
String

O nome de um item específico definido no componente application insights.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a