次の方法で共有


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfigurationAsync メソッド

定義

この構成 ID の ProactiveDetection 構成を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • 操作IdProactiveDetectionConfigurations_Update
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))

パラメーター

configurationId
String

ProactiveDetection 構成 ID。 これは Application Insights コンポーネント内で一意です。

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

ProactiveDetection 構成を更新するために指定する必要があるプロパティ。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

configurationId は空の文字列であり、空でないと想定されていました。

configurationId または proactiveDetectionProperties が null です。

適用対象