Compartir a través de


ApplicationInsightsComponentResource.GetProactiveDetectionConfigurationAsync Método

Definición

Obtenga la configuración ProactiveDetection para este identificador de configuración.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • IdProactiveDetectionConfigurations_Get de operaciones
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

Identificador de configuración ProactiveDetection. Esto es único dentro de un componente de Application Insights.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

configurationId es una cadena vacía y se esperaba que no estuviera vacía.

configurationId es null.

Se aplica a