次の方法で共有


MetricsAdvisorClient.GetAnomaliesForAlertAsync メソッド

定義

指定したアラートをトリガーした異常のコレクションを取得します。 関連付けられている AnomalyAlertConfiguration も指定する必要があります。

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

パラメーター

alertConfigurationId
String

AnomalyAlertConfiguration の一意の識別子。

alertId
String

アラートの一意識別子。

options
GetAnomaliesForAlertOptions

要求の動作を構成するために使用されるオプションのオプションセット(省略可能)。

cancellationToken
CancellationToken

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

戻り値

AsyncPageable<T>インスタンスのDataPointAnomalyコレクションを格納している 。

例外

alertConfigurationId または alertId が null です。

alertConfigurationId または alertId が空です。または alertConfigurationId が有効な GUID ではありません。

適用対象