Partager via


ApplicationInsightsComponentResource.GetProactiveDetectionConfiguration Méthode

Définition

Obtenez la configuration ProactiveDetection pour cet ID de configuration.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • IdProactiveDetectionConfigurations_Get d’opération
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)

Paramètres

configurationId
String

ID de configuration ProactiveDetection. Il s’agit d’un composant Application Insights unique.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

configurationId est une chaîne vide et devait être non vide.

configurationId a la valeur null.

S’applique à