Skip to content

Commit e2bd0f4

Browse files
authored
[AutoPR monitor/resource-manager] Add "autoMitigate" to Metric Alert API spec for 2018-03-01 (#2592)
* Generated from d5b9b4545a8d15c70d3c8318d39e2f7b43229387 AutoMitigate changes * Generated from d5b9b4545a8d15c70d3c8318d39e2f7b43229387 AutoMitigate changes
1 parent 336124b commit e2bd0f4

26 files changed

+65
-47
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class ActionGroupResource(Resource):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class ActivityLogAlertResource(Resource):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class AlertRuleResource(Resource):

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class AlertingAction(Action):
2626
:param severity: Required. Severity of the alert. Possible values include:
2727
'0', '1', '2', '3', '4'
2828
:type severity: str or ~azure.mgmt.monitor.models.AlertSeverity
29-
:param azns_action: Required. Azure action group reference.
29+
:param azns_action: Required. azns notification group reference.
3030
:type azns_action: ~azure.mgmt.monitor.models.AzNsActionGroup
3131
:param throttling_in_min: time (in minutes) for which Alerts should be
32-
throttled or suppressed.
32+
throttled
3333
:type throttling_in_min: int
3434
:param trigger: Required. The trigger condition that results in the alert
3535
rule being.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .action import Action
12+
from .action_py3 import Action
1313

1414

1515
class AlertingAction(Action):
@@ -26,10 +26,10 @@ class AlertingAction(Action):
2626
:param severity: Required. Severity of the alert. Possible values include:
2727
'0', '1', '2', '3', '4'
2828
:type severity: str or ~azure.mgmt.monitor.models.AlertSeverity
29-
:param azns_action: Required. Azure action group reference.
29+
:param azns_action: Required. azns notification group reference.
3030
:type azns_action: ~azure.mgmt.monitor.models.AzNsActionGroup
3131
:param throttling_in_min: time (in minutes) for which Alerts should be
32-
throttled or suppressed.
32+
throttled
3333
:type throttling_in_min: int
3434
:param trigger: Required. The trigger condition that results in the alert
3535
rule being.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .resource import Resource
12+
from .resource_py3 import Resource
1313

1414

1515
class AutoscaleSettingResource(Resource):

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313

1414

1515
class AzNsActionGroup(Model):
16-
"""Azure action group.
16+
"""azns notification group.
1717
18-
:param action_group: Azure Action Group reference.
18+
:param action_group: Azure Group reference.
1919
:type action_group: list[str]
20-
:param email_subject: Custom subject override for all email ids in Azure
21-
action group
20+
:param email_subject: Custom subject for Azns email
2221
:type email_subject: str
23-
:param custom_webhook_payload: Custom payload to be sent for all webook
24-
URI in Azure action group
22+
:param custom_webhook_payload: Custom webhook payload to be send to azns
23+
action group
2524
:type custom_webhook_payload: str
2625
"""
2726

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313

1414

1515
class AzNsActionGroup(Model):
16-
"""Azure action group.
16+
"""azns notification group.
1717
18-
:param action_group: Azure Action Group reference.
18+
:param action_group: Azure Group reference.
1919
:type action_group: list[str]
20-
:param email_subject: Custom subject override for all email ids in Azure
21-
action group
20+
:param email_subject: Custom subject for Azns email
2221
:type email_subject: str
23-
:param custom_webhook_payload: Custom payload to be sent for all webook
24-
URI in Azure action group
22+
:param custom_webhook_payload: Custom webhook payload to be send to azns
23+
action group
2524
:type custom_webhook_payload: str
2625
"""
2726

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .proxy_only_resource import ProxyOnlyResource
12+
from .proxy_only_resource_py3 import ProxyOnlyResource
1313

1414

1515
class DiagnosticSettingsCategoryResource(ProxyOnlyResource):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .proxy_only_resource import ProxyOnlyResource
12+
from .proxy_only_resource_py3 import ProxyOnlyResource
1313

1414

1515
class DiagnosticSettingsResource(ProxyOnlyResource):

0 commit comments

Comments
 (0)