huaweicloudsdkaom 3.1.74__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.
- huaweicloudsdkaom/v2/__init__.py +1 -0
- huaweicloudsdkaom/v2/aom_async_client.py +28 -28
- huaweicloudsdkaom/v2/aom_client.py +28 -28
- huaweicloudsdkaom/v2/model/__init__.py +1 -0
- huaweicloudsdkaom/v2/model/action_rule.py +6 -6
- huaweicloudsdkaom/v2/model/alarm_rule_param.py +27 -27
- huaweicloudsdkaom/v2/model/app_name_rule.py +3 -3
- huaweicloudsdkaom/v2/model/app_rules.py +47 -18
- huaweicloudsdkaom/v2/model/app_rules_spec.py +105 -18
- huaweicloudsdkaom/v2/model/delete_alarm_rules_body.py +3 -3
- huaweicloudsdkaom/v2/model/deleteservice_discovery_rules_request.py +3 -3
- huaweicloudsdkaom/v2/model/dimension2.py +3 -3
- huaweicloudsdkaom/v2/model/discovery_rule.py +6 -6
- huaweicloudsdkaom/v2/model/event2alarm_rule_body.py +102 -15
- huaweicloudsdkaom/v2/model/event2alarm_rule_body_trigger_policies.py +3 -3
- huaweicloudsdkaom/v2/model/event_model.py +15 -15
- huaweicloudsdkaom/v2/model/event_query_param.py +3 -3
- huaweicloudsdkaom/v2/model/event_query_param2.py +3 -3
- huaweicloudsdkaom/v2/model/event_query_param2_sort.py +3 -3
- huaweicloudsdkaom/v2/model/event_query_param_sort.py +3 -3
- huaweicloudsdkaom/v2/model/list_alarm_rule_request.py +3 -3
- huaweicloudsdkaom/v2/model/list_metric_items_response.py +4 -4
- huaweicloudsdkaom/v2/model/list_notified_histories_response.py +21 -50
- huaweicloudsdkaom/v2/model/list_sample_request.py +3 -3
- huaweicloudsdkaom/v2/model/list_service_discovery_rules_request.py +3 -3
- huaweicloudsdkaom/v2/model/list_service_discovery_rules_response.py +28 -3
- huaweicloudsdkaom/v2/model/meta_data.py +4 -4
- huaweicloudsdkaom/v2/model/metric_api_query_item_param.py +3 -3
- huaweicloudsdkaom/v2/model/metric_data_item.py +3 -3
- huaweicloudsdkaom/v2/model/metric_item_info.py +6 -6
- huaweicloudsdkaom/v2/model/metric_query_meritc_param.py +9 -9
- huaweicloudsdkaom/v2/model/mute_config.py +7 -7
- huaweicloudsdkaom/v2/model/mute_rule.py +6 -6
- huaweicloudsdkaom/v2/model/name_rule.py +6 -6
- huaweicloudsdkaom/v2/model/notified_histories_result.py +144 -0
- huaweicloudsdkaom/v2/model/query_metric_data_param.py +6 -6
- huaweicloudsdkaom/v2/model/query_metric_item_option_param.py +6 -6
- huaweicloudsdkaom/v2/model/query_sample.py +6 -6
- huaweicloudsdkaom/v2/model/query_sample_param.py +12 -12
- huaweicloudsdkaom/v2/model/query_series_option_param.py +9 -9
- huaweicloudsdkaom/v2/model/show_action_rule_response.py +6 -6
- huaweicloudsdkaom/v2/model/update_alarm_rule_param.py +43 -53
- huaweicloudsdkaom/v2/model/value_data.py +6 -6
- {huaweicloudsdkaom-3.1.74.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/METADATA +2 -2
- {huaweicloudsdkaom-3.1.74.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/RECORD +48 -47
- {huaweicloudsdkaom-3.1.74.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/LICENSE +0 -0
- {huaweicloudsdkaom-3.1.74.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/WHEEL +0 -0
- {huaweicloudsdkaom-3.1.74.dist-info → huaweicloudsdkaom-3.1.76.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ class DeleteserviceDiscoveryRulesRequest:
|
|
|
29
29
|
|
|
30
30
|
The model defined in huaweicloud sdk
|
|
31
31
|
|
|
32
|
-
:param app_rules_ids: 发现规则ID
|
|
32
|
+
:param app_rules_ids: 发现规则ID,传多个时以逗号分隔。不允许为空。
|
|
33
33
|
:type app_rules_ids: list[str]
|
|
34
34
|
"""
|
|
35
35
|
|
|
@@ -44,7 +44,7 @@ class DeleteserviceDiscoveryRulesRequest:
|
|
|
44
44
|
def app_rules_ids(self):
|
|
45
45
|
"""Gets the app_rules_ids of this DeleteserviceDiscoveryRulesRequest.
|
|
46
46
|
|
|
47
|
-
发现规则ID
|
|
47
|
+
发现规则ID,传多个时以逗号分隔。不允许为空。
|
|
48
48
|
|
|
49
49
|
:return: The app_rules_ids of this DeleteserviceDiscoveryRulesRequest.
|
|
50
50
|
:rtype: list[str]
|
|
@@ -55,7 +55,7 @@ class DeleteserviceDiscoveryRulesRequest:
|
|
|
55
55
|
def app_rules_ids(self, app_rules_ids):
|
|
56
56
|
"""Sets the app_rules_ids of this DeleteserviceDiscoveryRulesRequest.
|
|
57
57
|
|
|
58
|
-
发现规则ID
|
|
58
|
+
发现规则ID,传多个时以逗号分隔。不允许为空。
|
|
59
59
|
|
|
60
60
|
:param app_rules_ids: The app_rules_ids of this DeleteserviceDiscoveryRulesRequest.
|
|
61
61
|
:type app_rules_ids: list[str]
|
|
@@ -33,7 +33,7 @@ class Dimension2:
|
|
|
33
33
|
|
|
34
34
|
:param name: 维度名称。
|
|
35
35
|
:type name: str
|
|
36
|
-
:param value:
|
|
36
|
+
:param value: 维度取值。
|
|
37
37
|
:type value: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -72,7 +72,7 @@ class Dimension2:
|
|
|
72
72
|
def value(self):
|
|
73
73
|
"""Gets the value of this Dimension2.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
维度取值。
|
|
76
76
|
|
|
77
77
|
:return: The value of this Dimension2.
|
|
78
78
|
:rtype: str
|
|
@@ -83,7 +83,7 @@ class Dimension2:
|
|
|
83
83
|
def value(self, value):
|
|
84
84
|
"""Sets the value of this Dimension2.
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
维度取值。
|
|
87
87
|
|
|
88
88
|
:param value: The value of this Dimension2.
|
|
89
89
|
:type value: str
|
|
@@ -35,9 +35,9 @@ class DiscoveryRule:
|
|
|
35
35
|
|
|
36
36
|
:param check_content: 匹配值。
|
|
37
37
|
:type check_content: list[str]
|
|
38
|
-
:param check_mode: 匹配条件。
|
|
38
|
+
:param check_mode: 匹配条件。contain、equals
|
|
39
39
|
:type check_mode: str
|
|
40
|
-
:param check_type: 匹配类型。
|
|
40
|
+
:param check_type: 匹配类型。cmdLine、env、scope
|
|
41
41
|
:type check_type: str
|
|
42
42
|
"""
|
|
43
43
|
|
|
@@ -78,7 +78,7 @@ class DiscoveryRule:
|
|
|
78
78
|
def check_mode(self):
|
|
79
79
|
"""Gets the check_mode of this DiscoveryRule.
|
|
80
80
|
|
|
81
|
-
匹配条件。
|
|
81
|
+
匹配条件。contain、equals
|
|
82
82
|
|
|
83
83
|
:return: The check_mode of this DiscoveryRule.
|
|
84
84
|
:rtype: str
|
|
@@ -89,7 +89,7 @@ class DiscoveryRule:
|
|
|
89
89
|
def check_mode(self, check_mode):
|
|
90
90
|
"""Sets the check_mode of this DiscoveryRule.
|
|
91
91
|
|
|
92
|
-
匹配条件。
|
|
92
|
+
匹配条件。contain、equals
|
|
93
93
|
|
|
94
94
|
:param check_mode: The check_mode of this DiscoveryRule.
|
|
95
95
|
:type check_mode: str
|
|
@@ -100,7 +100,7 @@ class DiscoveryRule:
|
|
|
100
100
|
def check_type(self):
|
|
101
101
|
"""Gets the check_type of this DiscoveryRule.
|
|
102
102
|
|
|
103
|
-
匹配类型。
|
|
103
|
+
匹配类型。cmdLine、env、scope
|
|
104
104
|
|
|
105
105
|
:return: The check_type of this DiscoveryRule.
|
|
106
106
|
:rtype: str
|
|
@@ -111,7 +111,7 @@ class DiscoveryRule:
|
|
|
111
111
|
def check_type(self, check_type):
|
|
112
112
|
"""Sets the check_type of this DiscoveryRule.
|
|
113
113
|
|
|
114
|
-
匹配类型。
|
|
114
|
+
匹配类型。cmdLine、env、scope
|
|
115
115
|
|
|
116
116
|
:param check_type: The check_type of this DiscoveryRule.
|
|
117
117
|
:type check_type: str
|
|
@@ -29,7 +29,10 @@ class Event2alarmRuleBody:
|
|
|
29
29
|
'alarm_type': 'str',
|
|
30
30
|
'action_rule': 'str',
|
|
31
31
|
'inhibit_rule': 'str',
|
|
32
|
-
'route_group_rule': 'str'
|
|
32
|
+
'route_group_rule': 'str',
|
|
33
|
+
'event_names': 'list[str]',
|
|
34
|
+
'migrated': 'bool',
|
|
35
|
+
'topics': 'list[SmnTopics]'
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
attribute_map = {
|
|
@@ -45,19 +48,22 @@ class Event2alarmRuleBody:
|
|
|
45
48
|
'alarm_type': 'alarm_type',
|
|
46
49
|
'action_rule': 'action_rule',
|
|
47
50
|
'inhibit_rule': 'inhibit_rule',
|
|
48
|
-
'route_group_rule': 'route_group_rule'
|
|
51
|
+
'route_group_rule': 'route_group_rule',
|
|
52
|
+
'event_names': 'event_names',
|
|
53
|
+
'migrated': 'migrated',
|
|
54
|
+
'topics': 'topics'
|
|
49
55
|
}
|
|
50
56
|
|
|
51
|
-
def __init__(self, user_id=None, name=None, description=None, create_time=None, update_time=None, resource_provider=None, metadata=None, enable=None, trigger_policies=None, alarm_type=None, action_rule=None, inhibit_rule=None, route_group_rule=None):
|
|
57
|
+
def __init__(self, user_id=None, name=None, description=None, create_time=None, update_time=None, resource_provider=None, metadata=None, enable=None, trigger_policies=None, alarm_type=None, action_rule=None, inhibit_rule=None, route_group_rule=None, event_names=None, migrated=None, topics=None):
|
|
52
58
|
"""Event2alarmRuleBody
|
|
53
59
|
|
|
54
60
|
The model defined in huaweicloud sdk
|
|
55
61
|
|
|
56
62
|
:param user_id: 用户项目id
|
|
57
63
|
:type user_id: str
|
|
58
|
-
:param name:
|
|
64
|
+
:param name: 规则名称。规则名称包含大小写字母,数字,特殊字符(_-)和汉字组成,不能以特殊字符开头或结尾,最大长度为100。
|
|
59
65
|
:type name: str
|
|
60
|
-
:param description:
|
|
66
|
+
:param description: 规则描述。描述包含大小写字母,数字,特殊字符(_-<>=,.)和汉字组成,不能以下划线、中划线开头结尾,最大长度为1024。
|
|
61
67
|
:type description: str
|
|
62
68
|
:param create_time: 创建时间
|
|
63
69
|
:type create_time: int
|
|
@@ -71,14 +77,20 @@ class Event2alarmRuleBody:
|
|
|
71
77
|
:type enable: bool
|
|
72
78
|
:param trigger_policies: 触发策略
|
|
73
79
|
:type trigger_policies: list[:class:`huaweicloudsdkaom.v2.Event2alarmRuleBodyTriggerPolicies`]
|
|
74
|
-
:param alarm_type:
|
|
80
|
+
:param alarm_type: 告警类型。notification:直接告警。denoising:告警降噪。
|
|
75
81
|
:type alarm_type: str
|
|
76
82
|
:param action_rule: 告警行动规则
|
|
77
83
|
:type action_rule: str
|
|
78
84
|
:param inhibit_rule: 告警抑制规则
|
|
79
85
|
:type inhibit_rule: str
|
|
80
|
-
:param route_group_rule:
|
|
86
|
+
:param route_group_rule: 告警分组规则
|
|
81
87
|
:type route_group_rule: str
|
|
88
|
+
:param event_names: 事件名称
|
|
89
|
+
:type event_names: list[str]
|
|
90
|
+
:param migrated: 是否迁移到2.0
|
|
91
|
+
:type migrated: bool
|
|
92
|
+
:param topics: smn信息
|
|
93
|
+
:type topics: list[:class:`huaweicloudsdkaom.v2.SmnTopics`]
|
|
82
94
|
"""
|
|
83
95
|
|
|
84
96
|
|
|
@@ -96,6 +108,9 @@ class Event2alarmRuleBody:
|
|
|
96
108
|
self._action_rule = None
|
|
97
109
|
self._inhibit_rule = None
|
|
98
110
|
self._route_group_rule = None
|
|
111
|
+
self._event_names = None
|
|
112
|
+
self._migrated = None
|
|
113
|
+
self._topics = None
|
|
99
114
|
self.discriminator = None
|
|
100
115
|
|
|
101
116
|
self.user_id = user_id
|
|
@@ -116,6 +131,12 @@ class Event2alarmRuleBody:
|
|
|
116
131
|
self.inhibit_rule = inhibit_rule
|
|
117
132
|
if route_group_rule is not None:
|
|
118
133
|
self.route_group_rule = route_group_rule
|
|
134
|
+
if event_names is not None:
|
|
135
|
+
self.event_names = event_names
|
|
136
|
+
if migrated is not None:
|
|
137
|
+
self.migrated = migrated
|
|
138
|
+
if topics is not None:
|
|
139
|
+
self.topics = topics
|
|
119
140
|
|
|
120
141
|
@property
|
|
121
142
|
def user_id(self):
|
|
@@ -143,7 +164,7 @@ class Event2alarmRuleBody:
|
|
|
143
164
|
def name(self):
|
|
144
165
|
"""Gets the name of this Event2alarmRuleBody.
|
|
145
166
|
|
|
146
|
-
|
|
167
|
+
规则名称。规则名称包含大小写字母,数字,特殊字符(_-)和汉字组成,不能以特殊字符开头或结尾,最大长度为100。
|
|
147
168
|
|
|
148
169
|
:return: The name of this Event2alarmRuleBody.
|
|
149
170
|
:rtype: str
|
|
@@ -154,7 +175,7 @@ class Event2alarmRuleBody:
|
|
|
154
175
|
def name(self, name):
|
|
155
176
|
"""Sets the name of this Event2alarmRuleBody.
|
|
156
177
|
|
|
157
|
-
|
|
178
|
+
规则名称。规则名称包含大小写字母,数字,特殊字符(_-)和汉字组成,不能以特殊字符开头或结尾,最大长度为100。
|
|
158
179
|
|
|
159
180
|
:param name: The name of this Event2alarmRuleBody.
|
|
160
181
|
:type name: str
|
|
@@ -165,7 +186,7 @@ class Event2alarmRuleBody:
|
|
|
165
186
|
def description(self):
|
|
166
187
|
"""Gets the description of this Event2alarmRuleBody.
|
|
167
188
|
|
|
168
|
-
|
|
189
|
+
规则描述。描述包含大小写字母,数字,特殊字符(_-<>=,.)和汉字组成,不能以下划线、中划线开头结尾,最大长度为1024。
|
|
169
190
|
|
|
170
191
|
:return: The description of this Event2alarmRuleBody.
|
|
171
192
|
:rtype: str
|
|
@@ -176,7 +197,7 @@ class Event2alarmRuleBody:
|
|
|
176
197
|
def description(self, description):
|
|
177
198
|
"""Sets the description of this Event2alarmRuleBody.
|
|
178
199
|
|
|
179
|
-
|
|
200
|
+
规则描述。描述包含大小写字母,数字,特殊字符(_-<>=,.)和汉字组成,不能以下划线、中划线开头结尾,最大长度为1024。
|
|
180
201
|
|
|
181
202
|
:param description: The description of this Event2alarmRuleBody.
|
|
182
203
|
:type description: str
|
|
@@ -315,7 +336,7 @@ class Event2alarmRuleBody:
|
|
|
315
336
|
def alarm_type(self):
|
|
316
337
|
"""Gets the alarm_type of this Event2alarmRuleBody.
|
|
317
338
|
|
|
318
|
-
|
|
339
|
+
告警类型。notification:直接告警。denoising:告警降噪。
|
|
319
340
|
|
|
320
341
|
:return: The alarm_type of this Event2alarmRuleBody.
|
|
321
342
|
:rtype: str
|
|
@@ -326,7 +347,7 @@ class Event2alarmRuleBody:
|
|
|
326
347
|
def alarm_type(self, alarm_type):
|
|
327
348
|
"""Sets the alarm_type of this Event2alarmRuleBody.
|
|
328
349
|
|
|
329
|
-
|
|
350
|
+
告警类型。notification:直接告警。denoising:告警降噪。
|
|
330
351
|
|
|
331
352
|
:param alarm_type: The alarm_type of this Event2alarmRuleBody.
|
|
332
353
|
:type alarm_type: str
|
|
@@ -381,7 +402,7 @@ class Event2alarmRuleBody:
|
|
|
381
402
|
def route_group_rule(self):
|
|
382
403
|
"""Gets the route_group_rule of this Event2alarmRuleBody.
|
|
383
404
|
|
|
384
|
-
|
|
405
|
+
告警分组规则
|
|
385
406
|
|
|
386
407
|
:return: The route_group_rule of this Event2alarmRuleBody.
|
|
387
408
|
:rtype: str
|
|
@@ -392,13 +413,79 @@ class Event2alarmRuleBody:
|
|
|
392
413
|
def route_group_rule(self, route_group_rule):
|
|
393
414
|
"""Sets the route_group_rule of this Event2alarmRuleBody.
|
|
394
415
|
|
|
395
|
-
|
|
416
|
+
告警分组规则
|
|
396
417
|
|
|
397
418
|
:param route_group_rule: The route_group_rule of this Event2alarmRuleBody.
|
|
398
419
|
:type route_group_rule: str
|
|
399
420
|
"""
|
|
400
421
|
self._route_group_rule = route_group_rule
|
|
401
422
|
|
|
423
|
+
@property
|
|
424
|
+
def event_names(self):
|
|
425
|
+
"""Gets the event_names of this Event2alarmRuleBody.
|
|
426
|
+
|
|
427
|
+
事件名称
|
|
428
|
+
|
|
429
|
+
:return: The event_names of this Event2alarmRuleBody.
|
|
430
|
+
:rtype: list[str]
|
|
431
|
+
"""
|
|
432
|
+
return self._event_names
|
|
433
|
+
|
|
434
|
+
@event_names.setter
|
|
435
|
+
def event_names(self, event_names):
|
|
436
|
+
"""Sets the event_names of this Event2alarmRuleBody.
|
|
437
|
+
|
|
438
|
+
事件名称
|
|
439
|
+
|
|
440
|
+
:param event_names: The event_names of this Event2alarmRuleBody.
|
|
441
|
+
:type event_names: list[str]
|
|
442
|
+
"""
|
|
443
|
+
self._event_names = event_names
|
|
444
|
+
|
|
445
|
+
@property
|
|
446
|
+
def migrated(self):
|
|
447
|
+
"""Gets the migrated of this Event2alarmRuleBody.
|
|
448
|
+
|
|
449
|
+
是否迁移到2.0
|
|
450
|
+
|
|
451
|
+
:return: The migrated of this Event2alarmRuleBody.
|
|
452
|
+
:rtype: bool
|
|
453
|
+
"""
|
|
454
|
+
return self._migrated
|
|
455
|
+
|
|
456
|
+
@migrated.setter
|
|
457
|
+
def migrated(self, migrated):
|
|
458
|
+
"""Sets the migrated of this Event2alarmRuleBody.
|
|
459
|
+
|
|
460
|
+
是否迁移到2.0
|
|
461
|
+
|
|
462
|
+
:param migrated: The migrated of this Event2alarmRuleBody.
|
|
463
|
+
:type migrated: bool
|
|
464
|
+
"""
|
|
465
|
+
self._migrated = migrated
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
def topics(self):
|
|
469
|
+
"""Gets the topics of this Event2alarmRuleBody.
|
|
470
|
+
|
|
471
|
+
smn信息
|
|
472
|
+
|
|
473
|
+
:return: The topics of this Event2alarmRuleBody.
|
|
474
|
+
:rtype: list[:class:`huaweicloudsdkaom.v2.SmnTopics`]
|
|
475
|
+
"""
|
|
476
|
+
return self._topics
|
|
477
|
+
|
|
478
|
+
@topics.setter
|
|
479
|
+
def topics(self, topics):
|
|
480
|
+
"""Sets the topics of this Event2alarmRuleBody.
|
|
481
|
+
|
|
482
|
+
smn信息
|
|
483
|
+
|
|
484
|
+
:param topics: The topics of this Event2alarmRuleBody.
|
|
485
|
+
:type topics: list[:class:`huaweicloudsdkaom.v2.SmnTopics`]
|
|
486
|
+
"""
|
|
487
|
+
self._topics = topics
|
|
488
|
+
|
|
402
489
|
def to_dict(self):
|
|
403
490
|
"""Returns the model properties as a dict"""
|
|
404
491
|
result = {}
|
|
@@ -45,7 +45,7 @@ class Event2alarmRuleBodyTriggerPolicies:
|
|
|
45
45
|
:type id: int
|
|
46
46
|
:param name: 事件名称
|
|
47
47
|
:type name: str
|
|
48
|
-
:param trigger_type:
|
|
48
|
+
:param trigger_type: 触发类型。accumulative: 累计触发,immediately: 立即触发
|
|
49
49
|
:type trigger_type: str
|
|
50
50
|
:param period: 触发周期
|
|
51
51
|
:type period: int
|
|
@@ -131,7 +131,7 @@ class Event2alarmRuleBodyTriggerPolicies:
|
|
|
131
131
|
def trigger_type(self):
|
|
132
132
|
"""Gets the trigger_type of this Event2alarmRuleBodyTriggerPolicies.
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
触发类型。accumulative: 累计触发,immediately: 立即触发
|
|
135
135
|
|
|
136
136
|
:return: The trigger_type of this Event2alarmRuleBodyTriggerPolicies.
|
|
137
137
|
:rtype: str
|
|
@@ -142,7 +142,7 @@ class Event2alarmRuleBodyTriggerPolicies:
|
|
|
142
142
|
def trigger_type(self, trigger_type):
|
|
143
143
|
"""Sets the trigger_type of this Event2alarmRuleBodyTriggerPolicies.
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
触发类型。accumulative: 累计触发,immediately: 立即触发
|
|
146
146
|
|
|
147
147
|
:param trigger_type: The trigger_type of this Event2alarmRuleBodyTriggerPolicies.
|
|
148
148
|
:type trigger_type: str
|
|
@@ -20,9 +20,9 @@ class EventModel:
|
|
|
20
20
|
'starts_at': 'int',
|
|
21
21
|
'ends_at': 'int',
|
|
22
22
|
'timeout': 'int',
|
|
23
|
-
'metadata': '
|
|
24
|
-
'annotations': '
|
|
25
|
-
'attach_rule': '
|
|
23
|
+
'metadata': 'dict(str, str)',
|
|
24
|
+
'annotations': 'dict(str, str)',
|
|
25
|
+
'attach_rule': 'dict(str, str)',
|
|
26
26
|
'id': 'str'
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -47,12 +47,12 @@ class EventModel:
|
|
|
47
47
|
:type ends_at: int
|
|
48
48
|
:param timeout: 告警自动清除时间。毫秒数,例如一分钟则填写为60000。默认清除时间为3天,对应数字为 4320 * 1000(即:3天 * 24小时 * 60分钟 * 1000毫秒)。
|
|
49
49
|
:type timeout: int
|
|
50
|
-
:param metadata: 事件或者告警的详细信息,为键值对形式。必须字段为:
|
|
51
|
-
:type metadata:
|
|
50
|
+
:param metadata: 事件或者告警的详细信息,为键值对形式。必须字段为: - event_name:事件或者告警名称,类型为String; - event_severity:事件级别枚举值。类型为String,四种类型 \"Critical\", \"Major\", \"Minor\", \"Info\"; - event_type:事件类别枚举值。类型为String,event为普通告警,alarm为告警事件; - resource_provider:事件对应云服务名称。类型为String; - resource_type:事件对应资源类型。类型为String; - resource_id:事件对应资源信息。类型为String。
|
|
51
|
+
:type metadata: dict(str, str)
|
|
52
52
|
:param annotations: 事件或者告警附加字段,可以为空。
|
|
53
|
-
:type annotations:
|
|
53
|
+
:type annotations: dict(str, str)
|
|
54
54
|
:param attach_rule: 事件或者告警预留字段,为空。
|
|
55
|
-
:type attach_rule:
|
|
55
|
+
:type attach_rule: dict(str, str)
|
|
56
56
|
:param id: 事件或者告警id,系统会自动生成,上报无须填写该字段。
|
|
57
57
|
:type id: str
|
|
58
58
|
"""
|
|
@@ -153,10 +153,10 @@ class EventModel:
|
|
|
153
153
|
def metadata(self):
|
|
154
154
|
"""Gets the metadata of this EventModel.
|
|
155
155
|
|
|
156
|
-
事件或者告警的详细信息,为键值对形式。必须字段为:
|
|
156
|
+
事件或者告警的详细信息,为键值对形式。必须字段为: - event_name:事件或者告警名称,类型为String; - event_severity:事件级别枚举值。类型为String,四种类型 \"Critical\", \"Major\", \"Minor\", \"Info\"; - event_type:事件类别枚举值。类型为String,event为普通告警,alarm为告警事件; - resource_provider:事件对应云服务名称。类型为String; - resource_type:事件对应资源类型。类型为String; - resource_id:事件对应资源信息。类型为String。
|
|
157
157
|
|
|
158
158
|
:return: The metadata of this EventModel.
|
|
159
|
-
:rtype:
|
|
159
|
+
:rtype: dict(str, str)
|
|
160
160
|
"""
|
|
161
161
|
return self._metadata
|
|
162
162
|
|
|
@@ -164,10 +164,10 @@ class EventModel:
|
|
|
164
164
|
def metadata(self, metadata):
|
|
165
165
|
"""Sets the metadata of this EventModel.
|
|
166
166
|
|
|
167
|
-
事件或者告警的详细信息,为键值对形式。必须字段为:
|
|
167
|
+
事件或者告警的详细信息,为键值对形式。必须字段为: - event_name:事件或者告警名称,类型为String; - event_severity:事件级别枚举值。类型为String,四种类型 \"Critical\", \"Major\", \"Minor\", \"Info\"; - event_type:事件类别枚举值。类型为String,event为普通告警,alarm为告警事件; - resource_provider:事件对应云服务名称。类型为String; - resource_type:事件对应资源类型。类型为String; - resource_id:事件对应资源信息。类型为String。
|
|
168
168
|
|
|
169
169
|
:param metadata: The metadata of this EventModel.
|
|
170
|
-
:type metadata:
|
|
170
|
+
:type metadata: dict(str, str)
|
|
171
171
|
"""
|
|
172
172
|
self._metadata = metadata
|
|
173
173
|
|
|
@@ -178,7 +178,7 @@ class EventModel:
|
|
|
178
178
|
事件或者告警附加字段,可以为空。
|
|
179
179
|
|
|
180
180
|
:return: The annotations of this EventModel.
|
|
181
|
-
:rtype:
|
|
181
|
+
:rtype: dict(str, str)
|
|
182
182
|
"""
|
|
183
183
|
return self._annotations
|
|
184
184
|
|
|
@@ -189,7 +189,7 @@ class EventModel:
|
|
|
189
189
|
事件或者告警附加字段,可以为空。
|
|
190
190
|
|
|
191
191
|
:param annotations: The annotations of this EventModel.
|
|
192
|
-
:type annotations:
|
|
192
|
+
:type annotations: dict(str, str)
|
|
193
193
|
"""
|
|
194
194
|
self._annotations = annotations
|
|
195
195
|
|
|
@@ -200,7 +200,7 @@ class EventModel:
|
|
|
200
200
|
事件或者告警预留字段,为空。
|
|
201
201
|
|
|
202
202
|
:return: The attach_rule of this EventModel.
|
|
203
|
-
:rtype:
|
|
203
|
+
:rtype: dict(str, str)
|
|
204
204
|
"""
|
|
205
205
|
return self._attach_rule
|
|
206
206
|
|
|
@@ -211,7 +211,7 @@ class EventModel:
|
|
|
211
211
|
事件或者告警预留字段,为空。
|
|
212
212
|
|
|
213
213
|
:param attach_rule: The attach_rule of this EventModel.
|
|
214
|
-
:type attach_rule:
|
|
214
|
+
:type attach_rule: dict(str, str)
|
|
215
215
|
"""
|
|
216
216
|
self._attach_rule = attach_rule
|
|
217
217
|
|
|
@@ -37,7 +37,7 @@ class EventQueryParam:
|
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
40
|
-
:param time_range: timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
40
|
+
:param time_range: timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
41
41
|
:type time_range: str
|
|
42
42
|
:param step: 统计步长。毫秒数,例如一分钟则填写为60000。
|
|
43
43
|
:type step: int
|
|
@@ -71,7 +71,7 @@ class EventQueryParam:
|
|
|
71
71
|
def time_range(self):
|
|
72
72
|
"""Gets the time_range of this EventQueryParam.
|
|
73
73
|
|
|
74
|
-
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
74
|
+
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
75
75
|
|
|
76
76
|
:return: The time_range of this EventQueryParam.
|
|
77
77
|
:rtype: str
|
|
@@ -82,7 +82,7 @@ class EventQueryParam:
|
|
|
82
82
|
def time_range(self, time_range):
|
|
83
83
|
"""Sets the time_range of this EventQueryParam.
|
|
84
84
|
|
|
85
|
-
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
85
|
+
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
86
86
|
|
|
87
87
|
:param time_range: The time_range of this EventQueryParam.
|
|
88
88
|
:type time_range: str
|
|
@@ -37,7 +37,7 @@ class EventQueryParam2:
|
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
40
|
-
:param time_range: timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
40
|
+
:param time_range: timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
41
41
|
:type time_range: str
|
|
42
42
|
:param step: 统计步长。毫秒数,例如一分钟则填写为60000。
|
|
43
43
|
:type step: int
|
|
@@ -72,7 +72,7 @@ class EventQueryParam2:
|
|
|
72
72
|
def time_range(self):
|
|
73
73
|
"""Gets the time_range of this EventQueryParam2.
|
|
74
74
|
|
|
75
|
-
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
75
|
+
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
76
76
|
|
|
77
77
|
:return: The time_range of this EventQueryParam2.
|
|
78
78
|
:rtype: str
|
|
@@ -83,7 +83,7 @@ class EventQueryParam2:
|
|
|
83
83
|
def time_range(self, time_range):
|
|
84
84
|
"""Sets the time_range of this EventQueryParam2.
|
|
85
85
|
|
|
86
|
-
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
|
|
86
|
+
timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 如: - -1.-1.60(表示最近60分钟),不管当前客户端是什么时间,都以服务端时间为准查询最近60分钟。 - 1650852000000.1650852300000.5(表示GMT+8 2022-04-25 10:00:00至2022-04-25 10:05:00指定的5分钟) 格式: startTimeInMillis.endTimeInMillis.durationInMinutes 参数解释: - startTimeInMillis: 查询的开始时间,格式为UTC毫秒,如果指定为-1,服务端将按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如-1.1650852300000.5,则相当于1650852000000.1650852300000.5 - endTimeInMillis: 查询的结束时间,格式为UTC毫秒,如果指定为-1,服务端将按(startTimeInMillis + durationInMinutes * 60 * 1000)计算结束时间,如果计算出的结束时间大于当前系统时间,则使用当前系统时间。如1650852000000.-1.5,则相当于1650852000000.1650852300000.5 - durationInMinutes:查询时间的跨度分钟数。 取值范围大于0并且大于等于(endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1。当开始时间与结束时间都设置为-1时,系统会将结束时间设置为当前时间UTC毫秒值,并按(endTimeInMillis - durationInMinutes * 60 * 1000)计算开始时间。如:-1.-1.60(表示最近60分钟) 约束: 单次请求中,查询时长与周期需要满足以下条件: durationInMinutes * 60 / period <= 1440
|
|
87
87
|
|
|
88
88
|
:param time_range: The time_range of this EventQueryParam2.
|
|
89
89
|
:type time_range: str
|
|
@@ -33,7 +33,7 @@ class EventQueryParam2Sort:
|
|
|
33
33
|
|
|
34
34
|
:param order_by: 排序字段列表。会根据列表中定义顺序对返回列表最排序。
|
|
35
35
|
:type order_by: list[str]
|
|
36
|
-
:param order: 排序方式枚举值。asc代表正序,desc
|
|
36
|
+
:param order: 排序方式枚举值。asc代表正序,desc代表倒序。
|
|
37
37
|
:type order: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -74,7 +74,7 @@ class EventQueryParam2Sort:
|
|
|
74
74
|
def order(self):
|
|
75
75
|
"""Gets the order of this EventQueryParam2Sort.
|
|
76
76
|
|
|
77
|
-
排序方式枚举值。asc代表正序,desc
|
|
77
|
+
排序方式枚举值。asc代表正序,desc代表倒序。
|
|
78
78
|
|
|
79
79
|
:return: The order of this EventQueryParam2Sort.
|
|
80
80
|
:rtype: str
|
|
@@ -85,7 +85,7 @@ class EventQueryParam2Sort:
|
|
|
85
85
|
def order(self, order):
|
|
86
86
|
"""Sets the order of this EventQueryParam2Sort.
|
|
87
87
|
|
|
88
|
-
排序方式枚举值。asc代表正序,desc
|
|
88
|
+
排序方式枚举值。asc代表正序,desc代表倒序。
|
|
89
89
|
|
|
90
90
|
:param order: The order of this EventQueryParam2Sort.
|
|
91
91
|
:type order: str
|
|
@@ -33,7 +33,7 @@ class EventQueryParamSort:
|
|
|
33
33
|
|
|
34
34
|
:param order_by: 排序字段列表。会根据列表中定义顺序对返回列表进行排序。
|
|
35
35
|
:type order_by: list[str]
|
|
36
|
-
:param order: 排序方式枚举值。asc代表正序,desc
|
|
36
|
+
:param order: 排序方式枚举值。asc代表正序,desc代表倒序。
|
|
37
37
|
:type order: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -74,7 +74,7 @@ class EventQueryParamSort:
|
|
|
74
74
|
def order(self):
|
|
75
75
|
"""Gets the order of this EventQueryParamSort.
|
|
76
76
|
|
|
77
|
-
排序方式枚举值。asc代表正序,desc
|
|
77
|
+
排序方式枚举值。asc代表正序,desc代表倒序。
|
|
78
78
|
|
|
79
79
|
:return: The order of this EventQueryParamSort.
|
|
80
80
|
:rtype: str
|
|
@@ -85,7 +85,7 @@ class EventQueryParamSort:
|
|
|
85
85
|
def order(self, order):
|
|
86
86
|
"""Sets the order of this EventQueryParamSort.
|
|
87
87
|
|
|
88
|
-
排序方式枚举值。asc代表正序,desc
|
|
88
|
+
排序方式枚举值。asc代表正序,desc代表倒序。
|
|
89
89
|
|
|
90
90
|
:param order: The order of this EventQueryParamSort.
|
|
91
91
|
:type order: str
|
|
@@ -33,7 +33,7 @@ class ListAlarmRuleRequest:
|
|
|
33
33
|
|
|
34
34
|
:param offset: 分页信息。
|
|
35
35
|
:type offset: str
|
|
36
|
-
:param limit: 用于限制结果数据条数。 取值范围(0,1000]
|
|
36
|
+
:param limit: 用于限制结果数据条数。 取值范围(0,1000],默认值为1000。
|
|
37
37
|
:type limit: int
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -74,7 +74,7 @@ class ListAlarmRuleRequest:
|
|
|
74
74
|
def limit(self):
|
|
75
75
|
"""Gets the limit of this ListAlarmRuleRequest.
|
|
76
76
|
|
|
77
|
-
用于限制结果数据条数。 取值范围(0,1000]
|
|
77
|
+
用于限制结果数据条数。 取值范围(0,1000],默认值为1000。
|
|
78
78
|
|
|
79
79
|
:return: The limit of this ListAlarmRuleRequest.
|
|
80
80
|
:rtype: int
|
|
@@ -85,7 +85,7 @@ class ListAlarmRuleRequest:
|
|
|
85
85
|
def limit(self, limit):
|
|
86
86
|
"""Sets the limit of this ListAlarmRuleRequest.
|
|
87
87
|
|
|
88
|
-
用于限制结果数据条数。 取值范围(0,1000]
|
|
88
|
+
用于限制结果数据条数。 取值范围(0,1000],默认值为1000。
|
|
89
89
|
|
|
90
90
|
:param limit: The limit of this ListAlarmRuleRequest.
|
|
91
91
|
:type limit: int
|
|
@@ -18,7 +18,7 @@ class ListMetricItemsResponse(SdkResponse):
|
|
|
18
18
|
sensitive_list = []
|
|
19
19
|
|
|
20
20
|
openapi_types = {
|
|
21
|
-
'meta_data': '
|
|
21
|
+
'meta_data': 'MetaDataSeries',
|
|
22
22
|
'metrics': 'list[MetricItemResultAPI]'
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -33,7 +33,7 @@ class ListMetricItemsResponse(SdkResponse):
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
35
|
:param meta_data:
|
|
36
|
-
:type meta_data: :class:`huaweicloudsdkaom.v2.
|
|
36
|
+
:type meta_data: :class:`huaweicloudsdkaom.v2.MetaDataSeries`
|
|
37
37
|
:param metrics: 指标对象列表。
|
|
38
38
|
:type metrics: list[:class:`huaweicloudsdkaom.v2.MetricItemResultAPI`]
|
|
39
39
|
"""
|
|
@@ -54,7 +54,7 @@ class ListMetricItemsResponse(SdkResponse):
|
|
|
54
54
|
"""Gets the meta_data of this ListMetricItemsResponse.
|
|
55
55
|
|
|
56
56
|
:return: The meta_data of this ListMetricItemsResponse.
|
|
57
|
-
:rtype: :class:`huaweicloudsdkaom.v2.
|
|
57
|
+
:rtype: :class:`huaweicloudsdkaom.v2.MetaDataSeries`
|
|
58
58
|
"""
|
|
59
59
|
return self._meta_data
|
|
60
60
|
|
|
@@ -63,7 +63,7 @@ class ListMetricItemsResponse(SdkResponse):
|
|
|
63
63
|
"""Sets the meta_data of this ListMetricItemsResponse.
|
|
64
64
|
|
|
65
65
|
:param meta_data: The meta_data of this ListMetricItemsResponse.
|
|
66
|
-
:type meta_data: :class:`huaweicloudsdkaom.v2.
|
|
66
|
+
:type meta_data: :class:`huaweicloudsdkaom.v2.MetaDataSeries`
|
|
67
67
|
"""
|
|
68
68
|
self._meta_data = meta_data
|
|
69
69
|
|