Freigeben über


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfiguration Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • Vorgangs-IdProactiveDetectionConfigurations_Update
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)

Parameter

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 zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

configurationId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

configurationId oder proactiveDetectionProperties ist NULL.

Gilt für: