Freigeben über


ProactiveDetectionConfigurationsOperationsExtensions.UpdateAsync Methode

Definition

Aktualisieren Sie die Konfiguration ProactiveDetection für diese Konfigurations-ID.

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)

Parameter

operations
IProactiveDetectionConfigurationsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

resourceName
String

Der Name der Application Insights-Komponentenressource.

configurationId
String

Die Id der ProactiveDetection-Konfiguration. Dies ist innerhalb einer Application Insights-Komponente eindeutig.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Eigenschaften, die angegeben werden müssen, um die ProactiveDetection-Konfiguration zu aktualisieren.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: