diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource.py index 2feb3268a1df..0ccca8947395 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource.py @@ -75,7 +75,7 @@ class ActionGroupResource(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'group_short_name': {'required': True, 'max_length': 15}, + 'group_short_name': {'required': True, 'max_length': 12}, 'enabled': {'required': True}, } diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource_py3.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource_py3.py index d65569ab6cb7..0a085e1e5b52 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource_py3.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_resource_py3.py @@ -75,7 +75,7 @@ class ActionGroupResource(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'group_short_name': {'required': True, 'max_length': 15}, + 'group_short_name': {'required': True, 'max_length': 12}, 'enabled': {'required': True}, } diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action.py index 462b180d180f..b58fa3b4a748 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action.py @@ -26,10 +26,10 @@ class AlertingAction(Action): :param severity: Required. Severity of the alert. Possible values include: '0', '1', '2', '3', '4' :type severity: str or ~azure.mgmt.monitor.models.AlertSeverity - :param azns_action: Required. azns notification group reference. + :param azns_action: Required. Azure action group reference. :type azns_action: ~azure.mgmt.monitor.models.AzNsActionGroup :param throttling_in_min: time (in minutes) for which Alerts should be - throttled + throttled or suppressed. :type throttling_in_min: int :param trigger: Required. The trigger condition that results in the alert rule being. diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action_py3.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action_py3.py index 601f9cde528b..dc5c47092f0a 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action_py3.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/alerting_action_py3.py @@ -26,10 +26,10 @@ class AlertingAction(Action): :param severity: Required. Severity of the alert. Possible values include: '0', '1', '2', '3', '4' :type severity: str or ~azure.mgmt.monitor.models.AlertSeverity - :param azns_action: Required. azns notification group reference. + :param azns_action: Required. Azure action group reference. :type azns_action: ~azure.mgmt.monitor.models.AzNsActionGroup :param throttling_in_min: time (in minutes) for which Alerts should be - throttled + throttled or suppressed. :type throttling_in_min: int :param trigger: Required. The trigger condition that results in the alert rule being. diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group.py index 5c5576517664..d98d5546826e 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group.py @@ -13,14 +13,15 @@ class AzNsActionGroup(Model): - """azns notification group. + """Azure action group. - :param action_group: Azure Group reference. + :param action_group: Azure Action Group reference. :type action_group: list[str] - :param email_subject: Custom subject for Azns email - :type email_subject: str - :param custom_webhook_payload: Custom webhook payload to be send to azns + :param email_subject: Custom subject override for all email ids in Azure action group + :type email_subject: str + :param custom_webhook_payload: Custom payload to be sent for all webook + URI in Azure action group :type custom_webhook_payload: str """ diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group_py3.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group_py3.py index bd5f281ea775..72bc693ab43d 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group_py3.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/az_ns_action_group_py3.py @@ -13,14 +13,15 @@ class AzNsActionGroup(Model): - """azns notification group. + """Azure action group. - :param action_group: Azure Group reference. + :param action_group: Azure Action Group reference. :type action_group: list[str] - :param email_subject: Custom subject for Azns email - :type email_subject: str - :param custom_webhook_payload: Custom webhook payload to be send to azns + :param email_subject: Custom subject override for all email ids in Azure action group + :type email_subject: str + :param custom_webhook_payload: Custom payload to be sent for all webook + URI in Azure action group :type custom_webhook_payload: str """ diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/source.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/source.py index 3f3ba2b7687a..00ff167884b7 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/source.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/source.py @@ -21,9 +21,9 @@ class Source(Model): :type query: str :param authorized_resources: List of Resource referred into query :type authorized_resources: list[str] - :param datasource_id: Required. The resource uri over which log search + :param data_source_id: Required. The resource uri over which log search query is to be run. - :type datasource_id: str + :type data_source_id: str :param query_type: Set value to ResultCount if query should be returning search result count. Set it to Number if its a metric query. Possible values include: 'ResultCount' @@ -32,13 +32,13 @@ class Source(Model): _validation = { 'query': {'required': True}, - 'datasource_id': {'required': True}, + 'data_source_id': {'required': True}, } _attribute_map = { 'query': {'key': 'query', 'type': 'str'}, 'authorized_resources': {'key': 'authorizedResources', 'type': '[str]'}, - 'datasource_id': {'key': 'datasourceId', 'type': 'str'}, + 'data_source_id': {'key': 'dataSourceId', 'type': 'str'}, 'query_type': {'key': 'queryType', 'type': 'str'}, } @@ -46,5 +46,5 @@ def __init__(self, **kwargs): super(Source, self).__init__(**kwargs) self.query = kwargs.get('query', None) self.authorized_resources = kwargs.get('authorized_resources', None) - self.datasource_id = kwargs.get('datasource_id', None) + self.data_source_id = kwargs.get('data_source_id', None) self.query_type = kwargs.get('query_type', None) diff --git a/azure-mgmt-monitor/azure/mgmt/monitor/models/source_py3.py b/azure-mgmt-monitor/azure/mgmt/monitor/models/source_py3.py index aaaba5c0cc01..e06241180a82 100644 --- a/azure-mgmt-monitor/azure/mgmt/monitor/models/source_py3.py +++ b/azure-mgmt-monitor/azure/mgmt/monitor/models/source_py3.py @@ -21,9 +21,9 @@ class Source(Model): :type query: str :param authorized_resources: List of Resource referred into query :type authorized_resources: list[str] - :param datasource_id: Required. The resource uri over which log search + :param data_source_id: Required. The resource uri over which log search query is to be run. - :type datasource_id: str + :type data_source_id: str :param query_type: Set value to ResultCount if query should be returning search result count. Set it to Number if its a metric query. Possible values include: 'ResultCount' @@ -32,19 +32,19 @@ class Source(Model): _validation = { 'query': {'required': True}, - 'datasource_id': {'required': True}, + 'data_source_id': {'required': True}, } _attribute_map = { 'query': {'key': 'query', 'type': 'str'}, 'authorized_resources': {'key': 'authorizedResources', 'type': '[str]'}, - 'datasource_id': {'key': 'datasourceId', 'type': 'str'}, + 'data_source_id': {'key': 'dataSourceId', 'type': 'str'}, 'query_type': {'key': 'queryType', 'type': 'str'}, } - def __init__(self, *, query: str, datasource_id: str, authorized_resources=None, query_type=None, **kwargs) -> None: + def __init__(self, *, query: str, data_source_id: str, authorized_resources=None, query_type=None, **kwargs) -> None: super(Source, self).__init__(**kwargs) self.query = query self.authorized_resources = authorized_resources - self.datasource_id = datasource_id + self.data_source_id = data_source_id self.query_type = query_type