huaweicloudsdkaom 3.1.75__py2.py3-none-any.whl → 3.1.76__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of huaweicloudsdkaom might be problematic. Click here for more details.

Files changed (48) hide show
  1. huaweicloudsdkaom/v2/__init__.py +1 -0
  2. huaweicloudsdkaom/v2/aom_async_client.py +28 -28
  3. huaweicloudsdkaom/v2/aom_client.py +28 -28
  4. huaweicloudsdkaom/v2/model/__init__.py +1 -0
  5. huaweicloudsdkaom/v2/model/action_rule.py +6 -6
  6. huaweicloudsdkaom/v2/model/alarm_rule_param.py +27 -27
  7. huaweicloudsdkaom/v2/model/app_name_rule.py +3 -3
  8. huaweicloudsdkaom/v2/model/app_rules.py +47 -18
  9. huaweicloudsdkaom/v2/model/app_rules_spec.py +105 -18
  10. huaweicloudsdkaom/v2/model/delete_alarm_rules_body.py +3 -3
  11. huaweicloudsdkaom/v2/model/deleteservice_discovery_rules_request.py +3 -3
  12. huaweicloudsdkaom/v2/model/dimension2.py +3 -3
  13. huaweicloudsdkaom/v2/model/discovery_rule.py +6 -6
  14. huaweicloudsdkaom/v2/model/event2alarm_rule_body.py +102 -15
  15. huaweicloudsdkaom/v2/model/event2alarm_rule_body_trigger_policies.py +3 -3
  16. huaweicloudsdkaom/v2/model/event_model.py +15 -15
  17. huaweicloudsdkaom/v2/model/event_query_param.py +3 -3
  18. huaweicloudsdkaom/v2/model/event_query_param2.py +3 -3
  19. huaweicloudsdkaom/v2/model/event_query_param2_sort.py +3 -3
  20. huaweicloudsdkaom/v2/model/event_query_param_sort.py +3 -3
  21. huaweicloudsdkaom/v2/model/list_alarm_rule_request.py +3 -3
  22. huaweicloudsdkaom/v2/model/list_metric_items_response.py +4 -4
  23. huaweicloudsdkaom/v2/model/list_notified_histories_response.py +21 -50
  24. huaweicloudsdkaom/v2/model/list_sample_request.py +3 -3
  25. huaweicloudsdkaom/v2/model/list_service_discovery_rules_request.py +3 -3
  26. huaweicloudsdkaom/v2/model/list_service_discovery_rules_response.py +28 -3
  27. huaweicloudsdkaom/v2/model/meta_data.py +4 -4
  28. huaweicloudsdkaom/v2/model/metric_api_query_item_param.py +3 -3
  29. huaweicloudsdkaom/v2/model/metric_data_item.py +3 -3
  30. huaweicloudsdkaom/v2/model/metric_item_info.py +6 -6
  31. huaweicloudsdkaom/v2/model/metric_query_meritc_param.py +9 -9
  32. huaweicloudsdkaom/v2/model/mute_config.py +7 -7
  33. huaweicloudsdkaom/v2/model/mute_rule.py +6 -6
  34. huaweicloudsdkaom/v2/model/name_rule.py +6 -6
  35. huaweicloudsdkaom/v2/model/notified_histories_result.py +144 -0
  36. huaweicloudsdkaom/v2/model/query_metric_data_param.py +6 -6
  37. huaweicloudsdkaom/v2/model/query_metric_item_option_param.py +6 -6
  38. huaweicloudsdkaom/v2/model/query_sample.py +6 -6
  39. huaweicloudsdkaom/v2/model/query_sample_param.py +12 -12
  40. huaweicloudsdkaom/v2/model/query_series_option_param.py +9 -9
  41. huaweicloudsdkaom/v2/model/show_action_rule_response.py +6 -6
  42. huaweicloudsdkaom/v2/model/update_alarm_rule_param.py +43 -53
  43. huaweicloudsdkaom/v2/model/value_data.py +6 -6
  44. {huaweicloudsdkaom-3.1.75.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/METADATA +2 -2
  45. {huaweicloudsdkaom-3.1.75.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/RECORD +48 -47
  46. {huaweicloudsdkaom-3.1.75.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/LICENSE +0 -0
  47. {huaweicloudsdkaom-3.1.75.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/WHEEL +0 -0
  48. {huaweicloudsdkaom-3.1.75.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/top_level.txt +0 -0
@@ -18,80 +18,51 @@ class ListNotifiedHistoriesResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
- 'event_sn': 'str',
22
- 'notifications': 'list[Notifications]'
21
+ 'notified_histories': 'list[NotifiedHistoriesResult]'
23
22
  }
24
23
 
25
24
  attribute_map = {
26
- 'event_sn': 'event_sn',
27
- 'notifications': 'notifications'
25
+ 'notified_histories': 'notified_histories'
28
26
  }
29
27
 
30
- def __init__(self, event_sn=None, notifications=None):
28
+ def __init__(self, notified_histories=None):
31
29
  """ListNotifiedHistoriesResponse
32
30
 
33
31
  The model defined in huaweicloud sdk
34
32
 
35
- :param event_sn: 告警流水号
36
- :type event_sn: str
37
- :param notifications: 通知结果
38
- :type notifications: list[:class:`huaweicloudsdkaom.v2.Notifications`]
33
+ :param notified_histories: 通知历史列表。
34
+ :type notified_histories: list[:class:`huaweicloudsdkaom.v2.NotifiedHistoriesResult`]
39
35
  """
40
36
 
41
37
  super(ListNotifiedHistoriesResponse, self).__init__()
42
38
 
43
- self._event_sn = None
44
- self._notifications = None
39
+ self._notified_histories = None
45
40
  self.discriminator = None
46
41
 
47
- if event_sn is not None:
48
- self.event_sn = event_sn
49
- if notifications is not None:
50
- self.notifications = notifications
42
+ if notified_histories is not None:
43
+ self.notified_histories = notified_histories
51
44
 
52
45
  @property
53
- def event_sn(self):
54
- """Gets the event_sn of this ListNotifiedHistoriesResponse.
46
+ def notified_histories(self):
47
+ """Gets the notified_histories of this ListNotifiedHistoriesResponse.
55
48
 
56
- 告警流水号
49
+ 通知历史列表。
57
50
 
58
- :return: The event_sn of this ListNotifiedHistoriesResponse.
59
- :rtype: str
51
+ :return: The notified_histories of this ListNotifiedHistoriesResponse.
52
+ :rtype: list[:class:`huaweicloudsdkaom.v2.NotifiedHistoriesResult`]
60
53
  """
61
- return self._event_sn
54
+ return self._notified_histories
62
55
 
63
- @event_sn.setter
64
- def event_sn(self, event_sn):
65
- """Sets the event_sn of this ListNotifiedHistoriesResponse.
56
+ @notified_histories.setter
57
+ def notified_histories(self, notified_histories):
58
+ """Sets the notified_histories of this ListNotifiedHistoriesResponse.
66
59
 
67
- 告警流水号
60
+ 通知历史列表。
68
61
 
69
- :param event_sn: The event_sn of this ListNotifiedHistoriesResponse.
70
- :type event_sn: str
62
+ :param notified_histories: The notified_histories of this ListNotifiedHistoriesResponse.
63
+ :type notified_histories: list[:class:`huaweicloudsdkaom.v2.NotifiedHistoriesResult`]
71
64
  """
72
- self._event_sn = event_sn
73
-
74
- @property
75
- def notifications(self):
76
- """Gets the notifications of this ListNotifiedHistoriesResponse.
77
-
78
- 通知结果
79
-
80
- :return: The notifications of this ListNotifiedHistoriesResponse.
81
- :rtype: list[:class:`huaweicloudsdkaom.v2.Notifications`]
82
- """
83
- return self._notifications
84
-
85
- @notifications.setter
86
- def notifications(self, notifications):
87
- """Sets the notifications of this ListNotifiedHistoriesResponse.
88
-
89
- 通知结果
90
-
91
- :param notifications: The notifications of this ListNotifiedHistoriesResponse.
92
- :type notifications: list[:class:`huaweicloudsdkaom.v2.Notifications`]
93
- """
94
- self._notifications = notifications
65
+ self._notified_histories = notified_histories
95
66
 
96
67
  def to_dict(self):
97
68
  """Returns the model properties as a dict"""
@@ -31,7 +31,7 @@ class ListSampleRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param fill_value: 用于对查询到的时序数据进行断点插值,默认值为-1。 -1:断点处使用-1进行表示。 0 :断点处使用0进行表示。 null:断点处使用null进行表示。 average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
34
+ :param fill_value: 用于对查询到的时序数据进行断点插值,默认值为-1。-1:断点处使用-1进行表示。0 :断点处使用0进行表示。null:断点处使用null进行表示。average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
35
35
  :type fill_value: str
36
36
  :param body: Body of the ListSampleRequest
37
37
  :type body: :class:`huaweicloudsdkaom.v2.QuerySampleParam`
@@ -52,7 +52,7 @@ class ListSampleRequest:
52
52
  def fill_value(self):
53
53
  """Gets the fill_value of this ListSampleRequest.
54
54
 
55
- 用于对查询到的时序数据进行断点插值,默认值为-1。 -1:断点处使用-1进行表示。 0 :断点处使用0进行表示。 null:断点处使用null进行表示。 average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
55
+ 用于对查询到的时序数据进行断点插值,默认值为-1。-1:断点处使用-1进行表示。0 :断点处使用0进行表示。null:断点处使用null进行表示。average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
56
56
 
57
57
  :return: The fill_value of this ListSampleRequest.
58
58
  :rtype: str
@@ -63,7 +63,7 @@ class ListSampleRequest:
63
63
  def fill_value(self, fill_value):
64
64
  """Sets the fill_value of this ListSampleRequest.
65
65
 
66
- 用于对查询到的时序数据进行断点插值,默认值为-1。 -1:断点处使用-1进行表示。 0 :断点处使用0进行表示。 null:断点处使用null进行表示。 average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
66
+ 用于对查询到的时序数据进行断点插值,默认值为-1。-1:断点处使用-1进行表示。0 :断点处使用0进行表示。null:断点处使用null进行表示。average:断点处使用前后邻近的有效数据的平均值进行表示,如果不存在有效数据则使用null进行表示。
67
67
 
68
68
  :param fill_value: The fill_value of this ListSampleRequest.
69
69
  :type fill_value: str
@@ -29,7 +29,7 @@ class ListServiceDiscoveryRulesRequest:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param id: 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
32
+ :param id: 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
33
33
  :type id: str
34
34
  """
35
35
 
@@ -45,7 +45,7 @@ class ListServiceDiscoveryRulesRequest:
45
45
  def id(self):
46
46
  """Gets the id of this ListServiceDiscoveryRulesRequest.
47
47
 
48
- 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
48
+ 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
49
49
 
50
50
  :return: The id of this ListServiceDiscoveryRulesRequest.
51
51
  :rtype: str
@@ -56,7 +56,7 @@ class ListServiceDiscoveryRulesRequest:
56
56
  def id(self, id):
57
57
  """Sets the id of this ListServiceDiscoveryRulesRequest.
58
58
 
59
- 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
59
+ 具体的服务发现规则ID,可以精确匹配到一条服务发现规则。不传时返回project下所有服务发现规则的列表。
60
60
 
61
61
  :param id: The id of this ListServiceDiscoveryRulesRequest.
62
62
  :type id: str
@@ -20,16 +20,18 @@ class ListServiceDiscoveryRulesResponse(SdkResponse):
20
20
  openapi_types = {
21
21
  'app_rules': 'list[AppRules]',
22
22
  'error_code': 'str',
23
- 'error_message': 'str'
23
+ 'error_message': 'str',
24
+ 'id': 'list[str]'
24
25
  }
25
26
 
26
27
  attribute_map = {
27
28
  'app_rules': 'appRules',
28
29
  'error_code': 'errorCode',
29
- 'error_message': 'errorMessage'
30
+ 'error_message': 'errorMessage',
31
+ 'id': 'id'
30
32
  }
31
33
 
32
- def __init__(self, app_rules=None, error_code=None, error_message=None):
34
+ def __init__(self, app_rules=None, error_code=None, error_message=None, id=None):
33
35
  """ListServiceDiscoveryRulesResponse
34
36
 
35
37
  The model defined in huaweicloud sdk
@@ -40,6 +42,8 @@ class ListServiceDiscoveryRulesResponse(SdkResponse):
40
42
  :type error_code: str
41
43
  :param error_message: 响应信息描述。
42
44
  :type error_message: str
45
+ :param id:
46
+ :type id: list[str]
43
47
  """
44
48
 
45
49
  super(ListServiceDiscoveryRulesResponse, self).__init__()
@@ -47,6 +51,7 @@ class ListServiceDiscoveryRulesResponse(SdkResponse):
47
51
  self._app_rules = None
48
52
  self._error_code = None
49
53
  self._error_message = None
54
+ self._id = None
50
55
  self.discriminator = None
51
56
 
52
57
  if app_rules is not None:
@@ -55,6 +60,8 @@ class ListServiceDiscoveryRulesResponse(SdkResponse):
55
60
  self.error_code = error_code
56
61
  if error_message is not None:
57
62
  self.error_message = error_message
63
+ if id is not None:
64
+ self.id = id
58
65
 
59
66
  @property
60
67
  def app_rules(self):
@@ -122,6 +129,24 @@ class ListServiceDiscoveryRulesResponse(SdkResponse):
122
129
  """
123
130
  self._error_message = error_message
124
131
 
132
+ @property
133
+ def id(self):
134
+ """Gets the id of this ListServiceDiscoveryRulesResponse.
135
+
136
+ :return: The id of this ListServiceDiscoveryRulesResponse.
137
+ :rtype: list[str]
138
+ """
139
+ return self._id
140
+
141
+ @id.setter
142
+ def id(self, id):
143
+ """Sets the id of this ListServiceDiscoveryRulesResponse.
144
+
145
+ :param id: The id of this ListServiceDiscoveryRulesResponse.
146
+ :type id: list[str]
147
+ """
148
+ self._id = id
149
+
125
150
  def to_dict(self):
126
151
  """Returns the model properties as a dict"""
127
152
  result = {}
@@ -18,7 +18,7 @@ class MetaData:
18
18
 
19
19
  openapi_types = {
20
20
  'count': 'int',
21
- 'start': 'int',
21
+ 'start': 'str',
22
22
  'total': 'int'
23
23
  }
24
24
 
@@ -36,7 +36,7 @@ class MetaData:
36
36
  :param count: 当前返回结果条数。
37
37
  :type count: int
38
38
  :param start: 下一个开始的标记,用于分页,null表示无更多数据。
39
- :type start: int
39
+ :type start: str
40
40
  :param total: 总条数。
41
41
  :type total: int
42
42
  """
@@ -84,7 +84,7 @@ class MetaData:
84
84
  下一个开始的标记,用于分页,null表示无更多数据。
85
85
 
86
86
  :return: The start of this MetaData.
87
- :rtype: int
87
+ :rtype: str
88
88
  """
89
89
  return self._start
90
90
 
@@ -95,7 +95,7 @@ class MetaData:
95
95
  下一个开始的标记,用于分页,null表示无更多数据。
96
96
 
97
97
  :param start: The start of this MetaData.
98
- :type start: int
98
+ :type start: str
99
99
  """
100
100
  self._start = start
101
101
 
@@ -31,7 +31,7 @@ class MetricAPIQueryItemParam:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param inventory_id: 资源编号,格式为resType_resId。其中resType部分的枚举值为:host, application, instance, container, process, network, storage, volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
34
+ :param inventory_id: 资源编号,格式为resType_resId。其中resType部分的枚举值为:hostapplicationinstance containerprocessnetworkstorage volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
35
35
  :type inventory_id: str
36
36
  :param metric_items: 当URI参数中的type取值不为“inventory”时,就通过该数组传递的参数信息进行指标查询。
37
37
  :type metric_items: list[:class:`huaweicloudsdkaom.v2.QueryMetricItemOptionParam`]
@@ -52,7 +52,7 @@ class MetricAPIQueryItemParam:
52
52
  def inventory_id(self):
53
53
  """Gets the inventory_id of this MetricAPIQueryItemParam.
54
54
 
55
- 资源编号,格式为resType_resId。其中resType部分的枚举值为:host, application, instance, container, process, network, storage, volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
55
+ 资源编号,格式为resType_resId。其中resType部分的枚举值为:hostapplicationinstance containerprocessnetworkstorage volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
56
56
 
57
57
  :return: The inventory_id of this MetricAPIQueryItemParam.
58
58
  :rtype: str
@@ -63,7 +63,7 @@ class MetricAPIQueryItemParam:
63
63
  def inventory_id(self, inventory_id):
64
64
  """Sets the inventory_id of this MetricAPIQueryItemParam.
65
65
 
66
- 资源编号,格式为resType_resId。其中resType部分的枚举值为:host, application, instance, container, process, network, storage, volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
66
+ 资源编号,格式为resType_resId。其中resType部分的枚举值为:hostapplicationinstance containerprocessnetworkstorage volume。当URI参数中的type取值为“inventory”时,通过该参数查询关联的指标,不再使用metricItems数组中的信息。
67
67
 
68
68
  :param inventory_id: The inventory_id of this MetricAPIQueryItemParam.
69
69
  :type inventory_id: str
@@ -33,7 +33,7 @@ class MetricDataItem:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param collect_time: 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。 取值范围: UNIX时间戳,单位毫秒。
36
+ :param collect_time: 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。取值范围: UNIX时间戳,单位毫秒。
37
37
  :type collect_time: int
38
38
  :param metric:
39
39
  :type metric: :class:`huaweicloudsdkaom.v2.MetricItemInfo`
@@ -56,7 +56,7 @@ class MetricDataItem:
56
56
  def collect_time(self):
57
57
  """Gets the collect_time of this MetricDataItem.
58
58
 
59
- 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。 取值范围: UNIX时间戳,单位毫秒。
59
+ 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。取值范围: UNIX时间戳,单位毫秒。
60
60
 
61
61
  :return: The collect_time of this MetricDataItem.
62
62
  :rtype: int
@@ -67,7 +67,7 @@ class MetricDataItem:
67
67
  def collect_time(self, collect_time):
68
68
  """Sets the collect_time of this MetricDataItem.
69
69
 
70
- 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。 取值范围: UNIX时间戳,单位毫秒。
70
+ 数据收集时间支持过去1天和未来半小时范围内的数据上报。数据收集时间需要满足: 当前UTC时间减去collect_time小于等于24小时或者collect_time减去当前UTC时间小于等于30分钟。 若数据上报时间早于当天8点,则指标监控页面只显示当天8点后的数据。取值范围: UNIX时间戳,单位毫秒。
71
71
 
72
72
  :param collect_time: The collect_time of this MetricDataItem.
73
73
  :type collect_time: int
@@ -31,9 +31,9 @@ class MetricItemInfo:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param dimensions: 指标维度列表。 维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
34
+ :param dimensions: 指标维度列表。维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
35
35
  :type dimensions: list[:class:`huaweicloudsdkaom.v2.Dimension2`]
36
- :param namespace: 指标命名空间。 namespace中不允许存在\":\"符号,取值范围 格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
36
+ :param namespace: 指标命名空间。 namespace中不允许存在\":\"符号,取值范围格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
37
37
  :type namespace: str
38
38
  """
39
39
 
@@ -50,7 +50,7 @@ class MetricItemInfo:
50
50
  def dimensions(self):
51
51
  """Gets the dimensions of this MetricItemInfo.
52
52
 
53
- 指标维度列表。 维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
53
+ 指标维度列表。维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
54
54
 
55
55
  :return: The dimensions of this MetricItemInfo.
56
56
  :rtype: list[:class:`huaweicloudsdkaom.v2.Dimension2`]
@@ -61,7 +61,7 @@ class MetricItemInfo:
61
61
  def dimensions(self, dimensions):
62
62
  """Sets the dimensions of this MetricItemInfo.
63
63
 
64
- 指标维度列表。 维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
64
+ 指标维度列表。维度最多允许50个,单个维度为json对象,结构说明如下 dimension.name:长度最短为1,最大为32。 dimension.value:长度最短为1,最大为64。
65
65
 
66
66
  :param dimensions: The dimensions of this MetricItemInfo.
67
67
  :type dimensions: list[:class:`huaweicloudsdkaom.v2.Dimension2`]
@@ -72,7 +72,7 @@ class MetricItemInfo:
72
72
  def namespace(self):
73
73
  """Gets the namespace of this MetricItemInfo.
74
74
 
75
- 指标命名空间。 namespace中不允许存在\":\"符号,取值范围 格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
75
+ 指标命名空间。 namespace中不允许存在\":\"符号,取值范围格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
76
76
 
77
77
  :return: The namespace of this MetricItemInfo.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class MetricItemInfo:
83
83
  def namespace(self, namespace):
84
84
  """Sets the namespace of this MetricItemInfo.
85
85
 
86
- 指标命名空间。 namespace中不允许存在\":\"符号,取值范围 格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
86
+ 指标命名空间。 namespace中不允许存在\":\"符号,取值范围格式为service.item;service和item必须是字符串,必须以字母开头,只能包含0-9/a-z/A-Z/_,总长度最短为3,最大为32,service不能为“PAAS”。
87
87
 
88
88
  :param namespace: The namespace of this MetricItemInfo.
89
89
  :type namespace: str
@@ -33,11 +33,11 @@ class MetricQueryMeritcParam:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param dimensions: 指标维度列表。 取值范围: 数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
36
+ :param dimensions: 指标维度列表。取值范围:数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
37
37
  :type dimensions: list[:class:`huaweicloudsdkaom.v2.Dimension`]
38
- :param metric_name: 指标名称。名称长度取值范围为1~255个字符。 取值范围: AOM提供的基础指标, cpuUsage、cpuCoreUsed等 cpuUage:cpu使用率; cpuCoreUsed:cpu内核占用; 用户上报的自定义指标名称。
38
+ :param metric_name: 指标名称。名称长度取值范围为1~255个字符。取值范围:AOM提供的基础指标,cpuUsage、cpuCoreUsed等cpuUsage:cpu使用率;cpuCoreUsed:cpu内核占用;用户上报的自定义指标名称。
39
39
  :type metric_name: str
40
- :param namespace: 指标命名空间。 取值范围: PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间, PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间, PAAS.SLA:SLA指标的命名空间, PAAS.AGGR:集群指标的命名空间, CUSTOMMETRICS:默认的自定义指标的命名空间。
40
+ :param namespace: 指标命名空间。取值范围:PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间,PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间,PAAS.SLA:SLA指标的命名空间,PAAS.AGGR:集群指标的命名空间,CUSTOMMETRICS:默认的自定义指标的命名空间。
41
41
  :type namespace: str
42
42
  """
43
43
 
@@ -56,7 +56,7 @@ class MetricQueryMeritcParam:
56
56
  def dimensions(self):
57
57
  """Gets the dimensions of this MetricQueryMeritcParam.
58
58
 
59
- 指标维度列表。 取值范围: 数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
59
+ 指标维度列表。取值范围:数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
60
60
 
61
61
  :return: The dimensions of this MetricQueryMeritcParam.
62
62
  :rtype: list[:class:`huaweicloudsdkaom.v2.Dimension`]
@@ -67,7 +67,7 @@ class MetricQueryMeritcParam:
67
67
  def dimensions(self, dimensions):
68
68
  """Sets the dimensions of this MetricQueryMeritcParam.
69
69
 
70
- 指标维度列表。 取值范围: 数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
70
+ 指标维度列表。取值范围:数组不能为空,同时数组中任何一个dimension对象name和value属性的值也不能为空。
71
71
 
72
72
  :param dimensions: The dimensions of this MetricQueryMeritcParam.
73
73
  :type dimensions: list[:class:`huaweicloudsdkaom.v2.Dimension`]
@@ -78,7 +78,7 @@ class MetricQueryMeritcParam:
78
78
  def metric_name(self):
79
79
  """Gets the metric_name of this MetricQueryMeritcParam.
80
80
 
81
- 指标名称。名称长度取值范围为1~255个字符。 取值范围: AOM提供的基础指标, cpuUsage、cpuCoreUsed等 cpuUage:cpu使用率; cpuCoreUsed:cpu内核占用; 用户上报的自定义指标名称。
81
+ 指标名称。名称长度取值范围为1~255个字符。取值范围:AOM提供的基础指标,cpuUsage、cpuCoreUsed等cpuUsage:cpu使用率;cpuCoreUsed:cpu内核占用;用户上报的自定义指标名称。
82
82
 
83
83
  :return: The metric_name of this MetricQueryMeritcParam.
84
84
  :rtype: str
@@ -89,7 +89,7 @@ class MetricQueryMeritcParam:
89
89
  def metric_name(self, metric_name):
90
90
  """Sets the metric_name of this MetricQueryMeritcParam.
91
91
 
92
- 指标名称。名称长度取值范围为1~255个字符。 取值范围: AOM提供的基础指标, cpuUsage、cpuCoreUsed等 cpuUage:cpu使用率; cpuCoreUsed:cpu内核占用; 用户上报的自定义指标名称。
92
+ 指标名称。名称长度取值范围为1~255个字符。取值范围:AOM提供的基础指标,cpuUsage、cpuCoreUsed等cpuUsage:cpu使用率;cpuCoreUsed:cpu内核占用;用户上报的自定义指标名称。
93
93
 
94
94
  :param metric_name: The metric_name of this MetricQueryMeritcParam.
95
95
  :type metric_name: str
@@ -100,7 +100,7 @@ class MetricQueryMeritcParam:
100
100
  def namespace(self):
101
101
  """Gets the namespace of this MetricQueryMeritcParam.
102
102
 
103
- 指标命名空间。 取值范围: PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间, PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间, PAAS.SLA:SLA指标的命名空间, PAAS.AGGR:集群指标的命名空间, CUSTOMMETRICS:默认的自定义指标的命名空间。
103
+ 指标命名空间。取值范围:PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间,PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间,PAAS.SLA:SLA指标的命名空间,PAAS.AGGR:集群指标的命名空间,CUSTOMMETRICS:默认的自定义指标的命名空间。
104
104
 
105
105
  :return: The namespace of this MetricQueryMeritcParam.
106
106
  :rtype: str
@@ -111,7 +111,7 @@ class MetricQueryMeritcParam:
111
111
  def namespace(self, namespace):
112
112
  """Sets the namespace of this MetricQueryMeritcParam.
113
113
 
114
- 指标命名空间。 取值范围: PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间, PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间, PAAS.SLA:SLA指标的命名空间, PAAS.AGGR:集群指标的命名空间, CUSTOMMETRICS:默认的自定义指标的命名空间。
114
+ 指标命名空间。取值范围:PAAS.CONTAINER:组件指标、实例指标、进程指标和容器指标的命名空间,PAAS.NODE: 主机指标、网络指标、磁盘指标和文件系统指标的命名空间,PAAS.SLA:SLA指标的命名空间,PAAS.AGGR:集群指标的命名空间,CUSTOMMETRICS:默认的自定义指标的命名空间。
115
115
 
116
116
  :param namespace: The namespace of this MetricQueryMeritcParam.
117
117
  :type namespace: str
@@ -18,7 +18,7 @@ class MuteConfig:
18
18
 
19
19
  openapi_types = {
20
20
  'ends_at': 'int',
21
- 'scope': 'list[str]',
21
+ 'scope': 'list[int]',
22
22
  'starts_at': 'int',
23
23
  'type': 'str'
24
24
  }
@@ -38,10 +38,10 @@ class MuteConfig:
38
38
  :param ends_at: 静默规则结束时间
39
39
  :type ends_at: int
40
40
  :param scope: 当type为每周或者每月时,scope不能为空
41
- :type scope: list[str]
41
+ :type scope: list[int]
42
42
  :param starts_at: 静默规则开始时间
43
43
  :type starts_at: int
44
- :param type: 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
44
+ :param type: 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
45
45
  :type type: str
46
46
  """
47
47
 
@@ -89,7 +89,7 @@ class MuteConfig:
89
89
  当type为每周或者每月时,scope不能为空
90
90
 
91
91
  :return: The scope of this MuteConfig.
92
- :rtype: list[str]
92
+ :rtype: list[int]
93
93
  """
94
94
  return self._scope
95
95
 
@@ -100,7 +100,7 @@ class MuteConfig:
100
100
  当type为每周或者每月时,scope不能为空
101
101
 
102
102
  :param scope: The scope of this MuteConfig.
103
- :type scope: list[str]
103
+ :type scope: list[int]
104
104
  """
105
105
  self._scope = scope
106
106
 
@@ -130,7 +130,7 @@ class MuteConfig:
130
130
  def type(self):
131
131
  """Gets the type of this MuteConfig.
132
132
 
133
- 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
133
+ 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
134
134
 
135
135
  :return: The type of this MuteConfig.
136
136
  :rtype: str
@@ -141,7 +141,7 @@ class MuteConfig:
141
141
  def type(self, type):
142
142
  """Sets the type of this MuteConfig.
143
143
 
144
- 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
144
+ 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计
145
145
 
146
146
  :param type: The type of this MuteConfig.
147
147
  :type type: str
@@ -47,11 +47,11 @@ class MuteRule:
47
47
  :type create_time: int
48
48
  :param desc: 规则描述
49
49
  :type desc: str
50
- :param match: 规则的匹配条件
50
+ :param match: 规则的匹配条件。串行条件和并行条件的最大数量限制为10。
51
51
  :type match: list[list[Match]]
52
52
  :param mute_config:
53
53
  :type mute_config: :class:`huaweicloudsdkaom.v2.MuteConfig`
54
- :param name: 规则名称
54
+ :param name: 规则名称。名称包含大小写字母、数字、特殊字符(_)、不能以下划线开头或结尾,最大长度为100。
55
55
  :type name: str
56
56
  :param timezone: 时区
57
57
  :type timezone: str
@@ -134,7 +134,7 @@ class MuteRule:
134
134
  def match(self):
135
135
  """Gets the match of this MuteRule.
136
136
 
137
- 规则的匹配条件
137
+ 规则的匹配条件。串行条件和并行条件的最大数量限制为10。
138
138
 
139
139
  :return: The match of this MuteRule.
140
140
  :rtype: list[list[Match]]
@@ -145,7 +145,7 @@ class MuteRule:
145
145
  def match(self, match):
146
146
  """Sets the match of this MuteRule.
147
147
 
148
- 规则的匹配条件
148
+ 规则的匹配条件。串行条件和并行条件的最大数量限制为10。
149
149
 
150
150
  :param match: The match of this MuteRule.
151
151
  :type match: list[list[Match]]
@@ -174,7 +174,7 @@ class MuteRule:
174
174
  def name(self):
175
175
  """Gets the name of this MuteRule.
176
176
 
177
- 规则名称
177
+ 规则名称。名称包含大小写字母、数字、特殊字符(_)、不能以下划线开头或结尾,最大长度为100。
178
178
 
179
179
  :return: The name of this MuteRule.
180
180
  :rtype: str
@@ -185,7 +185,7 @@ class MuteRule:
185
185
  def name(self, name):
186
186
  """Sets the name of this MuteRule.
187
187
 
188
- 规则名称
188
+ 规则名称。名称包含大小写字母、数字、特殊字符(_)、不能以下划线开头或结尾,最大长度为100。
189
189
 
190
190
  :param name: The name of this MuteRule.
191
191
  :type name: str
@@ -31,9 +31,9 @@ class NameRule:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param app_name_rule: 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
34
+ :param app_name_rule: 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
35
35
  :type app_name_rule: list[:class:`huaweicloudsdkaom.v2.AppNameRule`]
36
- :param application_name_rule: 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
36
+ :param application_name_rule: 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
37
37
  :type application_name_rule: list[:class:`huaweicloudsdkaom.v2.ApplicationNameRule`]
38
38
  """
39
39
 
@@ -50,7 +50,7 @@ class NameRule:
50
50
  def app_name_rule(self):
51
51
  """Gets the app_name_rule of this NameRule.
52
52
 
53
- 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
53
+ 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
54
54
 
55
55
  :return: The app_name_rule of this NameRule.
56
56
  :rtype: list[:class:`huaweicloudsdkaom.v2.AppNameRule`]
@@ -61,7 +61,7 @@ class NameRule:
61
61
  def app_name_rule(self, app_name_rule):
62
62
  """Sets the app_name_rule of this NameRule.
63
63
 
64
- 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
64
+ 服务命名部分,数组中有多个对象时表示将每个对象抽取到的字符串拼接作为服务的名称。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为[\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,服务名称为ser。
65
65
 
66
66
  :param app_name_rule: The app_name_rule of this NameRule.
67
67
  :type app_name_rule: list[:class:`huaweicloudsdkaom.v2.AppNameRule`]
@@ -72,7 +72,7 @@ class NameRule:
72
72
  def application_name_rule(self):
73
73
  """Gets the application_name_rule of this NameRule.
74
74
 
75
- 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
75
+ 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
76
76
 
77
77
  :return: The application_name_rule of this NameRule.
78
78
  :rtype: list[:class:`huaweicloudsdkaom.v2.ApplicationNameRule`]
@@ -83,7 +83,7 @@ class NameRule:
83
83
  def application_name_rule(self, application_name_rule):
84
84
  """Sets the application_name_rule of this NameRule.
85
85
 
86
- 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"],value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
86
+ 应用命名部分。 nameType取值cmdLine时args格式为[\"start\",\"end\"],表示抽取命令行中start、end之间的字符。 nameType取值cmdLine时args格式为 [\"aa\"],表示抽取环境变量名为aa对应的环境变量值。 nameType取值str时,args格式为[\"fix\"],表示服务名称最后拼接固定文字fix。 nameType取值cmdLineHash时,args格式为[\"0001\"]value格式为[\"ser\"],表示当启动命令是0001时,应用名称为ser。
87
87
 
88
88
  :param application_name_rule: The application_name_rule of this NameRule.
89
89
  :type application_name_rule: list[:class:`huaweicloudsdkaom.v2.ApplicationNameRule`]