MetricsAdvisorClient.GetAnomaliesForDetectionConfiguration 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 anomalies detected by a given AnomalyDetectionConfiguration.
public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.DataPointAnomaly> GetAnomaliesForDetectionConfiguration (string detectionConfigurationId, Azure.AI.MetricsAdvisor.GetAnomaliesForDetectionConfigurationOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnomaliesForDetectionConfiguration : string * Azure.AI.MetricsAdvisor.GetAnomaliesForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.DataPointAnomaly>
override this.GetAnomaliesForDetectionConfiguration : string * Azure.AI.MetricsAdvisor.GetAnomaliesForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.DataPointAnomaly>
Public Overridable Function GetAnomaliesForDetectionConfiguration (detectionConfigurationId As String, options As GetAnomaliesForDetectionConfigurationOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataPointAnomaly)
Parameters
- detectionConfigurationId
- String
The unique identifier of the AnomalyAlertConfiguration.
The set of options used to configure the request's behavior.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Pageable<T> containing the collection of DataPointAnomaly instances.
Exceptions
detectionConfigurationId
or options
is null.
detectionConfigurationId
is empty or not a valid GUID.
Applies to
Azure SDK for .NET