MetricsAdvisorAdministrationClient.GetAlertConfigurations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of items describing the existing AnomalyAlertConfigurations in this Metrics Advisor resource.
public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration> GetAlertConfigurations (string detectionConfigurationId, Azure.AI.MetricsAdvisor.Administration.GetAlertConfigurationsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertConfigurations : string * Azure.AI.MetricsAdvisor.Administration.GetAlertConfigurationsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration>
override this.GetAlertConfigurations : string * Azure.AI.MetricsAdvisor.Administration.GetAlertConfigurationsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration>
Public Overridable Function GetAlertConfigurations (detectionConfigurationId As String, Optional options As GetAlertConfigurationsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
Azure SDK for .NET