Partager via


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfiguration Méthode

Définition

Mettez à jour la configuration ProactiveDetection pour cet ID de configuration.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • IdProactiveDetectionConfigurations_Update d’opération
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration> UpdateProactiveDetectionConfiguration (string configurationId, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration proactiveDetectionProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateProactiveDetectionConfiguration : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
override this.UpdateProactiveDetectionConfiguration : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
Public Overridable Function UpdateProactiveDetectionConfiguration (configurationId As String, proactiveDetectionProperties As ApplicationInsightsComponentProactiveDetectionConfiguration, 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.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Propriétés qui doivent être spécifiées pour mettre à jour la configuration ProactiveDetection.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

configurationId ou proactiveDetectionProperties est null.

S’applique à