Compartilhar via


ProactiveDetectionConfigurationsOperationsExtensions.UpdateAsync Método

Definição

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

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)

Parâmetros

operations
IProactiveDetectionConfigurationsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

resourceName
String

O nome do recurso de componente do Application Insights.

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.

Retornos

Aplica-se a