MetricsAdvisorAdministrationClient.GetDetectionConfigurationsAsync 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 AnomalyDetectionConfigurations in this Metrics Advisor resource.
public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration> GetDetectionConfigurationsAsync (string metricId, Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDetectionConfigurationsAsync : string * Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>
override this.GetDetectionConfigurationsAsync : string * Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>
Public Overridable Function GetDetectionConfigurationsAsync (metricId As String, Optional options As GetDetectionConfigurationsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AnomalyDetectionConfiguration)
Parameters
- metricId
- String
Filters the result. The unique identifier of the metric to which the returned AnomalyDetectionConfigurations apply.
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 AnomalyDetectionConfigurations.
Exceptions
metricId
is null.
metricId
is empty or not a valid GUID.
Applies to
Azure SDK for .NET