ApplicationInsightsComponentResource.UpdateProactiveDetectionConfigurationAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>> UpdateProactiveDetectionConfigurationAsync (string configurationId, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration proactiveDetectionProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateProactiveDetectionConfigurationAsync : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
override this.UpdateProactiveDetectionConfigurationAsync : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
Public Overridable Function UpdateProactiveDetectionConfigurationAsync (configurationId As String, proactiveDetectionProperties As ApplicationInsightsComponentProactiveDetectionConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 à
Azure SDK for .NET