Partager via


ProactiveDetectionConfigurationsOperationsExtensions.UpdateAsync Méthode

Définition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration> UpdateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IProactiveDetectionConfigurationsOperations operations, string resourceGroupName, string resourceName, string configurationId, Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration proactiveDetectionProperties, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IProactiveDetectionConfigurationsOperations * string * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
<Extension()>
Public Function UpdateAsync (operations As IProactiveDetectionConfigurationsOperations, resourceGroupName As String, resourceName As String, configurationId As String, proactiveDetectionProperties As ApplicationInsightsComponentProactiveDetectionConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationInsightsComponentProactiveDetectionConfiguration)

Paramètres

operations
IProactiveDetectionConfigurationsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

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.

Retours

S’applique à