Partilhar via


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfiguration Método

Definição

Atualize a configuração ProactiveDetection para essa ID de configuração.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • Operação 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)

Parâmetros

configurationId
String

A ID de configuração ProactiveDetection. Isso é exclusivo em um componente do Application Insights.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Propriedades que precisam ser especificadas para atualizar a configuração ProactiveDetection.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

configurationId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

configurationId ou proactiveDetectionProperties é nulo.

Aplica-se a