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

MetricsAdvisorAdministrationClient.GetAlertConfigurationsAsync Method

Definition

Gets a collection of items describing the existing AnomalyAlertConfigurations in this Metrics Advisor resource.

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

Parameters

detectionConfigurationId
String

Filters the result. The unique identifier of the AnomalyDetectionConfiguration to which the returned AnomalyAlertConfigurations apply.

options
GetAlertConfigurationsOptions

An optional set of options used to configure the request's behavior.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of AnomalyAlertConfigurations.

Exceptions

detectionConfigurationId is null.

detectionConfigurationId is empty or not a valid GUID.

Applies to