Skip to content

Commit 4f77cc7

Browse files
AutorestCIlmazuel
authored andcommitted
[Monitor] Add Public Preview APIs of Metric Baseline (#1710)
* Generated from e6af07c * Update Monitor version
1 parent 6d7b146 commit 4f77cc7

File tree

77 files changed

+804
-186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+804
-186
lines changed

azure-mgmt-monitor/azure/mgmt/monitor/models/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
from .time_series_element import TimeSeriesElement
7575
from .metric import Metric
7676
from .response import Response
77+
from .baseline_metadata_value import BaselineMetadataValue
78+
from .baseline import Baseline
79+
from .baseline_response import BaselineResponse
80+
from .time_series_information import TimeSeriesInformation
81+
from .calculate_baseline_response import CalculateBaselineResponse
7782
from .autoscale_setting_resource_paged import AutoscaleSettingResourcePaged
7883
from .incident_paged import IncidentPaged
7984
from .alert_rule_resource_paged import AlertRuleResourcePaged
@@ -97,6 +102,7 @@
97102
EventLevel,
98103
Unit,
99104
AggregationType,
105+
Sensitivity,
100106
ResultType,
101107
)
102108

@@ -166,6 +172,11 @@
166172
'TimeSeriesElement',
167173
'Metric',
168174
'Response',
175+
'BaselineMetadataValue',
176+
'Baseline',
177+
'BaselineResponse',
178+
'TimeSeriesInformation',
179+
'CalculateBaselineResponse',
169180
'AutoscaleSettingResourcePaged',
170181
'IncidentPaged',
171182
'AlertRuleResourcePaged',
@@ -188,5 +199,6 @@
188199
'EventLevel',
189200
'Unit',
190201
'AggregationType',
202+
'Sensitivity',
191203
'ResultType',
192204
]

azure-mgmt-monitor/azure/mgmt/monitor/models/activity_log_alert_action_group.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ class ActivityLogAlertActionGroup(Model):
3333
}
3434

3535
def __init__(self, action_group_id, webhook_properties=None):
36+
super(ActivityLogAlertActionGroup, self).__init__()
3637
self.action_group_id = action_group_id
3738
self.webhook_properties = webhook_properties

azure-mgmt-monitor/azure/mgmt/monitor/models/activity_log_alert_action_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ class ActivityLogAlertActionList(Model):
2525
}
2626

2727
def __init__(self, action_groups=None):
28+
super(ActivityLogAlertActionList, self).__init__()
2829
self.action_groups = action_groups

azure-mgmt-monitor/azure/mgmt/monitor/models/activity_log_alert_all_of_condition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ class ActivityLogAlertAllOfCondition(Model):
3030
}
3131

3232
def __init__(self, all_of):
33+
super(ActivityLogAlertAllOfCondition, self).__init__()
3334
self.all_of = all_of

azure-mgmt-monitor/azure/mgmt/monitor/models/activity_log_alert_leaf_condition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ class ActivityLogAlertLeafCondition(Model):
3838
}
3939

4040
def __init__(self, field, equals):
41+
super(ActivityLogAlertLeafCondition, self).__init__()
4142
self.field = field
4243
self.equals = equals

azure-mgmt-monitor/azure/mgmt/monitor/models/activity_log_alert_patch_body.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ class ActivityLogAlertPatchBody(Model):
2929
}
3030

3131
def __init__(self, tags=None, enabled=True):
32+
super(ActivityLogAlertPatchBody, self).__init__()
3233
self.tags = tags
3334
self.enabled = enabled

azure-mgmt-monitor/azure/mgmt/monitor/models/alert_rule_resource_patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class AlertRuleResourcePatch(Model):
5656
}
5757

5858
def __init__(self, name, is_enabled, condition, tags=None, description=None, actions=None):
59+
super(AlertRuleResourcePatch, self).__init__()
5960
self.tags = tags
6061
self.name = name
6162
self.description = description

azure-mgmt-monitor/azure/mgmt/monitor/models/autoscale_notification.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ class AutoscaleNotification(Model):
4040
operation = "Scale"
4141

4242
def __init__(self, email=None, webhooks=None):
43+
super(AutoscaleNotification, self).__init__()
4344
self.email = email
4445
self.webhooks = webhooks

azure-mgmt-monitor/azure/mgmt/monitor/models/autoscale_profile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class AutoscaleProfile(Model):
4646
}
4747

4848
def __init__(self, name, capacity, rules, fixed_date=None, recurrence=None):
49+
super(AutoscaleProfile, self).__init__()
4950
self.name = name
5051
self.capacity = capacity
5152
self.rules = rules

azure-mgmt-monitor/azure/mgmt/monitor/models/autoscale_setting_resource_patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class AutoscaleSettingResourcePatch(Model):
4949
}
5050

5151
def __init__(self, profiles, tags=None, notifications=None, enabled=True, name=None, target_resource_uri=None):
52+
super(AutoscaleSettingResourcePatch, self).__init__()
5253
self.tags = tags
5354
self.profiles = profiles
5455
self.notifications = notifications

0 commit comments

Comments
 (0)