你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProactiveDetectionConfigurationsOperationsExtensions.UpdateAsync 方法

定义

更新此配置 ID 的 ProactiveDetection 配置。

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)

参数

operations
IProactiveDetectionConfigurationsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

resourceName
String

Application Insights 组件资源的名称。

configurationId
String

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

需要指定以更新 ProactiveDetection 配置的属性。

cancellationToken
CancellationToken

取消标记。

返回

适用于