次の方法で共有


ApplicationInsightsComponentResource.UpdateProactiveDetectionConfiguration メソッド

定義

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

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

パラメーター

configurationId
String

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

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

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

cancellationToken
CancellationToken

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

戻り値

例外

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

configurationId または proactiveDetectionProperties が null です。

適用対象