MetricsAdvisorModelFactory.AnomalyAlertConfiguration 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 AnomalyAlertConfiguration for mocking purposes.
public static Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration AnomalyAlertConfiguration (string id = default, string name = default, string description = default, Azure.AI.MetricsAdvisor.Models.MetricAlertConfigurationsOperator? crossMetricsOperator = default, System.Collections.Generic.IEnumerable<string> dimensionsToSplitAlert = default, System.Collections.Generic.IEnumerable<string> idsOfHooksToAlert = default, System.Collections.Generic.IEnumerable<Azure.AI.MetricsAdvisor.Models.MetricAlertConfiguration> metricAlertConfigurations = default);
static member AnomalyAlertConfiguration : string * string * string * Nullable<Azure.AI.MetricsAdvisor.Models.MetricAlertConfigurationsOperator> * seq<string> * seq<string> * seq<Azure.AI.MetricsAdvisor.Models.MetricAlertConfiguration> -> Azure.AI.MetricsAdvisor.Models.AnomalyAlertConfiguration
Public Shared Function AnomalyAlertConfiguration (Optional id As String = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional crossMetricsOperator As Nullable(Of MetricAlertConfigurationsOperator) = Nothing, Optional dimensionsToSplitAlert As IEnumerable(Of String) = Nothing, Optional idsOfHooksToAlert As IEnumerable(Of String) = Nothing, Optional metricAlertConfigurations As IEnumerable(Of MetricAlertConfiguration) = Nothing) As AnomalyAlertConfiguration
Parameters
- description
- String
Sets the Description property.
- crossMetricsOperator
- Nullable<MetricAlertConfigurationsOperator>
Sets the CrossMetricsOperator property.
- dimensionsToSplitAlert
- IEnumerable<String>
Sets the DimensionsToSplitAlert property.
- idsOfHooksToAlert
- IEnumerable<String>
Sets the IdsOfHooksToAlert property.
- metricAlertConfigurations
- IEnumerable<MetricAlertConfiguration>
Sets the MetricAlertConfigurations property.
Returns
A new instance of AnomalyAlertConfiguration for mocking purposes.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET