tencentcloud-sdk-nodejs 3.0.269 → 3.0.270
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.
- package/package.json +1 -1
- package/tencentcloud/aa/v20200224/models.js +5 -12
- package/tencentcloud/advisor/index.js +3 -0
- package/tencentcloud/advisor/v20200721/advisor_client.js +63 -0
- package/tencentcloud/advisor/v20200721/index.js +4 -0
- package/tencentcloud/advisor/v20200721/models.js +455 -0
- package/tencentcloud/af/v20200226/af_client.js +39 -1
- package/tencentcloud/af/v20200226/models.js +1112 -49
- package/tencentcloud/afc/v20200226/afc_client.js +20 -2
- package/tencentcloud/afc/v20200226/models.js +607 -25
- package/tencentcloud/ame/v20190916/ame_client.js +321 -68
- package/tencentcloud/ame/v20190916/models.js +3993 -804
- package/tencentcloud/ams/v20201229/ams_client.js +41 -13
- package/tencentcloud/ams/v20201229/models.js +485 -126
- package/tencentcloud/antiddos/index.js +3 -0
- package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
- package/tencentcloud/antiddos/v20200309/index.js +4 -0
- package/tencentcloud/antiddos/v20200309/models.js +12542 -0
- package/tencentcloud/api/v20201106/api_client.js +16 -2
- package/tencentcloud/api/v20201106/models.js +118 -2
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +785 -397
- package/tencentcloud/apigateway/v20180808/models.js +9195 -4643
- package/tencentcloud/apm/index.js +3 -0
- package/tencentcloud/apm/v20210622/apm_client.js +123 -0
- package/tencentcloud/apm/v20210622/index.js +4 -0
- package/tencentcloud/apm/v20210622/models.js +1459 -0
- package/tencentcloud/as/v20180419/as_client.js +129 -58
- package/tencentcloud/as/v20180419/models.js +1550 -864
- package/tencentcloud/asr/v20190614/asr_client.js +12 -19
- package/tencentcloud/asr/v20190614/models.js +55 -22
- package/tencentcloud/asw/v20200722/models.js +1 -1
- package/tencentcloud/ba/v20200720/ba_client.js +27 -0
- package/tencentcloud/ba/v20200720/models.js +158 -0
- package/tencentcloud/batch/v20170312/batch_client.js +1 -0
- package/tencentcloud/batch/v20170312/models.js +85 -10
- package/tencentcloud/bda/v20200324/bda_client.js +32 -19
- package/tencentcloud/bda/v20200324/models.js +97 -25
- package/tencentcloud/bi/index.js +3 -0
- package/tencentcloud/bi/v20220105/bi_client.js +61 -0
- package/tencentcloud/bi/v20220105/index.js +4 -0
- package/tencentcloud/bi/v20220105/models.js +391 -0
- package/tencentcloud/billing/v20180709/billing_client.js +33 -1
- package/tencentcloud/billing/v20180709/models.js +930 -74
- package/tencentcloud/bm/v20180423/bm_client.js +4 -2
- package/tencentcloud/bm/v20180423/models.js +32 -2
- package/tencentcloud/bsca/index.js +3 -0
- package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
- package/tencentcloud/bsca/v20210811/index.js +4 -0
- package/tencentcloud/bsca/v20210811/models.js +1310 -0
- package/tencentcloud/btoe/index.js +1 -1
- package/tencentcloud/btoe/v20210303/btoe_client.js +36 -12
- package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
- package/tencentcloud/btoe/v20210514/index.js +4 -0
- package/tencentcloud/btoe/v20210514/models.js +1219 -0
- package/tencentcloud/cam/v20190116/cam_client.js +344 -62
- package/tencentcloud/cam/v20190116/models.js +4041 -1648
- package/tencentcloud/captcha/v20190722/captcha_client.js +2 -2
- package/tencentcloud/captcha/v20190722/models.js +33 -10
- package/tencentcloud/car/index.js +3 -0
- package/tencentcloud/car/v20220110/car_client.js +72 -0
- package/tencentcloud/car/v20220110/index.js +4 -0
- package/tencentcloud/car/v20220110/models.js +237 -0
- package/tencentcloud/casb/index.js +3 -0
- package/tencentcloud/casb/v20200507/casb_client.js +54 -0
- package/tencentcloud/casb/v20200507/index.js +4 -0
- package/tencentcloud/casb/v20200507/models.js +158 -0
- package/tencentcloud/cat/v20180409/cat_client.js +181 -55
- package/tencentcloud/cat/v20180409/models.js +3392 -1784
- package/tencentcloud/cbs/v20170312/cbs_client.js +123 -72
- package/tencentcloud/cbs/v20170312/models.js +2359 -1725
- package/tencentcloud/ccc/v20200210/ccc_client.js +237 -54
- package/tencentcloud/ccc/v20200210/models.js +2818 -685
- package/tencentcloud/cdb/v20170320/cdb_client.js +569 -316
- package/tencentcloud/cdb/v20170320/models.js +10271 -7177
- package/tencentcloud/cdc/index.js +3 -0
- package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
- package/tencentcloud/cdc/v20201214/index.js +4 -0
- package/tencentcloud/cdc/v20201214/models.js +3232 -0
- package/tencentcloud/cdn/v20180606/cdn_client.js +324 -68
- package/tencentcloud/cdn/v20180606/models.js +7343 -1979
- package/tencentcloud/cfg/index.js +3 -0
- package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
- package/tencentcloud/cfg/v20210820/index.js +4 -0
- package/tencentcloud/cfg/v20210820/models.js +2423 -0
- package/tencentcloud/cfs/v20190719/models.js +64 -7
- package/tencentcloud/cfw/v20190904/cfw_client.js +686 -86
- package/tencentcloud/cfw/v20190904/models.js +7055 -1552
- package/tencentcloud/chdfs/v20201112/models.js +81 -6
- package/tencentcloud/cii/v20210408/cii_client.js +159 -10
- package/tencentcloud/cii/v20210408/models.js +1886 -189
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +265 -30
- package/tencentcloud/ckafka/v20190819/models.js +3429 -692
- package/tencentcloud/clb/v20180317/clb_client.js +214 -44
- package/tencentcloud/clb/v20180317/models.js +2262 -319
- package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +59 -7
- package/tencentcloud/cloudaudit/v20190319/models.js +307 -88
- package/tencentcloud/cls/index.js +3 -0
- package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
- package/tencentcloud/cls/v20201016/index.js +4 -0
- package/tencentcloud/cls/v20201016/models.js +10053 -0
- package/tencentcloud/cme/v20191029/cme_client.js +178 -89
- package/tencentcloud/cme/v20191029/models.js +2575 -686
- package/tencentcloud/cmq/v20190304/models.js +159 -143
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cpdp/v20190820/cpdp_client.js +2014 -678
- package/tencentcloud/cpdp/v20190820/models.js +29589 -8040
- package/tencentcloud/cvm/v20170312/cvm_client.js +268 -88
- package/tencentcloud/cvm/v20170312/models.js +3156 -775
- package/tencentcloud/cwp/v20180228/cwp_client.js +1749 -654
- package/tencentcloud/cwp/v20180228/models.js +21498 -6735
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +268 -61
- package/tencentcloud/cynosdb/v20190107/models.js +3827 -1863
- package/tencentcloud/dasb/index.js +3 -0
- package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
- package/tencentcloud/dasb/v20191018/index.js +4 -0
- package/tencentcloud/dasb/v20191018/models.js +3161 -0
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +288 -88
- package/tencentcloud/dbbrain/v20210527/models.js +3966 -2008
- package/tencentcloud/dbdc/index.js +3 -0
- package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
- package/tencentcloud/dbdc/v20201029/index.js +4 -0
- package/tencentcloud/dbdc/v20201029/models.js +1441 -0
- package/tencentcloud/dc/v20180410/models.js +47 -1
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +225 -37
- package/tencentcloud/dcdb/v20180411/models.js +1968 -236
- package/tencentcloud/dlc/v20210125/dlc_client.js +483 -68
- package/tencentcloud/dlc/v20210125/models.js +5257 -976
- package/tencentcloud/dnspod/v20210323/dnspod_client.js +94 -67
- package/tencentcloud/dnspod/v20210323/models.js +2166 -1957
- package/tencentcloud/domain/v20180808/domain_client.js +160 -93
- package/tencentcloud/domain/v20180808/models.js +781 -111
- package/tencentcloud/dtf/index.js +3 -0
- package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
- package/tencentcloud/dtf/v20200506/index.js +4 -0
- package/tencentcloud/dtf/v20200506/models.js +327 -0
- package/tencentcloud/dts/v20180330/dts_client.js +11 -127
- package/tencentcloud/dts/v20180330/models.js +1010 -1944
- package/tencentcloud/eb/index.js +3 -0
- package/tencentcloud/eb/v20210416/eb_client.js +393 -0
- package/tencentcloud/eb/v20210416/index.js +4 -0
- package/tencentcloud/eb/v20210416/models.js +3400 -0
- package/tencentcloud/ecdn/v20191012/ecdn_client.js +34 -6
- package/tencentcloud/ecdn/v20191012/models.js +258 -145
- package/tencentcloud/ecm/v20190719/ecm_client.js +481 -303
- package/tencentcloud/ecm/v20190719/models.js +9666 -7460
- package/tencentcloud/eiam/index.js +3 -0
- package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
- package/tencentcloud/eiam/v20210420/index.js +4 -0
- package/tencentcloud/eiam/v20210420/models.js +5565 -0
- package/tencentcloud/eis/index.js +1 -1
- package/tencentcloud/eis/v20200715/models.js +130 -100
- package/tencentcloud/eis/v20210601/eis_client.js +102 -0
- package/tencentcloud/eis/v20210601/index.js +4 -0
- package/tencentcloud/eis/v20210601/models.js +788 -0
- package/tencentcloud/emr/v20190103/emr_client.js +240 -110
- package/tencentcloud/emr/v20190103/models.js +4674 -2594
- package/tencentcloud/es/v20180416/es_client.js +204 -89
- package/tencentcloud/es/v20180416/models.js +3311 -1263
- package/tencentcloud/ess/index.js +3 -0
- package/tencentcloud/ess/v20201111/ess_client.js +197 -0
- package/tencentcloud/ess/v20201111/index.js +4 -0
- package/tencentcloud/ess/v20201111/models.js +2537 -0
- package/tencentcloud/essbasic/index.js +3 -0
- package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
- package/tencentcloud/essbasic/v20201222/index.js +4 -0
- package/tencentcloud/essbasic/v20201222/models.js +7555 -0
- package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
- package/tencentcloud/essbasic/v20210526/index.js +4 -0
- package/tencentcloud/essbasic/v20210526/models.js +3332 -0
- package/tencentcloud/facefusion/v20181201/models.js +15 -8
- package/tencentcloud/faceid/v20180301/faceid_client.js +118 -10
- package/tencentcloud/faceid/v20180301/models.js +1625 -201
- package/tencentcloud/ft/v20200304/models.js +8 -0
- package/tencentcloud/gaap/v20180529/gaap_client.js +628 -545
- package/tencentcloud/gaap/v20180529/models.js +1553 -292
- package/tencentcloud/gme/v20180711/gme_client.js +142 -38
- package/tencentcloud/gme/v20180711/models.js +1047 -219
- package/tencentcloud/gs/v20191118/gs_client.js +26 -0
- package/tencentcloud/gs/v20191118/models.js +139 -7
- package/tencentcloud/gse/v20191112/gse_client.js +19 -6
- package/tencentcloud/gse/v20191112/models.js +72 -0
- package/tencentcloud/iai/v20180301/iai_client.js +14 -83
- package/tencentcloud/iai/v20180301/models.js +110 -457
- package/tencentcloud/iai/v20200303/iai_client.js +30 -99
- package/tencentcloud/iai/v20200303/models.js +104 -453
- package/tencentcloud/ic/v20190307/models.js +8 -0
- package/tencentcloud/icr/index.js +3 -0
- package/tencentcloud/icr/v20211014/icr_client.js +57 -0
- package/tencentcloud/icr/v20211014/index.js +4 -0
- package/tencentcloud/icr/v20211014/models.js +753 -0
- package/tencentcloud/ie/v20200304/ie_client.js +3 -0
- package/tencentcloud/ie/v20200304/models.js +186 -31
- package/tencentcloud/iecp/index.js +3 -0
- package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
- package/tencentcloud/iecp/v20210914/index.js +4 -0
- package/tencentcloud/iecp/v20210914/models.js +14297 -0
- package/tencentcloud/ims/v20201229/ims_client.js +21 -14
- package/tencentcloud/ims/v20201229/models.js +124 -396
- package/tencentcloud/index.js +32 -0
- package/tencentcloud/iotcloud/index.js +1 -1
- package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +129 -9
- package/tencentcloud/iotcloud/v20180614/models.js +1154 -64
- package/tencentcloud/iotcloud/v20210408/index.js +4 -0
- package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
- package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
- package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +850 -272
- package/tencentcloud/iotexplorer/v20190423/models.js +6818 -1814
- package/tencentcloud/iotvideo/v20191126/models.js +7 -0
- package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +380 -48
- package/tencentcloud/iotvideo/v20201215/models.js +3291 -623
- package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1151 -227
- package/tencentcloud/iotvideoindustry/v20201201/models.js +8745 -1445
- package/tencentcloud/ivld/index.js +3 -0
- package/tencentcloud/ivld/v20210903/index.js +4 -0
- package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
- package/tencentcloud/ivld/v20210903/models.js +3686 -0
- package/tencentcloud/kms/v20190118/kms_client.js +3 -3
- package/tencentcloud/kms/v20190118/models.js +88 -5
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +376 -67
- package/tencentcloud/lighthouse/v20200324/models.js +3225 -422
- package/tencentcloud/live/v20180801/live_client.js +152 -41
- package/tencentcloud/live/v20180801/models.js +1379 -460
- package/tencentcloud/lowcode/index.js +3 -0
- package/tencentcloud/lowcode/v20210108/index.js +4 -0
- package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
- package/tencentcloud/lowcode/v20210108/models.js +626 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +226 -22
- package/tencentcloud/mariadb/v20170312/models.js +2556 -440
- package/tencentcloud/market/index.js +3 -0
- package/tencentcloud/market/v20191010/index.js +4 -0
- package/tencentcloud/market/v20191010/market_client.js +60 -0
- package/tencentcloud/market/v20191010/models.js +215 -0
- package/tencentcloud/memcached/v20190318/models.js +104 -103
- package/tencentcloud/mna/v20210119/mna_client.js +17 -1
- package/tencentcloud/mna/v20210119/models.js +305 -20
- package/tencentcloud/mongodb/v20190725/models.js +2705 -1793
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +110 -52
- package/tencentcloud/monitor/v20180724/models.js +2014 -314
- package/tencentcloud/monitor/v20180724/monitor_client.js +73 -15
- package/tencentcloud/mps/v20190612/models.js +566 -236
- package/tencentcloud/mps/v20190612/mps_client.js +10 -8
- package/tencentcloud/mrs/v20200910/models.js +2026 -538
- package/tencentcloud/mrs/v20200910/mrs_client.js +23 -6
- package/tencentcloud/nlp/v20190408/models.js +234 -496
- package/tencentcloud/nlp/v20190408/nlp_client.js +41 -53
- package/tencentcloud/oceanus/v20190422/models.js +619 -12
- package/tencentcloud/oceanus/v20190422/oceanus_client.js +33 -6
- package/tencentcloud/ocr/v20181119/models.js +2148 -386
- package/tencentcloud/ocr/v20181119/ocr_client.js +122 -33
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/organization/v20210331/index.js +4 -0
- package/tencentcloud/organization/v20210331/models.js +821 -0
- package/tencentcloud/organization/v20210331/organization_client.js +101 -0
- package/tencentcloud/partners/v20180321/models.js +223 -213
- package/tencentcloud/partners/v20180321/partners_client.js +33 -35
- package/tencentcloud/pds/index.js +3 -0
- package/tencentcloud/pds/v20210701/index.js +4 -0
- package/tencentcloud/pds/v20210701/models.js +271 -0
- package/tencentcloud/pds/v20210701/pds_client.js +61 -0
- package/tencentcloud/postgres/v20170312/models.js +3883 -1039
- package/tencentcloud/postgres/v20170312/postgres_client.js +295 -49
- package/tencentcloud/privatedns/v20201028/models.js +816 -108
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +82 -12
- package/tencentcloud/rce/v20201103/models.js +895 -371
- package/tencentcloud/rce/v20201103/rce_client.js +53 -6
- package/tencentcloud/redis/v20180412/models.js +2447 -412
- package/tencentcloud/redis/v20180412/redis_client.js +270 -44
- package/tencentcloud/rum/index.js +3 -0
- package/tencentcloud/rum/v20210622/index.js +4 -0
- package/tencentcloud/rum/v20210622/models.js +7436 -0
- package/tencentcloud/rum/v20210622/rum_client.js +760 -0
- package/tencentcloud/scf/v20180416/models.js +926 -61
- package/tencentcloud/scf/v20180416/scf_client.js +62 -16
- package/tencentcloud/ses/v20201002/models.js +1185 -192
- package/tencentcloud/ses/v20201002/ses_client.js +196 -99
- package/tencentcloud/smh/index.js +3 -0
- package/tencentcloud/smh/v20210712/index.js +4 -0
- package/tencentcloud/smh/v20210712/models.js +1370 -0
- package/tencentcloud/smh/v20210712/smh_client.js +167 -0
- package/tencentcloud/sms/v20190711/models.js +21 -15
- package/tencentcloud/sms/v20190711/sms_client.js +9 -8
- package/tencentcloud/sms/v20210111/models.js +227 -52
- package/tencentcloud/sms/v20210111/sms_client.js +23 -8
- package/tencentcloud/soe/v20180724/models.js +84 -31
- package/tencentcloud/soe/v20180724/soe_client.js +2 -2
- package/tencentcloud/sqlserver/v20180328/models.js +1613 -323
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +157 -45
- package/tencentcloud/ssa/v20180608/models.js +2624 -621
- package/tencentcloud/ssa/v20180608/ssa_client.js +103 -6
- package/tencentcloud/ssl/v20191205/models.js +721 -343
- package/tencentcloud/ssl/v20191205/ssl_client.js +34 -4
- package/tencentcloud/sslpod/v20190605/models.js +68 -17
- package/tencentcloud/ssm/v20190923/models.js +1311 -158
- package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
- package/tencentcloud/sts/v20180813/models.js +263 -9
- package/tencentcloud/sts/v20180813/sts_client.js +40 -12
- package/tencentcloud/taf/v20200210/models.js +191 -26
- package/tencentcloud/taf/v20200210/taf_client.js +5 -3
- package/tencentcloud/tag/v20180813/models.js +965 -167
- package/tencentcloud/tag/v20180813/tag_client.js +213 -107
- package/tencentcloud/tat/v20201028/models.js +1270 -105
- package/tencentcloud/tat/v20201028/tat_client.js +122 -10
- package/tencentcloud/tbaas/v20180416/models.js +637 -83
- package/tencentcloud/tbaas/v20180416/tbaas_client.js +57 -3
- package/tencentcloud/tcaplusdb/v20190823/models.js +341 -8
- package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +27 -0
- package/tencentcloud/tcb/v20180608/models.js +7202 -2829
- package/tencentcloud/tcb/v20180608/tcb_client.js +473 -66
- package/tencentcloud/tcm/index.js +3 -0
- package/tencentcloud/tcm/v20210413/index.js +4 -0
- package/tencentcloud/tcm/v20210413/models.js +2237 -0
- package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
- package/tencentcloud/tcr/v20190924/models.js +1281 -397
- package/tencentcloud/tcr/v20190924/tcr_client.js +628 -521
- package/tencentcloud/tcss/index.js +3 -0
- package/tencentcloud/tcss/v20201101/index.js +4 -0
- package/tencentcloud/tcss/v20201101/models.js +24927 -0
- package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
- package/tencentcloud/tdcpg/index.js +3 -0
- package/tencentcloud/tdcpg/v20211118/index.js +4 -0
- package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
- package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
- package/tencentcloud/tdid/index.js +3 -0
- package/tencentcloud/tdid/v20210519/index.js +4 -0
- package/tencentcloud/tdid/v20210519/models.js +978 -0
- package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
- package/tencentcloud/tdmq/v20200217/models.js +9354 -2607
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +959 -249
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tem/v20201221/models.js +978 -88
- package/tencentcloud/tem/v20201221/tem_client.js +61 -4
- package/tencentcloud/tem/v20210701/index.js +4 -0
- package/tencentcloud/tem/v20210701/models.js +4613 -0
- package/tencentcloud/tem/v20210701/tem_client.js +377 -0
- package/tencentcloud/teo/index.js +3 -0
- package/tencentcloud/teo/v20220106/index.js +4 -0
- package/tencentcloud/teo/v20220106/models.js +8307 -0
- package/tencentcloud/teo/v20220106/teo_client.js +728 -0
- package/tencentcloud/thpc/index.js +3 -0
- package/tencentcloud/thpc/v20211109/index.js +4 -0
- package/tencentcloud/thpc/v20211109/models.js +1491 -0
- package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
- package/tencentcloud/thpc/v20220401/index.js +4 -0
- package/tencentcloud/thpc/v20220401/models.js +1775 -0
- package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
- package/tencentcloud/tiia/v20190529/models.js +2135 -538
- package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
- package/tencentcloud/tiw/v20190919/models.js +760 -44
- package/tencentcloud/tiw/v20190919/tiw_client.js +57 -9
- package/tencentcloud/tke/v20180525/models.js +15766 -4914
- package/tencentcloud/tke/v20180525/tke_client.js +1674 -603
- package/tencentcloud/tms/v20200713/models.js +12 -14
- package/tencentcloud/tms/v20201229/models.js +79 -46
- package/tencentcloud/tms/v20201229/tms_client.js +18 -1
- package/tencentcloud/tmt/v20180321/models.js +474 -172
- package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
- package/tencentcloud/trtc/v20190722/models.js +1521 -762
- package/tencentcloud/trtc/v20190722/trtc_client.js +99 -75
- package/tencentcloud/tse/v20201207/models.js +524 -122
- package/tencentcloud/tse/v20201207/tse_client.js +13 -33
- package/tencentcloud/tsf/v20180326/models.js +9949 -4510
- package/tencentcloud/tsf/v20180326/tsf_client.js +391 -133
- package/tencentcloud/tts/v20190823/models.js +305 -10
- package/tencentcloud/tts/v20190823/tts_client.js +38 -0
- package/tencentcloud/vm/v20201229/models.js +188 -201
- package/tencentcloud/vm/v20201229/vm_client.js +47 -4
- package/tencentcloud/vod/v20180717/models.js +3349 -953
- package/tencentcloud/vod/v20180717/vod_client.js +294 -63
- package/tencentcloud/vpc/v20170312/models.js +3761 -591
- package/tencentcloud/vpc/v20170312/vpc_client.js +552 -140
- package/tencentcloud/waf/v20180125/models.js +3991 -322
- package/tencentcloud/waf/v20180125/waf_client.js +394 -44
- package/tencentcloud/wav/index.js +3 -0
- package/tencentcloud/wav/v20210129/index.js +4 -0
- package/tencentcloud/wav/v20210129/models.js +4170 -0
- package/tencentcloud/wav/v20210129/wav_client.js +345 -0
|
@@ -55,7 +55,7 @@ class TagInstance extends AbstractModel {
|
|
|
55
55
|
/**
|
|
56
56
|
* 地域ID
|
|
57
57
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {number || null}
|
|
59
59
|
*/
|
|
60
60
|
this.RegionId = null;
|
|
61
61
|
|
|
@@ -533,6 +533,42 @@ class DescribeServiceDiscoveryResponse extends AbstractModel {
|
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
+
/**
|
|
537
|
+
* Prometheus 托管服务标签
|
|
538
|
+
* @class
|
|
539
|
+
*/
|
|
540
|
+
class PrometheusTag extends AbstractModel {
|
|
541
|
+
constructor(){
|
|
542
|
+
super();
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* 标签的健值
|
|
546
|
+
* @type {string || null}
|
|
547
|
+
*/
|
|
548
|
+
this.Key = null;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* 标签对应的值
|
|
552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
553
|
+
* @type {string || null}
|
|
554
|
+
*/
|
|
555
|
+
this.Value = null;
|
|
556
|
+
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @private
|
|
561
|
+
*/
|
|
562
|
+
deserialize(params) {
|
|
563
|
+
if (!params) {
|
|
564
|
+
return;
|
|
565
|
+
}
|
|
566
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
567
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
568
|
+
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
536
572
|
/**
|
|
537
573
|
* 指标告警配置
|
|
538
574
|
* @class
|
|
@@ -660,6 +696,57 @@ class DescribeAlertRulesRequest extends AbstractModel {
|
|
|
660
696
|
}
|
|
661
697
|
}
|
|
662
698
|
|
|
699
|
+
/**
|
|
700
|
+
* DescribePrometheusInstances返回参数结构体
|
|
701
|
+
* @class
|
|
702
|
+
*/
|
|
703
|
+
class DescribePrometheusInstancesResponse extends AbstractModel {
|
|
704
|
+
constructor(){
|
|
705
|
+
super();
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* 实例详细信息列表。
|
|
709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
710
|
+
* @type {Array.<PrometheusInstancesItem> || null}
|
|
711
|
+
*/
|
|
712
|
+
this.InstanceSet = null;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* 符合条件的实例数量。
|
|
716
|
+
* @type {number || null}
|
|
717
|
+
*/
|
|
718
|
+
this.TotalCount = null;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
722
|
+
* @type {string || null}
|
|
723
|
+
*/
|
|
724
|
+
this.RequestId = null;
|
|
725
|
+
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @private
|
|
730
|
+
*/
|
|
731
|
+
deserialize(params) {
|
|
732
|
+
if (!params) {
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
if (params.InstanceSet) {
|
|
737
|
+
this.InstanceSet = new Array();
|
|
738
|
+
for (let z in params.InstanceSet) {
|
|
739
|
+
let obj = new PrometheusInstancesItem();
|
|
740
|
+
obj.deserialize(params.InstanceSet[z]);
|
|
741
|
+
this.InstanceSet.push(obj);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
745
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
746
|
+
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
663
750
|
/**
|
|
664
751
|
* DescribePolicyGroupList返回参数结构体
|
|
665
752
|
* @class
|
|
@@ -720,16 +807,22 @@ class BindingPolicyObjectRequest extends AbstractModel {
|
|
|
720
807
|
super();
|
|
721
808
|
|
|
722
809
|
/**
|
|
723
|
-
*
|
|
810
|
+
* 必填。固定值"monitor"
|
|
811
|
+
* @type {string || null}
|
|
812
|
+
*/
|
|
813
|
+
this.Module = null;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* 策略组id,例如 4739573。逐渐弃用,建议使用 PolicyId 参数
|
|
724
817
|
* @type {number || null}
|
|
725
818
|
*/
|
|
726
819
|
this.GroupId = null;
|
|
727
820
|
|
|
728
821
|
/**
|
|
729
|
-
*
|
|
822
|
+
* 告警策略ID,例如“policy-gh892hg0”。PolicyId 参数与 GroupId 参数至少要填一个,否则会报参数错误,建议使用该参数。若两者同时存在则以该参数为准
|
|
730
823
|
* @type {string || null}
|
|
731
824
|
*/
|
|
732
|
-
this.
|
|
825
|
+
this.PolicyId = null;
|
|
733
826
|
|
|
734
827
|
/**
|
|
735
828
|
* 实例分组ID
|
|
@@ -743,12 +836,6 @@ class BindingPolicyObjectRequest extends AbstractModel {
|
|
|
743
836
|
*/
|
|
744
837
|
this.Dimensions = null;
|
|
745
838
|
|
|
746
|
-
/**
|
|
747
|
-
* 告警策略ID,使用此字段时 GroupId 会被忽略
|
|
748
|
-
* @type {string || null}
|
|
749
|
-
*/
|
|
750
|
-
this.PolicyId = null;
|
|
751
|
-
|
|
752
839
|
}
|
|
753
840
|
|
|
754
841
|
/**
|
|
@@ -758,8 +845,9 @@ class BindingPolicyObjectRequest extends AbstractModel {
|
|
|
758
845
|
if (!params) {
|
|
759
846
|
return;
|
|
760
847
|
}
|
|
761
|
-
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
762
848
|
this.Module = 'Module' in params ? params.Module : null;
|
|
849
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
850
|
+
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
763
851
|
this.InstanceGroupId = 'InstanceGroupId' in params ? params.InstanceGroupId : null;
|
|
764
852
|
|
|
765
853
|
if (params.Dimensions) {
|
|
@@ -770,7 +858,6 @@ class BindingPolicyObjectRequest extends AbstractModel {
|
|
|
770
858
|
this.Dimensions.push(obj);
|
|
771
859
|
}
|
|
772
860
|
}
|
|
773
|
-
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
774
861
|
|
|
775
862
|
}
|
|
776
863
|
}
|
|
@@ -941,6 +1028,34 @@ class UpdateAlertRuleStateResponse extends AbstractModel {
|
|
|
941
1028
|
}
|
|
942
1029
|
}
|
|
943
1030
|
|
|
1031
|
+
/**
|
|
1032
|
+
* BindingPolicyTag返回参数结构体
|
|
1033
|
+
* @class
|
|
1034
|
+
*/
|
|
1035
|
+
class BindingPolicyTagResponse extends AbstractModel {
|
|
1036
|
+
constructor(){
|
|
1037
|
+
super();
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1041
|
+
* @type {string || null}
|
|
1042
|
+
*/
|
|
1043
|
+
this.RequestId = null;
|
|
1044
|
+
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* @private
|
|
1049
|
+
*/
|
|
1050
|
+
deserialize(params) {
|
|
1051
|
+
if (!params) {
|
|
1052
|
+
return;
|
|
1053
|
+
}
|
|
1054
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1055
|
+
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
944
1059
|
/**
|
|
945
1060
|
* DeleteServiceDiscovery返回参数结构体
|
|
946
1061
|
* @class
|
|
@@ -1094,7 +1209,7 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1094
1209
|
this.MonitorType = null;
|
|
1095
1210
|
|
|
1096
1211
|
/**
|
|
1097
|
-
* 告警策略类型,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683)
|
|
1212
|
+
* 告警策略类型,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device
|
|
1098
1213
|
* @type {string || null}
|
|
1099
1214
|
*/
|
|
1100
1215
|
this.Namespace = null;
|
|
@@ -1118,7 +1233,7 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1118
1233
|
this.ProjectId = null;
|
|
1119
1234
|
|
|
1120
1235
|
/**
|
|
1121
|
-
* 触发条件模板 Id
|
|
1236
|
+
* 触发条件模板 Id,该参数与 Condition 参数二选一。如果策略绑定触发条件模板,则传该参数;否则不传该参数,而是传 Condition 参数。触发条件模板 Id 可以从 [DescribeConditionsTemplateList](https://cloud.tencent.com/document/api/248/70250) 接口获取。
|
|
1122
1237
|
* @type {number || null}
|
|
1123
1238
|
*/
|
|
1124
1239
|
this.ConditionTemplateId = null;
|
|
@@ -1147,6 +1262,18 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1147
1262
|
*/
|
|
1148
1263
|
this.TriggerTasks = null;
|
|
1149
1264
|
|
|
1265
|
+
/**
|
|
1266
|
+
* 全局过滤条件
|
|
1267
|
+
* @type {AlarmPolicyFilter || null}
|
|
1268
|
+
*/
|
|
1269
|
+
this.Filter = null;
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* 聚合维度列表,指定按哪些维度 key 来做 group by
|
|
1273
|
+
* @type {Array.<string> || null}
|
|
1274
|
+
*/
|
|
1275
|
+
this.GroupBy = null;
|
|
1276
|
+
|
|
1150
1277
|
}
|
|
1151
1278
|
|
|
1152
1279
|
/**
|
|
@@ -1187,6 +1314,13 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1187
1314
|
}
|
|
1188
1315
|
}
|
|
1189
1316
|
|
|
1317
|
+
if (params.Filter) {
|
|
1318
|
+
let obj = new AlarmPolicyFilter();
|
|
1319
|
+
obj.deserialize(params.Filter)
|
|
1320
|
+
this.Filter = obj;
|
|
1321
|
+
}
|
|
1322
|
+
this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
|
|
1323
|
+
|
|
1190
1324
|
}
|
|
1191
1325
|
}
|
|
1192
1326
|
|
|
@@ -1464,23 +1598,29 @@ class ModifyAlarmPolicyNoticeRequest extends AbstractModel {
|
|
|
1464
1598
|
super();
|
|
1465
1599
|
|
|
1466
1600
|
/**
|
|
1467
|
-
* 模块名,这里填“monitor
|
|
1601
|
+
* 模块名,这里填“monitor”。
|
|
1468
1602
|
* @type {string || null}
|
|
1469
1603
|
*/
|
|
1470
1604
|
this.Module = null;
|
|
1471
1605
|
|
|
1472
1606
|
/**
|
|
1473
|
-
* 告警策略 ID
|
|
1607
|
+
* 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。
|
|
1474
1608
|
* @type {string || null}
|
|
1475
1609
|
*/
|
|
1476
1610
|
this.PolicyId = null;
|
|
1477
1611
|
|
|
1478
1612
|
/**
|
|
1479
|
-
* 告警通知模板 ID
|
|
1613
|
+
* 告警通知模板 ID 列表。
|
|
1480
1614
|
* @type {Array.<string> || null}
|
|
1481
1615
|
*/
|
|
1482
1616
|
this.NoticeIds = null;
|
|
1483
1617
|
|
|
1618
|
+
/**
|
|
1619
|
+
* 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。
|
|
1620
|
+
* @type {Array.<string> || null}
|
|
1621
|
+
*/
|
|
1622
|
+
this.PolicyIds = null;
|
|
1623
|
+
|
|
1484
1624
|
}
|
|
1485
1625
|
|
|
1486
1626
|
/**
|
|
@@ -1493,6 +1633,7 @@ class ModifyAlarmPolicyNoticeRequest extends AbstractModel {
|
|
|
1493
1633
|
this.Module = 'Module' in params ? params.Module : null;
|
|
1494
1634
|
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
1495
1635
|
this.NoticeIds = 'NoticeIds' in params ? params.NoticeIds : null;
|
|
1636
|
+
this.PolicyIds = 'PolicyIds' in params ? params.PolicyIds : null;
|
|
1496
1637
|
|
|
1497
1638
|
}
|
|
1498
1639
|
}
|
|
@@ -1533,36 +1674,24 @@ class DeleteAlarmPolicyRequest extends AbstractModel {
|
|
|
1533
1674
|
}
|
|
1534
1675
|
|
|
1535
1676
|
/**
|
|
1536
|
-
*
|
|
1677
|
+
* 策略标签
|
|
1537
1678
|
* @class
|
|
1538
1679
|
*/
|
|
1539
|
-
class
|
|
1680
|
+
class PolicyTag extends AbstractModel {
|
|
1540
1681
|
constructor(){
|
|
1541
1682
|
super();
|
|
1542
1683
|
|
|
1543
1684
|
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @type {Array.<MetricDatum> || null}
|
|
1546
|
-
*/
|
|
1547
|
-
this.Metrics = null;
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* 上报时自行指定的 IP
|
|
1685
|
+
* 标签Key
|
|
1551
1686
|
* @type {string || null}
|
|
1552
1687
|
*/
|
|
1553
|
-
this.
|
|
1554
|
-
|
|
1555
|
-
/**
|
|
1556
|
-
* 上报时自行指定的时间戳
|
|
1557
|
-
* @type {number || null}
|
|
1558
|
-
*/
|
|
1559
|
-
this.AnnounceTimestamp = null;
|
|
1688
|
+
this.Key = null;
|
|
1560
1689
|
|
|
1561
1690
|
/**
|
|
1562
|
-
*
|
|
1691
|
+
* 标签Value
|
|
1563
1692
|
* @type {string || null}
|
|
1564
1693
|
*/
|
|
1565
|
-
this.
|
|
1694
|
+
this.Value = null;
|
|
1566
1695
|
|
|
1567
1696
|
}
|
|
1568
1697
|
|
|
@@ -1573,106 +1702,51 @@ class PutMonitorDataRequest extends AbstractModel {
|
|
|
1573
1702
|
if (!params) {
|
|
1574
1703
|
return;
|
|
1575
1704
|
}
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
this.Metrics = new Array();
|
|
1579
|
-
for (let z in params.Metrics) {
|
|
1580
|
-
let obj = new MetricDatum();
|
|
1581
|
-
obj.deserialize(params.Metrics[z]);
|
|
1582
|
-
this.Metrics.push(obj);
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
this.AnnounceIp = 'AnnounceIp' in params ? params.AnnounceIp : null;
|
|
1586
|
-
this.AnnounceTimestamp = 'AnnounceTimestamp' in params ? params.AnnounceTimestamp : null;
|
|
1587
|
-
this.AnnounceInstance = 'AnnounceInstance' in params ? params.AnnounceInstance : null;
|
|
1705
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1706
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1588
1707
|
|
|
1589
1708
|
}
|
|
1590
1709
|
}
|
|
1591
1710
|
|
|
1592
1711
|
/**
|
|
1593
|
-
*
|
|
1712
|
+
* 事件告警条件
|
|
1594
1713
|
* @class
|
|
1595
1714
|
*/
|
|
1596
|
-
class
|
|
1715
|
+
class EventCondition extends AbstractModel {
|
|
1597
1716
|
constructor(){
|
|
1598
1717
|
super();
|
|
1599
1718
|
|
|
1600
1719
|
/**
|
|
1601
|
-
*
|
|
1720
|
+
* 告警通知频率
|
|
1602
1721
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1603
1722
|
* @type {string || null}
|
|
1604
1723
|
*/
|
|
1605
|
-
this.
|
|
1724
|
+
this.AlarmNotifyPeriod = null;
|
|
1606
1725
|
|
|
1607
1726
|
/**
|
|
1608
|
-
*
|
|
1727
|
+
* 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
|
1728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
1729
|
* @type {string || null}
|
|
1610
1730
|
*/
|
|
1611
|
-
this.
|
|
1612
|
-
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
/**
|
|
1616
|
-
* @private
|
|
1617
|
-
*/
|
|
1618
|
-
deserialize(params) {
|
|
1619
|
-
if (!params) {
|
|
1620
|
-
return;
|
|
1621
|
-
}
|
|
1622
|
-
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
1623
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1624
|
-
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* CreatePolicyGroup返回参数结构体
|
|
1630
|
-
* @class
|
|
1631
|
-
*/
|
|
1632
|
-
class CreatePolicyGroupResponse extends AbstractModel {
|
|
1633
|
-
constructor(){
|
|
1634
|
-
super();
|
|
1731
|
+
this.AlarmNotifyType = null;
|
|
1635
1732
|
|
|
1636
1733
|
/**
|
|
1637
|
-
*
|
|
1638
|
-
* @type {
|
|
1734
|
+
* 事件ID
|
|
1735
|
+
* @type {string || null}
|
|
1639
1736
|
*/
|
|
1640
|
-
this.
|
|
1737
|
+
this.EventID = null;
|
|
1641
1738
|
|
|
1642
1739
|
/**
|
|
1643
|
-
*
|
|
1740
|
+
* 事件展示名称(对外)
|
|
1644
1741
|
* @type {string || null}
|
|
1645
1742
|
*/
|
|
1646
|
-
this.
|
|
1647
|
-
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* @private
|
|
1652
|
-
*/
|
|
1653
|
-
deserialize(params) {
|
|
1654
|
-
if (!params) {
|
|
1655
|
-
return;
|
|
1656
|
-
}
|
|
1657
|
-
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
1658
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
/**
|
|
1664
|
-
* ModifyAlarmPolicyTasks返回参数结构体
|
|
1665
|
-
* @class
|
|
1666
|
-
*/
|
|
1667
|
-
class ModifyAlarmPolicyTasksResponse extends AbstractModel {
|
|
1668
|
-
constructor(){
|
|
1669
|
-
super();
|
|
1743
|
+
this.EventDisplayName = null;
|
|
1670
1744
|
|
|
1671
1745
|
/**
|
|
1672
|
-
*
|
|
1746
|
+
* 规则ID
|
|
1673
1747
|
* @type {string || null}
|
|
1674
1748
|
*/
|
|
1675
|
-
this.
|
|
1749
|
+
this.RuleID = null;
|
|
1676
1750
|
|
|
1677
1751
|
}
|
|
1678
1752
|
|
|
@@ -1683,32 +1757,487 @@ class ModifyAlarmPolicyTasksResponse extends AbstractModel {
|
|
|
1683
1757
|
if (!params) {
|
|
1684
1758
|
return;
|
|
1685
1759
|
}
|
|
1686
|
-
this.
|
|
1760
|
+
this.AlarmNotifyPeriod = 'AlarmNotifyPeriod' in params ? params.AlarmNotifyPeriod : null;
|
|
1761
|
+
this.AlarmNotifyType = 'AlarmNotifyType' in params ? params.AlarmNotifyType : null;
|
|
1762
|
+
this.EventID = 'EventID' in params ? params.EventID : null;
|
|
1763
|
+
this.EventDisplayName = 'EventDisplayName' in params ? params.EventDisplayName : null;
|
|
1764
|
+
this.RuleID = 'RuleID' in params ? params.RuleID : null;
|
|
1687
1765
|
|
|
1688
1766
|
}
|
|
1689
1767
|
}
|
|
1690
1768
|
|
|
1691
1769
|
/**
|
|
1692
|
-
*
|
|
1770
|
+
* Prometheus 服务响应体
|
|
1693
1771
|
* @class
|
|
1694
1772
|
*/
|
|
1695
|
-
class
|
|
1773
|
+
class PrometheusInstancesItem extends AbstractModel {
|
|
1696
1774
|
constructor(){
|
|
1697
1775
|
super();
|
|
1698
1776
|
|
|
1699
1777
|
/**
|
|
1700
|
-
*
|
|
1701
|
-
* @type {
|
|
1778
|
+
* 实例ID。
|
|
1779
|
+
* @type {string || null}
|
|
1702
1780
|
*/
|
|
1703
|
-
this.
|
|
1781
|
+
this.InstanceId = null;
|
|
1704
1782
|
|
|
1705
1783
|
/**
|
|
1706
|
-
*
|
|
1784
|
+
* 实例名称。
|
|
1707
1785
|
* @type {string || null}
|
|
1708
1786
|
*/
|
|
1709
|
-
this.
|
|
1787
|
+
this.InstanceName = null;
|
|
1710
1788
|
|
|
1711
|
-
|
|
1789
|
+
/**
|
|
1790
|
+
* 实例计费模式。取值范围:
|
|
1791
|
+
<ul>
|
|
1792
|
+
<li>2:包年包月</li>
|
|
1793
|
+
<li>3:按量</li>
|
|
1794
|
+
</ul>
|
|
1795
|
+
* @type {number || null}
|
|
1796
|
+
*/
|
|
1797
|
+
this.InstanceChargeType = null;
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* 地域 ID
|
|
1801
|
+
* @type {number || null}
|
|
1802
|
+
*/
|
|
1803
|
+
this.RegionId = null;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* 可用区
|
|
1807
|
+
* @type {string || null}
|
|
1808
|
+
*/
|
|
1809
|
+
this.Zone = null;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* VPC ID
|
|
1813
|
+
* @type {string || null}
|
|
1814
|
+
*/
|
|
1815
|
+
this.VpcId = null;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* 子网 ID
|
|
1819
|
+
* @type {string || null}
|
|
1820
|
+
*/
|
|
1821
|
+
this.SubnetId = null;
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* 存储周期
|
|
1825
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1826
|
+
* @type {number || null}
|
|
1827
|
+
*/
|
|
1828
|
+
this.DataRetentionTime = null;
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* 实例业务状态。取值范围:
|
|
1832
|
+
<ul>
|
|
1833
|
+
<li>1:正在创建</li>
|
|
1834
|
+
<li>2:运行中</li>
|
|
1835
|
+
<li>3:异常</li>
|
|
1836
|
+
<li>4:重建中</li>
|
|
1837
|
+
<li>5:销毁中</li>
|
|
1838
|
+
<li>6:已停服</li>
|
|
1839
|
+
<li>8:欠费停服中</li>
|
|
1840
|
+
<li>9:欠费已停服</li>
|
|
1841
|
+
</ul>
|
|
1842
|
+
* @type {number || null}
|
|
1843
|
+
*/
|
|
1844
|
+
this.InstanceStatus = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Grafana 面板 URL
|
|
1848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1849
|
+
* @type {string || null}
|
|
1850
|
+
*/
|
|
1851
|
+
this.GrafanaURL = null;
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* 创建时间
|
|
1855
|
+
* @type {string || null}
|
|
1856
|
+
*/
|
|
1857
|
+
this.CreatedAt = null;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* 是否开启 Grafana
|
|
1861
|
+
<li>0:不开启</li>
|
|
1862
|
+
<li>1:开启</li>
|
|
1863
|
+
* @type {number || null}
|
|
1864
|
+
*/
|
|
1865
|
+
this.EnableGrafana = null;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* 实例IPV4地址
|
|
1869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1870
|
+
* @type {string || null}
|
|
1871
|
+
*/
|
|
1872
|
+
this.IPv4Address = null;
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* 实例关联的标签列表。
|
|
1876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1877
|
+
* @type {Array.<PrometheusTag> || null}
|
|
1878
|
+
*/
|
|
1879
|
+
this.TagSpecification = null;
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* 购买的实例过期时间
|
|
1883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1884
|
+
* @type {string || null}
|
|
1885
|
+
*/
|
|
1886
|
+
this.ExpireTime = null;
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* 计费状态
|
|
1890
|
+
<ul>
|
|
1891
|
+
<li>1:正常</li>
|
|
1892
|
+
<li>2:过期</li>
|
|
1893
|
+
<li>3:销毁</li>
|
|
1894
|
+
<li>4:分配中</li>
|
|
1895
|
+
<li>5:分配失败</li>
|
|
1896
|
+
</ul>
|
|
1897
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1898
|
+
* @type {number || null}
|
|
1899
|
+
*/
|
|
1900
|
+
this.ChargeStatus = null;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* 规格名称
|
|
1904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1905
|
+
* @type {string || null}
|
|
1906
|
+
*/
|
|
1907
|
+
this.SpecName = null;
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* 自动续费标记
|
|
1911
|
+
<ul>
|
|
1912
|
+
<li>0:不自动续费</li>
|
|
1913
|
+
<li>1:开启自动续费</li>
|
|
1914
|
+
<li>2:禁止自动续费</li>
|
|
1915
|
+
<li>-1:无效</ii>
|
|
1916
|
+
</ul>
|
|
1917
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1918
|
+
* @type {number || null}
|
|
1919
|
+
*/
|
|
1920
|
+
this.AutoRenewFlag = null;
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* 是否快过期
|
|
1924
|
+
<ul>
|
|
1925
|
+
<li>0:否</li>
|
|
1926
|
+
<li>1:快过期</li>
|
|
1927
|
+
</ul>
|
|
1928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1929
|
+
* @type {number || null}
|
|
1930
|
+
*/
|
|
1931
|
+
this.IsNearExpire = null;
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* 数据写入需要的 Token
|
|
1935
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1936
|
+
* @type {string || null}
|
|
1937
|
+
*/
|
|
1938
|
+
this.AuthToken = null;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* Prometheus Remote Write 的地址
|
|
1942
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1943
|
+
* @type {string || null}
|
|
1944
|
+
*/
|
|
1945
|
+
this.RemoteWrite = null;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Prometheus HTTP Api 根地址
|
|
1949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1950
|
+
* @type {string || null}
|
|
1951
|
+
*/
|
|
1952
|
+
this.ApiRootPath = null;
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Proxy 的地址
|
|
1956
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1957
|
+
* @type {string || null}
|
|
1958
|
+
*/
|
|
1959
|
+
this.ProxyAddress = null;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Grafana 运行状态
|
|
1963
|
+
<ul>
|
|
1964
|
+
<li>1:正在创建</li>
|
|
1965
|
+
<li>2:运行中</li>
|
|
1966
|
+
<li>3:异常</li>
|
|
1967
|
+
<li>4:重启中</li>
|
|
1968
|
+
<li>5:销毁中</li>
|
|
1969
|
+
<li>6:已停机</li>
|
|
1970
|
+
<li>7:已删除</li>
|
|
1971
|
+
</ul>
|
|
1972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1973
|
+
* @type {number || null}
|
|
1974
|
+
*/
|
|
1975
|
+
this.GrafanaStatus = null;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Grafana IP 白名单列表,使用英文分号分隔
|
|
1979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1980
|
+
* @type {string || null}
|
|
1981
|
+
*/
|
|
1982
|
+
this.GrafanaIpWhiteList = null;
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* 实例的授权信息
|
|
1986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1987
|
+
* @type {PrometheusInstanceGrantInfo || null}
|
|
1988
|
+
*/
|
|
1989
|
+
this.Grant = null;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* 绑定的 Grafana 实例 ID
|
|
1993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1994
|
+
* @type {string || null}
|
|
1995
|
+
*/
|
|
1996
|
+
this.GrafanaInstanceId = null;
|
|
1997
|
+
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* @private
|
|
2002
|
+
*/
|
|
2003
|
+
deserialize(params) {
|
|
2004
|
+
if (!params) {
|
|
2005
|
+
return;
|
|
2006
|
+
}
|
|
2007
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2008
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
2009
|
+
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
2010
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
2011
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
2012
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
2013
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
2014
|
+
this.DataRetentionTime = 'DataRetentionTime' in params ? params.DataRetentionTime : null;
|
|
2015
|
+
this.InstanceStatus = 'InstanceStatus' in params ? params.InstanceStatus : null;
|
|
2016
|
+
this.GrafanaURL = 'GrafanaURL' in params ? params.GrafanaURL : null;
|
|
2017
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
2018
|
+
this.EnableGrafana = 'EnableGrafana' in params ? params.EnableGrafana : null;
|
|
2019
|
+
this.IPv4Address = 'IPv4Address' in params ? params.IPv4Address : null;
|
|
2020
|
+
|
|
2021
|
+
if (params.TagSpecification) {
|
|
2022
|
+
this.TagSpecification = new Array();
|
|
2023
|
+
for (let z in params.TagSpecification) {
|
|
2024
|
+
let obj = new PrometheusTag();
|
|
2025
|
+
obj.deserialize(params.TagSpecification[z]);
|
|
2026
|
+
this.TagSpecification.push(obj);
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
2030
|
+
this.ChargeStatus = 'ChargeStatus' in params ? params.ChargeStatus : null;
|
|
2031
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
2032
|
+
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
2033
|
+
this.IsNearExpire = 'IsNearExpire' in params ? params.IsNearExpire : null;
|
|
2034
|
+
this.AuthToken = 'AuthToken' in params ? params.AuthToken : null;
|
|
2035
|
+
this.RemoteWrite = 'RemoteWrite' in params ? params.RemoteWrite : null;
|
|
2036
|
+
this.ApiRootPath = 'ApiRootPath' in params ? params.ApiRootPath : null;
|
|
2037
|
+
this.ProxyAddress = 'ProxyAddress' in params ? params.ProxyAddress : null;
|
|
2038
|
+
this.GrafanaStatus = 'GrafanaStatus' in params ? params.GrafanaStatus : null;
|
|
2039
|
+
this.GrafanaIpWhiteList = 'GrafanaIpWhiteList' in params ? params.GrafanaIpWhiteList : null;
|
|
2040
|
+
|
|
2041
|
+
if (params.Grant) {
|
|
2042
|
+
let obj = new PrometheusInstanceGrantInfo();
|
|
2043
|
+
obj.deserialize(params.Grant)
|
|
2044
|
+
this.Grant = obj;
|
|
2045
|
+
}
|
|
2046
|
+
this.GrafanaInstanceId = 'GrafanaInstanceId' in params ? params.GrafanaInstanceId : null;
|
|
2047
|
+
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* DescribeConditionsTemplateList请求参数结构体
|
|
2053
|
+
* @class
|
|
2054
|
+
*/
|
|
2055
|
+
class DescribeConditionsTemplateListRequest extends AbstractModel {
|
|
2056
|
+
constructor(){
|
|
2057
|
+
super();
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* 固定值,为"monitor"
|
|
2061
|
+
* @type {string || null}
|
|
2062
|
+
*/
|
|
2063
|
+
this.Module = null;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* 视图名,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device
|
|
2067
|
+
* @type {string || null}
|
|
2068
|
+
*/
|
|
2069
|
+
this.ViewName = null;
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* 根据触发条件模板名称过滤查询
|
|
2073
|
+
* @type {string || null}
|
|
2074
|
+
*/
|
|
2075
|
+
this.GroupName = null;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* 根据触发条件模板ID过滤查询
|
|
2079
|
+
* @type {string || null}
|
|
2080
|
+
*/
|
|
2081
|
+
this.GroupID = null;
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* 分页参数,每页返回的数量,取值1~100,默认20
|
|
2085
|
+
* @type {number || null}
|
|
2086
|
+
*/
|
|
2087
|
+
this.Limit = null;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* 分页参数,页偏移量,从0开始计数,默认0
|
|
2091
|
+
* @type {number || null}
|
|
2092
|
+
*/
|
|
2093
|
+
this.Offset = null;
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* 指定按更新时间的排序方式,asc=升序, desc=降序
|
|
2097
|
+
* @type {string || null}
|
|
2098
|
+
*/
|
|
2099
|
+
this.UpdateTimeOrder = null;
|
|
2100
|
+
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* @private
|
|
2105
|
+
*/
|
|
2106
|
+
deserialize(params) {
|
|
2107
|
+
if (!params) {
|
|
2108
|
+
return;
|
|
2109
|
+
}
|
|
2110
|
+
this.Module = 'Module' in params ? params.Module : null;
|
|
2111
|
+
this.ViewName = 'ViewName' in params ? params.ViewName : null;
|
|
2112
|
+
this.GroupName = 'GroupName' in params ? params.GroupName : null;
|
|
2113
|
+
this.GroupID = 'GroupID' in params ? params.GroupID : null;
|
|
2114
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2115
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2116
|
+
this.UpdateTimeOrder = 'UpdateTimeOrder' in params ? params.UpdateTimeOrder : null;
|
|
2117
|
+
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* CreateAlertRule返回参数结构体
|
|
2123
|
+
* @class
|
|
2124
|
+
*/
|
|
2125
|
+
class CreateAlertRuleResponse extends AbstractModel {
|
|
2126
|
+
constructor(){
|
|
2127
|
+
super();
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* 规则 ID
|
|
2131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2132
|
+
* @type {string || null}
|
|
2133
|
+
*/
|
|
2134
|
+
this.RuleId = null;
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2138
|
+
* @type {string || null}
|
|
2139
|
+
*/
|
|
2140
|
+
this.RequestId = null;
|
|
2141
|
+
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* @private
|
|
2146
|
+
*/
|
|
2147
|
+
deserialize(params) {
|
|
2148
|
+
if (!params) {
|
|
2149
|
+
return;
|
|
2150
|
+
}
|
|
2151
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
2152
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2153
|
+
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* CreatePolicyGroup返回参数结构体
|
|
2159
|
+
* @class
|
|
2160
|
+
*/
|
|
2161
|
+
class CreatePolicyGroupResponse extends AbstractModel {
|
|
2162
|
+
constructor(){
|
|
2163
|
+
super();
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* 创建成功的策略组Id
|
|
2167
|
+
* @type {number || null}
|
|
2168
|
+
*/
|
|
2169
|
+
this.GroupId = null;
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2173
|
+
* @type {string || null}
|
|
2174
|
+
*/
|
|
2175
|
+
this.RequestId = null;
|
|
2176
|
+
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* @private
|
|
2181
|
+
*/
|
|
2182
|
+
deserialize(params) {
|
|
2183
|
+
if (!params) {
|
|
2184
|
+
return;
|
|
2185
|
+
}
|
|
2186
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
2187
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2188
|
+
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* ModifyAlarmPolicyTasks返回参数结构体
|
|
2194
|
+
* @class
|
|
2195
|
+
*/
|
|
2196
|
+
class ModifyAlarmPolicyTasksResponse extends AbstractModel {
|
|
2197
|
+
constructor(){
|
|
2198
|
+
super();
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2202
|
+
* @type {string || null}
|
|
2203
|
+
*/
|
|
2204
|
+
this.RequestId = null;
|
|
2205
|
+
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
/**
|
|
2209
|
+
* @private
|
|
2210
|
+
*/
|
|
2211
|
+
deserialize(params) {
|
|
2212
|
+
if (!params) {
|
|
2213
|
+
return;
|
|
2214
|
+
}
|
|
2215
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2216
|
+
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* DescribeBaseMetrics返回参数结构体
|
|
2222
|
+
* @class
|
|
2223
|
+
*/
|
|
2224
|
+
class DescribeBaseMetricsResponse extends AbstractModel {
|
|
2225
|
+
constructor(){
|
|
2226
|
+
super();
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* 查询得到的指标描述列表
|
|
2230
|
+
* @type {Array.<MetricSet> || null}
|
|
2231
|
+
*/
|
|
2232
|
+
this.MetricSet = null;
|
|
2233
|
+
|
|
2234
|
+
/**
|
|
2235
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2236
|
+
* @type {string || null}
|
|
2237
|
+
*/
|
|
2238
|
+
this.RequestId = null;
|
|
2239
|
+
|
|
2240
|
+
}
|
|
1712
2241
|
|
|
1713
2242
|
/**
|
|
1714
2243
|
* @private
|
|
@@ -1875,13 +2404,13 @@ class GetMonitorDataRequest extends AbstractModel {
|
|
|
1875
2404
|
this.MetricName = null;
|
|
1876
2405
|
|
|
1877
2406
|
/**
|
|
1878
|
-
* 实例对象的维度组合,格式为key-value
|
|
2407
|
+
* 实例对象的维度组合,格式为key-value键值对形式的集合。不同类型的实例字段完全不同,如CVM为[{"Name":"InstanceId","Value":"ins-j0hk02zo"}],Ckafka为[{"Name":"instanceId","Value":"ckafka-l49k54dd"}],COS为[{"Name":"appid","Value":"1258344699"},{"Name":"bucket","Value":"rig-1258344699"}]。各个云产品的维度请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的维度列即为维度组合的key,value为key对应的值。单请求最多支持批量拉取10个实例的监控数据。
|
|
1879
2408
|
* @type {Array.<Instance> || null}
|
|
1880
2409
|
*/
|
|
1881
2410
|
this.Instances = null;
|
|
1882
2411
|
|
|
1883
2412
|
/**
|
|
1884
|
-
* 监控统计周期,如60。默认为取值为300,单位为s。每个指标支持的统计周期不一定相同,各个云产品支持的统计周期请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)
|
|
2413
|
+
* 监控统计周期,如60。默认为取值为300,单位为s。每个指标支持的统计周期不一定相同,各个云产品支持的统计周期请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的统计周期列即为支持的统计周期。单请求的数据点数限制为1440个。
|
|
1885
2414
|
* @type {number || null}
|
|
1886
2415
|
*/
|
|
1887
2416
|
this.Period = null;
|
|
@@ -2058,7 +2587,12 @@ class DescribeStatisticDataRequest extends AbstractModel {
|
|
|
2058
2587
|
this.Conditions = null;
|
|
2059
2588
|
|
|
2060
2589
|
/**
|
|
2061
|
-
* 统计粒度。默认取值为300,单位为s
|
|
2590
|
+
* 统计粒度。默认取值为300,单位为s;可选的值为60、300、3600、86400
|
|
2591
|
+
受存储时长限制,统计粒度与统计的时间范围有关:
|
|
2592
|
+
60s:EndTime-StartTime<12小时,且StartTime距当前时间不能超过15天;
|
|
2593
|
+
300s:EndTime-StartTime<3天,且StartTime距当前时间不能超过31天;
|
|
2594
|
+
3600s:EndTime-StartTime<30天,且StartTime距当前时间不能超过93天;
|
|
2595
|
+
86400s:EndTime-StartTime<186天,且StartTime距当前时间不能超过186天。
|
|
2062
2596
|
* @type {number || null}
|
|
2063
2597
|
*/
|
|
2064
2598
|
this.Period = null;
|
|
@@ -2483,6 +3017,58 @@ class DeletePolicyGroupResponse extends AbstractModel {
|
|
|
2483
3017
|
}
|
|
2484
3018
|
}
|
|
2485
3019
|
|
|
3020
|
+
/**
|
|
3021
|
+
* DescribeAccidentEventList返回参数结构体
|
|
3022
|
+
* @class
|
|
3023
|
+
*/
|
|
3024
|
+
class DescribeAccidentEventListResponse extends AbstractModel {
|
|
3025
|
+
constructor(){
|
|
3026
|
+
super();
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* 平台事件列表
|
|
3030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3031
|
+
* @type {Array.<DescribeAccidentEventListAlarms> || null}
|
|
3032
|
+
*/
|
|
3033
|
+
this.Alarms = null;
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* 平台事件的总数
|
|
3037
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3038
|
+
* @type {number || null}
|
|
3039
|
+
*/
|
|
3040
|
+
this.Total = null;
|
|
3041
|
+
|
|
3042
|
+
/**
|
|
3043
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3044
|
+
* @type {string || null}
|
|
3045
|
+
*/
|
|
3046
|
+
this.RequestId = null;
|
|
3047
|
+
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* @private
|
|
3052
|
+
*/
|
|
3053
|
+
deserialize(params) {
|
|
3054
|
+
if (!params) {
|
|
3055
|
+
return;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
if (params.Alarms) {
|
|
3059
|
+
this.Alarms = new Array();
|
|
3060
|
+
for (let z in params.Alarms) {
|
|
3061
|
+
let obj = new DescribeAccidentEventListAlarms();
|
|
3062
|
+
obj.deserialize(params.Alarms[z]);
|
|
3063
|
+
this.Alarms.push(obj);
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
3067
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3068
|
+
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
|
|
2486
3072
|
/**
|
|
2487
3073
|
* DescribeMonitorTypes请求参数结构体
|
|
2488
3074
|
* @class
|
|
@@ -2797,6 +3383,12 @@ class ModifyAlarmNoticeRequest extends AbstractModel {
|
|
|
2797
3383
|
*/
|
|
2798
3384
|
this.URLNotices = null;
|
|
2799
3385
|
|
|
3386
|
+
/**
|
|
3387
|
+
* 告警通知推送到CLS服务 最多1个
|
|
3388
|
+
* @type {Array.<CLSNotice> || null}
|
|
3389
|
+
*/
|
|
3390
|
+
this.CLSNotices = null;
|
|
3391
|
+
|
|
2800
3392
|
}
|
|
2801
3393
|
|
|
2802
3394
|
/**
|
|
@@ -2830,6 +3422,15 @@ class ModifyAlarmNoticeRequest extends AbstractModel {
|
|
|
2830
3422
|
}
|
|
2831
3423
|
}
|
|
2832
3424
|
|
|
3425
|
+
if (params.CLSNotices) {
|
|
3426
|
+
this.CLSNotices = new Array();
|
|
3427
|
+
for (let z in params.CLSNotices) {
|
|
3428
|
+
let obj = new CLSNotice();
|
|
3429
|
+
obj.deserialize(params.CLSNotices[z]);
|
|
3430
|
+
this.CLSNotices.push(obj);
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
|
|
2833
3434
|
}
|
|
2834
3435
|
}
|
|
2835
3436
|
|
|
@@ -3242,6 +3843,34 @@ class AlarmPolicy extends AbstractModel {
|
|
|
3242
3843
|
*/
|
|
3243
3844
|
this.TagInstances = null;
|
|
3244
3845
|
|
|
3846
|
+
/**
|
|
3847
|
+
* 策略关联的过滤维度信息
|
|
3848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3849
|
+
* @type {string || null}
|
|
3850
|
+
*/
|
|
3851
|
+
this.FilterDimensionsParam = null;
|
|
3852
|
+
|
|
3853
|
+
/**
|
|
3854
|
+
* 是否为一键告警策略
|
|
3855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3856
|
+
* @type {number || null}
|
|
3857
|
+
*/
|
|
3858
|
+
this.IsOneClick = null;
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* 一键告警策略是否开启
|
|
3862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3863
|
+
* @type {number || null}
|
|
3864
|
+
*/
|
|
3865
|
+
this.OneClickStatus = null;
|
|
3866
|
+
|
|
3867
|
+
/**
|
|
3868
|
+
* 高级指标数量
|
|
3869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3870
|
+
* @type {number || null}
|
|
3871
|
+
*/
|
|
3872
|
+
this.AdvancedMetricNumber = null;
|
|
3873
|
+
|
|
3245
3874
|
}
|
|
3246
3875
|
|
|
3247
3876
|
/**
|
|
@@ -3319,6 +3948,10 @@ class AlarmPolicy extends AbstractModel {
|
|
|
3319
3948
|
this.TagInstances.push(obj);
|
|
3320
3949
|
}
|
|
3321
3950
|
}
|
|
3951
|
+
this.FilterDimensionsParam = 'FilterDimensionsParam' in params ? params.FilterDimensionsParam : null;
|
|
3952
|
+
this.IsOneClick = 'IsOneClick' in params ? params.IsOneClick : null;
|
|
3953
|
+
this.OneClickStatus = 'OneClickStatus' in params ? params.OneClickStatus : null;
|
|
3954
|
+
this.AdvancedMetricNumber = 'AdvancedMetricNumber' in params ? params.AdvancedMetricNumber : null;
|
|
3322
3955
|
|
|
3323
3956
|
}
|
|
3324
3957
|
}
|
|
@@ -3927,6 +4560,27 @@ re=正则匹配
|
|
|
3927
4560
|
*/
|
|
3928
4561
|
this.RuleType = null;
|
|
3929
4562
|
|
|
4563
|
+
/**
|
|
4564
|
+
* 是否为高级指标,0否,1是
|
|
4565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4566
|
+
* @type {number || null}
|
|
4567
|
+
*/
|
|
4568
|
+
this.IsAdvanced = null;
|
|
4569
|
+
|
|
4570
|
+
/**
|
|
4571
|
+
* 高级指标是否开通,0否,1是
|
|
4572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4573
|
+
* @type {number || null}
|
|
4574
|
+
*/
|
|
4575
|
+
this.IsOpen = null;
|
|
4576
|
+
|
|
4577
|
+
/**
|
|
4578
|
+
* 集成中心产品ID
|
|
4579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4580
|
+
* @type {string || null}
|
|
4581
|
+
*/
|
|
4582
|
+
this.ProductId = null;
|
|
4583
|
+
|
|
3930
4584
|
}
|
|
3931
4585
|
|
|
3932
4586
|
/**
|
|
@@ -3952,6 +4606,9 @@ re=正则匹配
|
|
|
3952
4606
|
this.Description = 'Description' in params ? params.Description : null;
|
|
3953
4607
|
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
3954
4608
|
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
4609
|
+
this.IsAdvanced = 'IsAdvanced' in params ? params.IsAdvanced : null;
|
|
4610
|
+
this.IsOpen = 'IsOpen' in params ? params.IsOpen : null;
|
|
4611
|
+
this.ProductId = 'ProductId' in params ? params.ProductId : null;
|
|
3955
4612
|
|
|
3956
4613
|
}
|
|
3957
4614
|
}
|
|
@@ -4057,6 +4714,41 @@ class ModifyAlarmPolicyConditionResponse extends AbstractModel {
|
|
|
4057
4714
|
}
|
|
4058
4715
|
}
|
|
4059
4716
|
|
|
4717
|
+
/**
|
|
4718
|
+
* 告警对象所属实例组
|
|
4719
|
+
* @class
|
|
4720
|
+
*/
|
|
4721
|
+
class InstanceGroups extends AbstractModel {
|
|
4722
|
+
constructor(){
|
|
4723
|
+
super();
|
|
4724
|
+
|
|
4725
|
+
/**
|
|
4726
|
+
* 实例组 Id
|
|
4727
|
+
* @type {number || null}
|
|
4728
|
+
*/
|
|
4729
|
+
this.Id = null;
|
|
4730
|
+
|
|
4731
|
+
/**
|
|
4732
|
+
* 实例组名称
|
|
4733
|
+
* @type {string || null}
|
|
4734
|
+
*/
|
|
4735
|
+
this.Name = null;
|
|
4736
|
+
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
/**
|
|
4740
|
+
* @private
|
|
4741
|
+
*/
|
|
4742
|
+
deserialize(params) {
|
|
4743
|
+
if (!params) {
|
|
4744
|
+
return;
|
|
4745
|
+
}
|
|
4746
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
4747
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
4748
|
+
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4060
4752
|
/**
|
|
4061
4753
|
* 实例对象的维度组合
|
|
4062
4754
|
* @class
|
|
@@ -4066,16 +4758,171 @@ class Dimension extends AbstractModel {
|
|
|
4066
4758
|
super();
|
|
4067
4759
|
|
|
4068
4760
|
/**
|
|
4069
|
-
* 实例维度名称
|
|
4761
|
+
* 实例维度名称
|
|
4762
|
+
* @type {string || null}
|
|
4763
|
+
*/
|
|
4764
|
+
this.Name = null;
|
|
4765
|
+
|
|
4766
|
+
/**
|
|
4767
|
+
* 实例维度值
|
|
4768
|
+
* @type {string || null}
|
|
4769
|
+
*/
|
|
4770
|
+
this.Value = null;
|
|
4771
|
+
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
/**
|
|
4775
|
+
* @private
|
|
4776
|
+
*/
|
|
4777
|
+
deserialize(params) {
|
|
4778
|
+
if (!params) {
|
|
4779
|
+
return;
|
|
4780
|
+
}
|
|
4781
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
4782
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
4783
|
+
|
|
4784
|
+
}
|
|
4785
|
+
}
|
|
4786
|
+
|
|
4787
|
+
/**
|
|
4788
|
+
* 实例的授权信息
|
|
4789
|
+
* @class
|
|
4790
|
+
*/
|
|
4791
|
+
class PrometheusInstanceGrantInfo extends AbstractModel {
|
|
4792
|
+
constructor(){
|
|
4793
|
+
super();
|
|
4794
|
+
|
|
4795
|
+
/**
|
|
4796
|
+
* 是否有计费操作权限(1=有,2=无)
|
|
4797
|
+
* @type {number || null}
|
|
4798
|
+
*/
|
|
4799
|
+
this.HasChargeOperation = null;
|
|
4800
|
+
|
|
4801
|
+
/**
|
|
4802
|
+
* 是否显示VPC信息的权限(1=有,2=无)
|
|
4803
|
+
* @type {number || null}
|
|
4804
|
+
*/
|
|
4805
|
+
this.HasVpcDisplay = null;
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* 是否可修改Grafana的状态(1=有,2=无)
|
|
4809
|
+
* @type {number || null}
|
|
4810
|
+
*/
|
|
4811
|
+
this.HasGrafanaStatusChange = null;
|
|
4812
|
+
|
|
4813
|
+
/**
|
|
4814
|
+
* 是否有管理agent的权限(1=有,2=无)
|
|
4815
|
+
* @type {number || null}
|
|
4816
|
+
*/
|
|
4817
|
+
this.HasAgentManage = null;
|
|
4818
|
+
|
|
4819
|
+
/**
|
|
4820
|
+
* 是否有管理TKE集成的权限(1=有,2=无)
|
|
4821
|
+
* @type {number || null}
|
|
4822
|
+
*/
|
|
4823
|
+
this.HasTkeManage = null;
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* 是否显示API等信息(1=有, 2=无)
|
|
4827
|
+
* @type {number || null}
|
|
4828
|
+
*/
|
|
4829
|
+
this.HasApiOperation = null;
|
|
4830
|
+
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
/**
|
|
4834
|
+
* @private
|
|
4835
|
+
*/
|
|
4836
|
+
deserialize(params) {
|
|
4837
|
+
if (!params) {
|
|
4838
|
+
return;
|
|
4839
|
+
}
|
|
4840
|
+
this.HasChargeOperation = 'HasChargeOperation' in params ? params.HasChargeOperation : null;
|
|
4841
|
+
this.HasVpcDisplay = 'HasVpcDisplay' in params ? params.HasVpcDisplay : null;
|
|
4842
|
+
this.HasGrafanaStatusChange = 'HasGrafanaStatusChange' in params ? params.HasGrafanaStatusChange : null;
|
|
4843
|
+
this.HasAgentManage = 'HasAgentManage' in params ? params.HasAgentManage : null;
|
|
4844
|
+
this.HasTkeManage = 'HasTkeManage' in params ? params.HasTkeManage : null;
|
|
4845
|
+
this.HasApiOperation = 'HasApiOperation' in params ? params.HasApiOperation : null;
|
|
4846
|
+
|
|
4847
|
+
}
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
* 模板列表
|
|
4852
|
+
* @class
|
|
4853
|
+
*/
|
|
4854
|
+
class TemplateGroup extends AbstractModel {
|
|
4855
|
+
constructor(){
|
|
4856
|
+
super();
|
|
4857
|
+
|
|
4858
|
+
/**
|
|
4859
|
+
* 指标告警规则
|
|
4860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4861
|
+
* @type {Array.<Condition> || null}
|
|
4862
|
+
*/
|
|
4863
|
+
this.Conditions = null;
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* 事件告警规则
|
|
4867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4868
|
+
* @type {Array.<EventCondition> || null}
|
|
4869
|
+
*/
|
|
4870
|
+
this.EventConditions = null;
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* 关联告警策略组
|
|
4874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4875
|
+
* @type {Array.<PolicyGroup> || null}
|
|
4876
|
+
*/
|
|
4877
|
+
this.PolicyGroups = null;
|
|
4878
|
+
|
|
4879
|
+
/**
|
|
4880
|
+
* 模板策略组ID
|
|
4881
|
+
* @type {number || null}
|
|
4882
|
+
*/
|
|
4883
|
+
this.GroupID = null;
|
|
4884
|
+
|
|
4885
|
+
/**
|
|
4886
|
+
* 模板策略组名称
|
|
4887
|
+
* @type {string || null}
|
|
4888
|
+
*/
|
|
4889
|
+
this.GroupName = null;
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* 创建时间
|
|
4893
|
+
* @type {number || null}
|
|
4894
|
+
*/
|
|
4895
|
+
this.InsertTime = null;
|
|
4896
|
+
|
|
4897
|
+
/**
|
|
4898
|
+
* 最后修改人UIN
|
|
4899
|
+
* @type {number || null}
|
|
4900
|
+
*/
|
|
4901
|
+
this.LastEditUin = null;
|
|
4902
|
+
|
|
4903
|
+
/**
|
|
4904
|
+
* 备注
|
|
4905
|
+
* @type {string || null}
|
|
4906
|
+
*/
|
|
4907
|
+
this.Remark = null;
|
|
4908
|
+
|
|
4909
|
+
/**
|
|
4910
|
+
* 更新时间
|
|
4911
|
+
* @type {number || null}
|
|
4912
|
+
*/
|
|
4913
|
+
this.UpdateTime = null;
|
|
4914
|
+
|
|
4915
|
+
/**
|
|
4916
|
+
* 视图
|
|
4070
4917
|
* @type {string || null}
|
|
4071
4918
|
*/
|
|
4072
|
-
this.
|
|
4919
|
+
this.ViewName = null;
|
|
4073
4920
|
|
|
4074
4921
|
/**
|
|
4075
|
-
*
|
|
4076
|
-
* @type {
|
|
4922
|
+
* 是否为与关系
|
|
4923
|
+
* @type {number || null}
|
|
4077
4924
|
*/
|
|
4078
|
-
this.
|
|
4925
|
+
this.IsUnionRule = null;
|
|
4079
4926
|
|
|
4080
4927
|
}
|
|
4081
4928
|
|
|
@@ -4086,8 +4933,41 @@ class Dimension extends AbstractModel {
|
|
|
4086
4933
|
if (!params) {
|
|
4087
4934
|
return;
|
|
4088
4935
|
}
|
|
4089
|
-
|
|
4090
|
-
|
|
4936
|
+
|
|
4937
|
+
if (params.Conditions) {
|
|
4938
|
+
this.Conditions = new Array();
|
|
4939
|
+
for (let z in params.Conditions) {
|
|
4940
|
+
let obj = new Condition();
|
|
4941
|
+
obj.deserialize(params.Conditions[z]);
|
|
4942
|
+
this.Conditions.push(obj);
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
if (params.EventConditions) {
|
|
4947
|
+
this.EventConditions = new Array();
|
|
4948
|
+
for (let z in params.EventConditions) {
|
|
4949
|
+
let obj = new EventCondition();
|
|
4950
|
+
obj.deserialize(params.EventConditions[z]);
|
|
4951
|
+
this.EventConditions.push(obj);
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
|
|
4955
|
+
if (params.PolicyGroups) {
|
|
4956
|
+
this.PolicyGroups = new Array();
|
|
4957
|
+
for (let z in params.PolicyGroups) {
|
|
4958
|
+
let obj = new PolicyGroup();
|
|
4959
|
+
obj.deserialize(params.PolicyGroups[z]);
|
|
4960
|
+
this.PolicyGroups.push(obj);
|
|
4961
|
+
}
|
|
4962
|
+
}
|
|
4963
|
+
this.GroupID = 'GroupID' in params ? params.GroupID : null;
|
|
4964
|
+
this.GroupName = 'GroupName' in params ? params.GroupName : null;
|
|
4965
|
+
this.InsertTime = 'InsertTime' in params ? params.InsertTime : null;
|
|
4966
|
+
this.LastEditUin = 'LastEditUin' in params ? params.LastEditUin : null;
|
|
4967
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4968
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
4969
|
+
this.ViewName = 'ViewName' in params ? params.ViewName : null;
|
|
4970
|
+
this.IsUnionRule = 'IsUnionRule' in params ? params.IsUnionRule : null;
|
|
4091
4971
|
|
|
4092
4972
|
}
|
|
4093
4973
|
}
|
|
@@ -4328,6 +5208,27 @@ class Metric extends AbstractModel {
|
|
|
4328
5208
|
*/
|
|
4329
5209
|
this.MetricConfig = null;
|
|
4330
5210
|
|
|
5211
|
+
/**
|
|
5212
|
+
* 是否为高级指标。1是 0否
|
|
5213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5214
|
+
* @type {number || null}
|
|
5215
|
+
*/
|
|
5216
|
+
this.IsAdvanced = null;
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* 高级指标是否开通。1是 0否
|
|
5220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5221
|
+
* @type {number || null}
|
|
5222
|
+
*/
|
|
5223
|
+
this.IsOpen = null;
|
|
5224
|
+
|
|
5225
|
+
/**
|
|
5226
|
+
* 集成中心产品ID
|
|
5227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5228
|
+
* @type {number || null}
|
|
5229
|
+
*/
|
|
5230
|
+
this.ProductId = null;
|
|
5231
|
+
|
|
4331
5232
|
}
|
|
4332
5233
|
|
|
4333
5234
|
/**
|
|
@@ -4350,6 +5251,9 @@ class Metric extends AbstractModel {
|
|
|
4350
5251
|
obj.deserialize(params.MetricConfig)
|
|
4351
5252
|
this.MetricConfig = obj;
|
|
4352
5253
|
}
|
|
5254
|
+
this.IsAdvanced = 'IsAdvanced' in params ? params.IsAdvanced : null;
|
|
5255
|
+
this.IsOpen = 'IsOpen' in params ? params.IsOpen : null;
|
|
5256
|
+
this.ProductId = 'ProductId' in params ? params.ProductId : null;
|
|
4353
5257
|
|
|
4354
5258
|
}
|
|
4355
5259
|
}
|
|
@@ -4559,6 +5463,12 @@ class DescribeBaseMetricsRequest extends AbstractModel {
|
|
|
4559
5463
|
*/
|
|
4560
5464
|
this.MetricName = null;
|
|
4561
5465
|
|
|
5466
|
+
/**
|
|
5467
|
+
* 可选参数,按照维度过滤
|
|
5468
|
+
* @type {Array.<string> || null}
|
|
5469
|
+
*/
|
|
5470
|
+
this.Dimensions = null;
|
|
5471
|
+
|
|
4562
5472
|
}
|
|
4563
5473
|
|
|
4564
5474
|
/**
|
|
@@ -4570,6 +5480,7 @@ class DescribeBaseMetricsRequest extends AbstractModel {
|
|
|
4570
5480
|
}
|
|
4571
5481
|
this.Namespace = 'Namespace' in params ? params.Namespace : null;
|
|
4572
5482
|
this.MetricName = 'MetricName' in params ? params.MetricName : null;
|
|
5483
|
+
this.Dimensions = 'Dimensions' in params ? params.Dimensions : null;
|
|
4573
5484
|
|
|
4574
5485
|
}
|
|
4575
5486
|
}
|
|
@@ -4604,7 +5515,7 @@ class UserNotice extends AbstractModel {
|
|
|
4604
5515
|
this.EndTime = null;
|
|
4605
5516
|
|
|
4606
5517
|
/**
|
|
4607
|
-
* 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信
|
|
5518
|
+
* 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
|
|
4608
5519
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4609
5520
|
* @type {Array.<string> || null}
|
|
4610
5521
|
*/
|
|
@@ -4659,6 +5570,20 @@ class UserNotice extends AbstractModel {
|
|
|
4659
5570
|
*/
|
|
4660
5571
|
this.NeedPhoneArriveNotice = null;
|
|
4661
5572
|
|
|
5573
|
+
/**
|
|
5574
|
+
* 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
|
|
5575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5576
|
+
* @type {string || null}
|
|
5577
|
+
*/
|
|
5578
|
+
this.PhoneCallType = null;
|
|
5579
|
+
|
|
5580
|
+
/**
|
|
5581
|
+
* 通知周期 1-7表示周一到周日
|
|
5582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5583
|
+
* @type {Array.<number> || null}
|
|
5584
|
+
*/
|
|
5585
|
+
this.Weekday = null;
|
|
5586
|
+
|
|
4662
5587
|
}
|
|
4663
5588
|
|
|
4664
5589
|
/**
|
|
@@ -4679,6 +5604,8 @@ class UserNotice extends AbstractModel {
|
|
|
4679
5604
|
this.PhoneInnerInterval = 'PhoneInnerInterval' in params ? params.PhoneInnerInterval : null;
|
|
4680
5605
|
this.PhoneCircleInterval = 'PhoneCircleInterval' in params ? params.PhoneCircleInterval : null;
|
|
4681
5606
|
this.NeedPhoneArriveNotice = 'NeedPhoneArriveNotice' in params ? params.NeedPhoneArriveNotice : null;
|
|
5607
|
+
this.PhoneCallType = 'PhoneCallType' in params ? params.PhoneCallType : null;
|
|
5608
|
+
this.Weekday = 'Weekday' in params ? params.Weekday : null;
|
|
4682
5609
|
|
|
4683
5610
|
}
|
|
4684
5611
|
}
|
|
@@ -4802,6 +5729,18 @@ class ModifyAlarmPolicyConditionRequest extends AbstractModel {
|
|
|
4802
5729
|
*/
|
|
4803
5730
|
this.EventCondition = null;
|
|
4804
5731
|
|
|
5732
|
+
/**
|
|
5733
|
+
* 全局过滤条件
|
|
5734
|
+
* @type {AlarmPolicyFilter || null}
|
|
5735
|
+
*/
|
|
5736
|
+
this.Filter = null;
|
|
5737
|
+
|
|
5738
|
+
/**
|
|
5739
|
+
* 聚合维度列表,指定按哪些维度 key 来做 group by
|
|
5740
|
+
* @type {Array.<string> || null}
|
|
5741
|
+
*/
|
|
5742
|
+
this.GroupBy = null;
|
|
5743
|
+
|
|
4805
5744
|
}
|
|
4806
5745
|
|
|
4807
5746
|
/**
|
|
@@ -4827,6 +5766,13 @@ class ModifyAlarmPolicyConditionRequest extends AbstractModel {
|
|
|
4827
5766
|
this.EventCondition = obj;
|
|
4828
5767
|
}
|
|
4829
5768
|
|
|
5769
|
+
if (params.Filter) {
|
|
5770
|
+
let obj = new AlarmPolicyFilter();
|
|
5771
|
+
obj.deserialize(params.Filter)
|
|
5772
|
+
this.Filter = obj;
|
|
5773
|
+
}
|
|
5774
|
+
this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
|
|
5775
|
+
|
|
4830
5776
|
}
|
|
4831
5777
|
}
|
|
4832
5778
|
|
|
@@ -5151,6 +6097,20 @@ class MetricSet extends AbstractModel {
|
|
|
5151
6097
|
*/
|
|
5152
6098
|
this.Dimensions = null;
|
|
5153
6099
|
|
|
6100
|
+
/**
|
|
6101
|
+
* 指标中文名
|
|
6102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6103
|
+
* @type {string || null}
|
|
6104
|
+
*/
|
|
6105
|
+
this.MetricCName = null;
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* 指标英文名
|
|
6109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6110
|
+
* @type {string || null}
|
|
6111
|
+
*/
|
|
6112
|
+
this.MetricEName = null;
|
|
6113
|
+
|
|
5154
6114
|
}
|
|
5155
6115
|
|
|
5156
6116
|
/**
|
|
@@ -5189,6 +6149,8 @@ class MetricSet extends AbstractModel {
|
|
|
5189
6149
|
this.Dimensions.push(obj);
|
|
5190
6150
|
}
|
|
5191
6151
|
}
|
|
6152
|
+
this.MetricCName = 'MetricCName' in params ? params.MetricCName : null;
|
|
6153
|
+
this.MetricEName = 'MetricEName' in params ? params.MetricEName : null;
|
|
5192
6154
|
|
|
5193
6155
|
}
|
|
5194
6156
|
}
|
|
@@ -5693,60 +6655,223 @@ class DescribeAccidentEventListAlarms extends AbstractModel {
|
|
|
5693
6655
|
super();
|
|
5694
6656
|
|
|
5695
6657
|
/**
|
|
5696
|
-
* 事件分类
|
|
6658
|
+
* 事件分类
|
|
6659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6660
|
+
* @type {string || null}
|
|
6661
|
+
*/
|
|
6662
|
+
this.BusinessTypeDesc = null;
|
|
6663
|
+
|
|
6664
|
+
/**
|
|
6665
|
+
* 事件类型
|
|
6666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6667
|
+
* @type {string || null}
|
|
6668
|
+
*/
|
|
6669
|
+
this.AccidentTypeDesc = null;
|
|
6670
|
+
|
|
6671
|
+
/**
|
|
6672
|
+
* 事件分类的ID,1表示服务问题,2表示其他订阅
|
|
6673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6674
|
+
* @type {number || null}
|
|
6675
|
+
*/
|
|
6676
|
+
this.BusinessID = null;
|
|
6677
|
+
|
|
6678
|
+
/**
|
|
6679
|
+
* 事件状态的ID,0表示已恢复,1表示未恢复
|
|
6680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6681
|
+
* @type {number || null}
|
|
6682
|
+
*/
|
|
6683
|
+
this.EventStatus = null;
|
|
6684
|
+
|
|
6685
|
+
/**
|
|
6686
|
+
* 影响的对象
|
|
6687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6688
|
+
* @type {string || null}
|
|
6689
|
+
*/
|
|
6690
|
+
this.AffectResource = null;
|
|
6691
|
+
|
|
6692
|
+
/**
|
|
6693
|
+
* 事件的地域
|
|
6694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6695
|
+
* @type {string || null}
|
|
6696
|
+
*/
|
|
6697
|
+
this.Region = null;
|
|
6698
|
+
|
|
6699
|
+
/**
|
|
6700
|
+
* 事件发生的时间
|
|
6701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6702
|
+
* @type {string || null}
|
|
6703
|
+
*/
|
|
6704
|
+
this.OccurTime = null;
|
|
6705
|
+
|
|
6706
|
+
/**
|
|
6707
|
+
* 更新时间
|
|
6708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6709
|
+
* @type {string || null}
|
|
6710
|
+
*/
|
|
6711
|
+
this.UpdateTime = null;
|
|
6712
|
+
|
|
6713
|
+
}
|
|
6714
|
+
|
|
6715
|
+
/**
|
|
6716
|
+
* @private
|
|
6717
|
+
*/
|
|
6718
|
+
deserialize(params) {
|
|
6719
|
+
if (!params) {
|
|
6720
|
+
return;
|
|
6721
|
+
}
|
|
6722
|
+
this.BusinessTypeDesc = 'BusinessTypeDesc' in params ? params.BusinessTypeDesc : null;
|
|
6723
|
+
this.AccidentTypeDesc = 'AccidentTypeDesc' in params ? params.AccidentTypeDesc : null;
|
|
6724
|
+
this.BusinessID = 'BusinessID' in params ? params.BusinessID : null;
|
|
6725
|
+
this.EventStatus = 'EventStatus' in params ? params.EventStatus : null;
|
|
6726
|
+
this.AffectResource = 'AffectResource' in params ? params.AffectResource : null;
|
|
6727
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
6728
|
+
this.OccurTime = 'OccurTime' in params ? params.OccurTime : null;
|
|
6729
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
6730
|
+
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
/**
|
|
6735
|
+
* ModifyPolicyGroup返回参数结构体
|
|
6736
|
+
* @class
|
|
6737
|
+
*/
|
|
6738
|
+
class ModifyPolicyGroupResponse extends AbstractModel {
|
|
6739
|
+
constructor(){
|
|
6740
|
+
super();
|
|
6741
|
+
|
|
6742
|
+
/**
|
|
6743
|
+
* 策略组id
|
|
6744
|
+
* @type {number || null}
|
|
6745
|
+
*/
|
|
6746
|
+
this.GroupId = null;
|
|
6747
|
+
|
|
6748
|
+
/**
|
|
6749
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6750
|
+
* @type {string || null}
|
|
6751
|
+
*/
|
|
6752
|
+
this.RequestId = null;
|
|
6753
|
+
|
|
6754
|
+
}
|
|
6755
|
+
|
|
6756
|
+
/**
|
|
6757
|
+
* @private
|
|
6758
|
+
*/
|
|
6759
|
+
deserialize(params) {
|
|
6760
|
+
if (!params) {
|
|
6761
|
+
return;
|
|
6762
|
+
}
|
|
6763
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
6764
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6765
|
+
|
|
6766
|
+
}
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6769
|
+
/**
|
|
6770
|
+
* DescribePolicyConditionList.ConfigManual.CalcType
|
|
6771
|
+
* @class
|
|
6772
|
+
*/
|
|
6773
|
+
class DescribePolicyConditionListConfigManualCalcType extends AbstractModel {
|
|
6774
|
+
constructor(){
|
|
6775
|
+
super();
|
|
6776
|
+
|
|
6777
|
+
/**
|
|
6778
|
+
* CalcType 取值
|
|
6779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6780
|
+
* @type {Array.<number> || null}
|
|
6781
|
+
*/
|
|
6782
|
+
this.Keys = null;
|
|
6783
|
+
|
|
6784
|
+
/**
|
|
6785
|
+
* 是否必须
|
|
6786
|
+
* @type {boolean || null}
|
|
6787
|
+
*/
|
|
6788
|
+
this.Need = null;
|
|
6789
|
+
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6792
|
+
/**
|
|
6793
|
+
* @private
|
|
6794
|
+
*/
|
|
6795
|
+
deserialize(params) {
|
|
6796
|
+
if (!params) {
|
|
6797
|
+
return;
|
|
6798
|
+
}
|
|
6799
|
+
this.Keys = 'Keys' in params ? params.Keys : null;
|
|
6800
|
+
this.Need = 'Need' in params ? params.Need : null;
|
|
6801
|
+
|
|
6802
|
+
}
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
/**
|
|
6806
|
+
* 告警条件
|
|
6807
|
+
* @class
|
|
6808
|
+
*/
|
|
6809
|
+
class Condition extends AbstractModel {
|
|
6810
|
+
constructor(){
|
|
6811
|
+
super();
|
|
6812
|
+
|
|
6813
|
+
/**
|
|
6814
|
+
* 告警通知频率
|
|
6815
|
+
* @type {number || null}
|
|
6816
|
+
*/
|
|
6817
|
+
this.AlarmNotifyPeriod = null;
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
|
6821
|
+
* @type {number || null}
|
|
6822
|
+
*/
|
|
6823
|
+
this.AlarmNotifyType = null;
|
|
6824
|
+
|
|
6825
|
+
/**
|
|
6826
|
+
* 检测方式
|
|
5697
6827
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5698
6828
|
* @type {string || null}
|
|
5699
6829
|
*/
|
|
5700
|
-
this.
|
|
6830
|
+
this.CalcType = null;
|
|
5701
6831
|
|
|
5702
6832
|
/**
|
|
5703
|
-
*
|
|
6833
|
+
* 检测值
|
|
5704
6834
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5705
6835
|
* @type {string || null}
|
|
5706
6836
|
*/
|
|
5707
|
-
this.
|
|
6837
|
+
this.CalcValue = null;
|
|
5708
6838
|
|
|
5709
6839
|
/**
|
|
5710
|
-
*
|
|
6840
|
+
* 持续时间
|
|
5711
6841
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5712
|
-
* @type {
|
|
6842
|
+
* @type {string || null}
|
|
5713
6843
|
*/
|
|
5714
|
-
this.
|
|
6844
|
+
this.ContinueTime = null;
|
|
5715
6845
|
|
|
5716
6846
|
/**
|
|
5717
|
-
*
|
|
5718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6847
|
+
* 指标ID
|
|
5719
6848
|
* @type {number || null}
|
|
5720
6849
|
*/
|
|
5721
|
-
this.
|
|
6850
|
+
this.MetricID = null;
|
|
5722
6851
|
|
|
5723
6852
|
/**
|
|
5724
|
-
*
|
|
5725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6853
|
+
* 指标展示名称(对外)
|
|
5726
6854
|
* @type {string || null}
|
|
5727
6855
|
*/
|
|
5728
|
-
this.
|
|
6856
|
+
this.MetricDisplayName = null;
|
|
5729
6857
|
|
|
5730
6858
|
/**
|
|
5731
|
-
*
|
|
5732
|
-
|
|
5733
|
-
* @type {string || null}
|
|
6859
|
+
* 周期
|
|
6860
|
+
* @type {number || null}
|
|
5734
6861
|
*/
|
|
5735
|
-
this.
|
|
6862
|
+
this.Period = null;
|
|
5736
6863
|
|
|
5737
6864
|
/**
|
|
5738
|
-
*
|
|
5739
|
-
|
|
5740
|
-
* @type {string || null}
|
|
6865
|
+
* 规则ID
|
|
6866
|
+
* @type {number || null}
|
|
5741
6867
|
*/
|
|
5742
|
-
this.
|
|
6868
|
+
this.RuleID = null;
|
|
5743
6869
|
|
|
5744
6870
|
/**
|
|
5745
|
-
*
|
|
5746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6871
|
+
* 指标单位
|
|
5747
6872
|
* @type {string || null}
|
|
5748
6873
|
*/
|
|
5749
|
-
this.
|
|
6874
|
+
this.Unit = null;
|
|
5750
6875
|
|
|
5751
6876
|
}
|
|
5752
6877
|
|
|
@@ -5757,73 +6882,51 @@ class DescribeAccidentEventListAlarms extends AbstractModel {
|
|
|
5757
6882
|
if (!params) {
|
|
5758
6883
|
return;
|
|
5759
6884
|
}
|
|
5760
|
-
this.
|
|
5761
|
-
this.
|
|
5762
|
-
this.
|
|
5763
|
-
this.
|
|
5764
|
-
this.
|
|
5765
|
-
this.
|
|
5766
|
-
this.
|
|
5767
|
-
this.
|
|
6885
|
+
this.AlarmNotifyPeriod = 'AlarmNotifyPeriod' in params ? params.AlarmNotifyPeriod : null;
|
|
6886
|
+
this.AlarmNotifyType = 'AlarmNotifyType' in params ? params.AlarmNotifyType : null;
|
|
6887
|
+
this.CalcType = 'CalcType' in params ? params.CalcType : null;
|
|
6888
|
+
this.CalcValue = 'CalcValue' in params ? params.CalcValue : null;
|
|
6889
|
+
this.ContinueTime = 'ContinueTime' in params ? params.ContinueTime : null;
|
|
6890
|
+
this.MetricID = 'MetricID' in params ? params.MetricID : null;
|
|
6891
|
+
this.MetricDisplayName = 'MetricDisplayName' in params ? params.MetricDisplayName : null;
|
|
6892
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
6893
|
+
this.RuleID = 'RuleID' in params ? params.RuleID : null;
|
|
6894
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
5768
6895
|
|
|
5769
6896
|
}
|
|
5770
6897
|
}
|
|
5771
6898
|
|
|
5772
6899
|
/**
|
|
5773
|
-
*
|
|
6900
|
+
* PutMonitorData请求参数结构体
|
|
5774
6901
|
* @class
|
|
5775
6902
|
*/
|
|
5776
|
-
class
|
|
6903
|
+
class PutMonitorDataRequest extends AbstractModel {
|
|
5777
6904
|
constructor(){
|
|
5778
6905
|
super();
|
|
5779
6906
|
|
|
5780
6907
|
/**
|
|
5781
|
-
*
|
|
5782
|
-
* @type {
|
|
6908
|
+
* 一组指标和数据
|
|
6909
|
+
* @type {Array.<MetricDatum> || null}
|
|
5783
6910
|
*/
|
|
5784
|
-
this.
|
|
6911
|
+
this.Metrics = null;
|
|
5785
6912
|
|
|
5786
6913
|
/**
|
|
5787
|
-
*
|
|
6914
|
+
* 上报时自行指定的 IP
|
|
5788
6915
|
* @type {string || null}
|
|
5789
6916
|
*/
|
|
5790
|
-
this.
|
|
5791
|
-
|
|
5792
|
-
}
|
|
5793
|
-
|
|
5794
|
-
/**
|
|
5795
|
-
* @private
|
|
5796
|
-
*/
|
|
5797
|
-
deserialize(params) {
|
|
5798
|
-
if (!params) {
|
|
5799
|
-
return;
|
|
5800
|
-
}
|
|
5801
|
-
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
5802
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5803
|
-
|
|
5804
|
-
}
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5807
|
-
/**
|
|
5808
|
-
* DescribePolicyConditionList.ConfigManual.CalcType
|
|
5809
|
-
* @class
|
|
5810
|
-
*/
|
|
5811
|
-
class DescribePolicyConditionListConfigManualCalcType extends AbstractModel {
|
|
5812
|
-
constructor(){
|
|
5813
|
-
super();
|
|
6917
|
+
this.AnnounceIp = null;
|
|
5814
6918
|
|
|
5815
6919
|
/**
|
|
5816
|
-
*
|
|
5817
|
-
|
|
5818
|
-
* @type {Array.<number> || null}
|
|
6920
|
+
* 上报时自行指定的时间戳
|
|
6921
|
+
* @type {number || null}
|
|
5819
6922
|
*/
|
|
5820
|
-
this.
|
|
6923
|
+
this.AnnounceTimestamp = null;
|
|
5821
6924
|
|
|
5822
6925
|
/**
|
|
5823
|
-
*
|
|
5824
|
-
* @type {
|
|
6926
|
+
* 上报时自行指定的 IP 或 产品实例ID
|
|
6927
|
+
* @type {string || null}
|
|
5825
6928
|
*/
|
|
5826
|
-
this.
|
|
6929
|
+
this.AnnounceInstance = null;
|
|
5827
6930
|
|
|
5828
6931
|
}
|
|
5829
6932
|
|
|
@@ -5834,8 +6937,18 @@ class DescribePolicyConditionListConfigManualCalcType extends AbstractModel {
|
|
|
5834
6937
|
if (!params) {
|
|
5835
6938
|
return;
|
|
5836
6939
|
}
|
|
5837
|
-
|
|
5838
|
-
|
|
6940
|
+
|
|
6941
|
+
if (params.Metrics) {
|
|
6942
|
+
this.Metrics = new Array();
|
|
6943
|
+
for (let z in params.Metrics) {
|
|
6944
|
+
let obj = new MetricDatum();
|
|
6945
|
+
obj.deserialize(params.Metrics[z]);
|
|
6946
|
+
this.Metrics.push(obj);
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6949
|
+
this.AnnounceIp = 'AnnounceIp' in params ? params.AnnounceIp : null;
|
|
6950
|
+
this.AnnounceTimestamp = 'AnnounceTimestamp' in params ? params.AnnounceTimestamp : null;
|
|
6951
|
+
this.AnnounceInstance = 'AnnounceInstance' in params ? params.AnnounceInstance : null;
|
|
5839
6952
|
|
|
5840
6953
|
}
|
|
5841
6954
|
}
|
|
@@ -5968,82 +7081,48 @@ class AlarmEvent extends AbstractModel {
|
|
|
5968
7081
|
}
|
|
5969
7082
|
|
|
5970
7083
|
/**
|
|
5971
|
-
*
|
|
7084
|
+
* BindingPolicyTag请求参数结构体
|
|
5972
7085
|
* @class
|
|
5973
7086
|
*/
|
|
5974
|
-
class
|
|
7087
|
+
class BindingPolicyTagRequest extends AbstractModel {
|
|
5975
7088
|
constructor(){
|
|
5976
7089
|
super();
|
|
5977
7090
|
|
|
5978
7091
|
/**
|
|
5979
|
-
*
|
|
7092
|
+
* 固定取值 monitor
|
|
5980
7093
|
* @type {string || null}
|
|
5981
7094
|
*/
|
|
5982
|
-
this.
|
|
5983
|
-
|
|
5984
|
-
/**
|
|
5985
|
-
* 数据聚合周期(单位秒)
|
|
5986
|
-
* @type {number || null}
|
|
5987
|
-
*/
|
|
5988
|
-
this.Period = null;
|
|
5989
|
-
|
|
5990
|
-
/**
|
|
5991
|
-
* 指标id
|
|
5992
|
-
* @type {number || null}
|
|
5993
|
-
*/
|
|
5994
|
-
this.MetricId = null;
|
|
5995
|
-
|
|
5996
|
-
/**
|
|
5997
|
-
* 阈值规则id
|
|
5998
|
-
* @type {number || null}
|
|
5999
|
-
*/
|
|
6000
|
-
this.RuleId = null;
|
|
7095
|
+
this.Module = null;
|
|
6001
7096
|
|
|
6002
7097
|
/**
|
|
6003
|
-
*
|
|
7098
|
+
* 策略ID
|
|
6004
7099
|
* @type {string || null}
|
|
6005
7100
|
*/
|
|
6006
|
-
this.
|
|
6007
|
-
|
|
6008
|
-
/**
|
|
6009
|
-
* 告警发送收敛类型。0连续告警,1指数告警
|
|
6010
|
-
* @type {number || null}
|
|
6011
|
-
*/
|
|
6012
|
-
this.AlarmNotifyType = null;
|
|
7101
|
+
this.PolicyId = null;
|
|
6013
7102
|
|
|
6014
7103
|
/**
|
|
6015
|
-
*
|
|
6016
|
-
* @type {
|
|
7104
|
+
* 用于实例、实例组绑定和解绑接口(BindingPolicyObject、UnBindingAllPolicyObject、UnBindingPolicyObject)的策略 ID
|
|
7105
|
+
* @type {string || null}
|
|
6017
7106
|
*/
|
|
6018
|
-
this.
|
|
7107
|
+
this.GroupId = null;
|
|
6019
7108
|
|
|
6020
7109
|
/**
|
|
6021
|
-
*
|
|
6022
|
-
|
|
6023
|
-
* @type {number || null}
|
|
7110
|
+
* 策略标签
|
|
7111
|
+
* @type {PolicyTag || null}
|
|
6024
7112
|
*/
|
|
6025
|
-
this.
|
|
7113
|
+
this.Tag = null;
|
|
6026
7114
|
|
|
6027
7115
|
/**
|
|
6028
|
-
*
|
|
6029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7116
|
+
* 产品类型
|
|
6030
7117
|
* @type {string || null}
|
|
6031
7118
|
*/
|
|
6032
|
-
this.
|
|
7119
|
+
this.ServiceType = null;
|
|
6033
7120
|
|
|
6034
7121
|
/**
|
|
6035
|
-
*
|
|
6036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7122
|
+
* 实例分组ID
|
|
6037
7123
|
* @type {number || null}
|
|
6038
7124
|
*/
|
|
6039
|
-
this.
|
|
6040
|
-
|
|
6041
|
-
/**
|
|
6042
|
-
* 告警指标名
|
|
6043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6044
|
-
* @type {string || null}
|
|
6045
|
-
*/
|
|
6046
|
-
this.MetricName = null;
|
|
7125
|
+
this.InstanceGroupId = null;
|
|
6047
7126
|
|
|
6048
7127
|
}
|
|
6049
7128
|
|
|
@@ -6054,17 +7133,17 @@ class DescribePolicyGroupInfoCondition extends AbstractModel {
|
|
|
6054
7133
|
if (!params) {
|
|
6055
7134
|
return;
|
|
6056
7135
|
}
|
|
6057
|
-
this.
|
|
6058
|
-
this.
|
|
6059
|
-
this.
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
this.
|
|
6067
|
-
this.
|
|
7136
|
+
this.Module = 'Module' in params ? params.Module : null;
|
|
7137
|
+
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
7138
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
7139
|
+
|
|
7140
|
+
if (params.Tag) {
|
|
7141
|
+
let obj = new PolicyTag();
|
|
7142
|
+
obj.deserialize(params.Tag)
|
|
7143
|
+
this.Tag = obj;
|
|
7144
|
+
}
|
|
7145
|
+
this.ServiceType = 'ServiceType' in params ? params.ServiceType : null;
|
|
7146
|
+
this.InstanceGroupId = 'InstanceGroupId' in params ? params.InstanceGroupId : null;
|
|
6068
7147
|
|
|
6069
7148
|
}
|
|
6070
7149
|
}
|
|
@@ -6130,7 +7209,9 @@ class UpdateAlertRuleRequest extends AbstractModel {
|
|
|
6130
7209
|
this.Labels = null;
|
|
6131
7210
|
|
|
6132
7211
|
/**
|
|
6133
|
-
*
|
|
7212
|
+
* 报警规则注释列表。
|
|
7213
|
+
|
|
7214
|
+
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
|
6134
7215
|
* @type {Array.<PrometheusRuleKV> || null}
|
|
6135
7216
|
*/
|
|
6136
7217
|
this.Annotations = null;
|
|
@@ -6346,19 +7427,25 @@ class DescribeBindingPolicyObjectListRequest extends AbstractModel {
|
|
|
6346
7427
|
this.Module = null;
|
|
6347
7428
|
|
|
6348
7429
|
/**
|
|
6349
|
-
* 策略组id
|
|
7430
|
+
* 策略组id,如果有形如 policy-xxxx 的 id,请填到 PolicyId 字段中,本字段填 0
|
|
6350
7431
|
* @type {number || null}
|
|
6351
7432
|
*/
|
|
6352
7433
|
this.GroupId = null;
|
|
6353
7434
|
|
|
6354
7435
|
/**
|
|
6355
|
-
*
|
|
7436
|
+
* 告警策略id,形如 policy-xxxx,如果填入,则GroupId可以填0
|
|
7437
|
+
* @type {string || null}
|
|
7438
|
+
*/
|
|
7439
|
+
this.PolicyId = null;
|
|
7440
|
+
|
|
7441
|
+
/**
|
|
7442
|
+
* 每次返回的数量,取值1~100,默认20
|
|
6356
7443
|
* @type {number || null}
|
|
6357
7444
|
*/
|
|
6358
7445
|
this.Limit = null;
|
|
6359
7446
|
|
|
6360
7447
|
/**
|
|
6361
|
-
*
|
|
7448
|
+
* 偏移量,从0开始计数,默认0。举例来说,参数 Offset=0&Limit=20 返回第 0 到 19 项,Offset=20&Limit=20 返回第 20 到 39 项,以此类推
|
|
6362
7449
|
* @type {number || null}
|
|
6363
7450
|
*/
|
|
6364
7451
|
this.Offset = null;
|
|
@@ -6380,6 +7467,7 @@ class DescribeBindingPolicyObjectListRequest extends AbstractModel {
|
|
|
6380
7467
|
}
|
|
6381
7468
|
this.Module = 'Module' in params ? params.Module : null;
|
|
6382
7469
|
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
7470
|
+
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
6383
7471
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6384
7472
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
6385
7473
|
|
|
@@ -6745,44 +7833,166 @@ class DescribePolicyConditionListConfigManualPeriodNum extends AbstractModel {
|
|
|
6745
7833
|
if (!params) {
|
|
6746
7834
|
return;
|
|
6747
7835
|
}
|
|
6748
|
-
this.Default = 'Default' in params ? params.Default : null;
|
|
6749
|
-
this.Keys = 'Keys' in params ? params.Keys : null;
|
|
6750
|
-
this.Need = 'Need' in params ? params.Need : null;
|
|
7836
|
+
this.Default = 'Default' in params ? params.Default : null;
|
|
7837
|
+
this.Keys = 'Keys' in params ? params.Keys : null;
|
|
7838
|
+
this.Need = 'Need' in params ? params.Need : null;
|
|
7839
|
+
|
|
7840
|
+
}
|
|
7841
|
+
}
|
|
7842
|
+
|
|
7843
|
+
/**
|
|
7844
|
+
* DescribeAllNamespaces请求参数结构体
|
|
7845
|
+
* @class
|
|
7846
|
+
*/
|
|
7847
|
+
class DescribeAllNamespacesRequest extends AbstractModel {
|
|
7848
|
+
constructor(){
|
|
7849
|
+
super();
|
|
7850
|
+
|
|
7851
|
+
/**
|
|
7852
|
+
* 根据使用场景过滤 目前仅有"ST_ALARM"=告警类型
|
|
7853
|
+
* @type {string || null}
|
|
7854
|
+
*/
|
|
7855
|
+
this.SceneType = null;
|
|
7856
|
+
|
|
7857
|
+
/**
|
|
7858
|
+
* 固定值,为"monitor"
|
|
7859
|
+
* @type {string || null}
|
|
7860
|
+
*/
|
|
7861
|
+
this.Module = null;
|
|
7862
|
+
|
|
7863
|
+
/**
|
|
7864
|
+
* 根据监控类型过滤 不填默认查所有类型 "MT_QCE"=云产品监控
|
|
7865
|
+
* @type {Array.<string> || null}
|
|
7866
|
+
*/
|
|
7867
|
+
this.MonitorTypes = null;
|
|
7868
|
+
|
|
7869
|
+
/**
|
|
7870
|
+
* 根据namespace的Id过滤 不填默认查询所有
|
|
7871
|
+
* @type {Array.<string> || null}
|
|
7872
|
+
*/
|
|
7873
|
+
this.Ids = null;
|
|
7874
|
+
|
|
7875
|
+
}
|
|
7876
|
+
|
|
7877
|
+
/**
|
|
7878
|
+
* @private
|
|
7879
|
+
*/
|
|
7880
|
+
deserialize(params) {
|
|
7881
|
+
if (!params) {
|
|
7882
|
+
return;
|
|
7883
|
+
}
|
|
7884
|
+
this.SceneType = 'SceneType' in params ? params.SceneType : null;
|
|
7885
|
+
this.Module = 'Module' in params ? params.Module : null;
|
|
7886
|
+
this.MonitorTypes = 'MonitorTypes' in params ? params.MonitorTypes : null;
|
|
7887
|
+
this.Ids = 'Ids' in params ? params.Ids : null;
|
|
6751
7888
|
|
|
6752
7889
|
}
|
|
6753
7890
|
}
|
|
6754
7891
|
|
|
6755
7892
|
/**
|
|
6756
|
-
*
|
|
7893
|
+
* 策略组信息
|
|
6757
7894
|
* @class
|
|
6758
7895
|
*/
|
|
6759
|
-
class
|
|
7896
|
+
class PolicyGroup extends AbstractModel {
|
|
6760
7897
|
constructor(){
|
|
6761
7898
|
super();
|
|
6762
7899
|
|
|
6763
7900
|
/**
|
|
6764
|
-
*
|
|
7901
|
+
* 是否可设为默认告警策略
|
|
7902
|
+
* @type {boolean || null}
|
|
7903
|
+
*/
|
|
7904
|
+
this.CanSetDefault = null;
|
|
7905
|
+
|
|
7906
|
+
/**
|
|
7907
|
+
* 告警策略组ID
|
|
7908
|
+
* @type {number || null}
|
|
7909
|
+
*/
|
|
7910
|
+
this.GroupID = null;
|
|
7911
|
+
|
|
7912
|
+
/**
|
|
7913
|
+
* 告警策略组名称
|
|
6765
7914
|
* @type {string || null}
|
|
6766
7915
|
*/
|
|
6767
|
-
this.
|
|
7916
|
+
this.GroupName = null;
|
|
6768
7917
|
|
|
6769
7918
|
/**
|
|
6770
|
-
*
|
|
7919
|
+
* 创建时间
|
|
7920
|
+
* @type {number || null}
|
|
7921
|
+
*/
|
|
7922
|
+
this.InsertTime = null;
|
|
7923
|
+
|
|
7924
|
+
/**
|
|
7925
|
+
* 是否为默认告警策略
|
|
7926
|
+
* @type {number || null}
|
|
7927
|
+
*/
|
|
7928
|
+
this.IsDefault = null;
|
|
7929
|
+
|
|
7930
|
+
/**
|
|
7931
|
+
* 告警策略启用状态
|
|
7932
|
+
* @type {boolean || null}
|
|
7933
|
+
*/
|
|
7934
|
+
this.Enable = null;
|
|
7935
|
+
|
|
7936
|
+
/**
|
|
7937
|
+
* 最后修改人UIN
|
|
7938
|
+
* @type {number || null}
|
|
7939
|
+
*/
|
|
7940
|
+
this.LastEditUin = null;
|
|
7941
|
+
|
|
7942
|
+
/**
|
|
7943
|
+
* 未屏蔽的实例数
|
|
7944
|
+
* @type {number || null}
|
|
7945
|
+
*/
|
|
7946
|
+
this.NoShieldedInstanceCount = null;
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* 父策略组ID
|
|
7950
|
+
* @type {number || null}
|
|
7951
|
+
*/
|
|
7952
|
+
this.ParentGroupID = null;
|
|
7953
|
+
|
|
7954
|
+
/**
|
|
7955
|
+
* 所属项目ID
|
|
7956
|
+
* @type {number || null}
|
|
7957
|
+
*/
|
|
7958
|
+
this.ProjectID = null;
|
|
7959
|
+
|
|
7960
|
+
/**
|
|
7961
|
+
* 告警接收对象信息
|
|
7962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7963
|
+
* @type {Array.<PolicyGroupReceiverInfo> || null}
|
|
7964
|
+
*/
|
|
7965
|
+
this.ReceiverInfos = null;
|
|
7966
|
+
|
|
7967
|
+
/**
|
|
7968
|
+
* 备注信息
|
|
6771
7969
|
* @type {string || null}
|
|
6772
7970
|
*/
|
|
6773
|
-
this.
|
|
7971
|
+
this.Remark = null;
|
|
6774
7972
|
|
|
6775
7973
|
/**
|
|
6776
|
-
*
|
|
6777
|
-
* @type {
|
|
7974
|
+
* 修改时间
|
|
7975
|
+
* @type {number || null}
|
|
6778
7976
|
*/
|
|
6779
|
-
this.
|
|
7977
|
+
this.UpdateTime = null;
|
|
6780
7978
|
|
|
6781
7979
|
/**
|
|
6782
|
-
*
|
|
6783
|
-
* @type {
|
|
7980
|
+
* 总绑定实例数
|
|
7981
|
+
* @type {number || null}
|
|
6784
7982
|
*/
|
|
6785
|
-
this.
|
|
7983
|
+
this.TotalInstanceCount = null;
|
|
7984
|
+
|
|
7985
|
+
/**
|
|
7986
|
+
* 视图
|
|
7987
|
+
* @type {string || null}
|
|
7988
|
+
*/
|
|
7989
|
+
this.ViewName = null;
|
|
7990
|
+
|
|
7991
|
+
/**
|
|
7992
|
+
* 是否为与关系规则
|
|
7993
|
+
* @type {number || null}
|
|
7994
|
+
*/
|
|
7995
|
+
this.IsUnionRule = null;
|
|
6786
7996
|
|
|
6787
7997
|
}
|
|
6788
7998
|
|
|
@@ -6793,10 +8003,30 @@ class DescribeAllNamespacesRequest extends AbstractModel {
|
|
|
6793
8003
|
if (!params) {
|
|
6794
8004
|
return;
|
|
6795
8005
|
}
|
|
6796
|
-
this.
|
|
6797
|
-
this.
|
|
6798
|
-
this.
|
|
6799
|
-
this.
|
|
8006
|
+
this.CanSetDefault = 'CanSetDefault' in params ? params.CanSetDefault : null;
|
|
8007
|
+
this.GroupID = 'GroupID' in params ? params.GroupID : null;
|
|
8008
|
+
this.GroupName = 'GroupName' in params ? params.GroupName : null;
|
|
8009
|
+
this.InsertTime = 'InsertTime' in params ? params.InsertTime : null;
|
|
8010
|
+
this.IsDefault = 'IsDefault' in params ? params.IsDefault : null;
|
|
8011
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
8012
|
+
this.LastEditUin = 'LastEditUin' in params ? params.LastEditUin : null;
|
|
8013
|
+
this.NoShieldedInstanceCount = 'NoShieldedInstanceCount' in params ? params.NoShieldedInstanceCount : null;
|
|
8014
|
+
this.ParentGroupID = 'ParentGroupID' in params ? params.ParentGroupID : null;
|
|
8015
|
+
this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
|
|
8016
|
+
|
|
8017
|
+
if (params.ReceiverInfos) {
|
|
8018
|
+
this.ReceiverInfos = new Array();
|
|
8019
|
+
for (let z in params.ReceiverInfos) {
|
|
8020
|
+
let obj = new PolicyGroupReceiverInfo();
|
|
8021
|
+
obj.deserialize(params.ReceiverInfos[z]);
|
|
8022
|
+
this.ReceiverInfos.push(obj);
|
|
8023
|
+
}
|
|
8024
|
+
}
|
|
8025
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
8026
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
8027
|
+
this.TotalInstanceCount = 'TotalInstanceCount' in params ? params.TotalInstanceCount : null;
|
|
8028
|
+
this.ViewName = 'ViewName' in params ? params.ViewName : null;
|
|
8029
|
+
this.IsUnionRule = 'IsUnionRule' in params ? params.IsUnionRule : null;
|
|
6800
8030
|
|
|
6801
8031
|
}
|
|
6802
8032
|
}
|
|
@@ -7000,6 +8230,8 @@ class DescribeAlarmPoliciesRequest extends AbstractModel {
|
|
|
7000
8230
|
具体也可以参考下方的示例 2。
|
|
7001
8231
|
|
|
7002
8232
|
不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
|
8233
|
+
|
|
8234
|
+
注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
|
7003
8235
|
* @type {string || null}
|
|
7004
8236
|
*/
|
|
7005
8237
|
this.Dimensions = null;
|
|
@@ -7066,6 +8298,30 @@ class DescribeAlarmPoliciesRequest extends AbstractModel {
|
|
|
7066
8298
|
*/
|
|
7067
8299
|
this.NotBindingNoticeRule = null;
|
|
7068
8300
|
|
|
8301
|
+
/**
|
|
8302
|
+
* 实例分组id
|
|
8303
|
+
* @type {number || null}
|
|
8304
|
+
*/
|
|
8305
|
+
this.InstanceGroupId = null;
|
|
8306
|
+
|
|
8307
|
+
/**
|
|
8308
|
+
* 是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0
|
|
8309
|
+
* @type {number || null}
|
|
8310
|
+
*/
|
|
8311
|
+
this.NeedCorrespondence = null;
|
|
8312
|
+
|
|
8313
|
+
/**
|
|
8314
|
+
* 按照触发任务(例如弹性伸缩)过滤策略。最多10个
|
|
8315
|
+
* @type {Array.<AlarmPolicyTriggerTask> || null}
|
|
8316
|
+
*/
|
|
8317
|
+
this.TriggerTasks = null;
|
|
8318
|
+
|
|
8319
|
+
/**
|
|
8320
|
+
* 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
|
|
8321
|
+
* @type {Array.<string> || null}
|
|
8322
|
+
*/
|
|
8323
|
+
this.OneClickPolicyType = null;
|
|
8324
|
+
|
|
7069
8325
|
}
|
|
7070
8326
|
|
|
7071
8327
|
/**
|
|
@@ -7092,31 +8348,42 @@ class DescribeAlarmPoliciesRequest extends AbstractModel {
|
|
|
7092
8348
|
this.RuleTypes = 'RuleTypes' in params ? params.RuleTypes : null;
|
|
7093
8349
|
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
7094
8350
|
this.NotBindingNoticeRule = 'NotBindingNoticeRule' in params ? params.NotBindingNoticeRule : null;
|
|
8351
|
+
this.InstanceGroupId = 'InstanceGroupId' in params ? params.InstanceGroupId : null;
|
|
8352
|
+
this.NeedCorrespondence = 'NeedCorrespondence' in params ? params.NeedCorrespondence : null;
|
|
8353
|
+
|
|
8354
|
+
if (params.TriggerTasks) {
|
|
8355
|
+
this.TriggerTasks = new Array();
|
|
8356
|
+
for (let z in params.TriggerTasks) {
|
|
8357
|
+
let obj = new AlarmPolicyTriggerTask();
|
|
8358
|
+
obj.deserialize(params.TriggerTasks[z]);
|
|
8359
|
+
this.TriggerTasks.push(obj);
|
|
8360
|
+
}
|
|
8361
|
+
}
|
|
8362
|
+
this.OneClickPolicyType = 'OneClickPolicyType' in params ? params.OneClickPolicyType : null;
|
|
7095
8363
|
|
|
7096
8364
|
}
|
|
7097
8365
|
}
|
|
7098
8366
|
|
|
7099
8367
|
/**
|
|
7100
|
-
*
|
|
8368
|
+
* DescribeConditionsTemplateList返回参数结构体
|
|
7101
8369
|
* @class
|
|
7102
8370
|
*/
|
|
7103
|
-
class
|
|
8371
|
+
class DescribeConditionsTemplateListResponse extends AbstractModel {
|
|
7104
8372
|
constructor(){
|
|
7105
8373
|
super();
|
|
7106
8374
|
|
|
7107
8375
|
/**
|
|
7108
|
-
*
|
|
7109
|
-
|
|
7110
|
-
* @type {Array.<DescribeAccidentEventListAlarms> || null}
|
|
8376
|
+
* 模板总数
|
|
8377
|
+
* @type {number || null}
|
|
7111
8378
|
*/
|
|
7112
|
-
this.
|
|
8379
|
+
this.Total = null;
|
|
7113
8380
|
|
|
7114
8381
|
/**
|
|
7115
|
-
*
|
|
8382
|
+
* 模板列表
|
|
7116
8383
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7117
|
-
* @type {
|
|
8384
|
+
* @type {Array.<TemplateGroup> || null}
|
|
7118
8385
|
*/
|
|
7119
|
-
this.
|
|
8386
|
+
this.TemplateGroupList = null;
|
|
7120
8387
|
|
|
7121
8388
|
/**
|
|
7122
8389
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7133,16 +8400,16 @@ class DescribeAccidentEventListResponse extends AbstractModel {
|
|
|
7133
8400
|
if (!params) {
|
|
7134
8401
|
return;
|
|
7135
8402
|
}
|
|
8403
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
7136
8404
|
|
|
7137
|
-
if (params.
|
|
7138
|
-
this.
|
|
7139
|
-
for (let z in params.
|
|
7140
|
-
let obj = new
|
|
7141
|
-
obj.deserialize(params.
|
|
7142
|
-
this.
|
|
8405
|
+
if (params.TemplateGroupList) {
|
|
8406
|
+
this.TemplateGroupList = new Array();
|
|
8407
|
+
for (let z in params.TemplateGroupList) {
|
|
8408
|
+
let obj = new TemplateGroup();
|
|
8409
|
+
obj.deserialize(params.TemplateGroupList[z]);
|
|
8410
|
+
this.TemplateGroupList.push(obj);
|
|
7143
8411
|
}
|
|
7144
8412
|
}
|
|
7145
|
-
this.Total = 'Total' in params ? params.Total : null;
|
|
7146
8413
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7147
8414
|
|
|
7148
8415
|
}
|
|
@@ -7339,6 +8606,13 @@ class AlarmNotice extends AbstractModel {
|
|
|
7339
8606
|
*/
|
|
7340
8607
|
this.PolicyIds = null;
|
|
7341
8608
|
|
|
8609
|
+
/**
|
|
8610
|
+
* 推送cls渠道
|
|
8611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8612
|
+
* @type {Array.<CLSNotice> || null}
|
|
8613
|
+
*/
|
|
8614
|
+
this.CLSNotices = null;
|
|
8615
|
+
|
|
7342
8616
|
}
|
|
7343
8617
|
|
|
7344
8618
|
/**
|
|
@@ -7375,6 +8649,15 @@ class AlarmNotice extends AbstractModel {
|
|
|
7375
8649
|
this.NoticeLanguage = 'NoticeLanguage' in params ? params.NoticeLanguage : null;
|
|
7376
8650
|
this.PolicyIds = 'PolicyIds' in params ? params.PolicyIds : null;
|
|
7377
8651
|
|
|
8652
|
+
if (params.CLSNotices) {
|
|
8653
|
+
this.CLSNotices = new Array();
|
|
8654
|
+
for (let z in params.CLSNotices) {
|
|
8655
|
+
let obj = new CLSNotice();
|
|
8656
|
+
obj.deserialize(params.CLSNotices[z]);
|
|
8657
|
+
this.CLSNotices.push(obj);
|
|
8658
|
+
}
|
|
8659
|
+
}
|
|
8660
|
+
|
|
7378
8661
|
}
|
|
7379
8662
|
}
|
|
7380
8663
|
|
|
@@ -7402,7 +8685,115 @@ class MetricConfig extends AbstractModel {
|
|
|
7402
8685
|
* 允许配置的持续周期个数
|
|
7403
8686
|
* @type {Array.<number> || null}
|
|
7404
8687
|
*/
|
|
7405
|
-
this.ContinuePeriod = null;
|
|
8688
|
+
this.ContinuePeriod = null;
|
|
8689
|
+
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8692
|
+
/**
|
|
8693
|
+
* @private
|
|
8694
|
+
*/
|
|
8695
|
+
deserialize(params) {
|
|
8696
|
+
if (!params) {
|
|
8697
|
+
return;
|
|
8698
|
+
}
|
|
8699
|
+
this.Operator = 'Operator' in params ? params.Operator : null;
|
|
8700
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
8701
|
+
this.ContinuePeriod = 'ContinuePeriod' in params ? params.ContinuePeriod : null;
|
|
8702
|
+
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
|
|
8706
|
+
/**
|
|
8707
|
+
* 2018版策略模板列表接收人信息
|
|
8708
|
+
* @class
|
|
8709
|
+
*/
|
|
8710
|
+
class PolicyGroupReceiverInfo extends AbstractModel {
|
|
8711
|
+
constructor(){
|
|
8712
|
+
super();
|
|
8713
|
+
|
|
8714
|
+
/**
|
|
8715
|
+
* 有效时段结束时间
|
|
8716
|
+
* @type {number || null}
|
|
8717
|
+
*/
|
|
8718
|
+
this.EndTime = null;
|
|
8719
|
+
|
|
8720
|
+
/**
|
|
8721
|
+
* 是否需要发送通知
|
|
8722
|
+
* @type {number || null}
|
|
8723
|
+
*/
|
|
8724
|
+
this.NeedSendNotice = null;
|
|
8725
|
+
|
|
8726
|
+
/**
|
|
8727
|
+
* 告警接收渠道
|
|
8728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8729
|
+
* @type {Array.<string> || null}
|
|
8730
|
+
*/
|
|
8731
|
+
this.NotifyWay = null;
|
|
8732
|
+
|
|
8733
|
+
/**
|
|
8734
|
+
* 电话告警对个人间隔(秒)
|
|
8735
|
+
* @type {number || null}
|
|
8736
|
+
*/
|
|
8737
|
+
this.PersonInterval = null;
|
|
8738
|
+
|
|
8739
|
+
/**
|
|
8740
|
+
* 消息接收组列表
|
|
8741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8742
|
+
* @type {Array.<number> || null}
|
|
8743
|
+
*/
|
|
8744
|
+
this.ReceiverGroupList = null;
|
|
8745
|
+
|
|
8746
|
+
/**
|
|
8747
|
+
* 接受者类型
|
|
8748
|
+
* @type {string || null}
|
|
8749
|
+
*/
|
|
8750
|
+
this.ReceiverType = null;
|
|
8751
|
+
|
|
8752
|
+
/**
|
|
8753
|
+
* 接收人列表。通过平台接口查询到的接收人id列表
|
|
8754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8755
|
+
* @type {Array.<number> || null}
|
|
8756
|
+
*/
|
|
8757
|
+
this.ReceiverUserList = null;
|
|
8758
|
+
|
|
8759
|
+
/**
|
|
8760
|
+
* 告警恢复通知方式
|
|
8761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8762
|
+
* @type {Array.<string> || null}
|
|
8763
|
+
*/
|
|
8764
|
+
this.RecoverNotify = null;
|
|
8765
|
+
|
|
8766
|
+
/**
|
|
8767
|
+
* 电话告警每轮间隔(秒)
|
|
8768
|
+
* @type {number || null}
|
|
8769
|
+
*/
|
|
8770
|
+
this.RoundInterval = null;
|
|
8771
|
+
|
|
8772
|
+
/**
|
|
8773
|
+
* 电话告警轮数
|
|
8774
|
+
* @type {number || null}
|
|
8775
|
+
*/
|
|
8776
|
+
this.RoundNumber = null;
|
|
8777
|
+
|
|
8778
|
+
/**
|
|
8779
|
+
* 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)
|
|
8780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8781
|
+
* @type {Array.<string> || null}
|
|
8782
|
+
*/
|
|
8783
|
+
this.SendFor = null;
|
|
8784
|
+
|
|
8785
|
+
/**
|
|
8786
|
+
* 有效时段开始时间
|
|
8787
|
+
* @type {number || null}
|
|
8788
|
+
*/
|
|
8789
|
+
this.StartTime = null;
|
|
8790
|
+
|
|
8791
|
+
/**
|
|
8792
|
+
* 电话告警接收者uid
|
|
8793
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8794
|
+
* @type {Array.<number> || null}
|
|
8795
|
+
*/
|
|
8796
|
+
this.UIDList = null;
|
|
7406
8797
|
|
|
7407
8798
|
}
|
|
7408
8799
|
|
|
@@ -7413,9 +8804,19 @@ class MetricConfig extends AbstractModel {
|
|
|
7413
8804
|
if (!params) {
|
|
7414
8805
|
return;
|
|
7415
8806
|
}
|
|
7416
|
-
this.
|
|
7417
|
-
this.
|
|
7418
|
-
this.
|
|
8807
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
8808
|
+
this.NeedSendNotice = 'NeedSendNotice' in params ? params.NeedSendNotice : null;
|
|
8809
|
+
this.NotifyWay = 'NotifyWay' in params ? params.NotifyWay : null;
|
|
8810
|
+
this.PersonInterval = 'PersonInterval' in params ? params.PersonInterval : null;
|
|
8811
|
+
this.ReceiverGroupList = 'ReceiverGroupList' in params ? params.ReceiverGroupList : null;
|
|
8812
|
+
this.ReceiverType = 'ReceiverType' in params ? params.ReceiverType : null;
|
|
8813
|
+
this.ReceiverUserList = 'ReceiverUserList' in params ? params.ReceiverUserList : null;
|
|
8814
|
+
this.RecoverNotify = 'RecoverNotify' in params ? params.RecoverNotify : null;
|
|
8815
|
+
this.RoundInterval = 'RoundInterval' in params ? params.RoundInterval : null;
|
|
8816
|
+
this.RoundNumber = 'RoundNumber' in params ? params.RoundNumber : null;
|
|
8817
|
+
this.SendFor = 'SendFor' in params ? params.SendFor : null;
|
|
8818
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
8819
|
+
this.UIDList = 'UIDList' in params ? params.UIDList : null;
|
|
7419
8820
|
|
|
7420
8821
|
}
|
|
7421
8822
|
}
|
|
@@ -7440,6 +8841,12 @@ class DescribeAlarmEventsRequest extends AbstractModel {
|
|
|
7440
8841
|
*/
|
|
7441
8842
|
this.Namespace = null;
|
|
7442
8843
|
|
|
8844
|
+
/**
|
|
8845
|
+
* 监控类型,如 MT_QCE。如果不填默认为 MT_QCE。
|
|
8846
|
+
* @type {string || null}
|
|
8847
|
+
*/
|
|
8848
|
+
this.MonitorType = null;
|
|
8849
|
+
|
|
7443
8850
|
}
|
|
7444
8851
|
|
|
7445
8852
|
/**
|
|
@@ -7451,6 +8858,7 @@ class DescribeAlarmEventsRequest extends AbstractModel {
|
|
|
7451
8858
|
}
|
|
7452
8859
|
this.Module = 'Module' in params ? params.Module : null;
|
|
7453
8860
|
this.Namespace = 'Namespace' in params ? params.Namespace : null;
|
|
8861
|
+
this.MonitorType = 'MonitorType' in params ? params.MonitorType : null;
|
|
7454
8862
|
|
|
7455
8863
|
}
|
|
7456
8864
|
}
|
|
@@ -7578,7 +8986,9 @@ class CreateAlertRuleRequest extends AbstractModel {
|
|
|
7578
8986
|
this.Labels = null;
|
|
7579
8987
|
|
|
7580
8988
|
/**
|
|
7581
|
-
*
|
|
8989
|
+
* 注释列表。
|
|
8990
|
+
|
|
8991
|
+
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
|
7582
8992
|
* @type {Array.<PrometheusRuleKV> || null}
|
|
7583
8993
|
*/
|
|
7584
8994
|
this.Annotations = null;
|
|
@@ -7890,6 +9300,13 @@ class AlarmHistory extends AbstractModel {
|
|
|
7890
9300
|
*/
|
|
7891
9301
|
this.MetricsInfo = null;
|
|
7892
9302
|
|
|
9303
|
+
/**
|
|
9304
|
+
* 告警实例的维度信息
|
|
9305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9306
|
+
* @type {string || null}
|
|
9307
|
+
*/
|
|
9308
|
+
this.Dimensions = null;
|
|
9309
|
+
|
|
7893
9310
|
}
|
|
7894
9311
|
|
|
7895
9312
|
/**
|
|
@@ -7938,6 +9355,7 @@ class AlarmHistory extends AbstractModel {
|
|
|
7938
9355
|
this.MetricsInfo.push(obj);
|
|
7939
9356
|
}
|
|
7940
9357
|
}
|
|
9358
|
+
this.Dimensions = 'Dimensions' in params ? params.Dimensions : null;
|
|
7941
9359
|
|
|
7942
9360
|
}
|
|
7943
9361
|
}
|
|
@@ -8034,6 +9452,27 @@ class URLNotice extends AbstractModel {
|
|
|
8034
9452
|
*/
|
|
8035
9453
|
this.ValidationCode = null;
|
|
8036
9454
|
|
|
9455
|
+
/**
|
|
9456
|
+
* 通知开始时间 一天开始的秒数
|
|
9457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9458
|
+
* @type {number || null}
|
|
9459
|
+
*/
|
|
9460
|
+
this.StartTime = null;
|
|
9461
|
+
|
|
9462
|
+
/**
|
|
9463
|
+
* 通知结束时间 一天开始的秒数
|
|
9464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9465
|
+
* @type {number || null}
|
|
9466
|
+
*/
|
|
9467
|
+
this.EndTime = null;
|
|
9468
|
+
|
|
9469
|
+
/**
|
|
9470
|
+
* 通知周期 1-7表示周一到周日
|
|
9471
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9472
|
+
* @type {Array.<number> || null}
|
|
9473
|
+
*/
|
|
9474
|
+
this.Weekday = null;
|
|
9475
|
+
|
|
8037
9476
|
}
|
|
8038
9477
|
|
|
8039
9478
|
/**
|
|
@@ -8046,6 +9485,9 @@ class URLNotice extends AbstractModel {
|
|
|
8046
9485
|
this.URL = 'URL' in params ? params.URL : null;
|
|
8047
9486
|
this.IsValid = 'IsValid' in params ? params.IsValid : null;
|
|
8048
9487
|
this.ValidationCode = 'ValidationCode' in params ? params.ValidationCode : null;
|
|
9488
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
9489
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
9490
|
+
this.Weekday = 'Weekday' in params ? params.Weekday : null;
|
|
8049
9491
|
|
|
8050
9492
|
}
|
|
8051
9493
|
}
|
|
@@ -8838,6 +10280,12 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
|
|
|
8838
10280
|
*/
|
|
8839
10281
|
this.GroupIds = null;
|
|
8840
10282
|
|
|
10283
|
+
/**
|
|
10284
|
+
* 根据通知模板 id 过滤,空数组/不传则不过滤
|
|
10285
|
+
* @type {Array.<string> || null}
|
|
10286
|
+
*/
|
|
10287
|
+
this.NoticeIds = null;
|
|
10288
|
+
|
|
8841
10289
|
}
|
|
8842
10290
|
|
|
8843
10291
|
/**
|
|
@@ -8856,6 +10304,7 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
|
|
|
8856
10304
|
this.ReceiverType = 'ReceiverType' in params ? params.ReceiverType : null;
|
|
8857
10305
|
this.UserIds = 'UserIds' in params ? params.UserIds : null;
|
|
8858
10306
|
this.GroupIds = 'GroupIds' in params ? params.GroupIds : null;
|
|
10307
|
+
this.NoticeIds = 'NoticeIds' in params ? params.NoticeIds : null;
|
|
8859
10308
|
|
|
8860
10309
|
}
|
|
8861
10310
|
}
|
|
@@ -9519,6 +10968,12 @@ class CreateAlarmNoticeRequest extends AbstractModel {
|
|
|
9519
10968
|
*/
|
|
9520
10969
|
this.URLNotices = null;
|
|
9521
10970
|
|
|
10971
|
+
/**
|
|
10972
|
+
* 推送CLS日志服务的操作 最多1个
|
|
10973
|
+
* @type {Array.<CLSNotice> || null}
|
|
10974
|
+
*/
|
|
10975
|
+
this.CLSNotices = null;
|
|
10976
|
+
|
|
9522
10977
|
}
|
|
9523
10978
|
|
|
9524
10979
|
/**
|
|
@@ -9551,28 +11006,95 @@ class CreateAlarmNoticeRequest extends AbstractModel {
|
|
|
9551
11006
|
}
|
|
9552
11007
|
}
|
|
9553
11008
|
|
|
11009
|
+
if (params.CLSNotices) {
|
|
11010
|
+
this.CLSNotices = new Array();
|
|
11011
|
+
for (let z in params.CLSNotices) {
|
|
11012
|
+
let obj = new CLSNotice();
|
|
11013
|
+
obj.deserialize(params.CLSNotices[z]);
|
|
11014
|
+
this.CLSNotices.push(obj);
|
|
11015
|
+
}
|
|
11016
|
+
}
|
|
11017
|
+
|
|
9554
11018
|
}
|
|
9555
11019
|
}
|
|
9556
11020
|
|
|
9557
11021
|
/**
|
|
9558
|
-
*
|
|
11022
|
+
* 查询策略输出的阈值告警条件
|
|
9559
11023
|
* @class
|
|
9560
11024
|
*/
|
|
9561
|
-
class
|
|
11025
|
+
class DescribePolicyGroupInfoCondition extends AbstractModel {
|
|
9562
11026
|
constructor(){
|
|
9563
11027
|
super();
|
|
9564
11028
|
|
|
9565
11029
|
/**
|
|
9566
|
-
*
|
|
11030
|
+
* 指标名称
|
|
11031
|
+
* @type {string || null}
|
|
11032
|
+
*/
|
|
11033
|
+
this.MetricShowName = null;
|
|
11034
|
+
|
|
11035
|
+
/**
|
|
11036
|
+
* 数据聚合周期(单位秒)
|
|
9567
11037
|
* @type {number || null}
|
|
9568
11038
|
*/
|
|
9569
|
-
this.
|
|
11039
|
+
this.Period = null;
|
|
9570
11040
|
|
|
9571
11041
|
/**
|
|
9572
|
-
*
|
|
11042
|
+
* 指标id
|
|
11043
|
+
* @type {number || null}
|
|
11044
|
+
*/
|
|
11045
|
+
this.MetricId = null;
|
|
11046
|
+
|
|
11047
|
+
/**
|
|
11048
|
+
* 阈值规则id
|
|
11049
|
+
* @type {number || null}
|
|
11050
|
+
*/
|
|
11051
|
+
this.RuleId = null;
|
|
11052
|
+
|
|
11053
|
+
/**
|
|
11054
|
+
* 指标单位
|
|
9573
11055
|
* @type {string || null}
|
|
9574
11056
|
*/
|
|
9575
|
-
this.
|
|
11057
|
+
this.Unit = null;
|
|
11058
|
+
|
|
11059
|
+
/**
|
|
11060
|
+
* 告警发送收敛类型。0连续告警,1指数告警
|
|
11061
|
+
* @type {number || null}
|
|
11062
|
+
*/
|
|
11063
|
+
this.AlarmNotifyType = null;
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
|
11067
|
+
* @type {number || null}
|
|
11068
|
+
*/
|
|
11069
|
+
this.AlarmNotifyPeriod = null;
|
|
11070
|
+
|
|
11071
|
+
/**
|
|
11072
|
+
* 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降
|
|
11073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11074
|
+
* @type {number || null}
|
|
11075
|
+
*/
|
|
11076
|
+
this.CalcType = null;
|
|
11077
|
+
|
|
11078
|
+
/**
|
|
11079
|
+
* 检测阈值
|
|
11080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11081
|
+
* @type {string || null}
|
|
11082
|
+
*/
|
|
11083
|
+
this.CalcValue = null;
|
|
11084
|
+
|
|
11085
|
+
/**
|
|
11086
|
+
* 持续多长时间触发规则会告警(单位秒)
|
|
11087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11088
|
+
* @type {number || null}
|
|
11089
|
+
*/
|
|
11090
|
+
this.ContinueTime = null;
|
|
11091
|
+
|
|
11092
|
+
/**
|
|
11093
|
+
* 告警指标名
|
|
11094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11095
|
+
* @type {string || null}
|
|
11096
|
+
*/
|
|
11097
|
+
this.MetricName = null;
|
|
9576
11098
|
|
|
9577
11099
|
}
|
|
9578
11100
|
|
|
@@ -9583,8 +11105,17 @@ class InstanceGroups extends AbstractModel {
|
|
|
9583
11105
|
if (!params) {
|
|
9584
11106
|
return;
|
|
9585
11107
|
}
|
|
9586
|
-
this.
|
|
9587
|
-
this.
|
|
11108
|
+
this.MetricShowName = 'MetricShowName' in params ? params.MetricShowName : null;
|
|
11109
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
11110
|
+
this.MetricId = 'MetricId' in params ? params.MetricId : null;
|
|
11111
|
+
this.RuleId = 'RuleId' in params ? params.RuleId : null;
|
|
11112
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
11113
|
+
this.AlarmNotifyType = 'AlarmNotifyType' in params ? params.AlarmNotifyType : null;
|
|
11114
|
+
this.AlarmNotifyPeriod = 'AlarmNotifyPeriod' in params ? params.AlarmNotifyPeriod : null;
|
|
11115
|
+
this.CalcType = 'CalcType' in params ? params.CalcType : null;
|
|
11116
|
+
this.CalcValue = 'CalcValue' in params ? params.CalcValue : null;
|
|
11117
|
+
this.ContinueTime = 'ContinueTime' in params ? params.ContinueTime : null;
|
|
11118
|
+
this.MetricName = 'MetricName' in params ? params.MetricName : null;
|
|
9588
11119
|
|
|
9589
11120
|
}
|
|
9590
11121
|
}
|
|
@@ -9828,6 +11359,55 @@ class UnBindingAllPolicyObjectRequest extends AbstractModel {
|
|
|
9828
11359
|
}
|
|
9829
11360
|
}
|
|
9830
11361
|
|
|
11362
|
+
/**
|
|
11363
|
+
* 告警通知中的推送CLS操作
|
|
11364
|
+
* @class
|
|
11365
|
+
*/
|
|
11366
|
+
class CLSNotice extends AbstractModel {
|
|
11367
|
+
constructor(){
|
|
11368
|
+
super();
|
|
11369
|
+
|
|
11370
|
+
/**
|
|
11371
|
+
* 地域
|
|
11372
|
+
* @type {string || null}
|
|
11373
|
+
*/
|
|
11374
|
+
this.Region = null;
|
|
11375
|
+
|
|
11376
|
+
/**
|
|
11377
|
+
* 日志集Id
|
|
11378
|
+
* @type {string || null}
|
|
11379
|
+
*/
|
|
11380
|
+
this.LogSetId = null;
|
|
11381
|
+
|
|
11382
|
+
/**
|
|
11383
|
+
* 主题Id
|
|
11384
|
+
* @type {string || null}
|
|
11385
|
+
*/
|
|
11386
|
+
this.TopicId = null;
|
|
11387
|
+
|
|
11388
|
+
/**
|
|
11389
|
+
* 启停状态,可不传,默认启用。0=停用,1=启用
|
|
11390
|
+
* @type {number || null}
|
|
11391
|
+
*/
|
|
11392
|
+
this.Enable = null;
|
|
11393
|
+
|
|
11394
|
+
}
|
|
11395
|
+
|
|
11396
|
+
/**
|
|
11397
|
+
* @private
|
|
11398
|
+
*/
|
|
11399
|
+
deserialize(params) {
|
|
11400
|
+
if (!params) {
|
|
11401
|
+
return;
|
|
11402
|
+
}
|
|
11403
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
11404
|
+
this.LogSetId = 'LogSetId' in params ? params.LogSetId : null;
|
|
11405
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
11406
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
11407
|
+
|
|
11408
|
+
}
|
|
11409
|
+
}
|
|
11410
|
+
|
|
9831
11411
|
/**
|
|
9832
11412
|
* 查询策略输出的事件告警条件
|
|
9833
11413
|
* @class
|
|
@@ -10227,6 +11807,110 @@ class AlarmPolicyEventCondition extends AbstractModel {
|
|
|
10227
11807
|
}
|
|
10228
11808
|
}
|
|
10229
11809
|
|
|
11810
|
+
/**
|
|
11811
|
+
* DescribePrometheusInstances请求参数结构体
|
|
11812
|
+
* @class
|
|
11813
|
+
*/
|
|
11814
|
+
class DescribePrometheusInstancesRequest extends AbstractModel {
|
|
11815
|
+
constructor(){
|
|
11816
|
+
super();
|
|
11817
|
+
|
|
11818
|
+
/**
|
|
11819
|
+
* 按照一个或者多个实例ID查询。实例ID形如:prom-xxxxxxxx。请求的实例的上限为100。
|
|
11820
|
+
* @type {Array.<string> || null}
|
|
11821
|
+
*/
|
|
11822
|
+
this.InstanceIds = null;
|
|
11823
|
+
|
|
11824
|
+
/**
|
|
11825
|
+
* 按照【实例状态】进行过滤。
|
|
11826
|
+
<ul>
|
|
11827
|
+
<li>1:正在创建</li>
|
|
11828
|
+
<li>2:运行中</li>
|
|
11829
|
+
<li>3:异常</li>
|
|
11830
|
+
<li>4:重建中</li>
|
|
11831
|
+
<li>5:销毁中</li>
|
|
11832
|
+
<li>6:已停服</li>
|
|
11833
|
+
<li>8:欠费停服中</li>
|
|
11834
|
+
<li>9:欠费已停服</li>
|
|
11835
|
+
</ul>
|
|
11836
|
+
* @type {Array.<number> || null}
|
|
11837
|
+
*/
|
|
11838
|
+
this.InstanceStatus = null;
|
|
11839
|
+
|
|
11840
|
+
/**
|
|
11841
|
+
* 按照【实例名称】进行过滤。
|
|
11842
|
+
* @type {string || null}
|
|
11843
|
+
*/
|
|
11844
|
+
this.InstanceName = null;
|
|
11845
|
+
|
|
11846
|
+
/**
|
|
11847
|
+
* 按照【可用区】进行过滤。可用区形如:ap-guangzhou-1。
|
|
11848
|
+
* @type {Array.<string> || null}
|
|
11849
|
+
*/
|
|
11850
|
+
this.Zones = null;
|
|
11851
|
+
|
|
11852
|
+
/**
|
|
11853
|
+
* 按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。
|
|
11854
|
+
* @type {Array.<PrometheusTag> || null}
|
|
11855
|
+
*/
|
|
11856
|
+
this.TagFilters = null;
|
|
11857
|
+
|
|
11858
|
+
/**
|
|
11859
|
+
* 按照【实例的IPv4地址】进行过滤。
|
|
11860
|
+
* @type {Array.<string> || null}
|
|
11861
|
+
*/
|
|
11862
|
+
this.IPv4Address = null;
|
|
11863
|
+
|
|
11864
|
+
/**
|
|
11865
|
+
* 返回数量,默认为20,最大值为100。
|
|
11866
|
+
* @type {number || null}
|
|
11867
|
+
*/
|
|
11868
|
+
this.Limit = null;
|
|
11869
|
+
|
|
11870
|
+
/**
|
|
11871
|
+
* 偏移量,默认为0。
|
|
11872
|
+
* @type {number || null}
|
|
11873
|
+
*/
|
|
11874
|
+
this.Offset = null;
|
|
11875
|
+
|
|
11876
|
+
/**
|
|
11877
|
+
* 按照【计费类型】进行过滤。
|
|
11878
|
+
<li>2:包年包月</li>
|
|
11879
|
+
<li>3:按量</li>
|
|
11880
|
+
* @type {number || null}
|
|
11881
|
+
*/
|
|
11882
|
+
this.InstanceChargeType = null;
|
|
11883
|
+
|
|
11884
|
+
}
|
|
11885
|
+
|
|
11886
|
+
/**
|
|
11887
|
+
* @private
|
|
11888
|
+
*/
|
|
11889
|
+
deserialize(params) {
|
|
11890
|
+
if (!params) {
|
|
11891
|
+
return;
|
|
11892
|
+
}
|
|
11893
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
11894
|
+
this.InstanceStatus = 'InstanceStatus' in params ? params.InstanceStatus : null;
|
|
11895
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
11896
|
+
this.Zones = 'Zones' in params ? params.Zones : null;
|
|
11897
|
+
|
|
11898
|
+
if (params.TagFilters) {
|
|
11899
|
+
this.TagFilters = new Array();
|
|
11900
|
+
for (let z in params.TagFilters) {
|
|
11901
|
+
let obj = new PrometheusTag();
|
|
11902
|
+
obj.deserialize(params.TagFilters[z]);
|
|
11903
|
+
this.TagFilters.push(obj);
|
|
11904
|
+
}
|
|
11905
|
+
}
|
|
11906
|
+
this.IPv4Address = 'IPv4Address' in params ? params.IPv4Address : null;
|
|
11907
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
11908
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
11909
|
+
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
11910
|
+
|
|
11911
|
+
}
|
|
11912
|
+
}
|
|
11913
|
+
|
|
10230
11914
|
/**
|
|
10231
11915
|
* DescribeProductEventList返回的OverView对象
|
|
10232
11916
|
* @class
|
|
@@ -10405,8 +12089,10 @@ module.exports = {
|
|
|
10405
12089
|
DescribeProductEventListRequest: DescribeProductEventListRequest,
|
|
10406
12090
|
AlarmPolicyTriggerTask: AlarmPolicyTriggerTask,
|
|
10407
12091
|
DescribeServiceDiscoveryResponse: DescribeServiceDiscoveryResponse,
|
|
12092
|
+
PrometheusTag: PrometheusTag,
|
|
10408
12093
|
DescribePolicyConditionListMetric: DescribePolicyConditionListMetric,
|
|
10409
12094
|
DescribeAlertRulesRequest: DescribeAlertRulesRequest,
|
|
12095
|
+
DescribePrometheusInstancesResponse: DescribePrometheusInstancesResponse,
|
|
10410
12096
|
DescribePolicyGroupListResponse: DescribePolicyGroupListResponse,
|
|
10411
12097
|
BindingPolicyObjectRequest: BindingPolicyObjectRequest,
|
|
10412
12098
|
CreateServiceDiscoveryResponse: CreateServiceDiscoveryResponse,
|
|
@@ -10414,6 +12100,7 @@ module.exports = {
|
|
|
10414
12100
|
PutMonitorDataResponse: PutMonitorDataResponse,
|
|
10415
12101
|
DescribePolicyGroupInfoRequest: DescribePolicyGroupInfoRequest,
|
|
10416
12102
|
UpdateAlertRuleStateResponse: UpdateAlertRuleStateResponse,
|
|
12103
|
+
BindingPolicyTagResponse: BindingPolicyTagResponse,
|
|
10417
12104
|
DeleteServiceDiscoveryResponse: DeleteServiceDiscoveryResponse,
|
|
10418
12105
|
DescribePolicyGroupInfoCallback: DescribePolicyGroupInfoCallback,
|
|
10419
12106
|
AlarmHistoryMetric: AlarmHistoryMetric,
|
|
@@ -10423,7 +12110,10 @@ module.exports = {
|
|
|
10423
12110
|
DescribePolicyGroupInfoResponse: DescribePolicyGroupInfoResponse,
|
|
10424
12111
|
ModifyAlarmPolicyNoticeRequest: ModifyAlarmPolicyNoticeRequest,
|
|
10425
12112
|
DeleteAlarmPolicyRequest: DeleteAlarmPolicyRequest,
|
|
10426
|
-
|
|
12113
|
+
PolicyTag: PolicyTag,
|
|
12114
|
+
EventCondition: EventCondition,
|
|
12115
|
+
PrometheusInstancesItem: PrometheusInstancesItem,
|
|
12116
|
+
DescribeConditionsTemplateListRequest: DescribeConditionsTemplateListRequest,
|
|
10427
12117
|
CreateAlertRuleResponse: CreateAlertRuleResponse,
|
|
10428
12118
|
CreatePolicyGroupResponse: CreatePolicyGroupResponse,
|
|
10429
12119
|
ModifyAlarmPolicyTasksResponse: ModifyAlarmPolicyTasksResponse,
|
|
@@ -10443,6 +12133,7 @@ module.exports = {
|
|
|
10443
12133
|
CommonNamespace: CommonNamespace,
|
|
10444
12134
|
DescribePolicyConditionListRequest: DescribePolicyConditionListRequest,
|
|
10445
12135
|
DeletePolicyGroupResponse: DeletePolicyGroupResponse,
|
|
12136
|
+
DescribeAccidentEventListResponse: DescribeAccidentEventListResponse,
|
|
10446
12137
|
DescribeMonitorTypesRequest: DescribeMonitorTypesRequest,
|
|
10447
12138
|
DescribeAlarmNoticesResponse: DescribeAlarmNoticesResponse,
|
|
10448
12139
|
ModifyAlarmPolicyTasksRequest: ModifyAlarmPolicyTasksRequest,
|
|
@@ -10468,7 +12159,10 @@ module.exports = {
|
|
|
10468
12159
|
DescribeAlarmNoticeCallbacksRequest: DescribeAlarmNoticeCallbacksRequest,
|
|
10469
12160
|
DescribeProductEventListEventsDimensions: DescribeProductEventListEventsDimensions,
|
|
10470
12161
|
ModifyAlarmPolicyConditionResponse: ModifyAlarmPolicyConditionResponse,
|
|
12162
|
+
InstanceGroups: InstanceGroups,
|
|
10471
12163
|
Dimension: Dimension,
|
|
12164
|
+
PrometheusInstanceGrantInfo: PrometheusInstanceGrantInfo,
|
|
12165
|
+
TemplateGroup: TemplateGroup,
|
|
10472
12166
|
DescribeBindingPolicyObjectListInstance: DescribeBindingPolicyObjectListInstance,
|
|
10473
12167
|
Point: Point,
|
|
10474
12168
|
UpdateAlertRuleStateRequest: UpdateAlertRuleStateRequest,
|
|
@@ -10498,10 +12192,12 @@ module.exports = {
|
|
|
10498
12192
|
DescribeAccidentEventListAlarms: DescribeAccidentEventListAlarms,
|
|
10499
12193
|
ModifyPolicyGroupResponse: ModifyPolicyGroupResponse,
|
|
10500
12194
|
DescribePolicyConditionListConfigManualCalcType: DescribePolicyConditionListConfigManualCalcType,
|
|
12195
|
+
Condition: Condition,
|
|
12196
|
+
PutMonitorDataRequest: PutMonitorDataRequest,
|
|
10501
12197
|
ModifyAlarmPolicyStatusRequest: ModifyAlarmPolicyStatusRequest,
|
|
10502
12198
|
MetricData: MetricData,
|
|
10503
12199
|
AlarmEvent: AlarmEvent,
|
|
10504
|
-
|
|
12200
|
+
BindingPolicyTagRequest: BindingPolicyTagRequest,
|
|
10505
12201
|
UpdateAlertRuleRequest: UpdateAlertRuleRequest,
|
|
10506
12202
|
DescribeBindingPolicyObjectListResponse: DescribeBindingPolicyObjectListResponse,
|
|
10507
12203
|
DescribePolicyGroupInfoConditionTpl: DescribePolicyGroupInfoConditionTpl,
|
|
@@ -10512,15 +12208,17 @@ module.exports = {
|
|
|
10512
12208
|
DeleteAlarmNoticesRequest: DeleteAlarmNoticesRequest,
|
|
10513
12209
|
DescribePolicyConditionListConfigManualPeriodNum: DescribePolicyConditionListConfigManualPeriodNum,
|
|
10514
12210
|
DescribeAllNamespacesRequest: DescribeAllNamespacesRequest,
|
|
12211
|
+
PolicyGroup: PolicyGroup,
|
|
10515
12212
|
UpdateAlertRuleResponse: UpdateAlertRuleResponse,
|
|
10516
12213
|
DescribeAlarmMetricsResponse: DescribeAlarmMetricsResponse,
|
|
10517
12214
|
DescribePolicyGroupListGroupInstanceGroup: DescribePolicyGroupListGroupInstanceGroup,
|
|
10518
12215
|
DescribeAlarmPoliciesRequest: DescribeAlarmPoliciesRequest,
|
|
10519
|
-
|
|
12216
|
+
DescribeConditionsTemplateListResponse: DescribeConditionsTemplateListResponse,
|
|
10520
12217
|
DescribePolicyConditionListConfigManualStatType: DescribePolicyConditionListConfigManualStatType,
|
|
10521
12218
|
ModifyAlarmPolicyInfoResponse: ModifyAlarmPolicyInfoResponse,
|
|
10522
12219
|
AlarmNotice: AlarmNotice,
|
|
10523
12220
|
MetricConfig: MetricConfig,
|
|
12221
|
+
PolicyGroupReceiverInfo: PolicyGroupReceiverInfo,
|
|
10524
12222
|
DescribeAlarmEventsRequest: DescribeAlarmEventsRequest,
|
|
10525
12223
|
MidQueryCondition: MidQueryCondition,
|
|
10526
12224
|
ModifyAlarmNoticeResponse: ModifyAlarmNoticeResponse,
|
|
@@ -10551,10 +12249,11 @@ module.exports = {
|
|
|
10551
12249
|
DescribeAlarmNoticeRequest: DescribeAlarmNoticeRequest,
|
|
10552
12250
|
DescribeBindingPolicyObjectListDimension: DescribeBindingPolicyObjectListDimension,
|
|
10553
12251
|
CreateAlarmNoticeRequest: CreateAlarmNoticeRequest,
|
|
10554
|
-
|
|
12252
|
+
DescribePolicyGroupInfoCondition: DescribePolicyGroupInfoCondition,
|
|
10555
12253
|
GetMonitorDataResponse: GetMonitorDataResponse,
|
|
10556
12254
|
ReceiverInfo: ReceiverInfo,
|
|
10557
12255
|
UnBindingAllPolicyObjectRequest: UnBindingAllPolicyObjectRequest,
|
|
12256
|
+
CLSNotice: CLSNotice,
|
|
10558
12257
|
DescribePolicyGroupInfoEventCondition: DescribePolicyGroupInfoEventCondition,
|
|
10559
12258
|
SendCustomAlarmMsgResponse: SendCustomAlarmMsgResponse,
|
|
10560
12259
|
AlarmPolicyCondition: AlarmPolicyCondition,
|
|
@@ -10562,6 +12261,7 @@ module.exports = {
|
|
|
10562
12261
|
DescribePolicyConditionListCondition: DescribePolicyConditionListCondition,
|
|
10563
12262
|
DeleteServiceDiscoveryRequest: DeleteServiceDiscoveryRequest,
|
|
10564
12263
|
AlarmPolicyEventCondition: AlarmPolicyEventCondition,
|
|
12264
|
+
DescribePrometheusInstancesRequest: DescribePrometheusInstancesRequest,
|
|
10565
12265
|
DescribeProductEventListOverView: DescribeProductEventListOverView,
|
|
10566
12266
|
DescribePolicyConditionListConfigManualCalcValue: DescribePolicyConditionListConfigManualCalcValue,
|
|
10567
12267
|
SetDefaultAlarmPolicyResponse: SetDefaultAlarmPolicyResponse,
|