次の方法で共有


MetricsAdvisorAdministrationClient.GetAlertConfiguration メソッド

定義

既存 AnomalyAlertConfigurationの を取得します。

public virtual Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration> GetAlertConfiguration (string alertConfigurationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertConfiguration : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration>
override this.GetAlertConfiguration : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration>
Public Overridable Function GetAlertConfiguration (alertConfigurationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AnomalyAlertConfiguration)

パラメーター

alertConfigurationId
String

AnomalyAlertConfiguration の一意の識別子。

cancellationToken
CancellationToken

CancellationToken要求の有効期間を制御する 。

戻り値

操作の結果を含む Response<T> です。 結果は、 AnomalyAlertConfiguration 要求された情報を含むインスタンスです。

例外

alertConfigurationId が null です。

alertConfigurationId が空であるか、有効な GUID ではありません。

適用対象