@@ -182,7 +182,7 @@ class MetricAnomalyAlertConfigurationsOperator(str, Enum):
182
182
XOR = "XOR"
183
183
184
184
185
- class DetectionConditionsOperator (str , Enum ):
185
+ class DetectionConditionOperator (str , Enum ):
186
186
187
187
AND = "AND"
188
188
OR = "OR"
@@ -253,7 +253,7 @@ class DataFeedMissingDataPointFillSettings(object):
253
253
:keyword fill_type: The type of fill missing point for anomaly detection. Possible
254
254
values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value:
255
255
"SmartFilling".
256
- :paramtype fill_type: str or ~azure.ai.metricsadvisor.models.DataSourceMissingDataPointFillType
256
+ :paramtype fill_type: str or ~azure.ai.metricsadvisor.models.DatasourceMissingDataPointFillType
257
257
:keyword float custom_fill_value: The value of fill missing point for anomaly detection
258
258
if "CustomValue" fill type is specified.
259
259
"""
@@ -777,7 +777,7 @@ class AnomalyAlertConfiguration(object):
777
777
include: "AND", "OR", "XOR".
778
778
:vartype cross_metrics_operator: str or
779
779
~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator
780
- :keyword list[str] dimensions_to_split_alerts : dimensions used to split alert.
780
+ :keyword list[str] dimensions_to_split_alert : dimensions used to split alert.
781
781
782
782
"""
783
783
def __init__ (self , name , metric_alert_configurations , hook_ids , ** kwargs ):
@@ -788,18 +788,18 @@ def __init__(self, name, metric_alert_configurations, hook_ids, **kwargs):
788
788
self .id = kwargs .get ('id' , None )
789
789
self .description = kwargs .get ('description' , None )
790
790
self .cross_metrics_operator = kwargs .get ('cross_metrics_operator' , None )
791
- self .dimensions_to_split_alerts = kwargs .get ('dimensions_to_split_alerts ' , None )
791
+ self .dimensions_to_split_alert = kwargs .get ('dimensions_to_split_alert ' , None )
792
792
793
793
def __repr__ (self ):
794
794
return "AnomalyAlertConfiguration(id={}, name={}, description={}, cross_metrics_operator={}, hook_ids={}, " \
795
- "metric_alert_configurations={}, dimensions_to_split_alerts ={})" .format (
795
+ "metric_alert_configurations={}, dimensions_to_split_alert ={})" .format (
796
796
self .id ,
797
797
self .name ,
798
798
self .description ,
799
799
self .cross_metrics_operator ,
800
800
self .hook_ids ,
801
801
repr (self .metric_alert_configurations ),
802
- self .dimensions_to_split_alerts
802
+ self .dimensions_to_split_alert
803
803
)[:1024 ]
804
804
805
805
@classmethod
@@ -814,7 +814,7 @@ def _from_generated(cls, config):
814
814
MetricAlertConfiguration ._from_generated (c )
815
815
for c in config .metric_alerting_configurations
816
816
],
817
- dimensions_to_split_alerts = config .split_alert_by_dimensions
817
+ dimensions_to_split_alert = config .split_alert_by_dimensions
818
818
)
819
819
820
820
def _to_generated (self ):
@@ -826,7 +826,7 @@ def _to_generated(self):
826
826
hook_ids = self .hook_ids ,
827
827
cross_metrics_operator = self .cross_metrics_operator ,
828
828
description = self .description ,
829
- split_alert_by_dimensions = self .dimensions_to_split_alerts
829
+ split_alert_by_dimensions = self .dimensions_to_split_alert
830
830
)
831
831
832
832
def _to_generated_patch (
@@ -845,7 +845,7 @@ def _to_generated_patch(
845
845
hook_ids = hook_ids or self .hook_ids ,
846
846
cross_metrics_operator = cross_metrics_operator or self .cross_metrics_operator ,
847
847
description = description or self .description ,
848
- split_alert_by_dimensions = self .dimensions_to_split_alerts
848
+ split_alert_by_dimensions = self .dimensions_to_split_alert
849
849
)
850
850
851
851
@@ -2087,7 +2087,7 @@ class MetricDetectionCondition(object):
2087
2087
should be specified when combining multiple detection conditions. Possible values include:
2088
2088
"AND", "OR".
2089
2089
:paramtype condition_operator: str or
2090
- ~azure.ai.metricsadvisor.models.DetectionConditionsOperator
2090
+ ~azure.ai.metricsadvisor.models.DetectionConditionOperator
2091
2091
:keyword smart_detection_condition:
2092
2092
:paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition
2093
2093
:keyword hard_threshold_condition:
@@ -2383,7 +2383,7 @@ class MetricSeriesGroupDetectionCondition(MetricDetectionCondition):
2383
2383
should be specified when combining multiple detection conditions. Possible values include:
2384
2384
"AND", "OR".
2385
2385
:paramtype condition_operator: str or
2386
- ~azure.ai.metricsadvisor.models.DetectionConditionsOperator
2386
+ ~azure.ai.metricsadvisor.models.DetectionConditionOperator
2387
2387
:keyword smart_detection_condition:
2388
2388
:paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition
2389
2389
:keyword hard_threshold_condition:
@@ -2439,7 +2439,7 @@ class MetricSingleSeriesDetectionCondition(MetricDetectionCondition):
2439
2439
should be specified when combining multiple detection conditions. Possible values include:
2440
2440
"AND", "OR".
2441
2441
:paramtype condition_operator: str or
2442
- ~azure.ai.metricsadvisor.models.DetectionConditionsOperator
2442
+ ~azure.ai.metricsadvisor.models.DetectionConditionOperator
2443
2443
:keyword smart_detection_condition:
2444
2444
:paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition
2445
2445
:keyword hard_threshold_condition:
0 commit comments