MetricsAdvisorModelFactory.DataPointAnomaly 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.
Initializes a new instance of DataPointAnomaly for mocking purposes.
public static Azure.AI.MetricsAdvisor.Models.DataPointAnomaly DataPointAnomaly (string dataFeedId = default, string metricId = default, string detectionConfigurationId = default, DateTimeOffset timestamp = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModified = default, Azure.AI.MetricsAdvisor.Models.DimensionKey seriesKey = default, Azure.AI.MetricsAdvisor.Models.AnomalySeverity severity = default, Azure.AI.MetricsAdvisor.Models.AnomalyStatus? status = default, double value = 0, double? expectedValue = default);
static member DataPointAnomaly : string * string * string * DateTimeOffset * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.AI.MetricsAdvisor.Models.DimensionKey * Azure.AI.MetricsAdvisor.Models.AnomalySeverity * Nullable<Azure.AI.MetricsAdvisor.Models.AnomalyStatus> * double * Nullable<double> -> Azure.AI.MetricsAdvisor.Models.DataPointAnomaly
Public Shared Function DataPointAnomaly (Optional dataFeedId As String = Nothing, Optional metricId As String = Nothing, Optional detectionConfigurationId As String = Nothing, Optional timestamp As DateTimeOffset = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional seriesKey As DimensionKey = Nothing, Optional severity As AnomalySeverity = Nothing, Optional status As Nullable(Of AnomalyStatus) = Nothing, Optional value As Double = 0, Optional expectedValue As Nullable(Of Double) = Nothing) As DataPointAnomaly
Parameters
- dataFeedId
- String
Sets the DataFeedId property.
- detectionConfigurationId
- String
Sets the DetectionConfigurationId property.
- timestamp
- DateTimeOffset
Sets the Timestamp property.
- createdOn
- Nullable<DateTimeOffset>
Sets the CreatedOn property.
- lastModified
- Nullable<DateTimeOffset>
Sets the LastModified property.
- seriesKey
- DimensionKey
Sets the SeriesKey property.
- severity
- AnomalySeverity
Sets the Severity property.
- status
- Nullable<AnomalyStatus>
Sets the Status property.
Sets the ExpectedValue property.
Returns
A new instance of DataPointAnomaly for mocking purposes.
Applies to
Azure SDK for .NET