Compartir a través de


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfigurationAsync Método

Definición

Actualice la configuración ProactiveDetection para este identificador de configuración.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • IdProactiveDetectionConfigurations_Update de operación
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))

Parámetros

configurationId
String

Identificador de configuración proactiveDetection. Esto es único dentro de un componente de Application Insights.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Propiedades que deben especificarse para actualizar la configuración proactiveDetection.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

configurationId es una cadena vacía y se espera que no esté vacía.

configurationId o proactiveDetectionProperties es null.

Se aplica a