MetricsAdvisorAdministrationClient.GetDetectionConfigurationAsync 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 an existing AnomalyDetectionConfiguration.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>> GetDetectionConfigurationAsync (string detectionConfigurationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>>
override this.GetDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>>
Public Overridable Function GetDetectionConfigurationAsync (detectionConfigurationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AnomalyDetectionConfiguration))
Parameters
- detectionConfigurationId
- String
The unique identifier of the AnomalyDetectionConfiguration.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Response<T> containing the result of the operation. The result is an AnomalyDetectionConfiguration instance containing the requested information.
Exceptions
detectionConfigurationId
is null.
detectionConfigurationId
is empty or not a valid GUID.
Applies to
Azure SDK for .NET