Compartilhar via


ApplicationInsightsComponentResource.GetProactiveDetectionConfiguration 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 Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration> GetProactiveDetectionConfiguration (string configurationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProactiveDetectionConfiguration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
override this.GetProactiveDetectionConfiguration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
Public Overridable Function GetProactiveDetectionConfiguration (configurationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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