Partilhar via


ApplicationInsightsComponentResource.GetProactiveDetectionConfigurationAsync Método

Definição

Obtenha a configuração ProactiveDetection para essa ID de configuração.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • IdProactiveDetectionConfigurations_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>> GetProactiveDetectionConfigurationAsync (string configurationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProactiveDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
override this.GetProactiveDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
Public Overridable Function GetProactiveDetectionConfigurationAsync (configurationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentProactiveDetectionConfiguration))

Parâmetros

configurationId
String

A ID de configuração ProactiveDetection. Isso é exclusivo em um componente do Application Insights.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

configurationId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

configurationId é nulo.

Aplica-se a