tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -1407,6 +1407,15 @@ class AlarmPolicy(AbstractModel):
|
|
1407
1407
|
:type TagOperation: str
|
1408
1408
|
:param _NoticeTmplBindInfos: 通知模板绑定内容模板信息
|
1409
1409
|
:type NoticeTmplBindInfos: list of NoticeContentTmplBindInfo
|
1410
|
+
:param _HierarchicalNotices: 模板通知的等级
|
1411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1412
|
+
:type HierarchicalNotices: list of AlarmHierarchicalNotice
|
1413
|
+
:param _NoticeContentTmplBindInfos: 通知模板绑定内容模板信息,同NoticeTmplBindInfos
|
1414
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1415
|
+
:type NoticeContentTmplBindInfos: list of NoticeContentTmplBindInfo
|
1416
|
+
:param _PredefinedConfigID: 预设配置id
|
1417
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1418
|
+
:type PredefinedConfigID: str
|
1410
1419
|
"""
|
1411
1420
|
self._PolicyId = None
|
1412
1421
|
self._PolicyName = None
|
@@ -1448,6 +1457,9 @@ class AlarmPolicy(AbstractModel):
|
|
1448
1457
|
self._IsSupportAlarmTag = None
|
1449
1458
|
self._TagOperation = None
|
1450
1459
|
self._NoticeTmplBindInfos = None
|
1460
|
+
self._HierarchicalNotices = None
|
1461
|
+
self._NoticeContentTmplBindInfos = None
|
1462
|
+
self._PredefinedConfigID = None
|
1451
1463
|
|
1452
1464
|
@property
|
1453
1465
|
def PolicyId(self):
|
@@ -1931,6 +1943,42 @@ class AlarmPolicy(AbstractModel):
|
|
1931
1943
|
def NoticeTmplBindInfos(self, NoticeTmplBindInfos):
|
1932
1944
|
self._NoticeTmplBindInfos = NoticeTmplBindInfos
|
1933
1945
|
|
1946
|
+
@property
|
1947
|
+
def HierarchicalNotices(self):
|
1948
|
+
"""模板通知的等级
|
1949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1950
|
+
:rtype: list of AlarmHierarchicalNotice
|
1951
|
+
"""
|
1952
|
+
return self._HierarchicalNotices
|
1953
|
+
|
1954
|
+
@HierarchicalNotices.setter
|
1955
|
+
def HierarchicalNotices(self, HierarchicalNotices):
|
1956
|
+
self._HierarchicalNotices = HierarchicalNotices
|
1957
|
+
|
1958
|
+
@property
|
1959
|
+
def NoticeContentTmplBindInfos(self):
|
1960
|
+
"""通知模板绑定内容模板信息,同NoticeTmplBindInfos
|
1961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1962
|
+
:rtype: list of NoticeContentTmplBindInfo
|
1963
|
+
"""
|
1964
|
+
return self._NoticeContentTmplBindInfos
|
1965
|
+
|
1966
|
+
@NoticeContentTmplBindInfos.setter
|
1967
|
+
def NoticeContentTmplBindInfos(self, NoticeContentTmplBindInfos):
|
1968
|
+
self._NoticeContentTmplBindInfos = NoticeContentTmplBindInfos
|
1969
|
+
|
1970
|
+
@property
|
1971
|
+
def PredefinedConfigID(self):
|
1972
|
+
"""预设配置id
|
1973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1974
|
+
:rtype: str
|
1975
|
+
"""
|
1976
|
+
return self._PredefinedConfigID
|
1977
|
+
|
1978
|
+
@PredefinedConfigID.setter
|
1979
|
+
def PredefinedConfigID(self, PredefinedConfigID):
|
1980
|
+
self._PredefinedConfigID = PredefinedConfigID
|
1981
|
+
|
1934
1982
|
|
1935
1983
|
def _deserialize(self, params):
|
1936
1984
|
self._PolicyId = params.get("PolicyId")
|
@@ -2011,6 +2059,19 @@ class AlarmPolicy(AbstractModel):
|
|
2011
2059
|
obj = NoticeContentTmplBindInfo()
|
2012
2060
|
obj._deserialize(item)
|
2013
2061
|
self._NoticeTmplBindInfos.append(obj)
|
2062
|
+
if params.get("HierarchicalNotices") is not None:
|
2063
|
+
self._HierarchicalNotices = []
|
2064
|
+
for item in params.get("HierarchicalNotices"):
|
2065
|
+
obj = AlarmHierarchicalNotice()
|
2066
|
+
obj._deserialize(item)
|
2067
|
+
self._HierarchicalNotices.append(obj)
|
2068
|
+
if params.get("NoticeContentTmplBindInfos") is not None:
|
2069
|
+
self._NoticeContentTmplBindInfos = []
|
2070
|
+
for item in params.get("NoticeContentTmplBindInfos"):
|
2071
|
+
obj = NoticeContentTmplBindInfo()
|
2072
|
+
obj._deserialize(item)
|
2073
|
+
self._NoticeContentTmplBindInfos.append(obj)
|
2074
|
+
self._PredefinedConfigID = params.get("PredefinedConfigID")
|
2014
2075
|
memeber_set = set(params.keys())
|
2015
2076
|
for name, value in vars(self).items():
|
2016
2077
|
property_name = name[1:]
|
@@ -5106,6 +5167,230 @@ class CreateAlertRuleResponse(AbstractModel):
|
|
5106
5167
|
self._RequestId = params.get("RequestId")
|
5107
5168
|
|
5108
5169
|
|
5170
|
+
class CreateConditionsTemplateRequest(AbstractModel):
|
5171
|
+
"""CreateConditionsTemplate请求参数结构体
|
5172
|
+
|
5173
|
+
"""
|
5174
|
+
|
5175
|
+
def __init__(self):
|
5176
|
+
r"""
|
5177
|
+
:param _Module: 固定值,monitor
|
5178
|
+
:type Module: str
|
5179
|
+
:param _ViewName: 视图名
|
5180
|
+
:type ViewName: str
|
5181
|
+
:param _GroupName: 组名
|
5182
|
+
:type GroupName: str
|
5183
|
+
:param _IsUnionRule: 是否为与关系
|
5184
|
+
:type IsUnionRule: int
|
5185
|
+
:param _Remark: 备注
|
5186
|
+
:type Remark: str
|
5187
|
+
:param _ParentGroupID: 父ID
|
5188
|
+
:type ParentGroupID: int
|
5189
|
+
:param _IsShielded: 是否屏蔽
|
5190
|
+
:type IsShielded: int
|
5191
|
+
:param _ComplexExpression: 复合告警表达式
|
5192
|
+
:type ComplexExpression: str
|
5193
|
+
:param _Conditions: 指标告警条件
|
5194
|
+
:type Conditions: list of ModifyConditionsTemplateRequestCondition
|
5195
|
+
:param _EventConditions: 事件告警条件
|
5196
|
+
:type EventConditions: list of ModifyConditionsTemplateRequestEventCondition
|
5197
|
+
"""
|
5198
|
+
self._Module = None
|
5199
|
+
self._ViewName = None
|
5200
|
+
self._GroupName = None
|
5201
|
+
self._IsUnionRule = None
|
5202
|
+
self._Remark = None
|
5203
|
+
self._ParentGroupID = None
|
5204
|
+
self._IsShielded = None
|
5205
|
+
self._ComplexExpression = None
|
5206
|
+
self._Conditions = None
|
5207
|
+
self._EventConditions = None
|
5208
|
+
|
5209
|
+
@property
|
5210
|
+
def Module(self):
|
5211
|
+
"""固定值,monitor
|
5212
|
+
:rtype: str
|
5213
|
+
"""
|
5214
|
+
return self._Module
|
5215
|
+
|
5216
|
+
@Module.setter
|
5217
|
+
def Module(self, Module):
|
5218
|
+
self._Module = Module
|
5219
|
+
|
5220
|
+
@property
|
5221
|
+
def ViewName(self):
|
5222
|
+
"""视图名
|
5223
|
+
:rtype: str
|
5224
|
+
"""
|
5225
|
+
return self._ViewName
|
5226
|
+
|
5227
|
+
@ViewName.setter
|
5228
|
+
def ViewName(self, ViewName):
|
5229
|
+
self._ViewName = ViewName
|
5230
|
+
|
5231
|
+
@property
|
5232
|
+
def GroupName(self):
|
5233
|
+
"""组名
|
5234
|
+
:rtype: str
|
5235
|
+
"""
|
5236
|
+
return self._GroupName
|
5237
|
+
|
5238
|
+
@GroupName.setter
|
5239
|
+
def GroupName(self, GroupName):
|
5240
|
+
self._GroupName = GroupName
|
5241
|
+
|
5242
|
+
@property
|
5243
|
+
def IsUnionRule(self):
|
5244
|
+
"""是否为与关系
|
5245
|
+
:rtype: int
|
5246
|
+
"""
|
5247
|
+
return self._IsUnionRule
|
5248
|
+
|
5249
|
+
@IsUnionRule.setter
|
5250
|
+
def IsUnionRule(self, IsUnionRule):
|
5251
|
+
self._IsUnionRule = IsUnionRule
|
5252
|
+
|
5253
|
+
@property
|
5254
|
+
def Remark(self):
|
5255
|
+
"""备注
|
5256
|
+
:rtype: str
|
5257
|
+
"""
|
5258
|
+
return self._Remark
|
5259
|
+
|
5260
|
+
@Remark.setter
|
5261
|
+
def Remark(self, Remark):
|
5262
|
+
self._Remark = Remark
|
5263
|
+
|
5264
|
+
@property
|
5265
|
+
def ParentGroupID(self):
|
5266
|
+
"""父ID
|
5267
|
+
:rtype: int
|
5268
|
+
"""
|
5269
|
+
return self._ParentGroupID
|
5270
|
+
|
5271
|
+
@ParentGroupID.setter
|
5272
|
+
def ParentGroupID(self, ParentGroupID):
|
5273
|
+
self._ParentGroupID = ParentGroupID
|
5274
|
+
|
5275
|
+
@property
|
5276
|
+
def IsShielded(self):
|
5277
|
+
"""是否屏蔽
|
5278
|
+
:rtype: int
|
5279
|
+
"""
|
5280
|
+
return self._IsShielded
|
5281
|
+
|
5282
|
+
@IsShielded.setter
|
5283
|
+
def IsShielded(self, IsShielded):
|
5284
|
+
self._IsShielded = IsShielded
|
5285
|
+
|
5286
|
+
@property
|
5287
|
+
def ComplexExpression(self):
|
5288
|
+
"""复合告警表达式
|
5289
|
+
:rtype: str
|
5290
|
+
"""
|
5291
|
+
return self._ComplexExpression
|
5292
|
+
|
5293
|
+
@ComplexExpression.setter
|
5294
|
+
def ComplexExpression(self, ComplexExpression):
|
5295
|
+
self._ComplexExpression = ComplexExpression
|
5296
|
+
|
5297
|
+
@property
|
5298
|
+
def Conditions(self):
|
5299
|
+
"""指标告警条件
|
5300
|
+
:rtype: list of ModifyConditionsTemplateRequestCondition
|
5301
|
+
"""
|
5302
|
+
return self._Conditions
|
5303
|
+
|
5304
|
+
@Conditions.setter
|
5305
|
+
def Conditions(self, Conditions):
|
5306
|
+
self._Conditions = Conditions
|
5307
|
+
|
5308
|
+
@property
|
5309
|
+
def EventConditions(self):
|
5310
|
+
"""事件告警条件
|
5311
|
+
:rtype: list of ModifyConditionsTemplateRequestEventCondition
|
5312
|
+
"""
|
5313
|
+
return self._EventConditions
|
5314
|
+
|
5315
|
+
@EventConditions.setter
|
5316
|
+
def EventConditions(self, EventConditions):
|
5317
|
+
self._EventConditions = EventConditions
|
5318
|
+
|
5319
|
+
|
5320
|
+
def _deserialize(self, params):
|
5321
|
+
self._Module = params.get("Module")
|
5322
|
+
self._ViewName = params.get("ViewName")
|
5323
|
+
self._GroupName = params.get("GroupName")
|
5324
|
+
self._IsUnionRule = params.get("IsUnionRule")
|
5325
|
+
self._Remark = params.get("Remark")
|
5326
|
+
self._ParentGroupID = params.get("ParentGroupID")
|
5327
|
+
self._IsShielded = params.get("IsShielded")
|
5328
|
+
self._ComplexExpression = params.get("ComplexExpression")
|
5329
|
+
if params.get("Conditions") is not None:
|
5330
|
+
self._Conditions = []
|
5331
|
+
for item in params.get("Conditions"):
|
5332
|
+
obj = ModifyConditionsTemplateRequestCondition()
|
5333
|
+
obj._deserialize(item)
|
5334
|
+
self._Conditions.append(obj)
|
5335
|
+
if params.get("EventConditions") is not None:
|
5336
|
+
self._EventConditions = []
|
5337
|
+
for item in params.get("EventConditions"):
|
5338
|
+
obj = ModifyConditionsTemplateRequestEventCondition()
|
5339
|
+
obj._deserialize(item)
|
5340
|
+
self._EventConditions.append(obj)
|
5341
|
+
memeber_set = set(params.keys())
|
5342
|
+
for name, value in vars(self).items():
|
5343
|
+
property_name = name[1:]
|
5344
|
+
if property_name in memeber_set:
|
5345
|
+
memeber_set.remove(property_name)
|
5346
|
+
if len(memeber_set) > 0:
|
5347
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5348
|
+
|
5349
|
+
|
5350
|
+
|
5351
|
+
class CreateConditionsTemplateResponse(AbstractModel):
|
5352
|
+
"""CreateConditionsTemplate返回参数结构体
|
5353
|
+
|
5354
|
+
"""
|
5355
|
+
|
5356
|
+
def __init__(self):
|
5357
|
+
r"""
|
5358
|
+
:param _GroupID: 模板策略组ID
|
5359
|
+
:type GroupID: int
|
5360
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5361
|
+
:type RequestId: str
|
5362
|
+
"""
|
5363
|
+
self._GroupID = None
|
5364
|
+
self._RequestId = None
|
5365
|
+
|
5366
|
+
@property
|
5367
|
+
def GroupID(self):
|
5368
|
+
"""模板策略组ID
|
5369
|
+
:rtype: int
|
5370
|
+
"""
|
5371
|
+
return self._GroupID
|
5372
|
+
|
5373
|
+
@GroupID.setter
|
5374
|
+
def GroupID(self, GroupID):
|
5375
|
+
self._GroupID = GroupID
|
5376
|
+
|
5377
|
+
@property
|
5378
|
+
def RequestId(self):
|
5379
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5380
|
+
:rtype: str
|
5381
|
+
"""
|
5382
|
+
return self._RequestId
|
5383
|
+
|
5384
|
+
@RequestId.setter
|
5385
|
+
def RequestId(self, RequestId):
|
5386
|
+
self._RequestId = RequestId
|
5387
|
+
|
5388
|
+
|
5389
|
+
def _deserialize(self, params):
|
5390
|
+
self._GroupID = params.get("GroupID")
|
5391
|
+
self._RequestId = params.get("RequestId")
|
5392
|
+
|
5393
|
+
|
5109
5394
|
class CreateExporterIntegrationRequest(AbstractModel):
|
5110
5395
|
"""CreateExporterIntegration请求参数结构体
|
5111
5396
|
|
@@ -11114,13 +11399,7 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11114
11399
|
:param _Namespaces: 根据命名空间过滤,不同策略类型的值详见
|
11115
11400
|
[策略类型列表](https://cloud.tencent.com/document/product/248/50397)当Dimension不为空时,该项为必填项
|
11116
11401
|
:type Namespaces: list of str
|
11117
|
-
:param _Dimensions: 告警对象列表,JSON
|
11118
|
-
`[ {"Dimensions": {"unInstanceId": "ins-qr8d555g"}}, {"Dimensions": {"unInstanceId": "ins-qr8d555h"}} ]`
|
11119
|
-
具体也可以参考下方的示例 2。
|
11120
|
-
|
11121
|
-
不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
11122
|
-
|
11123
|
-
注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
11402
|
+
:param _Dimensions: 告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:`[[{"name":"unInstanceId","value":"ins-qr888845g"}]]`具体也可以参考下方的示例 2。不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
11124
11403
|
:type Dimensions: str
|
11125
11404
|
:param _ReceiverUids: 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段
|
11126
11405
|
:type ReceiverUids: list of int
|
@@ -11164,6 +11443,8 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11164
11443
|
:type ReceiverOnCallFormIDs: list of str
|
11165
11444
|
:param _NoticeContentTmplIDs: 通知内容模板ID筛选
|
11166
11445
|
:type NoticeContentTmplIDs: list of str
|
11446
|
+
:param _IsPredefined: 是否为预设策略,1是,0否
|
11447
|
+
:type IsPredefined: int
|
11167
11448
|
"""
|
11168
11449
|
self._Module = None
|
11169
11450
|
self._PageNumber = None
|
@@ -11192,6 +11473,7 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11192
11473
|
self._PromInsId = None
|
11193
11474
|
self._ReceiverOnCallFormIDs = None
|
11194
11475
|
self._NoticeContentTmplIDs = None
|
11476
|
+
self._IsPredefined = None
|
11195
11477
|
|
11196
11478
|
@property
|
11197
11479
|
def Module(self):
|
@@ -11262,13 +11544,7 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11262
11544
|
|
11263
11545
|
@property
|
11264
11546
|
def Dimensions(self):
|
11265
|
-
"""告警对象列表,JSON
|
11266
|
-
`[ {"Dimensions": {"unInstanceId": "ins-qr8d555g"}}, {"Dimensions": {"unInstanceId": "ins-qr8d555h"}} ]`
|
11267
|
-
具体也可以参考下方的示例 2。
|
11268
|
-
|
11269
|
-
不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
11270
|
-
|
11271
|
-
注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
11547
|
+
"""告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:`[[{"name":"unInstanceId","value":"ins-qr888845g"}]]`具体也可以参考下方的示例 2。不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
11272
11548
|
:rtype: str
|
11273
11549
|
"""
|
11274
11550
|
return self._Dimensions
|
@@ -11499,6 +11775,17 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11499
11775
|
def NoticeContentTmplIDs(self, NoticeContentTmplIDs):
|
11500
11776
|
self._NoticeContentTmplIDs = NoticeContentTmplIDs
|
11501
11777
|
|
11778
|
+
@property
|
11779
|
+
def IsPredefined(self):
|
11780
|
+
"""是否为预设策略,1是,0否
|
11781
|
+
:rtype: int
|
11782
|
+
"""
|
11783
|
+
return self._IsPredefined
|
11784
|
+
|
11785
|
+
@IsPredefined.setter
|
11786
|
+
def IsPredefined(self, IsPredefined):
|
11787
|
+
self._IsPredefined = IsPredefined
|
11788
|
+
|
11502
11789
|
|
11503
11790
|
def _deserialize(self, params):
|
11504
11791
|
self._Module = params.get("Module")
|
@@ -11538,6 +11825,7 @@ class DescribeAlarmPoliciesRequest(AbstractModel):
|
|
11538
11825
|
self._PromInsId = params.get("PromInsId")
|
11539
11826
|
self._ReceiverOnCallFormIDs = params.get("ReceiverOnCallFormIDs")
|
11540
11827
|
self._NoticeContentTmplIDs = params.get("NoticeContentTmplIDs")
|
11828
|
+
self._IsPredefined = params.get("IsPredefined")
|
11541
11829
|
memeber_set = set(params.keys())
|
11542
11830
|
for name, value in vars(self).items():
|
11543
11831
|
property_name = name[1:]
|
@@ -18479,6 +18767,124 @@ class DescribePolicyGroupListResponse(AbstractModel):
|
|
18479
18767
|
self._RequestId = params.get("RequestId")
|
18480
18768
|
|
18481
18769
|
|
18770
|
+
class DescribePolicyObjectCountRequest(AbstractModel):
|
18771
|
+
"""DescribePolicyObjectCount请求参数结构体
|
18772
|
+
|
18773
|
+
"""
|
18774
|
+
|
18775
|
+
def __init__(self):
|
18776
|
+
r"""
|
18777
|
+
:param _Module: 固定值,为"monitor"
|
18778
|
+
:type Module: str
|
18779
|
+
:param _GroupId: 策略组Id
|
18780
|
+
:type GroupId: int
|
18781
|
+
"""
|
18782
|
+
self._Module = None
|
18783
|
+
self._GroupId = None
|
18784
|
+
|
18785
|
+
@property
|
18786
|
+
def Module(self):
|
18787
|
+
"""固定值,为"monitor"
|
18788
|
+
:rtype: str
|
18789
|
+
"""
|
18790
|
+
return self._Module
|
18791
|
+
|
18792
|
+
@Module.setter
|
18793
|
+
def Module(self, Module):
|
18794
|
+
self._Module = Module
|
18795
|
+
|
18796
|
+
@property
|
18797
|
+
def GroupId(self):
|
18798
|
+
"""策略组Id
|
18799
|
+
:rtype: int
|
18800
|
+
"""
|
18801
|
+
return self._GroupId
|
18802
|
+
|
18803
|
+
@GroupId.setter
|
18804
|
+
def GroupId(self, GroupId):
|
18805
|
+
self._GroupId = GroupId
|
18806
|
+
|
18807
|
+
|
18808
|
+
def _deserialize(self, params):
|
18809
|
+
self._Module = params.get("Module")
|
18810
|
+
self._GroupId = params.get("GroupId")
|
18811
|
+
memeber_set = set(params.keys())
|
18812
|
+
for name, value in vars(self).items():
|
18813
|
+
property_name = name[1:]
|
18814
|
+
if property_name in memeber_set:
|
18815
|
+
memeber_set.remove(property_name)
|
18816
|
+
if len(memeber_set) > 0:
|
18817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18818
|
+
|
18819
|
+
|
18820
|
+
|
18821
|
+
class DescribePolicyObjectCountResponse(AbstractModel):
|
18822
|
+
"""DescribePolicyObjectCount返回参数结构体
|
18823
|
+
|
18824
|
+
"""
|
18825
|
+
|
18826
|
+
def __init__(self):
|
18827
|
+
r"""
|
18828
|
+
:param _IsMultiRegion: 是否为多地域
|
18829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18830
|
+
:type IsMultiRegion: bool
|
18831
|
+
:param _RegionList: 地域统计列表
|
18832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18833
|
+
:type RegionList: list of RegionPolicyObjectCount
|
18834
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18835
|
+
:type RequestId: str
|
18836
|
+
"""
|
18837
|
+
self._IsMultiRegion = None
|
18838
|
+
self._RegionList = None
|
18839
|
+
self._RequestId = None
|
18840
|
+
|
18841
|
+
@property
|
18842
|
+
def IsMultiRegion(self):
|
18843
|
+
"""是否为多地域
|
18844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18845
|
+
:rtype: bool
|
18846
|
+
"""
|
18847
|
+
return self._IsMultiRegion
|
18848
|
+
|
18849
|
+
@IsMultiRegion.setter
|
18850
|
+
def IsMultiRegion(self, IsMultiRegion):
|
18851
|
+
self._IsMultiRegion = IsMultiRegion
|
18852
|
+
|
18853
|
+
@property
|
18854
|
+
def RegionList(self):
|
18855
|
+
"""地域统计列表
|
18856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18857
|
+
:rtype: list of RegionPolicyObjectCount
|
18858
|
+
"""
|
18859
|
+
return self._RegionList
|
18860
|
+
|
18861
|
+
@RegionList.setter
|
18862
|
+
def RegionList(self, RegionList):
|
18863
|
+
self._RegionList = RegionList
|
18864
|
+
|
18865
|
+
@property
|
18866
|
+
def RequestId(self):
|
18867
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18868
|
+
:rtype: str
|
18869
|
+
"""
|
18870
|
+
return self._RequestId
|
18871
|
+
|
18872
|
+
@RequestId.setter
|
18873
|
+
def RequestId(self, RequestId):
|
18874
|
+
self._RequestId = RequestId
|
18875
|
+
|
18876
|
+
|
18877
|
+
def _deserialize(self, params):
|
18878
|
+
self._IsMultiRegion = params.get("IsMultiRegion")
|
18879
|
+
if params.get("RegionList") is not None:
|
18880
|
+
self._RegionList = []
|
18881
|
+
for item in params.get("RegionList"):
|
18882
|
+
obj = RegionPolicyObjectCount()
|
18883
|
+
obj._deserialize(item)
|
18884
|
+
self._RegionList.append(obj)
|
18885
|
+
self._RequestId = params.get("RequestId")
|
18886
|
+
|
18887
|
+
|
18482
18888
|
class DescribeProductEventListDimensions(AbstractModel):
|
18483
18889
|
"""DescribeProductEventList的入参Dimensions
|
18484
18890
|
|
@@ -21835,6 +22241,90 @@ class DescribePrometheusInstancesResponse(AbstractModel):
|
|
21835
22241
|
self._RequestId = params.get("RequestId")
|
21836
22242
|
|
21837
22243
|
|
22244
|
+
class DescribePrometheusIntegrationMetricsRequest(AbstractModel):
|
22245
|
+
"""DescribePrometheusIntegrationMetrics请求参数结构体
|
22246
|
+
|
22247
|
+
"""
|
22248
|
+
|
22249
|
+
def __init__(self):
|
22250
|
+
r"""
|
22251
|
+
:param _IntegrationCode: 集成类型标识。取值参考DescribePrometheusIntegrations接口返回中IntegrationSet[i].Code参数
|
22252
|
+
:type IntegrationCode: str
|
22253
|
+
"""
|
22254
|
+
self._IntegrationCode = None
|
22255
|
+
|
22256
|
+
@property
|
22257
|
+
def IntegrationCode(self):
|
22258
|
+
"""集成类型标识。取值参考DescribePrometheusIntegrations接口返回中IntegrationSet[i].Code参数
|
22259
|
+
:rtype: str
|
22260
|
+
"""
|
22261
|
+
return self._IntegrationCode
|
22262
|
+
|
22263
|
+
@IntegrationCode.setter
|
22264
|
+
def IntegrationCode(self, IntegrationCode):
|
22265
|
+
self._IntegrationCode = IntegrationCode
|
22266
|
+
|
22267
|
+
|
22268
|
+
def _deserialize(self, params):
|
22269
|
+
self._IntegrationCode = params.get("IntegrationCode")
|
22270
|
+
memeber_set = set(params.keys())
|
22271
|
+
for name, value in vars(self).items():
|
22272
|
+
property_name = name[1:]
|
22273
|
+
if property_name in memeber_set:
|
22274
|
+
memeber_set.remove(property_name)
|
22275
|
+
if len(memeber_set) > 0:
|
22276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22277
|
+
|
22278
|
+
|
22279
|
+
|
22280
|
+
class DescribePrometheusIntegrationMetricsResponse(AbstractModel):
|
22281
|
+
"""DescribePrometheusIntegrationMetrics返回参数结构体
|
22282
|
+
|
22283
|
+
"""
|
22284
|
+
|
22285
|
+
def __init__(self):
|
22286
|
+
r"""
|
22287
|
+
:param _IntegrationMetricSet: 集成指标详情分组
|
22288
|
+
:type IntegrationMetricSet: list of IntegrationMetricGroup
|
22289
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22290
|
+
:type RequestId: str
|
22291
|
+
"""
|
22292
|
+
self._IntegrationMetricSet = None
|
22293
|
+
self._RequestId = None
|
22294
|
+
|
22295
|
+
@property
|
22296
|
+
def IntegrationMetricSet(self):
|
22297
|
+
"""集成指标详情分组
|
22298
|
+
:rtype: list of IntegrationMetricGroup
|
22299
|
+
"""
|
22300
|
+
return self._IntegrationMetricSet
|
22301
|
+
|
22302
|
+
@IntegrationMetricSet.setter
|
22303
|
+
def IntegrationMetricSet(self, IntegrationMetricSet):
|
22304
|
+
self._IntegrationMetricSet = IntegrationMetricSet
|
22305
|
+
|
22306
|
+
@property
|
22307
|
+
def RequestId(self):
|
22308
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22309
|
+
:rtype: str
|
22310
|
+
"""
|
22311
|
+
return self._RequestId
|
22312
|
+
|
22313
|
+
@RequestId.setter
|
22314
|
+
def RequestId(self, RequestId):
|
22315
|
+
self._RequestId = RequestId
|
22316
|
+
|
22317
|
+
|
22318
|
+
def _deserialize(self, params):
|
22319
|
+
if params.get("IntegrationMetricSet") is not None:
|
22320
|
+
self._IntegrationMetricSet = []
|
22321
|
+
for item in params.get("IntegrationMetricSet"):
|
22322
|
+
obj = IntegrationMetricGroup()
|
22323
|
+
obj._deserialize(item)
|
22324
|
+
self._IntegrationMetricSet.append(obj)
|
22325
|
+
self._RequestId = params.get("RequestId")
|
22326
|
+
|
22327
|
+
|
21838
22328
|
class DescribePrometheusRecordRulesRequest(AbstractModel):
|
21839
22329
|
"""DescribePrometheusRecordRules请求参数结构体
|
21840
22330
|
|
@@ -24213,6 +24703,40 @@ class EventCondition(AbstractModel):
|
|
24213
24703
|
|
24214
24704
|
|
24215
24705
|
|
24706
|
+
class ExportPrometheusReadOnlyDynamicAPIRequest(AbstractModel):
|
24707
|
+
"""ExportPrometheusReadOnlyDynamicAPI请求参数结构体
|
24708
|
+
|
24709
|
+
"""
|
24710
|
+
|
24711
|
+
|
24712
|
+
class ExportPrometheusReadOnlyDynamicAPIResponse(AbstractModel):
|
24713
|
+
"""ExportPrometheusReadOnlyDynamicAPI返回参数结构体
|
24714
|
+
|
24715
|
+
"""
|
24716
|
+
|
24717
|
+
def __init__(self):
|
24718
|
+
r"""
|
24719
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24720
|
+
:type RequestId: str
|
24721
|
+
"""
|
24722
|
+
self._RequestId = None
|
24723
|
+
|
24724
|
+
@property
|
24725
|
+
def RequestId(self):
|
24726
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24727
|
+
:rtype: str
|
24728
|
+
"""
|
24729
|
+
return self._RequestId
|
24730
|
+
|
24731
|
+
@RequestId.setter
|
24732
|
+
def RequestId(self, RequestId):
|
24733
|
+
self._RequestId = RequestId
|
24734
|
+
|
24735
|
+
|
24736
|
+
def _deserialize(self, params):
|
24737
|
+
self._RequestId = params.get("RequestId")
|
24738
|
+
|
24739
|
+
|
24216
24740
|
class Filter(AbstractModel):
|
24217
24741
|
"""查询过滤参数
|
24218
24742
|
|
@@ -24328,7 +24852,7 @@ class GetMonitorDataRequest(AbstractModel):
|
|
24328
24852
|
:type StartTime: str
|
24329
24853
|
:param _EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间。 EndTime不能小于StartTime
|
24330
24854
|
:type EndTime: str
|
24331
|
-
:param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)
|
24855
|
+
:param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。注意: 仅支持对API配置文档中展示的统计方式返回对应的统计数据。如所需的统计方式不满足您的查询需求,请提工单反馈。
|
24332
24856
|
:type SpecifyStatistics: int
|
24333
24857
|
"""
|
24334
24858
|
self._Namespace = None
|
@@ -24407,7 +24931,7 @@ class GetMonitorDataRequest(AbstractModel):
|
|
24407
24931
|
|
24408
24932
|
@property
|
24409
24933
|
def SpecifyStatistics(self):
|
24410
|
-
"""返回多种统计方式数据。avg, max, min (1,2,4)
|
24934
|
+
"""返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。注意: 仅支持对API配置文档中展示的统计方式返回对应的统计数据。如所需的统计方式不满足您的查询需求,请提工单反馈。
|
24411
24935
|
:rtype: int
|
24412
24936
|
"""
|
24413
24937
|
return self._SpecifyStatistics
|
@@ -26180,6 +26704,173 @@ class IntegrationConfiguration(AbstractModel):
|
|
26180
26704
|
|
26181
26705
|
|
26182
26706
|
|
26707
|
+
class IntegrationMetric(AbstractModel):
|
26708
|
+
"""prometheus集成指标详情
|
26709
|
+
|
26710
|
+
"""
|
26711
|
+
|
26712
|
+
def __init__(self):
|
26713
|
+
r"""
|
26714
|
+
:param _MetricName: 指标名
|
26715
|
+
:type MetricName: str
|
26716
|
+
:param _Name: 指标名称
|
26717
|
+
:type Name: str
|
26718
|
+
:param _MetricType: 统计类型
|
26719
|
+
:type MetricType: str
|
26720
|
+
:param _Unit: 单位
|
26721
|
+
:type Unit: str
|
26722
|
+
:param _Description: 指标详细描述
|
26723
|
+
:type Description: str
|
26724
|
+
"""
|
26725
|
+
self._MetricName = None
|
26726
|
+
self._Name = None
|
26727
|
+
self._MetricType = None
|
26728
|
+
self._Unit = None
|
26729
|
+
self._Description = None
|
26730
|
+
|
26731
|
+
@property
|
26732
|
+
def MetricName(self):
|
26733
|
+
"""指标名
|
26734
|
+
:rtype: str
|
26735
|
+
"""
|
26736
|
+
return self._MetricName
|
26737
|
+
|
26738
|
+
@MetricName.setter
|
26739
|
+
def MetricName(self, MetricName):
|
26740
|
+
self._MetricName = MetricName
|
26741
|
+
|
26742
|
+
@property
|
26743
|
+
def Name(self):
|
26744
|
+
"""指标名称
|
26745
|
+
:rtype: str
|
26746
|
+
"""
|
26747
|
+
return self._Name
|
26748
|
+
|
26749
|
+
@Name.setter
|
26750
|
+
def Name(self, Name):
|
26751
|
+
self._Name = Name
|
26752
|
+
|
26753
|
+
@property
|
26754
|
+
def MetricType(self):
|
26755
|
+
"""统计类型
|
26756
|
+
:rtype: str
|
26757
|
+
"""
|
26758
|
+
return self._MetricType
|
26759
|
+
|
26760
|
+
@MetricType.setter
|
26761
|
+
def MetricType(self, MetricType):
|
26762
|
+
self._MetricType = MetricType
|
26763
|
+
|
26764
|
+
@property
|
26765
|
+
def Unit(self):
|
26766
|
+
"""单位
|
26767
|
+
:rtype: str
|
26768
|
+
"""
|
26769
|
+
return self._Unit
|
26770
|
+
|
26771
|
+
@Unit.setter
|
26772
|
+
def Unit(self, Unit):
|
26773
|
+
self._Unit = Unit
|
26774
|
+
|
26775
|
+
@property
|
26776
|
+
def Description(self):
|
26777
|
+
"""指标详细描述
|
26778
|
+
:rtype: str
|
26779
|
+
"""
|
26780
|
+
return self._Description
|
26781
|
+
|
26782
|
+
@Description.setter
|
26783
|
+
def Description(self, Description):
|
26784
|
+
self._Description = Description
|
26785
|
+
|
26786
|
+
|
26787
|
+
def _deserialize(self, params):
|
26788
|
+
self._MetricName = params.get("MetricName")
|
26789
|
+
self._Name = params.get("Name")
|
26790
|
+
self._MetricType = params.get("MetricType")
|
26791
|
+
self._Unit = params.get("Unit")
|
26792
|
+
self._Description = params.get("Description")
|
26793
|
+
memeber_set = set(params.keys())
|
26794
|
+
for name, value in vars(self).items():
|
26795
|
+
property_name = name[1:]
|
26796
|
+
if property_name in memeber_set:
|
26797
|
+
memeber_set.remove(property_name)
|
26798
|
+
if len(memeber_set) > 0:
|
26799
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26800
|
+
|
26801
|
+
|
26802
|
+
|
26803
|
+
class IntegrationMetricGroup(AbstractModel):
|
26804
|
+
"""prometheus集成分组指标
|
26805
|
+
|
26806
|
+
"""
|
26807
|
+
|
26808
|
+
def __init__(self):
|
26809
|
+
r"""
|
26810
|
+
:param _Group: 分组标识
|
26811
|
+
:type Group: str
|
26812
|
+
:param _Metrics: 指标详情
|
26813
|
+
:type Metrics: list of IntegrationMetric
|
26814
|
+
:param _GroupName: 分组名称
|
26815
|
+
:type GroupName: str
|
26816
|
+
"""
|
26817
|
+
self._Group = None
|
26818
|
+
self._Metrics = None
|
26819
|
+
self._GroupName = None
|
26820
|
+
|
26821
|
+
@property
|
26822
|
+
def Group(self):
|
26823
|
+
"""分组标识
|
26824
|
+
:rtype: str
|
26825
|
+
"""
|
26826
|
+
return self._Group
|
26827
|
+
|
26828
|
+
@Group.setter
|
26829
|
+
def Group(self, Group):
|
26830
|
+
self._Group = Group
|
26831
|
+
|
26832
|
+
@property
|
26833
|
+
def Metrics(self):
|
26834
|
+
"""指标详情
|
26835
|
+
:rtype: list of IntegrationMetric
|
26836
|
+
"""
|
26837
|
+
return self._Metrics
|
26838
|
+
|
26839
|
+
@Metrics.setter
|
26840
|
+
def Metrics(self, Metrics):
|
26841
|
+
self._Metrics = Metrics
|
26842
|
+
|
26843
|
+
@property
|
26844
|
+
def GroupName(self):
|
26845
|
+
"""分组名称
|
26846
|
+
:rtype: str
|
26847
|
+
"""
|
26848
|
+
return self._GroupName
|
26849
|
+
|
26850
|
+
@GroupName.setter
|
26851
|
+
def GroupName(self, GroupName):
|
26852
|
+
self._GroupName = GroupName
|
26853
|
+
|
26854
|
+
|
26855
|
+
def _deserialize(self, params):
|
26856
|
+
self._Group = params.get("Group")
|
26857
|
+
if params.get("Metrics") is not None:
|
26858
|
+
self._Metrics = []
|
26859
|
+
for item in params.get("Metrics"):
|
26860
|
+
obj = IntegrationMetric()
|
26861
|
+
obj._deserialize(item)
|
26862
|
+
self._Metrics.append(obj)
|
26863
|
+
self._GroupName = params.get("GroupName")
|
26864
|
+
memeber_set = set(params.keys())
|
26865
|
+
for name, value in vars(self).items():
|
26866
|
+
property_name = name[1:]
|
26867
|
+
if property_name in memeber_set:
|
26868
|
+
memeber_set.remove(property_name)
|
26869
|
+
if len(memeber_set) > 0:
|
26870
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26871
|
+
|
26872
|
+
|
26873
|
+
|
26183
26874
|
class Label(AbstractModel):
|
26184
26875
|
"""k8s中标签,一般以数组的方式存在
|
26185
26876
|
|
@@ -28115,67 +28806,236 @@ class ModifyAlarmPolicyTasksResponse(AbstractModel):
|
|
28115
28806
|
self._RequestId = params.get("RequestId")
|
28116
28807
|
|
28117
28808
|
|
28118
|
-
class ModifyAlarmReceiversRequest(AbstractModel):
|
28119
|
-
"""ModifyAlarmReceivers请求参数结构体
|
28809
|
+
class ModifyAlarmReceiversRequest(AbstractModel):
|
28810
|
+
"""ModifyAlarmReceivers请求参数结构体
|
28811
|
+
|
28812
|
+
"""
|
28813
|
+
|
28814
|
+
def __init__(self):
|
28815
|
+
r"""
|
28816
|
+
:param _GroupId: 需要修改接收人的策略组Id
|
28817
|
+
:type GroupId: int
|
28818
|
+
:param _Module: 必填。固定为“monitor”
|
28819
|
+
:type Module: str
|
28820
|
+
:param _ReceiverInfos: 新接收人信息, 没有填写则删除所有接收人
|
28821
|
+
:type ReceiverInfos: list of ReceiverInfo
|
28822
|
+
"""
|
28823
|
+
self._GroupId = None
|
28824
|
+
self._Module = None
|
28825
|
+
self._ReceiverInfos = None
|
28826
|
+
|
28827
|
+
@property
|
28828
|
+
def GroupId(self):
|
28829
|
+
"""需要修改接收人的策略组Id
|
28830
|
+
:rtype: int
|
28831
|
+
"""
|
28832
|
+
return self._GroupId
|
28833
|
+
|
28834
|
+
@GroupId.setter
|
28835
|
+
def GroupId(self, GroupId):
|
28836
|
+
self._GroupId = GroupId
|
28837
|
+
|
28838
|
+
@property
|
28839
|
+
def Module(self):
|
28840
|
+
"""必填。固定为“monitor”
|
28841
|
+
:rtype: str
|
28842
|
+
"""
|
28843
|
+
return self._Module
|
28844
|
+
|
28845
|
+
@Module.setter
|
28846
|
+
def Module(self, Module):
|
28847
|
+
self._Module = Module
|
28848
|
+
|
28849
|
+
@property
|
28850
|
+
def ReceiverInfos(self):
|
28851
|
+
"""新接收人信息, 没有填写则删除所有接收人
|
28852
|
+
:rtype: list of ReceiverInfo
|
28853
|
+
"""
|
28854
|
+
return self._ReceiverInfos
|
28855
|
+
|
28856
|
+
@ReceiverInfos.setter
|
28857
|
+
def ReceiverInfos(self, ReceiverInfos):
|
28858
|
+
self._ReceiverInfos = ReceiverInfos
|
28859
|
+
|
28860
|
+
|
28861
|
+
def _deserialize(self, params):
|
28862
|
+
self._GroupId = params.get("GroupId")
|
28863
|
+
self._Module = params.get("Module")
|
28864
|
+
if params.get("ReceiverInfos") is not None:
|
28865
|
+
self._ReceiverInfos = []
|
28866
|
+
for item in params.get("ReceiverInfos"):
|
28867
|
+
obj = ReceiverInfo()
|
28868
|
+
obj._deserialize(item)
|
28869
|
+
self._ReceiverInfos.append(obj)
|
28870
|
+
memeber_set = set(params.keys())
|
28871
|
+
for name, value in vars(self).items():
|
28872
|
+
property_name = name[1:]
|
28873
|
+
if property_name in memeber_set:
|
28874
|
+
memeber_set.remove(property_name)
|
28875
|
+
if len(memeber_set) > 0:
|
28876
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
28877
|
+
|
28878
|
+
|
28879
|
+
|
28880
|
+
class ModifyAlarmReceiversResponse(AbstractModel):
|
28881
|
+
"""ModifyAlarmReceivers返回参数结构体
|
28882
|
+
|
28883
|
+
"""
|
28884
|
+
|
28885
|
+
def __init__(self):
|
28886
|
+
r"""
|
28887
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
28888
|
+
:type RequestId: str
|
28889
|
+
"""
|
28890
|
+
self._RequestId = None
|
28891
|
+
|
28892
|
+
@property
|
28893
|
+
def RequestId(self):
|
28894
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
28895
|
+
:rtype: str
|
28896
|
+
"""
|
28897
|
+
return self._RequestId
|
28898
|
+
|
28899
|
+
@RequestId.setter
|
28900
|
+
def RequestId(self, RequestId):
|
28901
|
+
self._RequestId = RequestId
|
28902
|
+
|
28903
|
+
|
28904
|
+
def _deserialize(self, params):
|
28905
|
+
self._RequestId = params.get("RequestId")
|
28906
|
+
|
28907
|
+
|
28908
|
+
class ModifyConditionsTemplateRequestCondition(AbstractModel):
|
28909
|
+
"""ModifyConditionsTemplateRequestCondition,Condition入参字段值
|
28120
28910
|
|
28121
28911
|
"""
|
28122
28912
|
|
28123
28913
|
def __init__(self):
|
28124
28914
|
r"""
|
28125
|
-
:param
|
28126
|
-
:type
|
28127
|
-
:param
|
28128
|
-
:type
|
28129
|
-
:param
|
28130
|
-
:type
|
28915
|
+
:param _CalcPeriod: 统计周期
|
28916
|
+
:type CalcPeriod: str
|
28917
|
+
:param _CalcType: 统计方式
|
28918
|
+
:type CalcType: str
|
28919
|
+
:param _ContinuePeriod: 持续周期
|
28920
|
+
:type ContinuePeriod: str
|
28921
|
+
:param _MetricID: 指标ID
|
28922
|
+
:type MetricID: int
|
28923
|
+
:param _CalcValue: 统计值
|
28924
|
+
:type CalcValue: str
|
28925
|
+
:param _AlarmNotifyPeriod: 告警通知周期
|
28926
|
+
:type AlarmNotifyPeriod: str
|
28927
|
+
:param _AlarmNotifyType: 告警通知方式
|
28928
|
+
:type AlarmNotifyType: int
|
28929
|
+
:param _RuleID: 规则ID
|
28930
|
+
:type RuleID: int
|
28131
28931
|
"""
|
28132
|
-
self.
|
28133
|
-
self.
|
28134
|
-
self.
|
28932
|
+
self._CalcPeriod = None
|
28933
|
+
self._CalcType = None
|
28934
|
+
self._ContinuePeriod = None
|
28935
|
+
self._MetricID = None
|
28936
|
+
self._CalcValue = None
|
28937
|
+
self._AlarmNotifyPeriod = None
|
28938
|
+
self._AlarmNotifyType = None
|
28939
|
+
self._RuleID = None
|
28135
28940
|
|
28136
28941
|
@property
|
28137
|
-
def
|
28138
|
-
"""
|
28942
|
+
def CalcPeriod(self):
|
28943
|
+
"""统计周期
|
28944
|
+
:rtype: str
|
28945
|
+
"""
|
28946
|
+
return self._CalcPeriod
|
28947
|
+
|
28948
|
+
@CalcPeriod.setter
|
28949
|
+
def CalcPeriod(self, CalcPeriod):
|
28950
|
+
self._CalcPeriod = CalcPeriod
|
28951
|
+
|
28952
|
+
@property
|
28953
|
+
def CalcType(self):
|
28954
|
+
"""统计方式
|
28955
|
+
:rtype: str
|
28956
|
+
"""
|
28957
|
+
return self._CalcType
|
28958
|
+
|
28959
|
+
@CalcType.setter
|
28960
|
+
def CalcType(self, CalcType):
|
28961
|
+
self._CalcType = CalcType
|
28962
|
+
|
28963
|
+
@property
|
28964
|
+
def ContinuePeriod(self):
|
28965
|
+
"""持续周期
|
28966
|
+
:rtype: str
|
28967
|
+
"""
|
28968
|
+
return self._ContinuePeriod
|
28969
|
+
|
28970
|
+
@ContinuePeriod.setter
|
28971
|
+
def ContinuePeriod(self, ContinuePeriod):
|
28972
|
+
self._ContinuePeriod = ContinuePeriod
|
28973
|
+
|
28974
|
+
@property
|
28975
|
+
def MetricID(self):
|
28976
|
+
"""指标ID
|
28139
28977
|
:rtype: int
|
28140
28978
|
"""
|
28141
|
-
return self.
|
28979
|
+
return self._MetricID
|
28142
28980
|
|
28143
|
-
@
|
28144
|
-
def
|
28145
|
-
self.
|
28981
|
+
@MetricID.setter
|
28982
|
+
def MetricID(self, MetricID):
|
28983
|
+
self._MetricID = MetricID
|
28146
28984
|
|
28147
28985
|
@property
|
28148
|
-
def
|
28149
|
-
"""
|
28986
|
+
def CalcValue(self):
|
28987
|
+
"""统计值
|
28150
28988
|
:rtype: str
|
28151
28989
|
"""
|
28152
|
-
return self.
|
28990
|
+
return self._CalcValue
|
28153
28991
|
|
28154
|
-
@
|
28155
|
-
def
|
28156
|
-
self.
|
28992
|
+
@CalcValue.setter
|
28993
|
+
def CalcValue(self, CalcValue):
|
28994
|
+
self._CalcValue = CalcValue
|
28157
28995
|
|
28158
28996
|
@property
|
28159
|
-
def
|
28160
|
-
"""
|
28161
|
-
:rtype:
|
28997
|
+
def AlarmNotifyPeriod(self):
|
28998
|
+
"""告警通知周期
|
28999
|
+
:rtype: str
|
28162
29000
|
"""
|
28163
|
-
return self.
|
29001
|
+
return self._AlarmNotifyPeriod
|
28164
29002
|
|
28165
|
-
@
|
28166
|
-
def
|
28167
|
-
self.
|
29003
|
+
@AlarmNotifyPeriod.setter
|
29004
|
+
def AlarmNotifyPeriod(self, AlarmNotifyPeriod):
|
29005
|
+
self._AlarmNotifyPeriod = AlarmNotifyPeriod
|
29006
|
+
|
29007
|
+
@property
|
29008
|
+
def AlarmNotifyType(self):
|
29009
|
+
"""告警通知方式
|
29010
|
+
:rtype: int
|
29011
|
+
"""
|
29012
|
+
return self._AlarmNotifyType
|
29013
|
+
|
29014
|
+
@AlarmNotifyType.setter
|
29015
|
+
def AlarmNotifyType(self, AlarmNotifyType):
|
29016
|
+
self._AlarmNotifyType = AlarmNotifyType
|
29017
|
+
|
29018
|
+
@property
|
29019
|
+
def RuleID(self):
|
29020
|
+
"""规则ID
|
29021
|
+
:rtype: int
|
29022
|
+
"""
|
29023
|
+
return self._RuleID
|
29024
|
+
|
29025
|
+
@RuleID.setter
|
29026
|
+
def RuleID(self, RuleID):
|
29027
|
+
self._RuleID = RuleID
|
28168
29028
|
|
28169
29029
|
|
28170
29030
|
def _deserialize(self, params):
|
28171
|
-
self.
|
28172
|
-
self.
|
28173
|
-
|
28174
|
-
|
28175
|
-
|
28176
|
-
|
28177
|
-
|
28178
|
-
|
29031
|
+
self._CalcPeriod = params.get("CalcPeriod")
|
29032
|
+
self._CalcType = params.get("CalcType")
|
29033
|
+
self._ContinuePeriod = params.get("ContinuePeriod")
|
29034
|
+
self._MetricID = params.get("MetricID")
|
29035
|
+
self._CalcValue = params.get("CalcValue")
|
29036
|
+
self._AlarmNotifyPeriod = params.get("AlarmNotifyPeriod")
|
29037
|
+
self._AlarmNotifyType = params.get("AlarmNotifyType")
|
29038
|
+
self._RuleID = params.get("RuleID")
|
28179
29039
|
memeber_set = set(params.keys())
|
28180
29040
|
for name, value in vars(self).items():
|
28181
29041
|
property_name = name[1:]
|
@@ -28186,32 +29046,85 @@ class ModifyAlarmReceiversRequest(AbstractModel):
|
|
28186
29046
|
|
28187
29047
|
|
28188
29048
|
|
28189
|
-
class
|
28190
|
-
"""
|
29049
|
+
class ModifyConditionsTemplateRequestEventCondition(AbstractModel):
|
29050
|
+
"""ModifyConditionsTemplateRequestEventCondition
|
28191
29051
|
|
28192
29052
|
"""
|
28193
29053
|
|
28194
29054
|
def __init__(self):
|
28195
29055
|
r"""
|
28196
|
-
:param
|
28197
|
-
:type
|
29056
|
+
:param _AlarmNotifyPeriod: 告警通知周期
|
29057
|
+
:type AlarmNotifyPeriod: str
|
29058
|
+
:param _AlarmNotifyType: 告警通知方式
|
29059
|
+
:type AlarmNotifyType: str
|
29060
|
+
:param _EventID: 事件ID
|
29061
|
+
:type EventID: str
|
29062
|
+
:param _RuleID: 规则ID
|
29063
|
+
:type RuleID: int
|
28198
29064
|
"""
|
28199
|
-
self.
|
29065
|
+
self._AlarmNotifyPeriod = None
|
29066
|
+
self._AlarmNotifyType = None
|
29067
|
+
self._EventID = None
|
29068
|
+
self._RuleID = None
|
28200
29069
|
|
28201
29070
|
@property
|
28202
|
-
def
|
28203
|
-
"""
|
29071
|
+
def AlarmNotifyPeriod(self):
|
29072
|
+
"""告警通知周期
|
28204
29073
|
:rtype: str
|
28205
29074
|
"""
|
28206
|
-
return self.
|
29075
|
+
return self._AlarmNotifyPeriod
|
28207
29076
|
|
28208
|
-
@
|
28209
|
-
def
|
28210
|
-
self.
|
29077
|
+
@AlarmNotifyPeriod.setter
|
29078
|
+
def AlarmNotifyPeriod(self, AlarmNotifyPeriod):
|
29079
|
+
self._AlarmNotifyPeriod = AlarmNotifyPeriod
|
29080
|
+
|
29081
|
+
@property
|
29082
|
+
def AlarmNotifyType(self):
|
29083
|
+
"""告警通知方式
|
29084
|
+
:rtype: str
|
29085
|
+
"""
|
29086
|
+
return self._AlarmNotifyType
|
29087
|
+
|
29088
|
+
@AlarmNotifyType.setter
|
29089
|
+
def AlarmNotifyType(self, AlarmNotifyType):
|
29090
|
+
self._AlarmNotifyType = AlarmNotifyType
|
29091
|
+
|
29092
|
+
@property
|
29093
|
+
def EventID(self):
|
29094
|
+
"""事件ID
|
29095
|
+
:rtype: str
|
29096
|
+
"""
|
29097
|
+
return self._EventID
|
29098
|
+
|
29099
|
+
@EventID.setter
|
29100
|
+
def EventID(self, EventID):
|
29101
|
+
self._EventID = EventID
|
29102
|
+
|
29103
|
+
@property
|
29104
|
+
def RuleID(self):
|
29105
|
+
"""规则ID
|
29106
|
+
:rtype: int
|
29107
|
+
"""
|
29108
|
+
return self._RuleID
|
29109
|
+
|
29110
|
+
@RuleID.setter
|
29111
|
+
def RuleID(self, RuleID):
|
29112
|
+
self._RuleID = RuleID
|
28211
29113
|
|
28212
29114
|
|
28213
29115
|
def _deserialize(self, params):
|
28214
|
-
self.
|
29116
|
+
self._AlarmNotifyPeriod = params.get("AlarmNotifyPeriod")
|
29117
|
+
self._AlarmNotifyType = params.get("AlarmNotifyType")
|
29118
|
+
self._EventID = params.get("EventID")
|
29119
|
+
self._RuleID = params.get("RuleID")
|
29120
|
+
memeber_set = set(params.keys())
|
29121
|
+
for name, value in vars(self).items():
|
29122
|
+
property_name = name[1:]
|
29123
|
+
if property_name in memeber_set:
|
29124
|
+
memeber_set.remove(property_name)
|
29125
|
+
if len(memeber_set) > 0:
|
29126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29127
|
+
|
28215
29128
|
|
28216
29129
|
|
28217
29130
|
class ModifyGrafanaInstanceRequest(AbstractModel):
|
@@ -35458,6 +36371,57 @@ class RecordingRuleSet(AbstractModel):
|
|
35458
36371
|
|
35459
36372
|
|
35460
36373
|
|
36374
|
+
class RegionPolicyObjectCount(AbstractModel):
|
36375
|
+
"""DescribePolicyObjectCount接口返回的地域统计
|
36376
|
+
|
36377
|
+
"""
|
36378
|
+
|
36379
|
+
def __init__(self):
|
36380
|
+
r"""
|
36381
|
+
:param _Region: 地域
|
36382
|
+
:type Region: str
|
36383
|
+
:param _Count: 绑定的实例数量
|
36384
|
+
:type Count: int
|
36385
|
+
"""
|
36386
|
+
self._Region = None
|
36387
|
+
self._Count = None
|
36388
|
+
|
36389
|
+
@property
|
36390
|
+
def Region(self):
|
36391
|
+
"""地域
|
36392
|
+
:rtype: str
|
36393
|
+
"""
|
36394
|
+
return self._Region
|
36395
|
+
|
36396
|
+
@Region.setter
|
36397
|
+
def Region(self, Region):
|
36398
|
+
self._Region = Region
|
36399
|
+
|
36400
|
+
@property
|
36401
|
+
def Count(self):
|
36402
|
+
"""绑定的实例数量
|
36403
|
+
:rtype: int
|
36404
|
+
"""
|
36405
|
+
return self._Count
|
36406
|
+
|
36407
|
+
@Count.setter
|
36408
|
+
def Count(self, Count):
|
36409
|
+
self._Count = Count
|
36410
|
+
|
36411
|
+
|
36412
|
+
def _deserialize(self, params):
|
36413
|
+
self._Region = params.get("Region")
|
36414
|
+
self._Count = params.get("Count")
|
36415
|
+
memeber_set = set(params.keys())
|
36416
|
+
for name, value in vars(self).items():
|
36417
|
+
property_name = name[1:]
|
36418
|
+
if property_name in memeber_set:
|
36419
|
+
memeber_set.remove(property_name)
|
36420
|
+
if len(memeber_set) > 0:
|
36421
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36422
|
+
|
36423
|
+
|
36424
|
+
|
35461
36425
|
class RemoteWrite(AbstractModel):
|
35462
36426
|
"""多写配置
|
35463
36427
|
|
@@ -36933,6 +37897,9 @@ class URLNotice(AbstractModel):
|
|
36933
37897
|
:param _Weekday: 通知周期 1-7表示周一到周日
|
36934
37898
|
注意:此字段可能返回 null,表示取不到有效值。
|
36935
37899
|
:type Weekday: list of int
|
37900
|
+
:param _GroupMembers: 组名
|
37901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37902
|
+
:type GroupMembers: str
|
36936
37903
|
"""
|
36937
37904
|
self._URL = None
|
36938
37905
|
self._IsValid = None
|
@@ -36940,6 +37907,7 @@ class URLNotice(AbstractModel):
|
|
36940
37907
|
self._StartTime = None
|
36941
37908
|
self._EndTime = None
|
36942
37909
|
self._Weekday = None
|
37910
|
+
self._GroupMembers = None
|
36943
37911
|
|
36944
37912
|
@property
|
36945
37913
|
def URL(self):
|
@@ -37013,6 +37981,18 @@ class URLNotice(AbstractModel):
|
|
37013
37981
|
def Weekday(self, Weekday):
|
37014
37982
|
self._Weekday = Weekday
|
37015
37983
|
|
37984
|
+
@property
|
37985
|
+
def GroupMembers(self):
|
37986
|
+
"""组名
|
37987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37988
|
+
:rtype: str
|
37989
|
+
"""
|
37990
|
+
return self._GroupMembers
|
37991
|
+
|
37992
|
+
@GroupMembers.setter
|
37993
|
+
def GroupMembers(self, GroupMembers):
|
37994
|
+
self._GroupMembers = GroupMembers
|
37995
|
+
|
37016
37996
|
|
37017
37997
|
def _deserialize(self, params):
|
37018
37998
|
self._URL = params.get("URL")
|
@@ -37021,6 +38001,7 @@ class URLNotice(AbstractModel):
|
|
37021
38001
|
self._StartTime = params.get("StartTime")
|
37022
38002
|
self._EndTime = params.get("EndTime")
|
37023
38003
|
self._Weekday = params.get("Weekday")
|
38004
|
+
self._GroupMembers = params.get("GroupMembers")
|
37024
38005
|
memeber_set = set(params.keys())
|
37025
38006
|
for name, value in vars(self).items():
|
37026
38007
|
property_name = name[1:]
|
@@ -37587,7 +38568,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37587
38568
|
|
37588
38569
|
def __init__(self):
|
37589
38570
|
r"""
|
37590
|
-
:param _RuleId: Prometheus
|
38571
|
+
:param _RuleId: Prometheus 告警规则 ID
|
37591
38572
|
:type RuleId: str
|
37592
38573
|
:param _InstanceId: Prometheus 实例 ID
|
37593
38574
|
:type InstanceId: str
|
@@ -37605,13 +38586,13 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37605
38586
|
:type Duration: str
|
37606
38587
|
:param _Receivers: 告警规则接收组列表(当前规则绑定的接收组列表可通过 DescribeAlertRules 接口获取;用户已有的接收组列表可通过 DescribeAlarmNotices 接口获取)
|
37607
38588
|
:type Receivers: list of str
|
37608
|
-
:param _Labels:
|
38589
|
+
:param _Labels: 告警规则标签列表
|
37609
38590
|
:type Labels: list of PrometheusRuleKV
|
37610
|
-
:param _Annotations:
|
38591
|
+
:param _Annotations: 告警规则注释列表。
|
37611
38592
|
|
37612
38593
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
37613
38594
|
:type Annotations: list of PrometheusRuleKV
|
37614
|
-
:param _Type:
|
38595
|
+
:param _Type: 告警策略模板分类(自定义,可不填)
|
37615
38596
|
:type Type: str
|
37616
38597
|
"""
|
37617
38598
|
self._RuleId = None
|
@@ -37627,7 +38608,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37627
38608
|
|
37628
38609
|
@property
|
37629
38610
|
def RuleId(self):
|
37630
|
-
"""Prometheus
|
38611
|
+
"""Prometheus 告警规则 ID
|
37631
38612
|
:rtype: str
|
37632
38613
|
"""
|
37633
38614
|
return self._RuleId
|
@@ -37708,7 +38689,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37708
38689
|
|
37709
38690
|
@property
|
37710
38691
|
def Labels(self):
|
37711
|
-
"""
|
38692
|
+
"""告警规则标签列表
|
37712
38693
|
:rtype: list of PrometheusRuleKV
|
37713
38694
|
"""
|
37714
38695
|
return self._Labels
|
@@ -37719,7 +38700,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37719
38700
|
|
37720
38701
|
@property
|
37721
38702
|
def Annotations(self):
|
37722
|
-
"""
|
38703
|
+
"""告警规则注释列表。
|
37723
38704
|
|
37724
38705
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
37725
38706
|
:rtype: list of PrometheusRuleKV
|
@@ -37732,7 +38713,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
37732
38713
|
|
37733
38714
|
@property
|
37734
38715
|
def Type(self):
|
37735
|
-
"""
|
38716
|
+
"""告警策略模板分类(自定义,可不填)
|
37736
38717
|
:rtype: str
|
37737
38718
|
"""
|
37738
38719
|
return self._Type
|