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
huaweicloudsdkaom/v2/__init__.py
CHANGED
|
@@ -123,6 +123,7 @@ from huaweicloudsdkaom.v2.model.mute_config import MuteConfig
|
|
|
123
123
|
from huaweicloudsdkaom.v2.model.mute_rule import MuteRule
|
|
124
124
|
from huaweicloudsdkaom.v2.model.name_rule import NameRule
|
|
125
125
|
from huaweicloudsdkaom.v2.model.notifications import Notifications
|
|
126
|
+
from huaweicloudsdkaom.v2.model.notified_histories_result import NotifiedHistoriesResult
|
|
126
127
|
from huaweicloudsdkaom.v2.model.prom_config_model import PromConfigModel
|
|
127
128
|
from huaweicloudsdkaom.v2.model.prom_instance_eps_model import PromInstanceEpsModel
|
|
128
129
|
from huaweicloudsdkaom.v2.model.push_events_request import PushEventsRequest
|
|
@@ -35,7 +35,7 @@ class AomAsyncClient(Client):
|
|
|
35
35
|
def add_action_rule_async(self, request):
|
|
36
36
|
"""新增告警行动规则
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
新增告警行动规则。
|
|
39
39
|
|
|
40
40
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
41
41
|
|
|
@@ -100,7 +100,7 @@ class AomAsyncClient(Client):
|
|
|
100
100
|
def add_alarm_rule_async(self, request):
|
|
101
101
|
"""添加阈值规则
|
|
102
102
|
|
|
103
|
-
该接口用于添加一条阈值规则。
|
|
103
|
+
该接口用于添加一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
104
104
|
|
|
105
105
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
106
106
|
|
|
@@ -165,7 +165,7 @@ class AomAsyncClient(Client):
|
|
|
165
165
|
def add_event2alarm_rule_async(self, request):
|
|
166
166
|
"""新增一条事件类告警规则
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
新增一条事件类告警规则。
|
|
169
169
|
|
|
170
170
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
171
171
|
|
|
@@ -230,7 +230,7 @@ class AomAsyncClient(Client):
|
|
|
230
230
|
def add_metric_data_async(self, request):
|
|
231
231
|
"""添加监控数据
|
|
232
232
|
|
|
233
|
-
该接口用于向服务端添加一条或多条监控数据。
|
|
233
|
+
该接口用于向服务端添加一条或多条监控数据。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
234
234
|
|
|
235
235
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
236
236
|
|
|
@@ -295,7 +295,7 @@ class AomAsyncClient(Client):
|
|
|
295
295
|
def add_mute_rules_async(self, request):
|
|
296
296
|
"""新增静默规则
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+
新增静默规则。
|
|
299
299
|
|
|
300
300
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
301
301
|
|
|
@@ -360,7 +360,7 @@ class AomAsyncClient(Client):
|
|
|
360
360
|
def add_or_update_service_discovery_rules_async(self, request):
|
|
361
361
|
"""添加或修改服务发现规则
|
|
362
362
|
|
|
363
|
-
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。
|
|
363
|
+
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
364
364
|
|
|
365
365
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
366
366
|
|
|
@@ -492,7 +492,7 @@ class AomAsyncClient(Client):
|
|
|
492
492
|
def delete_action_rule_async(self, request):
|
|
493
493
|
"""删除告警行动规则
|
|
494
494
|
|
|
495
|
-
|
|
495
|
+
删除告警行动规则。
|
|
496
496
|
|
|
497
497
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
498
498
|
|
|
@@ -557,7 +557,7 @@ class AomAsyncClient(Client):
|
|
|
557
557
|
def delete_alarm_rule_async(self, request):
|
|
558
558
|
"""删除阈值规则
|
|
559
559
|
|
|
560
|
-
该接口用于删除阈值规则。
|
|
560
|
+
该接口用于删除阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
561
561
|
|
|
562
562
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
563
563
|
|
|
@@ -622,7 +622,7 @@ class AomAsyncClient(Client):
|
|
|
622
622
|
def delete_alarm_rules_async(self, request):
|
|
623
623
|
"""批量删除阈值规则
|
|
624
624
|
|
|
625
|
-
批量删除阈值规则
|
|
625
|
+
批量删除阈值规则[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
626
626
|
|
|
627
627
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
628
628
|
|
|
@@ -687,7 +687,7 @@ class AomAsyncClient(Client):
|
|
|
687
687
|
def delete_event2alarm_rule_async(self, request):
|
|
688
688
|
"""删除事件类告警规则
|
|
689
689
|
|
|
690
|
-
|
|
690
|
+
删除一条事件类告警规则。
|
|
691
691
|
|
|
692
692
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
693
693
|
|
|
@@ -752,7 +752,7 @@ class AomAsyncClient(Client):
|
|
|
752
752
|
def delete_mute_rules_async(self, request):
|
|
753
753
|
"""删除静默规则
|
|
754
754
|
|
|
755
|
-
|
|
755
|
+
删除静默规则。
|
|
756
756
|
|
|
757
757
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
758
758
|
|
|
@@ -817,7 +817,7 @@ class AomAsyncClient(Client):
|
|
|
817
817
|
def deleteservice_discovery_rules_async(self, request):
|
|
818
818
|
"""删除服务发现规则
|
|
819
819
|
|
|
820
|
-
该接口用于删除服务发现规则。
|
|
820
|
+
该接口用于删除服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
821
821
|
|
|
822
822
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
823
823
|
|
|
@@ -883,7 +883,7 @@ class AomAsyncClient(Client):
|
|
|
883
883
|
def list_action_rule_async(self, request):
|
|
884
884
|
"""获取告警行动规则列表
|
|
885
885
|
|
|
886
|
-
|
|
886
|
+
获取告警行动规则列表。
|
|
887
887
|
|
|
888
888
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
889
889
|
|
|
@@ -1013,7 +1013,7 @@ class AomAsyncClient(Client):
|
|
|
1013
1013
|
def list_alarm_rule_async(self, request):
|
|
1014
1014
|
"""查询阈值规则列表
|
|
1015
1015
|
|
|
1016
|
-
该接口用于查询阈值规则列表。
|
|
1016
|
+
该接口用于查询阈值规则列表。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1017
1017
|
|
|
1018
1018
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1019
1019
|
|
|
@@ -1080,7 +1080,7 @@ class AomAsyncClient(Client):
|
|
|
1080
1080
|
def list_event2alarm_rule_async(self, request):
|
|
1081
1081
|
"""查询事件类告警规则列表
|
|
1082
1082
|
|
|
1083
|
-
|
|
1083
|
+
查询事件类告警规则列表。
|
|
1084
1084
|
|
|
1085
1085
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1086
1086
|
|
|
@@ -1277,7 +1277,7 @@ class AomAsyncClient(Client):
|
|
|
1277
1277
|
def list_metric_items_async(self, request):
|
|
1278
1278
|
"""查询指标
|
|
1279
1279
|
|
|
1280
|
-
该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
|
|
1280
|
+
该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1281
1281
|
|
|
1282
1282
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1283
1283
|
|
|
@@ -1348,7 +1348,7 @@ class AomAsyncClient(Client):
|
|
|
1348
1348
|
def list_mute_rule_async(self, request):
|
|
1349
1349
|
"""获取静默规则列表
|
|
1350
1350
|
|
|
1351
|
-
|
|
1351
|
+
获取静默规则列表。
|
|
1352
1352
|
|
|
1353
1353
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1354
1354
|
|
|
@@ -1411,7 +1411,7 @@ class AomAsyncClient(Client):
|
|
|
1411
1411
|
def list_notified_histories_async(self, request):
|
|
1412
1412
|
"""获取告警发送结果
|
|
1413
1413
|
|
|
1414
|
-
|
|
1414
|
+
获取告警发送结果。
|
|
1415
1415
|
|
|
1416
1416
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1417
1417
|
|
|
@@ -1539,7 +1539,7 @@ class AomAsyncClient(Client):
|
|
|
1539
1539
|
def list_sample_async(self, request):
|
|
1540
1540
|
"""查询时序数据
|
|
1541
1541
|
|
|
1542
|
-
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。
|
|
1542
|
+
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1543
1543
|
|
|
1544
1544
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1545
1545
|
|
|
@@ -1606,7 +1606,7 @@ class AomAsyncClient(Client):
|
|
|
1606
1606
|
def list_series_async(self, request):
|
|
1607
1607
|
"""查询时间序列
|
|
1608
1608
|
|
|
1609
|
-
该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
|
|
1609
|
+
该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1610
1610
|
|
|
1611
1611
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1612
1612
|
|
|
@@ -1675,7 +1675,7 @@ class AomAsyncClient(Client):
|
|
|
1675
1675
|
def list_service_discovery_rules_async(self, request):
|
|
1676
1676
|
"""查询系统中已有服务发现规则
|
|
1677
1677
|
|
|
1678
|
-
该接口用于查询系统当前已存在的服务发现规则。
|
|
1678
|
+
该接口用于查询系统当前已存在的服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1679
1679
|
|
|
1680
1680
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1681
1681
|
|
|
@@ -1809,7 +1809,7 @@ class AomAsyncClient(Client):
|
|
|
1809
1809
|
def show_action_rule_async(self, request):
|
|
1810
1810
|
"""通过规则名称获取告警行动规则
|
|
1811
1811
|
|
|
1812
|
-
|
|
1812
|
+
通过规则名称获取告警行动规则。
|
|
1813
1813
|
|
|
1814
1814
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1815
1815
|
|
|
@@ -1874,7 +1874,7 @@ class AomAsyncClient(Client):
|
|
|
1874
1874
|
def show_alarm_rule_async(self, request):
|
|
1875
1875
|
"""查询单条阈值规则
|
|
1876
1876
|
|
|
1877
|
-
该接口用于查询单条阈值规则。
|
|
1877
|
+
该接口用于查询单条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1878
1878
|
|
|
1879
1879
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1880
1880
|
|
|
@@ -1939,7 +1939,7 @@ class AomAsyncClient(Client):
|
|
|
1939
1939
|
def show_metrics_data_async(self, request):
|
|
1940
1940
|
"""查询监控数据
|
|
1941
1941
|
|
|
1942
|
-
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。
|
|
1942
|
+
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1943
1943
|
|
|
1944
1944
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1945
1945
|
|
|
@@ -2006,7 +2006,7 @@ class AomAsyncClient(Client):
|
|
|
2006
2006
|
def update_action_rule_async(self, request):
|
|
2007
2007
|
"""修改告警行动规则
|
|
2008
2008
|
|
|
2009
|
-
|
|
2009
|
+
修改告警行动规则。
|
|
2010
2010
|
|
|
2011
2011
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2012
2012
|
|
|
@@ -2071,7 +2071,7 @@ class AomAsyncClient(Client):
|
|
|
2071
2071
|
def update_alarm_rule_async(self, request):
|
|
2072
2072
|
"""修改阈值规则
|
|
2073
2073
|
|
|
2074
|
-
该接口用于修改一条阈值规则。
|
|
2074
|
+
该接口用于修改一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
2075
2075
|
|
|
2076
2076
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2077
2077
|
|
|
@@ -2136,7 +2136,7 @@ class AomAsyncClient(Client):
|
|
|
2136
2136
|
def update_event_rule_async(self, request):
|
|
2137
2137
|
"""更新事件类告警规则
|
|
2138
2138
|
|
|
2139
|
-
|
|
2139
|
+
更新事件类告警规则。
|
|
2140
2140
|
|
|
2141
2141
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2142
2142
|
|
|
@@ -2201,7 +2201,7 @@ class AomAsyncClient(Client):
|
|
|
2201
2201
|
def update_mute_rule_async(self, request):
|
|
2202
2202
|
"""修改静默规则
|
|
2203
2203
|
|
|
2204
|
-
|
|
2204
|
+
修改静默规则。
|
|
2205
2205
|
|
|
2206
2206
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2207
2207
|
|
|
@@ -35,7 +35,7 @@ class AomClient(Client):
|
|
|
35
35
|
def add_action_rule(self, request):
|
|
36
36
|
"""新增告警行动规则
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
新增告警行动规则。
|
|
39
39
|
|
|
40
40
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
41
41
|
|
|
@@ -100,7 +100,7 @@ class AomClient(Client):
|
|
|
100
100
|
def add_alarm_rule(self, request):
|
|
101
101
|
"""添加阈值规则
|
|
102
102
|
|
|
103
|
-
该接口用于添加一条阈值规则。
|
|
103
|
+
该接口用于添加一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
104
104
|
|
|
105
105
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
106
106
|
|
|
@@ -165,7 +165,7 @@ class AomClient(Client):
|
|
|
165
165
|
def add_event2alarm_rule(self, request):
|
|
166
166
|
"""新增一条事件类告警规则
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
新增一条事件类告警规则。
|
|
169
169
|
|
|
170
170
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
171
171
|
|
|
@@ -230,7 +230,7 @@ class AomClient(Client):
|
|
|
230
230
|
def add_metric_data(self, request):
|
|
231
231
|
"""添加监控数据
|
|
232
232
|
|
|
233
|
-
该接口用于向服务端添加一条或多条监控数据。
|
|
233
|
+
该接口用于向服务端添加一条或多条监控数据。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
234
234
|
|
|
235
235
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
236
236
|
|
|
@@ -295,7 +295,7 @@ class AomClient(Client):
|
|
|
295
295
|
def add_mute_rules(self, request):
|
|
296
296
|
"""新增静默规则
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+
新增静默规则。
|
|
299
299
|
|
|
300
300
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
301
301
|
|
|
@@ -360,7 +360,7 @@ class AomClient(Client):
|
|
|
360
360
|
def add_or_update_service_discovery_rules(self, request):
|
|
361
361
|
"""添加或修改服务发现规则
|
|
362
362
|
|
|
363
|
-
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。
|
|
363
|
+
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
364
364
|
|
|
365
365
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
366
366
|
|
|
@@ -492,7 +492,7 @@ class AomClient(Client):
|
|
|
492
492
|
def delete_action_rule(self, request):
|
|
493
493
|
"""删除告警行动规则
|
|
494
494
|
|
|
495
|
-
|
|
495
|
+
删除告警行动规则。
|
|
496
496
|
|
|
497
497
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
498
498
|
|
|
@@ -557,7 +557,7 @@ class AomClient(Client):
|
|
|
557
557
|
def delete_alarm_rule(self, request):
|
|
558
558
|
"""删除阈值规则
|
|
559
559
|
|
|
560
|
-
该接口用于删除阈值规则。
|
|
560
|
+
该接口用于删除阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
561
561
|
|
|
562
562
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
563
563
|
|
|
@@ -622,7 +622,7 @@ class AomClient(Client):
|
|
|
622
622
|
def delete_alarm_rules(self, request):
|
|
623
623
|
"""批量删除阈值规则
|
|
624
624
|
|
|
625
|
-
批量删除阈值规则
|
|
625
|
+
批量删除阈值规则[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
626
626
|
|
|
627
627
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
628
628
|
|
|
@@ -687,7 +687,7 @@ class AomClient(Client):
|
|
|
687
687
|
def delete_event2alarm_rule(self, request):
|
|
688
688
|
"""删除事件类告警规则
|
|
689
689
|
|
|
690
|
-
|
|
690
|
+
删除一条事件类告警规则。
|
|
691
691
|
|
|
692
692
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
693
693
|
|
|
@@ -752,7 +752,7 @@ class AomClient(Client):
|
|
|
752
752
|
def delete_mute_rules(self, request):
|
|
753
753
|
"""删除静默规则
|
|
754
754
|
|
|
755
|
-
|
|
755
|
+
删除静默规则。
|
|
756
756
|
|
|
757
757
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
758
758
|
|
|
@@ -817,7 +817,7 @@ class AomClient(Client):
|
|
|
817
817
|
def deleteservice_discovery_rules(self, request):
|
|
818
818
|
"""删除服务发现规则
|
|
819
819
|
|
|
820
|
-
该接口用于删除服务发现规则。
|
|
820
|
+
该接口用于删除服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
821
821
|
|
|
822
822
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
823
823
|
|
|
@@ -883,7 +883,7 @@ class AomClient(Client):
|
|
|
883
883
|
def list_action_rule(self, request):
|
|
884
884
|
"""获取告警行动规则列表
|
|
885
885
|
|
|
886
|
-
|
|
886
|
+
获取告警行动规则列表。
|
|
887
887
|
|
|
888
888
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
889
889
|
|
|
@@ -1013,7 +1013,7 @@ class AomClient(Client):
|
|
|
1013
1013
|
def list_alarm_rule(self, request):
|
|
1014
1014
|
"""查询阈值规则列表
|
|
1015
1015
|
|
|
1016
|
-
该接口用于查询阈值规则列表。
|
|
1016
|
+
该接口用于查询阈值规则列表。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1017
1017
|
|
|
1018
1018
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1019
1019
|
|
|
@@ -1080,7 +1080,7 @@ class AomClient(Client):
|
|
|
1080
1080
|
def list_event2alarm_rule(self, request):
|
|
1081
1081
|
"""查询事件类告警规则列表
|
|
1082
1082
|
|
|
1083
|
-
|
|
1083
|
+
查询事件类告警规则列表。
|
|
1084
1084
|
|
|
1085
1085
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1086
1086
|
|
|
@@ -1277,7 +1277,7 @@ class AomClient(Client):
|
|
|
1277
1277
|
def list_metric_items(self, request):
|
|
1278
1278
|
"""查询指标
|
|
1279
1279
|
|
|
1280
|
-
该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
|
|
1280
|
+
该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1281
1281
|
|
|
1282
1282
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1283
1283
|
|
|
@@ -1348,7 +1348,7 @@ class AomClient(Client):
|
|
|
1348
1348
|
def list_mute_rule(self, request):
|
|
1349
1349
|
"""获取静默规则列表
|
|
1350
1350
|
|
|
1351
|
-
|
|
1351
|
+
获取静默规则列表。
|
|
1352
1352
|
|
|
1353
1353
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1354
1354
|
|
|
@@ -1411,7 +1411,7 @@ class AomClient(Client):
|
|
|
1411
1411
|
def list_notified_histories(self, request):
|
|
1412
1412
|
"""获取告警发送结果
|
|
1413
1413
|
|
|
1414
|
-
|
|
1414
|
+
获取告警发送结果。
|
|
1415
1415
|
|
|
1416
1416
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1417
1417
|
|
|
@@ -1539,7 +1539,7 @@ class AomClient(Client):
|
|
|
1539
1539
|
def list_sample(self, request):
|
|
1540
1540
|
"""查询时序数据
|
|
1541
1541
|
|
|
1542
|
-
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。
|
|
1542
|
+
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1543
1543
|
|
|
1544
1544
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1545
1545
|
|
|
@@ -1606,7 +1606,7 @@ class AomClient(Client):
|
|
|
1606
1606
|
def list_series(self, request):
|
|
1607
1607
|
"""查询时间序列
|
|
1608
1608
|
|
|
1609
|
-
该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
|
|
1609
|
+
该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1610
1610
|
|
|
1611
1611
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1612
1612
|
|
|
@@ -1675,7 +1675,7 @@ class AomClient(Client):
|
|
|
1675
1675
|
def list_service_discovery_rules(self, request):
|
|
1676
1676
|
"""查询系统中已有服务发现规则
|
|
1677
1677
|
|
|
1678
|
-
该接口用于查询系统当前已存在的服务发现规则。
|
|
1678
|
+
该接口用于查询系统当前已存在的服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1679
1679
|
|
|
1680
1680
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1681
1681
|
|
|
@@ -1809,7 +1809,7 @@ class AomClient(Client):
|
|
|
1809
1809
|
def show_action_rule(self, request):
|
|
1810
1810
|
"""通过规则名称获取告警行动规则
|
|
1811
1811
|
|
|
1812
|
-
|
|
1812
|
+
通过规则名称获取告警行动规则。
|
|
1813
1813
|
|
|
1814
1814
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1815
1815
|
|
|
@@ -1874,7 +1874,7 @@ class AomClient(Client):
|
|
|
1874
1874
|
def show_alarm_rule(self, request):
|
|
1875
1875
|
"""查询单条阈值规则
|
|
1876
1876
|
|
|
1877
|
-
该接口用于查询单条阈值规则。
|
|
1877
|
+
该接口用于查询单条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1878
1878
|
|
|
1879
1879
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1880
1880
|
|
|
@@ -1939,7 +1939,7 @@ class AomClient(Client):
|
|
|
1939
1939
|
def show_metrics_data(self, request):
|
|
1940
1940
|
"""查询监控数据
|
|
1941
1941
|
|
|
1942
|
-
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。
|
|
1942
|
+
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
1943
1943
|
|
|
1944
1944
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1945
1945
|
|
|
@@ -2006,7 +2006,7 @@ class AomClient(Client):
|
|
|
2006
2006
|
def update_action_rule(self, request):
|
|
2007
2007
|
"""修改告警行动规则
|
|
2008
2008
|
|
|
2009
|
-
|
|
2009
|
+
修改告警行动规则。
|
|
2010
2010
|
|
|
2011
2011
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2012
2012
|
|
|
@@ -2071,7 +2071,7 @@ class AomClient(Client):
|
|
|
2071
2071
|
def update_alarm_rule(self, request):
|
|
2072
2072
|
"""修改阈值规则
|
|
2073
2073
|
|
|
2074
|
-
该接口用于修改一条阈值规则。
|
|
2074
|
+
该接口用于修改一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
|
|
2075
2075
|
|
|
2076
2076
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2077
2077
|
|
|
@@ -2136,7 +2136,7 @@ class AomClient(Client):
|
|
|
2136
2136
|
def update_event_rule(self, request):
|
|
2137
2137
|
"""更新事件类告警规则
|
|
2138
2138
|
|
|
2139
|
-
|
|
2139
|
+
更新事件类告警规则。
|
|
2140
2140
|
|
|
2141
2141
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2142
2142
|
|
|
@@ -2201,7 +2201,7 @@ class AomClient(Client):
|
|
|
2201
2201
|
def update_mute_rule(self, request):
|
|
2202
2202
|
"""修改静默规则
|
|
2203
2203
|
|
|
2204
|
-
|
|
2204
|
+
修改静默规则。
|
|
2205
2205
|
|
|
2206
2206
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
2207
2207
|
|
|
@@ -121,6 +121,7 @@ from huaweicloudsdkaom.v2.model.mute_config import MuteConfig
|
|
|
121
121
|
from huaweicloudsdkaom.v2.model.mute_rule import MuteRule
|
|
122
122
|
from huaweicloudsdkaom.v2.model.name_rule import NameRule
|
|
123
123
|
from huaweicloudsdkaom.v2.model.notifications import Notifications
|
|
124
|
+
from huaweicloudsdkaom.v2.model.notified_histories_result import NotifiedHistoriesResult
|
|
124
125
|
from huaweicloudsdkaom.v2.model.prom_config_model import PromConfigModel
|
|
125
126
|
from huaweicloudsdkaom.v2.model.prom_instance_eps_model import PromInstanceEpsModel
|
|
126
127
|
from huaweicloudsdkaom.v2.model.push_events_request import PushEventsRequest
|
|
@@ -47,13 +47,13 @@ class ActionRule:
|
|
|
47
47
|
|
|
48
48
|
The model defined in huaweicloud sdk
|
|
49
49
|
|
|
50
|
-
:param rule_name: 规则名称
|
|
50
|
+
:param rule_name: 规则名称 只含有汉字数字、字母、下划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100
|
|
51
51
|
:type rule_name: str
|
|
52
52
|
:param project_id: 项目ID
|
|
53
53
|
:type project_id: str
|
|
54
54
|
:param user_name: 子账号名称
|
|
55
55
|
:type user_name: str
|
|
56
|
-
:param desc:
|
|
56
|
+
:param desc: 规则描述。规则描述长度为0到1024个字符,并且只能是数字、字母、特殊字符(_*)、空格和中文组成,不能以下划线开头和结尾。
|
|
57
57
|
:type desc: str
|
|
58
58
|
:param type: 规则类型。\"1\":通知,\"2\":用户
|
|
59
59
|
:type type: str
|
|
@@ -102,7 +102,7 @@ class ActionRule:
|
|
|
102
102
|
def rule_name(self):
|
|
103
103
|
"""Gets the rule_name of this ActionRule.
|
|
104
104
|
|
|
105
|
-
规则名称
|
|
105
|
+
规则名称 只含有汉字数字、字母、下划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100
|
|
106
106
|
|
|
107
107
|
:return: The rule_name of this ActionRule.
|
|
108
108
|
:rtype: str
|
|
@@ -113,7 +113,7 @@ class ActionRule:
|
|
|
113
113
|
def rule_name(self, rule_name):
|
|
114
114
|
"""Sets the rule_name of this ActionRule.
|
|
115
115
|
|
|
116
|
-
规则名称
|
|
116
|
+
规则名称 只含有汉字数字、字母、下划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100
|
|
117
117
|
|
|
118
118
|
:param rule_name: The rule_name of this ActionRule.
|
|
119
119
|
:type rule_name: str
|
|
@@ -168,7 +168,7 @@ class ActionRule:
|
|
|
168
168
|
def desc(self):
|
|
169
169
|
"""Gets the desc of this ActionRule.
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
规则描述。规则描述长度为0到1024个字符,并且只能是数字、字母、特殊字符(_*)、空格和中文组成,不能以下划线开头和结尾。
|
|
172
172
|
|
|
173
173
|
:return: The desc of this ActionRule.
|
|
174
174
|
:rtype: str
|
|
@@ -179,7 +179,7 @@ class ActionRule:
|
|
|
179
179
|
def desc(self, desc):
|
|
180
180
|
"""Sets the desc of this ActionRule.
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
规则描述。规则描述长度为0到1024个字符,并且只能是数字、字母、特殊字符(_*)、空格和中文组成,不能以下划线开头和结尾。
|
|
183
183
|
|
|
184
184
|
:param desc: The desc of this ActionRule.
|
|
185
185
|
:type desc: str
|