tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aai/v20180522/aai_client_async.py +100 -0
- tencentcloud/aca/v20210323/aca_client_async.py +170 -0
- tencentcloud/acp/v20220105/acp_client_async.py +170 -0
- tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
- tencentcloud/af/v20200226/af_client_async.py +86 -0
- tencentcloud/afc/v20200226/afc_client_async.py +82 -0
- tencentcloud/ags/v20250920/ags_client_async.py +243 -0
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
- tencentcloud/ame/v20190916/ame_client_async.py +586 -0
- tencentcloud/ams/v20200608/ams_client_async.py +179 -0
- tencentcloud/ams/v20201229/ams_client_async.py +169 -0
- tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
- tencentcloud/ape/v20200513/ape_client_async.py +170 -0
- tencentcloud/api/v20201106/api_client_async.py +80 -0
- tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
- tencentcloud/apm/v20210622/apm_client_async.py +495 -0
- tencentcloud/asr/v20190614/asr_client_async.py +647 -0
- tencentcloud/asw/v20200722/asw_client_async.py +188 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
- tencentcloud/autoscaling/v20180419/models.py +36 -0
- tencentcloud/ba/v20200720/ba_client_async.py +81 -0
- tencentcloud/batch/v20170312/batch_client_async.py +582 -0
- tencentcloud/bda/v20200324/bda_client_async.py +116 -0
- tencentcloud/bh/v20230418/bh_client.py +230 -0
- tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
- tencentcloud/bh/v20230418/models.py +1677 -216
- tencentcloud/bi/v20220105/bi_client_async.py +548 -0
- tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
- tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
- tencentcloud/bma/v20210624/bma_client_async.py +530 -0
- tencentcloud/bma/v20221115/bma_client_async.py +224 -0
- tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
- tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
- tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
- tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
- tencentcloud/bri/v20190328/bri_client_async.py +58 -0
- tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
- tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
- tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
- tencentcloud/ca/v20230228/ca_client_async.py +80 -0
- tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
- tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
- tencentcloud/car/v20220110/car_client_async.py +134 -0
- tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
- tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
- tencentcloud/cdb/v20170320/models.py +74 -44
- tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
- tencentcloud/cds/v20180420/cds_client_async.py +116 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
- tencentcloud/cdwch/v20200915/models.py +34 -4
- tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
- tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
- tencentcloud/cfs/v20190719/models.py +40 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
- tencentcloud/cfw/v20190904/models.py +784 -8
- tencentcloud/chc/v20230418/chc_client_async.py +710 -0
- tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
- tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
- tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
- tencentcloud/cii/v20201210/cii_client_async.py +80 -0
- tencentcloud/cii/v20210408/cii_client_async.py +262 -0
- tencentcloud/cim/v20190318/cim_client_async.py +44 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
- tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
- tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- tencentcloud/ckafka/v20190819/models.py +741 -62
- tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- tencentcloud/cloudhsm/v20191112/models.py +49 -0
- tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
- tencentcloud/cls/v20201016/models.py +1427 -74
- tencentcloud/cme/v20191029/cme_client_async.py +983 -0
- tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
- tencentcloud/cms/v20190321/cms_client_async.py +134 -0
- tencentcloud/common/abstract_client_async.py +654 -0
- tencentcloud/common/common_client_async.py +45 -0
- tencentcloud/common/http/request_async.py +62 -0
- tencentcloud/common/retry_async.py +87 -0
- tencentcloud/config/v20220802/config_client_async.py +152 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
- tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
- tencentcloud/csip/v20221121/models.py +105 -0
- tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
- tencentcloud/ctem/v20231128/ctem_client.py +644 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
- tencentcloud/ctem/v20231128/models.py +4999 -711
- tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
- tencentcloud/cws/v20180312/cws_client_async.py +368 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
- tencentcloud/cynosdb/v20190107/models.py +99 -2
- tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
- tencentcloud/dataagent/v20250513/models.py +15 -0
- tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
- tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
- tencentcloud/dbbrain/v20210527/models.py +463 -12
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dlc/v20210125/models.py +1424 -17
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
- tencentcloud/drm/v20181115/drm_client_async.py +231 -0
- tencentcloud/ds/v20180523/ds_client_async.py +244 -0
- tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
- tencentcloud/dsgc/v20190723/models.py +36 -36
- tencentcloud/dts/v20180330/dts_client_async.py +438 -0
- tencentcloud/dts/v20211206/dts_client.py +184 -0
- tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
- tencentcloud/dts/v20211206/models.py +1275 -98
- tencentcloud/eb/v20210416/eb_client_async.py +602 -0
- tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
- tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
- tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
- tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
- tencentcloud/eis/v20200715/eis_client_async.py +80 -0
- tencentcloud/eis/v20210601/eis_client_async.py +116 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
- tencentcloud/emr/v20190103/models.py +395 -0
- tencentcloud/es/v20180416/es_client_async.py +1209 -0
- tencentcloud/es/v20250101/es_client.py +6 -5
- tencentcloud/es/v20250101/es_client_async.py +216 -0
- tencentcloud/es/v20250101/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +6 -2
- tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
- tencentcloud/ess/v20201111/models.py +468 -19
- tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
- tencentcloud/essbasic/v20210526/models.py +320 -6
- tencentcloud/evt/__init__.py +0 -0
- tencentcloud/evt/v20250217/__init__.py +0 -0
- tencentcloud/evt/v20250217/errorcodes.py +15 -0
- tencentcloud/evt/v20250217/evt_client.py +49 -0
- tencentcloud/evt/v20250217/evt_client_async.py +44 -0
- tencentcloud/evt/v20250217/models.py +228 -0
- tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
- tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
- tencentcloud/faceid/v20180301/errorcodes.py +0 -6
- tencentcloud/faceid/v20180301/faceid_client.py +0 -23
- tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
- tencentcloud/faceid/v20180301/models.py +45 -195
- tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
- tencentcloud/ft/v20200304/ft_client_async.py +134 -0
- tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
- tencentcloud/gme/v20180711/gme_client_async.py +865 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
- tencentcloud/gs/v20191118/models.py +227 -0
- tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
- tencentcloud/habo/v20181203/habo_client_async.py +62 -0
- tencentcloud/hai/v20230812/hai_client_async.py +316 -0
- tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
- tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -44
- tencentcloud/iai/v20180301/iai_client_async.py +728 -0
- tencentcloud/iai/v20180301/models.py +0 -171
- tencentcloud/iai/v20200303/iai_client.py +1 -35
- tencentcloud/iai/v20200303/iai_client_async.py +802 -0
- tencentcloud/iai/v20200303/models.py +0 -175
- tencentcloud/iap/v20240713/iap_client_async.py +134 -0
- tencentcloud/ic/v20190307/ic_client_async.py +193 -0
- tencentcloud/icr/v20211014/icr_client_async.py +44 -0
- tencentcloud/ie/v20200304/ie_client_async.py +206 -0
- tencentcloud/ig/v20210518/ig_client_async.py +44 -0
- tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
- tencentcloud/igtm/v20231024/models.py +110 -0
- tencentcloud/ims/v20200713/ims_client_async.py +60 -0
- tencentcloud/ims/v20201229/ims_client_async.py +132 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
- tencentcloud/iot/v20180123/iot_client_async.py +838 -0
- tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
- tencentcloud/iotexplorer/v20190423/models.py +1669 -337
- tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
- tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
- tencentcloud/irp/v20220324/irp_client_async.py +98 -0
- tencentcloud/irp/v20220805/irp_client_async.py +152 -0
- tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
- tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
- tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
- tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
- tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud/live/v20180801/live_client_async.py +3758 -0
- tencentcloud/live/v20180801/models.py +0 -282
- tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
- tencentcloud/lke/v20231130/models.py +82 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
- tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
- tencentcloud/mall/v20230518/mall_client_async.py +44 -0
- tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
- tencentcloud/market/v20191010/market_client_async.py +62 -0
- tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
- tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
- tencentcloud/mna/v20210119/mna_client_async.py +764 -0
- tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +390 -2
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
- tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +2329 -290
- tencentcloud/mps/v20190612/mps_client.py +232 -0
- tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
- tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
- tencentcloud/ms/v20180408/ms_client_async.py +450 -0
- tencentcloud/msp/v20180319/msp_client_async.py +154 -0
- tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
- tencentcloud/npp/v20190823/npp_client_async.py +170 -0
- tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
- tencentcloud/ocr/v20181119/models.py +232 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
- tencentcloud/omics/v20221128/omics_client_async.py +386 -0
- tencentcloud/organization/v20181225/organization_client_async.py +386 -0
- tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
- tencentcloud/partners/v20180321/partners_client_async.py +444 -0
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +783 -17
- tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
- tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
- tencentcloud/pts/v20210728/pts_client_async.py +890 -0
- tencentcloud/rce/v20201103/rce_client_async.py +224 -0
- tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
- tencentcloud/region/v20220627/region_client_async.py +80 -0
- tencentcloud/rum/v20210622/rum_client_async.py +999 -0
- tencentcloud/scf/v20180416/errorcodes.py +6 -0
- tencentcloud/scf/v20180416/models.py +263 -0
- tencentcloud/scf/v20180416/scf_client_async.py +984 -0
- tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
- tencentcloud/ses/v20201002/ses_client_async.py +657 -0
- tencentcloud/smh/v20210712/smh_client_async.py +296 -0
- tencentcloud/smop/v20201203/smop_client_async.py +46 -0
- tencentcloud/sms/v20190711/sms_client_async.py +326 -0
- tencentcloud/sms/v20210111/sms_client_async.py +365 -0
- tencentcloud/soe/v20180724/soe_client_async.py +98 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
- tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
- tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
- tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
- tencentcloud/sts/v20180813/sts_client_async.py +205 -0
- tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- tencentcloud/taf/v20200210/taf_client_async.py +44 -0
- tencentcloud/tag/v20180813/tag_client_async.py +584 -0
- tencentcloud/tat/v20201028/tat_client_async.py +565 -0
- tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
- tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
- tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
- tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
- tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
- tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
- tencentcloud/tdai/v20250717/models.py +55 -10
- tencentcloud/tdai/v20250717/tdai_client.py +1 -1
- tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
- tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
- tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +636 -904
- tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
- tencentcloud/tds/v20220801/tds_client_async.py +116 -0
- tencentcloud/tem/v20201221/tem_client_async.py +332 -0
- tencentcloud/tem/v20210701/tem_client_async.py +949 -0
- tencentcloud/teo/v20220106/teo_client_async.py +120 -0
- tencentcloud/teo/v20220901/models.py +267 -4
- tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
- tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
- tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
- tencentcloud/thpc/v20230321/models.py +30 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
- tencentcloud/tia/v20180226/tia_client_async.py +206 -0
- tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
- tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +3129 -288
- tencentcloud/tke/v20180525/tke_client.py +414 -0
- tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
- tencentcloud/tke/v20220501/tke_client_async.py +343 -0
- tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
- tencentcloud/tms/v20200713/tms_client_async.py +98 -0
- tencentcloud/tms/v20201229/tms_client_async.py +97 -0
- tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
- tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
- tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
- tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
- tencentcloud/trro/v20220325/trro_client_async.py +588 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +21 -6
- tencentcloud/trtc/v20190722/trtc_client.py +1 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
- tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
- tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
- tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
- tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
- tencentcloud/tts/v20190823/tts_client_async.py +107 -0
- tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +415 -16
- tencentcloud/vclm/v20240523/vclm_client.py +47 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
- tencentcloud/vcube/v20220410/models.py +98 -0
- tencentcloud/vcube/v20220410/vcube_client.py +46 -0
- tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
- tencentcloud/vm/v20200709/vm_client_async.py +120 -0
- tencentcloud/vm/v20201229/vm_client_async.py +139 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client_async.py +148 -0
- tencentcloud/vms/v20200902/vms_client_async.py +62 -0
- tencentcloud/vod/v20180717/models.py +6 -2
- tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
- tencentcloud/vod/v20240718/vod_client_async.py +160 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
- tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
- tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
- tencentcloud/waf/v20180125/models.py +3924 -0
- tencentcloud/waf/v20180125/waf_client.py +230 -0
- tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
- tencentcloud/wav/v20210129/wav_client_async.py +494 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
- tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
- tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
- tencentcloud/wss/v20180426/wss_client_async.py +80 -0
- tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
- tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
- tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
- tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1538 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.dbbrain.v20210527 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DbbrainClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2021-05-27'
|
|
25
|
+
_endpoint = 'dbbrain.tencentcloudapi.com'
|
|
26
|
+
_service = 'dbbrain'
|
|
27
|
+
|
|
28
|
+
async def AddUserContact(
|
|
29
|
+
self,
|
|
30
|
+
request: models.AddUserContactRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.AddUserContactResponse:
|
|
33
|
+
"""
|
|
34
|
+
添加邮件接收联系人的姓名, 邮件地址,返回值为添加成功的联系人id。
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "AddUserContact"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.AddUserContactResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CancelDBAutonomyAction(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CancelDBAutonomyActionRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CancelDBAutonomyActionResponse:
|
|
51
|
+
"""
|
|
52
|
+
自治中心-终止自治任务(单次)
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CancelDBAutonomyAction"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CancelDBAutonomyActionResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CancelDBAutonomyEvent(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CancelDBAutonomyEventRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CancelDBAutonomyEventResponse:
|
|
69
|
+
"""
|
|
70
|
+
自治中心-终止自治事件
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CancelDBAutonomyEvent"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CancelDBAutonomyEventResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CancelKillTask(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CancelKillTaskRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CancelKillTaskResponse:
|
|
87
|
+
"""
|
|
88
|
+
终止中断会话任务。
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CancelKillTask"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CancelKillTaskResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def CancelRedisBigKeyAnalysisTasks(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CancelRedisBigKeyAnalysisTasksRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CancelRedisBigKeyAnalysisTasksResponse:
|
|
105
|
+
"""
|
|
106
|
+
自治中心-终止自治任务(单次)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CancelRedisBigKeyAnalysisTasks"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CancelRedisBigKeyAnalysisTasksResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def CloseAuditService(
|
|
119
|
+
self,
|
|
120
|
+
request: models.CloseAuditServiceRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.CloseAuditServiceResponse:
|
|
123
|
+
"""
|
|
124
|
+
不用审计日志时,关闭数据库审计
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "CloseAuditService"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.CloseAuditServiceResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def CreateAuditLogFile(
|
|
137
|
+
self,
|
|
138
|
+
request: models.CreateAuditLogFileRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.CreateAuditLogFileResponse:
|
|
141
|
+
"""
|
|
142
|
+
用于创建云数据库实例的审计日志文件,最多下载600w审计日志。
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "CreateAuditLogFile"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.CreateAuditLogFileResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def CreateDBDiagReportTask(
|
|
155
|
+
self,
|
|
156
|
+
request: models.CreateDBDiagReportTaskRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.CreateDBDiagReportTaskResponse:
|
|
159
|
+
"""
|
|
160
|
+
创建健康报告,并可以选择是否发送邮件。
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "CreateDBDiagReportTask"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.CreateDBDiagReportTaskResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def CreateDBDiagReportUrl(
|
|
173
|
+
self,
|
|
174
|
+
request: models.CreateDBDiagReportUrlRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.CreateDBDiagReportUrlResponse:
|
|
177
|
+
"""
|
|
178
|
+
创建健康报告的浏览地址。
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "CreateDBDiagReportUrl"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.CreateDBDiagReportUrlResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def CreateKillTask(
|
|
191
|
+
self,
|
|
192
|
+
request: models.CreateKillTaskRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.CreateKillTaskResponse:
|
|
195
|
+
"""
|
|
196
|
+
创建中断会话的任务。
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "CreateKillTask"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.CreateKillTaskResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def CreateMailProfile(
|
|
209
|
+
self,
|
|
210
|
+
request: models.CreateMailProfileRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.CreateMailProfileResponse:
|
|
213
|
+
"""
|
|
214
|
+
创建邮件配置。其中入参ProfileType表示所创建配置的类型,ProfileType 取值包括:dbScan_mail_configuration(数据库巡检邮件配置)、scheduler_mail_configuration(定期生成健康报告的邮件发送配置)。Region统一选择广州,和实例所属地域无关。
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "CreateMailProfile"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.CreateMailProfileResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def CreateProxySessionKillTask(
|
|
227
|
+
self,
|
|
228
|
+
request: models.CreateProxySessionKillTaskRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.CreateProxySessionKillTaskResponse:
|
|
231
|
+
"""
|
|
232
|
+
创建中止所有代理节点连接会话的异步任务。当前仅支持 Redis。得到的返回值为异步任务 id,可以作为参数传入接口 DescribeProxySessionKillTasks 查询kill会话任务执行状态。
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "CreateProxySessionKillTask"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.CreateProxySessionKillTaskResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def CreateRedisBigKeyAnalysisTask(
|
|
245
|
+
self,
|
|
246
|
+
request: models.CreateRedisBigKeyAnalysisTaskRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.CreateRedisBigKeyAnalysisTaskResponse:
|
|
249
|
+
"""
|
|
250
|
+
即时创建redis实例大key分析任务,限制正在运行的即时分析任务数量默认为5。
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "CreateRedisBigKeyAnalysisTask"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.CreateRedisBigKeyAnalysisTaskResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def CreateSchedulerMailProfile(
|
|
263
|
+
self,
|
|
264
|
+
request: models.CreateSchedulerMailProfileRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.CreateSchedulerMailProfileResponse:
|
|
267
|
+
"""
|
|
268
|
+
该接口用于创建定期生成健康报告并邮件发送的配置,将健康报告的定期生成时间作为参数传入(周一至周日),用于设置健康报告的定期生成时间,同时保存相应的定期邮件发送的配置。
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "CreateSchedulerMailProfile"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.CreateSchedulerMailProfileResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def CreateSecurityAuditLogExportTask(
|
|
281
|
+
self,
|
|
282
|
+
request: models.CreateSecurityAuditLogExportTaskRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.CreateSecurityAuditLogExportTaskResponse:
|
|
285
|
+
"""
|
|
286
|
+
创建安全审计日志导出任务。
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "CreateSecurityAuditLogExportTask"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.CreateSecurityAuditLogExportTaskResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def CreateSqlFilter(
|
|
299
|
+
self,
|
|
300
|
+
request: models.CreateSqlFilterRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.CreateSqlFilterResponse:
|
|
303
|
+
"""
|
|
304
|
+
创建实例SQL限流任务。
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "CreateSqlFilter"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.CreateSqlFilterResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def CreateUserAutonomyProfile(
|
|
317
|
+
self,
|
|
318
|
+
request: models.CreateUserAutonomyProfileRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.CreateUserAutonomyProfileResponse:
|
|
321
|
+
"""
|
|
322
|
+
自治中心-终止自治任务(单次);注意:接口需要加白名单。
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "CreateUserAutonomyProfile"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.CreateUserAutonomyProfileResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def DeleteAuditLogFile(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DeleteAuditLogFileRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DeleteAuditLogFileResponse:
|
|
339
|
+
"""
|
|
340
|
+
用于删除云数据库实例的审计日志文件。
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DeleteAuditLogFile"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DeleteAuditLogFileResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def DeleteDBDiagReportTasks(
|
|
353
|
+
self,
|
|
354
|
+
request: models.DeleteDBDiagReportTasksRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.DeleteDBDiagReportTasksResponse:
|
|
357
|
+
"""
|
|
358
|
+
根据任务id删除健康报告生成任务
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "DeleteDBDiagReportTasks"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.DeleteDBDiagReportTasksResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def DeleteRedisBigKeyAnalysisTasks(
|
|
371
|
+
self,
|
|
372
|
+
request: models.DeleteRedisBigKeyAnalysisTasksRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.DeleteRedisBigKeyAnalysisTasksResponse:
|
|
375
|
+
"""
|
|
376
|
+
删除Redis实例的大key分析任务。
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "DeleteRedisBigKeyAnalysisTasks"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.DeleteRedisBigKeyAnalysisTasksResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
388
|
+
async def DeleteSecurityAuditLogExportTasks(
|
|
389
|
+
self,
|
|
390
|
+
request: models.DeleteSecurityAuditLogExportTasksRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.DeleteSecurityAuditLogExportTasksResponse:
|
|
393
|
+
"""
|
|
394
|
+
删除安全审计日志导出任务。
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "DeleteSecurityAuditLogExportTasks"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.DeleteSecurityAuditLogExportTasksResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
406
|
+
async def DeleteSqlFilters(
|
|
407
|
+
self,
|
|
408
|
+
request: models.DeleteSqlFiltersRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.DeleteSqlFiltersResponse:
|
|
411
|
+
"""
|
|
412
|
+
删除实例SQL限流任务。
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "DeleteSqlFilters"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.DeleteSqlFiltersResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
423
|
+
|
|
424
|
+
async def DescribeAlarmTemplate(
|
|
425
|
+
self,
|
|
426
|
+
request: models.DescribeAlarmTemplateRequest,
|
|
427
|
+
opts: Dict = None,
|
|
428
|
+
) -> models.DescribeAlarmTemplateResponse:
|
|
429
|
+
"""
|
|
430
|
+
通知模板查询
|
|
431
|
+
"""
|
|
432
|
+
|
|
433
|
+
kwargs = {}
|
|
434
|
+
kwargs["action"] = "DescribeAlarmTemplate"
|
|
435
|
+
kwargs["params"] = request._serialize()
|
|
436
|
+
kwargs["resp_cls"] = models.DescribeAlarmTemplateResponse
|
|
437
|
+
kwargs["headers"] = request.headers
|
|
438
|
+
kwargs["opts"] = opts or {}
|
|
439
|
+
|
|
440
|
+
return await self.call_and_deserialize(**kwargs)
|
|
441
|
+
|
|
442
|
+
async def DescribeAllUserContact(
|
|
443
|
+
self,
|
|
444
|
+
request: models.DescribeAllUserContactRequest,
|
|
445
|
+
opts: Dict = None,
|
|
446
|
+
) -> models.DescribeAllUserContactResponse:
|
|
447
|
+
"""
|
|
448
|
+
获取邮件发送中联系人的相关信息。
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
kwargs = {}
|
|
452
|
+
kwargs["action"] = "DescribeAllUserContact"
|
|
453
|
+
kwargs["params"] = request._serialize()
|
|
454
|
+
kwargs["resp_cls"] = models.DescribeAllUserContactResponse
|
|
455
|
+
kwargs["headers"] = request.headers
|
|
456
|
+
kwargs["opts"] = opts or {}
|
|
457
|
+
|
|
458
|
+
return await self.call_and_deserialize(**kwargs)
|
|
459
|
+
|
|
460
|
+
async def DescribeAllUserGroup(
|
|
461
|
+
self,
|
|
462
|
+
request: models.DescribeAllUserGroupRequest,
|
|
463
|
+
opts: Dict = None,
|
|
464
|
+
) -> models.DescribeAllUserGroupResponse:
|
|
465
|
+
"""
|
|
466
|
+
获取邮件发送联系组的相关信息。
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
kwargs = {}
|
|
470
|
+
kwargs["action"] = "DescribeAllUserGroup"
|
|
471
|
+
kwargs["params"] = request._serialize()
|
|
472
|
+
kwargs["resp_cls"] = models.DescribeAllUserGroupResponse
|
|
473
|
+
kwargs["headers"] = request.headers
|
|
474
|
+
kwargs["opts"] = opts or {}
|
|
475
|
+
|
|
476
|
+
return await self.call_and_deserialize(**kwargs)
|
|
477
|
+
|
|
478
|
+
async def DescribeAuditInstanceList(
|
|
479
|
+
self,
|
|
480
|
+
request: models.DescribeAuditInstanceListRequest,
|
|
481
|
+
opts: Dict = None,
|
|
482
|
+
) -> models.DescribeAuditInstanceListResponse:
|
|
483
|
+
"""
|
|
484
|
+
查询实例列表
|
|
485
|
+
"""
|
|
486
|
+
|
|
487
|
+
kwargs = {}
|
|
488
|
+
kwargs["action"] = "DescribeAuditInstanceList"
|
|
489
|
+
kwargs["params"] = request._serialize()
|
|
490
|
+
kwargs["resp_cls"] = models.DescribeAuditInstanceListResponse
|
|
491
|
+
kwargs["headers"] = request.headers
|
|
492
|
+
kwargs["opts"] = opts or {}
|
|
493
|
+
|
|
494
|
+
return await self.call_and_deserialize(**kwargs)
|
|
495
|
+
|
|
496
|
+
async def DescribeAuditLogFiles(
|
|
497
|
+
self,
|
|
498
|
+
request: models.DescribeAuditLogFilesRequest,
|
|
499
|
+
opts: Dict = None,
|
|
500
|
+
) -> models.DescribeAuditLogFilesResponse:
|
|
501
|
+
"""
|
|
502
|
+
用于创建云数据库实例的审计日志文件
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
kwargs = {}
|
|
506
|
+
kwargs["action"] = "DescribeAuditLogFiles"
|
|
507
|
+
kwargs["params"] = request._serialize()
|
|
508
|
+
kwargs["resp_cls"] = models.DescribeAuditLogFilesResponse
|
|
509
|
+
kwargs["headers"] = request.headers
|
|
510
|
+
kwargs["opts"] = opts or {}
|
|
511
|
+
|
|
512
|
+
return await self.call_and_deserialize(**kwargs)
|
|
513
|
+
|
|
514
|
+
async def DescribeDBAutonomyAction(
|
|
515
|
+
self,
|
|
516
|
+
request: models.DescribeDBAutonomyActionRequest,
|
|
517
|
+
opts: Dict = None,
|
|
518
|
+
) -> models.DescribeDBAutonomyActionResponse:
|
|
519
|
+
"""
|
|
520
|
+
自治中心-查询自治事件任务详情。
|
|
521
|
+
"""
|
|
522
|
+
|
|
523
|
+
kwargs = {}
|
|
524
|
+
kwargs["action"] = "DescribeDBAutonomyAction"
|
|
525
|
+
kwargs["params"] = request._serialize()
|
|
526
|
+
kwargs["resp_cls"] = models.DescribeDBAutonomyActionResponse
|
|
527
|
+
kwargs["headers"] = request.headers
|
|
528
|
+
kwargs["opts"] = opts or {}
|
|
529
|
+
|
|
530
|
+
return await self.call_and_deserialize(**kwargs)
|
|
531
|
+
|
|
532
|
+
async def DescribeDBAutonomyActions(
|
|
533
|
+
self,
|
|
534
|
+
request: models.DescribeDBAutonomyActionsRequest,
|
|
535
|
+
opts: Dict = None,
|
|
536
|
+
) -> models.DescribeDBAutonomyActionsResponse:
|
|
537
|
+
"""
|
|
538
|
+
自治中心-终止自治任务(单次)
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
kwargs = {}
|
|
542
|
+
kwargs["action"] = "DescribeDBAutonomyActions"
|
|
543
|
+
kwargs["params"] = request._serialize()
|
|
544
|
+
kwargs["resp_cls"] = models.DescribeDBAutonomyActionsResponse
|
|
545
|
+
kwargs["headers"] = request.headers
|
|
546
|
+
kwargs["opts"] = opts or {}
|
|
547
|
+
|
|
548
|
+
return await self.call_and_deserialize(**kwargs)
|
|
549
|
+
|
|
550
|
+
async def DescribeDBAutonomyEvents(
|
|
551
|
+
self,
|
|
552
|
+
request: models.DescribeDBAutonomyEventsRequest,
|
|
553
|
+
opts: Dict = None,
|
|
554
|
+
) -> models.DescribeDBAutonomyEventsResponse:
|
|
555
|
+
"""
|
|
556
|
+
自治中心-终止自治任务(单次)
|
|
557
|
+
"""
|
|
558
|
+
|
|
559
|
+
kwargs = {}
|
|
560
|
+
kwargs["action"] = "DescribeDBAutonomyEvents"
|
|
561
|
+
kwargs["params"] = request._serialize()
|
|
562
|
+
kwargs["resp_cls"] = models.DescribeDBAutonomyEventsResponse
|
|
563
|
+
kwargs["headers"] = request.headers
|
|
564
|
+
kwargs["opts"] = opts or {}
|
|
565
|
+
|
|
566
|
+
return await self.call_and_deserialize(**kwargs)
|
|
567
|
+
|
|
568
|
+
async def DescribeDBDiagEvent(
|
|
569
|
+
self,
|
|
570
|
+
request: models.DescribeDBDiagEventRequest,
|
|
571
|
+
opts: Dict = None,
|
|
572
|
+
) -> models.DescribeDBDiagEventResponse:
|
|
573
|
+
"""
|
|
574
|
+
获取实例异常诊断事件的详情信息。
|
|
575
|
+
"""
|
|
576
|
+
|
|
577
|
+
kwargs = {}
|
|
578
|
+
kwargs["action"] = "DescribeDBDiagEvent"
|
|
579
|
+
kwargs["params"] = request._serialize()
|
|
580
|
+
kwargs["resp_cls"] = models.DescribeDBDiagEventResponse
|
|
581
|
+
kwargs["headers"] = request.headers
|
|
582
|
+
kwargs["opts"] = opts or {}
|
|
583
|
+
|
|
584
|
+
return await self.call_and_deserialize(**kwargs)
|
|
585
|
+
|
|
586
|
+
async def DescribeDBDiagEvents(
|
|
587
|
+
self,
|
|
588
|
+
request: models.DescribeDBDiagEventsRequest,
|
|
589
|
+
opts: Dict = None,
|
|
590
|
+
) -> models.DescribeDBDiagEventsResponse:
|
|
591
|
+
"""
|
|
592
|
+
获取指定时间段内的诊断事件列表,支持依据风险等级、实例ID等条件过滤。
|
|
593
|
+
"""
|
|
594
|
+
|
|
595
|
+
kwargs = {}
|
|
596
|
+
kwargs["action"] = "DescribeDBDiagEvents"
|
|
597
|
+
kwargs["params"] = request._serialize()
|
|
598
|
+
kwargs["resp_cls"] = models.DescribeDBDiagEventsResponse
|
|
599
|
+
kwargs["headers"] = request.headers
|
|
600
|
+
kwargs["opts"] = opts or {}
|
|
601
|
+
|
|
602
|
+
return await self.call_and_deserialize(**kwargs)
|
|
603
|
+
|
|
604
|
+
async def DescribeDBDiagHistory(
|
|
605
|
+
self,
|
|
606
|
+
request: models.DescribeDBDiagHistoryRequest,
|
|
607
|
+
opts: Dict = None,
|
|
608
|
+
) -> models.DescribeDBDiagHistoryResponse:
|
|
609
|
+
"""
|
|
610
|
+
获取实例诊断事件的列表。
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
kwargs = {}
|
|
614
|
+
kwargs["action"] = "DescribeDBDiagHistory"
|
|
615
|
+
kwargs["params"] = request._serialize()
|
|
616
|
+
kwargs["resp_cls"] = models.DescribeDBDiagHistoryResponse
|
|
617
|
+
kwargs["headers"] = request.headers
|
|
618
|
+
kwargs["opts"] = opts or {}
|
|
619
|
+
|
|
620
|
+
return await self.call_and_deserialize(**kwargs)
|
|
621
|
+
|
|
622
|
+
async def DescribeDBDiagReportContent(
|
|
623
|
+
self,
|
|
624
|
+
request: models.DescribeDBDiagReportContentRequest,
|
|
625
|
+
opts: Dict = None,
|
|
626
|
+
) -> models.DescribeDBDiagReportContentResponse:
|
|
627
|
+
"""
|
|
628
|
+
健康报告内容。
|
|
629
|
+
"""
|
|
630
|
+
|
|
631
|
+
kwargs = {}
|
|
632
|
+
kwargs["action"] = "DescribeDBDiagReportContent"
|
|
633
|
+
kwargs["params"] = request._serialize()
|
|
634
|
+
kwargs["resp_cls"] = models.DescribeDBDiagReportContentResponse
|
|
635
|
+
kwargs["headers"] = request.headers
|
|
636
|
+
kwargs["opts"] = opts or {}
|
|
637
|
+
|
|
638
|
+
return await self.call_and_deserialize(**kwargs)
|
|
639
|
+
|
|
640
|
+
async def DescribeDBDiagReportTasks(
|
|
641
|
+
self,
|
|
642
|
+
request: models.DescribeDBDiagReportTasksRequest,
|
|
643
|
+
opts: Dict = None,
|
|
644
|
+
) -> models.DescribeDBDiagReportTasksResponse:
|
|
645
|
+
"""
|
|
646
|
+
查询健康报告生成任务列表。
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
kwargs = {}
|
|
650
|
+
kwargs["action"] = "DescribeDBDiagReportTasks"
|
|
651
|
+
kwargs["params"] = request._serialize()
|
|
652
|
+
kwargs["resp_cls"] = models.DescribeDBDiagReportTasksResponse
|
|
653
|
+
kwargs["headers"] = request.headers
|
|
654
|
+
kwargs["opts"] = opts or {}
|
|
655
|
+
|
|
656
|
+
return await self.call_and_deserialize(**kwargs)
|
|
657
|
+
|
|
658
|
+
async def DescribeDBPerfTimeSeries(
|
|
659
|
+
self,
|
|
660
|
+
request: models.DescribeDBPerfTimeSeriesRequest,
|
|
661
|
+
opts: Dict = None,
|
|
662
|
+
) -> models.DescribeDBPerfTimeSeriesResponse:
|
|
663
|
+
"""
|
|
664
|
+
根据实例ID获取指定时间段的性能趋势。
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
kwargs = {}
|
|
668
|
+
kwargs["action"] = "DescribeDBPerfTimeSeries"
|
|
669
|
+
kwargs["params"] = request._serialize()
|
|
670
|
+
kwargs["resp_cls"] = models.DescribeDBPerfTimeSeriesResponse
|
|
671
|
+
kwargs["headers"] = request.headers
|
|
672
|
+
kwargs["opts"] = opts or {}
|
|
673
|
+
|
|
674
|
+
return await self.call_and_deserialize(**kwargs)
|
|
675
|
+
|
|
676
|
+
async def DescribeDBSpaceStatus(
|
|
677
|
+
self,
|
|
678
|
+
request: models.DescribeDBSpaceStatusRequest,
|
|
679
|
+
opts: Dict = None,
|
|
680
|
+
) -> models.DescribeDBSpaceStatusResponse:
|
|
681
|
+
"""
|
|
682
|
+
获取指定时间段内的实例空间使用概览,包括磁盘增长量(MB)、磁盘剩余(MB)、磁盘总量(MB)及预计可用天数。
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
kwargs = {}
|
|
686
|
+
kwargs["action"] = "DescribeDBSpaceStatus"
|
|
687
|
+
kwargs["params"] = request._serialize()
|
|
688
|
+
kwargs["resp_cls"] = models.DescribeDBSpaceStatusResponse
|
|
689
|
+
kwargs["headers"] = request.headers
|
|
690
|
+
kwargs["opts"] = opts or {}
|
|
691
|
+
|
|
692
|
+
return await self.call_and_deserialize(**kwargs)
|
|
693
|
+
|
|
694
|
+
async def DescribeDiagDBInstances(
|
|
695
|
+
self,
|
|
696
|
+
request: models.DescribeDiagDBInstancesRequest,
|
|
697
|
+
opts: Dict = None,
|
|
698
|
+
) -> models.DescribeDiagDBInstancesResponse:
|
|
699
|
+
"""
|
|
700
|
+
获取实例信息列表。Region统一选择广州。
|
|
701
|
+
"""
|
|
702
|
+
|
|
703
|
+
kwargs = {}
|
|
704
|
+
kwargs["action"] = "DescribeDiagDBInstances"
|
|
705
|
+
kwargs["params"] = request._serialize()
|
|
706
|
+
kwargs["resp_cls"] = models.DescribeDiagDBInstancesResponse
|
|
707
|
+
kwargs["headers"] = request.headers
|
|
708
|
+
kwargs["opts"] = opts or {}
|
|
709
|
+
|
|
710
|
+
return await self.call_and_deserialize(**kwargs)
|
|
711
|
+
|
|
712
|
+
async def DescribeHealthScore(
|
|
713
|
+
self,
|
|
714
|
+
request: models.DescribeHealthScoreRequest,
|
|
715
|
+
opts: Dict = None,
|
|
716
|
+
) -> models.DescribeHealthScoreResponse:
|
|
717
|
+
"""
|
|
718
|
+
根据实例ID获取指定时间段(30分钟)的健康得分,以及异常扣分项。
|
|
719
|
+
"""
|
|
720
|
+
|
|
721
|
+
kwargs = {}
|
|
722
|
+
kwargs["action"] = "DescribeHealthScore"
|
|
723
|
+
kwargs["params"] = request._serialize()
|
|
724
|
+
kwargs["resp_cls"] = models.DescribeHealthScoreResponse
|
|
725
|
+
kwargs["headers"] = request.headers
|
|
726
|
+
kwargs["opts"] = opts or {}
|
|
727
|
+
|
|
728
|
+
return await self.call_and_deserialize(**kwargs)
|
|
729
|
+
|
|
730
|
+
async def DescribeHealthScoreTimeSeries(
|
|
731
|
+
self,
|
|
732
|
+
request: models.DescribeHealthScoreTimeSeriesRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.DescribeHealthScoreTimeSeriesResponse:
|
|
735
|
+
"""
|
|
736
|
+
获取指定时间段内的健康得分趋势
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
kwargs = {}
|
|
740
|
+
kwargs["action"] = "DescribeHealthScoreTimeSeries"
|
|
741
|
+
kwargs["params"] = request._serialize()
|
|
742
|
+
kwargs["resp_cls"] = models.DescribeHealthScoreTimeSeriesResponse
|
|
743
|
+
kwargs["headers"] = request.headers
|
|
744
|
+
kwargs["opts"] = opts or {}
|
|
745
|
+
|
|
746
|
+
return await self.call_and_deserialize(**kwargs)
|
|
747
|
+
|
|
748
|
+
async def DescribeIndexRecommendAggregationSlowLogs(
|
|
749
|
+
self,
|
|
750
|
+
request: models.DescribeIndexRecommendAggregationSlowLogsRequest,
|
|
751
|
+
opts: Dict = None,
|
|
752
|
+
) -> models.DescribeIndexRecommendAggregationSlowLogsResponse:
|
|
753
|
+
"""
|
|
754
|
+
查询某张表的慢查模板概览,这个接口是对用户点击对应的推荐索引后,展示慢日志用的
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
kwargs = {}
|
|
758
|
+
kwargs["action"] = "DescribeIndexRecommendAggregationSlowLogs"
|
|
759
|
+
kwargs["params"] = request._serialize()
|
|
760
|
+
kwargs["resp_cls"] = models.DescribeIndexRecommendAggregationSlowLogsResponse
|
|
761
|
+
kwargs["headers"] = request.headers
|
|
762
|
+
kwargs["opts"] = opts or {}
|
|
763
|
+
|
|
764
|
+
return await self.call_and_deserialize(**kwargs)
|
|
765
|
+
|
|
766
|
+
async def DescribeIndexRecommendInfo(
|
|
767
|
+
self,
|
|
768
|
+
request: models.DescribeIndexRecommendInfoRequest,
|
|
769
|
+
opts: Dict = None,
|
|
770
|
+
) -> models.DescribeIndexRecommendInfoResponse:
|
|
771
|
+
"""
|
|
772
|
+
查询实例的索引推荐信息,包括索引统计相关信息,推荐索引列表,无效索引列表等。
|
|
773
|
+
"""
|
|
774
|
+
|
|
775
|
+
kwargs = {}
|
|
776
|
+
kwargs["action"] = "DescribeIndexRecommendInfo"
|
|
777
|
+
kwargs["params"] = request._serialize()
|
|
778
|
+
kwargs["resp_cls"] = models.DescribeIndexRecommendInfoResponse
|
|
779
|
+
kwargs["headers"] = request.headers
|
|
780
|
+
kwargs["opts"] = opts or {}
|
|
781
|
+
|
|
782
|
+
return await self.call_and_deserialize(**kwargs)
|
|
783
|
+
|
|
784
|
+
async def DescribeMailProfile(
|
|
785
|
+
self,
|
|
786
|
+
request: models.DescribeMailProfileRequest,
|
|
787
|
+
opts: Dict = None,
|
|
788
|
+
) -> models.DescribeMailProfileResponse:
|
|
789
|
+
"""
|
|
790
|
+
获取发送邮件的配置, 包括数据库巡检的邮件配置以及定期生成健康报告的邮件发送配置。
|
|
791
|
+
"""
|
|
792
|
+
|
|
793
|
+
kwargs = {}
|
|
794
|
+
kwargs["action"] = "DescribeMailProfile"
|
|
795
|
+
kwargs["params"] = request._serialize()
|
|
796
|
+
kwargs["resp_cls"] = models.DescribeMailProfileResponse
|
|
797
|
+
kwargs["headers"] = request.headers
|
|
798
|
+
kwargs["opts"] = opts or {}
|
|
799
|
+
|
|
800
|
+
return await self.call_and_deserialize(**kwargs)
|
|
801
|
+
|
|
802
|
+
async def DescribeMetricTopProxies(
|
|
803
|
+
self,
|
|
804
|
+
request: models.DescribeMetricTopProxiesRequest,
|
|
805
|
+
opts: Dict = None,
|
|
806
|
+
) -> models.DescribeMetricTopProxiesResponse:
|
|
807
|
+
"""
|
|
808
|
+
获取指定时间段内Redis Proxy 指标
|
|
809
|
+
"""
|
|
810
|
+
|
|
811
|
+
kwargs = {}
|
|
812
|
+
kwargs["action"] = "DescribeMetricTopProxies"
|
|
813
|
+
kwargs["params"] = request._serialize()
|
|
814
|
+
kwargs["resp_cls"] = models.DescribeMetricTopProxiesResponse
|
|
815
|
+
kwargs["headers"] = request.headers
|
|
816
|
+
kwargs["opts"] = opts or {}
|
|
817
|
+
|
|
818
|
+
return await self.call_and_deserialize(**kwargs)
|
|
819
|
+
|
|
820
|
+
async def DescribeMongoDBProcessList(
|
|
821
|
+
self,
|
|
822
|
+
request: models.DescribeMongoDBProcessListRequest,
|
|
823
|
+
opts: Dict = None,
|
|
824
|
+
) -> models.DescribeMongoDBProcessListResponse:
|
|
825
|
+
"""
|
|
826
|
+
查询MongoDB实时会话列表
|
|
827
|
+
"""
|
|
828
|
+
|
|
829
|
+
kwargs = {}
|
|
830
|
+
kwargs["action"] = "DescribeMongoDBProcessList"
|
|
831
|
+
kwargs["params"] = request._serialize()
|
|
832
|
+
kwargs["resp_cls"] = models.DescribeMongoDBProcessListResponse
|
|
833
|
+
kwargs["headers"] = request.headers
|
|
834
|
+
kwargs["opts"] = opts or {}
|
|
835
|
+
|
|
836
|
+
return await self.call_and_deserialize(**kwargs)
|
|
837
|
+
|
|
838
|
+
async def DescribeMySqlProcessList(
|
|
839
|
+
self,
|
|
840
|
+
request: models.DescribeMySqlProcessListRequest,
|
|
841
|
+
opts: Dict = None,
|
|
842
|
+
) -> models.DescribeMySqlProcessListResponse:
|
|
843
|
+
"""
|
|
844
|
+
查询关系型数据库的实时线程列表。
|
|
845
|
+
"""
|
|
846
|
+
|
|
847
|
+
kwargs = {}
|
|
848
|
+
kwargs["action"] = "DescribeMySqlProcessList"
|
|
849
|
+
kwargs["params"] = request._serialize()
|
|
850
|
+
kwargs["resp_cls"] = models.DescribeMySqlProcessListResponse
|
|
851
|
+
kwargs["headers"] = request.headers
|
|
852
|
+
kwargs["opts"] = opts or {}
|
|
853
|
+
|
|
854
|
+
return await self.call_and_deserialize(**kwargs)
|
|
855
|
+
|
|
856
|
+
async def DescribeNoPrimaryKeyTables(
|
|
857
|
+
self,
|
|
858
|
+
request: models.DescribeNoPrimaryKeyTablesRequest,
|
|
859
|
+
opts: Dict = None,
|
|
860
|
+
) -> models.DescribeNoPrimaryKeyTablesResponse:
|
|
861
|
+
"""
|
|
862
|
+
查询实例无主键表。
|
|
863
|
+
"""
|
|
864
|
+
|
|
865
|
+
kwargs = {}
|
|
866
|
+
kwargs["action"] = "DescribeNoPrimaryKeyTables"
|
|
867
|
+
kwargs["params"] = request._serialize()
|
|
868
|
+
kwargs["resp_cls"] = models.DescribeNoPrimaryKeyTablesResponse
|
|
869
|
+
kwargs["headers"] = request.headers
|
|
870
|
+
kwargs["opts"] = opts or {}
|
|
871
|
+
|
|
872
|
+
return await self.call_and_deserialize(**kwargs)
|
|
873
|
+
|
|
874
|
+
async def DescribeProxyProcessStatistics(
|
|
875
|
+
self,
|
|
876
|
+
request: models.DescribeProxyProcessStatisticsRequest,
|
|
877
|
+
opts: Dict = None,
|
|
878
|
+
) -> models.DescribeProxyProcessStatisticsResponse:
|
|
879
|
+
"""
|
|
880
|
+
获取当前实例下的单个proxy的会话统计详情信息, 返回数据为单个 proxy 的会话统计信息。【注意】该接口仅限部分环境调用。
|
|
881
|
+
"""
|
|
882
|
+
|
|
883
|
+
kwargs = {}
|
|
884
|
+
kwargs["action"] = "DescribeProxyProcessStatistics"
|
|
885
|
+
kwargs["params"] = request._serialize()
|
|
886
|
+
kwargs["resp_cls"] = models.DescribeProxyProcessStatisticsResponse
|
|
887
|
+
kwargs["headers"] = request.headers
|
|
888
|
+
kwargs["opts"] = opts or {}
|
|
889
|
+
|
|
890
|
+
return await self.call_and_deserialize(**kwargs)
|
|
891
|
+
|
|
892
|
+
async def DescribeProxySessionKillTasks(
|
|
893
|
+
self,
|
|
894
|
+
request: models.DescribeProxySessionKillTasksRequest,
|
|
895
|
+
opts: Dict = None,
|
|
896
|
+
) -> models.DescribeProxySessionKillTasksResponse:
|
|
897
|
+
"""
|
|
898
|
+
用于查询 redis 执行 kill 会话任务后代理节点的执行结果,入参异步任务 ID 从接口 CreateProxySessionKillTask 调用成功后取得。当前 product 只支持:redis。
|
|
899
|
+
"""
|
|
900
|
+
|
|
901
|
+
kwargs = {}
|
|
902
|
+
kwargs["action"] = "DescribeProxySessionKillTasks"
|
|
903
|
+
kwargs["params"] = request._serialize()
|
|
904
|
+
kwargs["resp_cls"] = models.DescribeProxySessionKillTasksResponse
|
|
905
|
+
kwargs["headers"] = request.headers
|
|
906
|
+
kwargs["opts"] = opts or {}
|
|
907
|
+
|
|
908
|
+
return await self.call_and_deserialize(**kwargs)
|
|
909
|
+
|
|
910
|
+
async def DescribeRedisBigKeyAnalysisTasks(
|
|
911
|
+
self,
|
|
912
|
+
request: models.DescribeRedisBigKeyAnalysisTasksRequest,
|
|
913
|
+
opts: Dict = None,
|
|
914
|
+
) -> models.DescribeRedisBigKeyAnalysisTasksResponse:
|
|
915
|
+
"""
|
|
916
|
+
查询redis大key分析任务列表。
|
|
917
|
+
"""
|
|
918
|
+
|
|
919
|
+
kwargs = {}
|
|
920
|
+
kwargs["action"] = "DescribeRedisBigKeyAnalysisTasks"
|
|
921
|
+
kwargs["params"] = request._serialize()
|
|
922
|
+
kwargs["resp_cls"] = models.DescribeRedisBigKeyAnalysisTasksResponse
|
|
923
|
+
kwargs["headers"] = request.headers
|
|
924
|
+
kwargs["opts"] = opts or {}
|
|
925
|
+
|
|
926
|
+
return await self.call_and_deserialize(**kwargs)
|
|
927
|
+
|
|
928
|
+
async def DescribeRedisCmdPerfTimeSeries(
|
|
929
|
+
self,
|
|
930
|
+
request: models.DescribeRedisCmdPerfTimeSeriesRequest,
|
|
931
|
+
opts: Dict = None,
|
|
932
|
+
) -> models.DescribeRedisCmdPerfTimeSeriesResponse:
|
|
933
|
+
"""
|
|
934
|
+
延迟分析-命令字分析-查询命令延迟趋势
|
|
935
|
+
"""
|
|
936
|
+
|
|
937
|
+
kwargs = {}
|
|
938
|
+
kwargs["action"] = "DescribeRedisCmdPerfTimeSeries"
|
|
939
|
+
kwargs["params"] = request._serialize()
|
|
940
|
+
kwargs["resp_cls"] = models.DescribeRedisCmdPerfTimeSeriesResponse
|
|
941
|
+
kwargs["headers"] = request.headers
|
|
942
|
+
kwargs["opts"] = opts or {}
|
|
943
|
+
|
|
944
|
+
return await self.call_and_deserialize(**kwargs)
|
|
945
|
+
|
|
946
|
+
async def DescribeRedisCommandCostStatistics(
|
|
947
|
+
self,
|
|
948
|
+
request: models.DescribeRedisCommandCostStatisticsRequest,
|
|
949
|
+
opts: Dict = None,
|
|
950
|
+
) -> models.DescribeRedisCommandCostStatisticsResponse:
|
|
951
|
+
"""
|
|
952
|
+
延迟分析-查询命令延迟分布
|
|
953
|
+
"""
|
|
954
|
+
|
|
955
|
+
kwargs = {}
|
|
956
|
+
kwargs["action"] = "DescribeRedisCommandCostStatistics"
|
|
957
|
+
kwargs["params"] = request._serialize()
|
|
958
|
+
kwargs["resp_cls"] = models.DescribeRedisCommandCostStatisticsResponse
|
|
959
|
+
kwargs["headers"] = request.headers
|
|
960
|
+
kwargs["opts"] = opts or {}
|
|
961
|
+
|
|
962
|
+
return await self.call_and_deserialize(**kwargs)
|
|
963
|
+
|
|
964
|
+
async def DescribeRedisCommandOverview(
|
|
965
|
+
self,
|
|
966
|
+
request: models.DescribeRedisCommandOverviewRequest,
|
|
967
|
+
opts: Dict = None,
|
|
968
|
+
) -> models.DescribeRedisCommandOverviewResponse:
|
|
969
|
+
"""
|
|
970
|
+
延迟分析-查询实例访问命令统计
|
|
971
|
+
"""
|
|
972
|
+
|
|
973
|
+
kwargs = {}
|
|
974
|
+
kwargs["action"] = "DescribeRedisCommandOverview"
|
|
975
|
+
kwargs["params"] = request._serialize()
|
|
976
|
+
kwargs["resp_cls"] = models.DescribeRedisCommandOverviewResponse
|
|
977
|
+
kwargs["headers"] = request.headers
|
|
978
|
+
kwargs["opts"] = opts or {}
|
|
979
|
+
|
|
980
|
+
return await self.call_and_deserialize(**kwargs)
|
|
981
|
+
|
|
982
|
+
async def DescribeRedisProcessList(
|
|
983
|
+
self,
|
|
984
|
+
request: models.DescribeRedisProcessListRequest,
|
|
985
|
+
opts: Dict = None,
|
|
986
|
+
) -> models.DescribeRedisProcessListResponse:
|
|
987
|
+
"""
|
|
988
|
+
获取 Redis 实例所有 proxy 节点的实时会话详情列表。
|
|
989
|
+
"""
|
|
990
|
+
|
|
991
|
+
kwargs = {}
|
|
992
|
+
kwargs["action"] = "DescribeRedisProcessList"
|
|
993
|
+
kwargs["params"] = request._serialize()
|
|
994
|
+
kwargs["resp_cls"] = models.DescribeRedisProcessListResponse
|
|
995
|
+
kwargs["headers"] = request.headers
|
|
996
|
+
kwargs["opts"] = opts or {}
|
|
997
|
+
|
|
998
|
+
return await self.call_and_deserialize(**kwargs)
|
|
999
|
+
|
|
1000
|
+
async def DescribeRedisSlowLogTopSqls(
|
|
1001
|
+
self,
|
|
1002
|
+
request: models.DescribeRedisSlowLogTopSqlsRequest,
|
|
1003
|
+
opts: Dict = None,
|
|
1004
|
+
) -> models.DescribeRedisSlowLogTopSqlsResponse:
|
|
1005
|
+
"""
|
|
1006
|
+
统计排序指定时间段内的top慢sql。
|
|
1007
|
+
"""
|
|
1008
|
+
|
|
1009
|
+
kwargs = {}
|
|
1010
|
+
kwargs["action"] = "DescribeRedisSlowLogTopSqls"
|
|
1011
|
+
kwargs["params"] = request._serialize()
|
|
1012
|
+
kwargs["resp_cls"] = models.DescribeRedisSlowLogTopSqlsResponse
|
|
1013
|
+
kwargs["headers"] = request.headers
|
|
1014
|
+
kwargs["opts"] = opts or {}
|
|
1015
|
+
|
|
1016
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1017
|
+
|
|
1018
|
+
async def DescribeRedisTopBigKeys(
|
|
1019
|
+
self,
|
|
1020
|
+
request: models.DescribeRedisTopBigKeysRequest,
|
|
1021
|
+
opts: Dict = None,
|
|
1022
|
+
) -> models.DescribeRedisTopBigKeysResponse:
|
|
1023
|
+
"""
|
|
1024
|
+
查询redis实例大key列表。
|
|
1025
|
+
"""
|
|
1026
|
+
|
|
1027
|
+
kwargs = {}
|
|
1028
|
+
kwargs["action"] = "DescribeRedisTopBigKeys"
|
|
1029
|
+
kwargs["params"] = request._serialize()
|
|
1030
|
+
kwargs["resp_cls"] = models.DescribeRedisTopBigKeysResponse
|
|
1031
|
+
kwargs["headers"] = request.headers
|
|
1032
|
+
kwargs["opts"] = opts or {}
|
|
1033
|
+
|
|
1034
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1035
|
+
|
|
1036
|
+
async def DescribeRedisTopCostCommands(
|
|
1037
|
+
self,
|
|
1038
|
+
request: models.DescribeRedisTopCostCommandsRequest,
|
|
1039
|
+
opts: Dict = None,
|
|
1040
|
+
) -> models.DescribeRedisTopCostCommandsResponse:
|
|
1041
|
+
"""
|
|
1042
|
+
获取指定时间段内Redis 访问命令 cost top N
|
|
1043
|
+
"""
|
|
1044
|
+
|
|
1045
|
+
kwargs = {}
|
|
1046
|
+
kwargs["action"] = "DescribeRedisTopCostCommands"
|
|
1047
|
+
kwargs["params"] = request._serialize()
|
|
1048
|
+
kwargs["resp_cls"] = models.DescribeRedisTopCostCommandsResponse
|
|
1049
|
+
kwargs["headers"] = request.headers
|
|
1050
|
+
kwargs["opts"] = opts or {}
|
|
1051
|
+
|
|
1052
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1053
|
+
|
|
1054
|
+
async def DescribeRedisTopHotKeys(
|
|
1055
|
+
self,
|
|
1056
|
+
request: models.DescribeRedisTopHotKeysRequest,
|
|
1057
|
+
opts: Dict = None,
|
|
1058
|
+
) -> models.DescribeRedisTopHotKeysResponse:
|
|
1059
|
+
"""
|
|
1060
|
+
热Key分析
|
|
1061
|
+
"""
|
|
1062
|
+
|
|
1063
|
+
kwargs = {}
|
|
1064
|
+
kwargs["action"] = "DescribeRedisTopHotKeys"
|
|
1065
|
+
kwargs["params"] = request._serialize()
|
|
1066
|
+
kwargs["resp_cls"] = models.DescribeRedisTopHotKeysResponse
|
|
1067
|
+
kwargs["headers"] = request.headers
|
|
1068
|
+
kwargs["opts"] = opts or {}
|
|
1069
|
+
|
|
1070
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1071
|
+
|
|
1072
|
+
async def DescribeRedisTopKeyPrefixList(
|
|
1073
|
+
self,
|
|
1074
|
+
request: models.DescribeRedisTopKeyPrefixListRequest,
|
|
1075
|
+
opts: Dict = None,
|
|
1076
|
+
) -> models.DescribeRedisTopKeyPrefixListResponse:
|
|
1077
|
+
"""
|
|
1078
|
+
查询redis实例top key前缀列表。
|
|
1079
|
+
"""
|
|
1080
|
+
|
|
1081
|
+
kwargs = {}
|
|
1082
|
+
kwargs["action"] = "DescribeRedisTopKeyPrefixList"
|
|
1083
|
+
kwargs["params"] = request._serialize()
|
|
1084
|
+
kwargs["resp_cls"] = models.DescribeRedisTopKeyPrefixListResponse
|
|
1085
|
+
kwargs["headers"] = request.headers
|
|
1086
|
+
kwargs["opts"] = opts or {}
|
|
1087
|
+
|
|
1088
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1089
|
+
|
|
1090
|
+
async def DescribeSecurityAuditLogDownloadUrls(
|
|
1091
|
+
self,
|
|
1092
|
+
request: models.DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
1093
|
+
opts: Dict = None,
|
|
1094
|
+
) -> models.DescribeSecurityAuditLogDownloadUrlsResponse:
|
|
1095
|
+
"""
|
|
1096
|
+
查询安全审计日志导出文件下载链接。目前日志文件下载仅提供腾讯云内网地址,请通过广州地域的腾讯云服务器进行下载。
|
|
1097
|
+
"""
|
|
1098
|
+
|
|
1099
|
+
kwargs = {}
|
|
1100
|
+
kwargs["action"] = "DescribeSecurityAuditLogDownloadUrls"
|
|
1101
|
+
kwargs["params"] = request._serialize()
|
|
1102
|
+
kwargs["resp_cls"] = models.DescribeSecurityAuditLogDownloadUrlsResponse
|
|
1103
|
+
kwargs["headers"] = request.headers
|
|
1104
|
+
kwargs["opts"] = opts or {}
|
|
1105
|
+
|
|
1106
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1107
|
+
|
|
1108
|
+
async def DescribeSecurityAuditLogExportTasks(
|
|
1109
|
+
self,
|
|
1110
|
+
request: models.DescribeSecurityAuditLogExportTasksRequest,
|
|
1111
|
+
opts: Dict = None,
|
|
1112
|
+
) -> models.DescribeSecurityAuditLogExportTasksResponse:
|
|
1113
|
+
"""
|
|
1114
|
+
查询安全审计日志导出任务列表。
|
|
1115
|
+
"""
|
|
1116
|
+
|
|
1117
|
+
kwargs = {}
|
|
1118
|
+
kwargs["action"] = "DescribeSecurityAuditLogExportTasks"
|
|
1119
|
+
kwargs["params"] = request._serialize()
|
|
1120
|
+
kwargs["resp_cls"] = models.DescribeSecurityAuditLogExportTasksResponse
|
|
1121
|
+
kwargs["headers"] = request.headers
|
|
1122
|
+
kwargs["opts"] = opts or {}
|
|
1123
|
+
|
|
1124
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1125
|
+
|
|
1126
|
+
async def DescribeSlowLogQueryTimeStats(
|
|
1127
|
+
self,
|
|
1128
|
+
request: models.DescribeSlowLogQueryTimeStatsRequest,
|
|
1129
|
+
opts: Dict = None,
|
|
1130
|
+
) -> models.DescribeSlowLogQueryTimeStatsResponse:
|
|
1131
|
+
"""
|
|
1132
|
+
统计排序指定时间段内的top慢sql。
|
|
1133
|
+
"""
|
|
1134
|
+
|
|
1135
|
+
kwargs = {}
|
|
1136
|
+
kwargs["action"] = "DescribeSlowLogQueryTimeStats"
|
|
1137
|
+
kwargs["params"] = request._serialize()
|
|
1138
|
+
kwargs["resp_cls"] = models.DescribeSlowLogQueryTimeStatsResponse
|
|
1139
|
+
kwargs["headers"] = request.headers
|
|
1140
|
+
kwargs["opts"] = opts or {}
|
|
1141
|
+
|
|
1142
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1143
|
+
|
|
1144
|
+
async def DescribeSlowLogTimeSeriesStats(
|
|
1145
|
+
self,
|
|
1146
|
+
request: models.DescribeSlowLogTimeSeriesStatsRequest,
|
|
1147
|
+
opts: Dict = None,
|
|
1148
|
+
) -> models.DescribeSlowLogTimeSeriesStatsResponse:
|
|
1149
|
+
"""
|
|
1150
|
+
获取慢日志统计柱状图。
|
|
1151
|
+
"""
|
|
1152
|
+
|
|
1153
|
+
kwargs = {}
|
|
1154
|
+
kwargs["action"] = "DescribeSlowLogTimeSeriesStats"
|
|
1155
|
+
kwargs["params"] = request._serialize()
|
|
1156
|
+
kwargs["resp_cls"] = models.DescribeSlowLogTimeSeriesStatsResponse
|
|
1157
|
+
kwargs["headers"] = request.headers
|
|
1158
|
+
kwargs["opts"] = opts or {}
|
|
1159
|
+
|
|
1160
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1161
|
+
|
|
1162
|
+
async def DescribeSlowLogTopSqls(
|
|
1163
|
+
self,
|
|
1164
|
+
request: models.DescribeSlowLogTopSqlsRequest,
|
|
1165
|
+
opts: Dict = None,
|
|
1166
|
+
) -> models.DescribeSlowLogTopSqlsResponse:
|
|
1167
|
+
"""
|
|
1168
|
+
按照Sql模板+schema的聚合方式,统计排序指定时间段内的top慢sql。
|
|
1169
|
+
"""
|
|
1170
|
+
|
|
1171
|
+
kwargs = {}
|
|
1172
|
+
kwargs["action"] = "DescribeSlowLogTopSqls"
|
|
1173
|
+
kwargs["params"] = request._serialize()
|
|
1174
|
+
kwargs["resp_cls"] = models.DescribeSlowLogTopSqlsResponse
|
|
1175
|
+
kwargs["headers"] = request.headers
|
|
1176
|
+
kwargs["opts"] = opts or {}
|
|
1177
|
+
|
|
1178
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1179
|
+
|
|
1180
|
+
async def DescribeSlowLogUserHostStats(
|
|
1181
|
+
self,
|
|
1182
|
+
request: models.DescribeSlowLogUserHostStatsRequest,
|
|
1183
|
+
opts: Dict = None,
|
|
1184
|
+
) -> models.DescribeSlowLogUserHostStatsResponse:
|
|
1185
|
+
"""
|
|
1186
|
+
获取慢日志来源地址统计分布图。
|
|
1187
|
+
"""
|
|
1188
|
+
|
|
1189
|
+
kwargs = {}
|
|
1190
|
+
kwargs["action"] = "DescribeSlowLogUserHostStats"
|
|
1191
|
+
kwargs["params"] = request._serialize()
|
|
1192
|
+
kwargs["resp_cls"] = models.DescribeSlowLogUserHostStatsResponse
|
|
1193
|
+
kwargs["headers"] = request.headers
|
|
1194
|
+
kwargs["opts"] = opts or {}
|
|
1195
|
+
|
|
1196
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1197
|
+
|
|
1198
|
+
async def DescribeSlowLogs(
|
|
1199
|
+
self,
|
|
1200
|
+
request: models.DescribeSlowLogsRequest,
|
|
1201
|
+
opts: Dict = None,
|
|
1202
|
+
) -> models.DescribeSlowLogsResponse:
|
|
1203
|
+
"""
|
|
1204
|
+
获取指定时间内某个sql模板的慢日志明细
|
|
1205
|
+
"""
|
|
1206
|
+
|
|
1207
|
+
kwargs = {}
|
|
1208
|
+
kwargs["action"] = "DescribeSlowLogs"
|
|
1209
|
+
kwargs["params"] = request._serialize()
|
|
1210
|
+
kwargs["resp_cls"] = models.DescribeSlowLogsResponse
|
|
1211
|
+
kwargs["headers"] = request.headers
|
|
1212
|
+
kwargs["opts"] = opts or {}
|
|
1213
|
+
|
|
1214
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1215
|
+
|
|
1216
|
+
async def DescribeSqlFilters(
|
|
1217
|
+
self,
|
|
1218
|
+
request: models.DescribeSqlFiltersRequest,
|
|
1219
|
+
opts: Dict = None,
|
|
1220
|
+
) -> models.DescribeSqlFiltersResponse:
|
|
1221
|
+
"""
|
|
1222
|
+
查询实例SQL限流任务列表。
|
|
1223
|
+
"""
|
|
1224
|
+
|
|
1225
|
+
kwargs = {}
|
|
1226
|
+
kwargs["action"] = "DescribeSqlFilters"
|
|
1227
|
+
kwargs["params"] = request._serialize()
|
|
1228
|
+
kwargs["resp_cls"] = models.DescribeSqlFiltersResponse
|
|
1229
|
+
kwargs["headers"] = request.headers
|
|
1230
|
+
kwargs["opts"] = opts or {}
|
|
1231
|
+
|
|
1232
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1233
|
+
|
|
1234
|
+
async def DescribeSqlTemplate(
|
|
1235
|
+
self,
|
|
1236
|
+
request: models.DescribeSqlTemplateRequest,
|
|
1237
|
+
opts: Dict = None,
|
|
1238
|
+
) -> models.DescribeSqlTemplateResponse:
|
|
1239
|
+
"""
|
|
1240
|
+
查询SQL模板。
|
|
1241
|
+
"""
|
|
1242
|
+
|
|
1243
|
+
kwargs = {}
|
|
1244
|
+
kwargs["action"] = "DescribeSqlTemplate"
|
|
1245
|
+
kwargs["params"] = request._serialize()
|
|
1246
|
+
kwargs["resp_cls"] = models.DescribeSqlTemplateResponse
|
|
1247
|
+
kwargs["headers"] = request.headers
|
|
1248
|
+
kwargs["opts"] = opts or {}
|
|
1249
|
+
|
|
1250
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1251
|
+
|
|
1252
|
+
async def DescribeTopSpaceSchemaTimeSeries(
|
|
1253
|
+
self,
|
|
1254
|
+
request: models.DescribeTopSpaceSchemaTimeSeriesRequest,
|
|
1255
|
+
opts: Dict = None,
|
|
1256
|
+
) -> models.DescribeTopSpaceSchemaTimeSeriesResponse:
|
|
1257
|
+
"""
|
|
1258
|
+
获取实例占用空间最大的前几个库在指定时间段内的每日由DBbrain定时采集的空间数据,默认返回按大小排序。
|
|
1259
|
+
"""
|
|
1260
|
+
|
|
1261
|
+
kwargs = {}
|
|
1262
|
+
kwargs["action"] = "DescribeTopSpaceSchemaTimeSeries"
|
|
1263
|
+
kwargs["params"] = request._serialize()
|
|
1264
|
+
kwargs["resp_cls"] = models.DescribeTopSpaceSchemaTimeSeriesResponse
|
|
1265
|
+
kwargs["headers"] = request.headers
|
|
1266
|
+
kwargs["opts"] = opts or {}
|
|
1267
|
+
|
|
1268
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1269
|
+
|
|
1270
|
+
async def DescribeTopSpaceSchemas(
|
|
1271
|
+
self,
|
|
1272
|
+
request: models.DescribeTopSpaceSchemasRequest,
|
|
1273
|
+
opts: Dict = None,
|
|
1274
|
+
) -> models.DescribeTopSpaceSchemasResponse:
|
|
1275
|
+
"""
|
|
1276
|
+
获取实例Top库的实时空间统计信息,默认返回按大小排序。
|
|
1277
|
+
"""
|
|
1278
|
+
|
|
1279
|
+
kwargs = {}
|
|
1280
|
+
kwargs["action"] = "DescribeTopSpaceSchemas"
|
|
1281
|
+
kwargs["params"] = request._serialize()
|
|
1282
|
+
kwargs["resp_cls"] = models.DescribeTopSpaceSchemasResponse
|
|
1283
|
+
kwargs["headers"] = request.headers
|
|
1284
|
+
kwargs["opts"] = opts or {}
|
|
1285
|
+
|
|
1286
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1287
|
+
|
|
1288
|
+
async def DescribeTopSpaceTableTimeSeries(
|
|
1289
|
+
self,
|
|
1290
|
+
request: models.DescribeTopSpaceTableTimeSeriesRequest,
|
|
1291
|
+
opts: Dict = None,
|
|
1292
|
+
) -> models.DescribeTopSpaceTableTimeSeriesResponse:
|
|
1293
|
+
"""
|
|
1294
|
+
获取实例占用空间最大的前几张表在指定时间段内的每日由DBbrain定时采集的空间数据,默认返回按大小排序。
|
|
1295
|
+
"""
|
|
1296
|
+
|
|
1297
|
+
kwargs = {}
|
|
1298
|
+
kwargs["action"] = "DescribeTopSpaceTableTimeSeries"
|
|
1299
|
+
kwargs["params"] = request._serialize()
|
|
1300
|
+
kwargs["resp_cls"] = models.DescribeTopSpaceTableTimeSeriesResponse
|
|
1301
|
+
kwargs["headers"] = request.headers
|
|
1302
|
+
kwargs["opts"] = opts or {}
|
|
1303
|
+
|
|
1304
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1305
|
+
|
|
1306
|
+
async def DescribeTopSpaceTables(
|
|
1307
|
+
self,
|
|
1308
|
+
request: models.DescribeTopSpaceTablesRequest,
|
|
1309
|
+
opts: Dict = None,
|
|
1310
|
+
) -> models.DescribeTopSpaceTablesResponse:
|
|
1311
|
+
"""
|
|
1312
|
+
获取实例Top表的实时空间统计信息,默认返回按大小排序。
|
|
1313
|
+
"""
|
|
1314
|
+
|
|
1315
|
+
kwargs = {}
|
|
1316
|
+
kwargs["action"] = "DescribeTopSpaceTables"
|
|
1317
|
+
kwargs["params"] = request._serialize()
|
|
1318
|
+
kwargs["resp_cls"] = models.DescribeTopSpaceTablesResponse
|
|
1319
|
+
kwargs["headers"] = request.headers
|
|
1320
|
+
kwargs["opts"] = opts or {}
|
|
1321
|
+
|
|
1322
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1323
|
+
|
|
1324
|
+
async def DescribeUserAutonomyProfile(
|
|
1325
|
+
self,
|
|
1326
|
+
request: models.DescribeUserAutonomyProfileRequest,
|
|
1327
|
+
opts: Dict = None,
|
|
1328
|
+
) -> models.DescribeUserAutonomyProfileResponse:
|
|
1329
|
+
"""
|
|
1330
|
+
自治中心-终止自治任务(单次);注意: 接口调用需要加白名单。
|
|
1331
|
+
"""
|
|
1332
|
+
|
|
1333
|
+
kwargs = {}
|
|
1334
|
+
kwargs["action"] = "DescribeUserAutonomyProfile"
|
|
1335
|
+
kwargs["params"] = request._serialize()
|
|
1336
|
+
kwargs["resp_cls"] = models.DescribeUserAutonomyProfileResponse
|
|
1337
|
+
kwargs["headers"] = request.headers
|
|
1338
|
+
kwargs["opts"] = opts or {}
|
|
1339
|
+
|
|
1340
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1341
|
+
|
|
1342
|
+
async def DescribeUserSqlAdvice(
|
|
1343
|
+
self,
|
|
1344
|
+
request: models.DescribeUserSqlAdviceRequest,
|
|
1345
|
+
opts: Dict = None,
|
|
1346
|
+
) -> models.DescribeUserSqlAdviceResponse:
|
|
1347
|
+
"""
|
|
1348
|
+
获取SQL优化建议。【产品用户回馈,此接口限免开放,后续将并入dbbrain专业版】
|
|
1349
|
+
"""
|
|
1350
|
+
|
|
1351
|
+
kwargs = {}
|
|
1352
|
+
kwargs["action"] = "DescribeUserSqlAdvice"
|
|
1353
|
+
kwargs["params"] = request._serialize()
|
|
1354
|
+
kwargs["resp_cls"] = models.DescribeUserSqlAdviceResponse
|
|
1355
|
+
kwargs["headers"] = request.headers
|
|
1356
|
+
kwargs["opts"] = opts or {}
|
|
1357
|
+
|
|
1358
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1359
|
+
|
|
1360
|
+
async def KillMySqlThreads(
|
|
1361
|
+
self,
|
|
1362
|
+
request: models.KillMySqlThreadsRequest,
|
|
1363
|
+
opts: Dict = None,
|
|
1364
|
+
) -> models.KillMySqlThreadsResponse:
|
|
1365
|
+
"""
|
|
1366
|
+
根据会话ID中断当前会话,该接口分为两次提交:第一次为预提交阶段,Stage为"Prepare",得到的返回值包含SqlExecId;第二次为确认提交, Stage为"Commit", 将SqlExecId的值作为参数传入,最终终止会话进程。
|
|
1367
|
+
"""
|
|
1368
|
+
|
|
1369
|
+
kwargs = {}
|
|
1370
|
+
kwargs["action"] = "KillMySqlThreads"
|
|
1371
|
+
kwargs["params"] = request._serialize()
|
|
1372
|
+
kwargs["resp_cls"] = models.KillMySqlThreadsResponse
|
|
1373
|
+
kwargs["headers"] = request.headers
|
|
1374
|
+
kwargs["opts"] = opts or {}
|
|
1375
|
+
|
|
1376
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1377
|
+
|
|
1378
|
+
async def ModifyAlarmPolicy(
|
|
1379
|
+
self,
|
|
1380
|
+
request: models.ModifyAlarmPolicyRequest,
|
|
1381
|
+
opts: Dict = None,
|
|
1382
|
+
) -> models.ModifyAlarmPolicyResponse:
|
|
1383
|
+
"""
|
|
1384
|
+
修改告警策略
|
|
1385
|
+
"""
|
|
1386
|
+
|
|
1387
|
+
kwargs = {}
|
|
1388
|
+
kwargs["action"] = "ModifyAlarmPolicy"
|
|
1389
|
+
kwargs["params"] = request._serialize()
|
|
1390
|
+
kwargs["resp_cls"] = models.ModifyAlarmPolicyResponse
|
|
1391
|
+
kwargs["headers"] = request.headers
|
|
1392
|
+
kwargs["opts"] = opts or {}
|
|
1393
|
+
|
|
1394
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1395
|
+
|
|
1396
|
+
async def ModifyAuditService(
|
|
1397
|
+
self,
|
|
1398
|
+
request: models.ModifyAuditServiceRequest,
|
|
1399
|
+
opts: Dict = None,
|
|
1400
|
+
) -> models.ModifyAuditServiceResponse:
|
|
1401
|
+
"""
|
|
1402
|
+
修改审计配置相关信息,如高频存储时长等
|
|
1403
|
+
"""
|
|
1404
|
+
|
|
1405
|
+
kwargs = {}
|
|
1406
|
+
kwargs["action"] = "ModifyAuditService"
|
|
1407
|
+
kwargs["params"] = request._serialize()
|
|
1408
|
+
kwargs["resp_cls"] = models.ModifyAuditServiceResponse
|
|
1409
|
+
kwargs["headers"] = request.headers
|
|
1410
|
+
kwargs["opts"] = opts or {}
|
|
1411
|
+
|
|
1412
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1413
|
+
|
|
1414
|
+
async def ModifyDiagDBInstanceConf(
|
|
1415
|
+
self,
|
|
1416
|
+
request: models.ModifyDiagDBInstanceConfRequest,
|
|
1417
|
+
opts: Dict = None,
|
|
1418
|
+
) -> models.ModifyDiagDBInstanceConfResponse:
|
|
1419
|
+
"""
|
|
1420
|
+
修改实例的配置信息。
|
|
1421
|
+
"""
|
|
1422
|
+
|
|
1423
|
+
kwargs = {}
|
|
1424
|
+
kwargs["action"] = "ModifyDiagDBInstanceConf"
|
|
1425
|
+
kwargs["params"] = request._serialize()
|
|
1426
|
+
kwargs["resp_cls"] = models.ModifyDiagDBInstanceConfResponse
|
|
1427
|
+
kwargs["headers"] = request.headers
|
|
1428
|
+
kwargs["opts"] = opts or {}
|
|
1429
|
+
|
|
1430
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1431
|
+
|
|
1432
|
+
async def ModifySqlFilters(
|
|
1433
|
+
self,
|
|
1434
|
+
request: models.ModifySqlFiltersRequest,
|
|
1435
|
+
opts: Dict = None,
|
|
1436
|
+
) -> models.ModifySqlFiltersResponse:
|
|
1437
|
+
"""
|
|
1438
|
+
更改实例限流任务状态,目前仅用于终止限流。
|
|
1439
|
+
"""
|
|
1440
|
+
|
|
1441
|
+
kwargs = {}
|
|
1442
|
+
kwargs["action"] = "ModifySqlFilters"
|
|
1443
|
+
kwargs["params"] = request._serialize()
|
|
1444
|
+
kwargs["resp_cls"] = models.ModifySqlFiltersResponse
|
|
1445
|
+
kwargs["headers"] = request.headers
|
|
1446
|
+
kwargs["opts"] = opts or {}
|
|
1447
|
+
|
|
1448
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1449
|
+
|
|
1450
|
+
async def ModifyUserAutonomyProfile(
|
|
1451
|
+
self,
|
|
1452
|
+
request: models.ModifyUserAutonomyProfileRequest,
|
|
1453
|
+
opts: Dict = None,
|
|
1454
|
+
) -> models.ModifyUserAutonomyProfileResponse:
|
|
1455
|
+
"""
|
|
1456
|
+
自治中心-终止自治任务(单次);注意:接口需要加白名单。
|
|
1457
|
+
"""
|
|
1458
|
+
|
|
1459
|
+
kwargs = {}
|
|
1460
|
+
kwargs["action"] = "ModifyUserAutonomyProfile"
|
|
1461
|
+
kwargs["params"] = request._serialize()
|
|
1462
|
+
kwargs["resp_cls"] = models.ModifyUserAutonomyProfileResponse
|
|
1463
|
+
kwargs["headers"] = request.headers
|
|
1464
|
+
kwargs["opts"] = opts or {}
|
|
1465
|
+
|
|
1466
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1467
|
+
|
|
1468
|
+
async def OpenAuditService(
|
|
1469
|
+
self,
|
|
1470
|
+
request: models.OpenAuditServiceRequest,
|
|
1471
|
+
opts: Dict = None,
|
|
1472
|
+
) -> models.OpenAuditServiceResponse:
|
|
1473
|
+
"""
|
|
1474
|
+
开启数据库审计服务
|
|
1475
|
+
"""
|
|
1476
|
+
|
|
1477
|
+
kwargs = {}
|
|
1478
|
+
kwargs["action"] = "OpenAuditService"
|
|
1479
|
+
kwargs["params"] = request._serialize()
|
|
1480
|
+
kwargs["resp_cls"] = models.OpenAuditServiceResponse
|
|
1481
|
+
kwargs["headers"] = request.headers
|
|
1482
|
+
kwargs["opts"] = opts or {}
|
|
1483
|
+
|
|
1484
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1485
|
+
|
|
1486
|
+
async def UpdateAgentSwitch(
|
|
1487
|
+
self,
|
|
1488
|
+
request: models.UpdateAgentSwitchRequest,
|
|
1489
|
+
opts: Dict = None,
|
|
1490
|
+
) -> models.UpdateAgentSwitchResponse:
|
|
1491
|
+
"""
|
|
1492
|
+
更新agent状态(停止或重连Agent)
|
|
1493
|
+
"""
|
|
1494
|
+
|
|
1495
|
+
kwargs = {}
|
|
1496
|
+
kwargs["action"] = "UpdateAgentSwitch"
|
|
1497
|
+
kwargs["params"] = request._serialize()
|
|
1498
|
+
kwargs["resp_cls"] = models.UpdateAgentSwitchResponse
|
|
1499
|
+
kwargs["headers"] = request.headers
|
|
1500
|
+
kwargs["opts"] = opts or {}
|
|
1501
|
+
|
|
1502
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1503
|
+
|
|
1504
|
+
async def UpdateMonitorSwitch(
|
|
1505
|
+
self,
|
|
1506
|
+
request: models.UpdateMonitorSwitchRequest,
|
|
1507
|
+
opts: Dict = None,
|
|
1508
|
+
) -> models.UpdateMonitorSwitchResponse:
|
|
1509
|
+
"""
|
|
1510
|
+
更新Agent实例状态(停止或重连实例)
|
|
1511
|
+
"""
|
|
1512
|
+
|
|
1513
|
+
kwargs = {}
|
|
1514
|
+
kwargs["action"] = "UpdateMonitorSwitch"
|
|
1515
|
+
kwargs["params"] = request._serialize()
|
|
1516
|
+
kwargs["resp_cls"] = models.UpdateMonitorSwitchResponse
|
|
1517
|
+
kwargs["headers"] = request.headers
|
|
1518
|
+
kwargs["opts"] = opts or {}
|
|
1519
|
+
|
|
1520
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1521
|
+
|
|
1522
|
+
async def VerifyUserAccount(
|
|
1523
|
+
self,
|
|
1524
|
+
request: models.VerifyUserAccountRequest,
|
|
1525
|
+
opts: Dict = None,
|
|
1526
|
+
) -> models.VerifyUserAccountResponse:
|
|
1527
|
+
"""
|
|
1528
|
+
验证用户数据库账号权限,获取会话token。
|
|
1529
|
+
"""
|
|
1530
|
+
|
|
1531
|
+
kwargs = {}
|
|
1532
|
+
kwargs["action"] = "VerifyUserAccount"
|
|
1533
|
+
kwargs["params"] = request._serialize()
|
|
1534
|
+
kwargs["resp_cls"] = models.VerifyUserAccountResponse
|
|
1535
|
+
kwargs["headers"] = request.headers
|
|
1536
|
+
kwargs["opts"] = opts or {}
|
|
1537
|
+
|
|
1538
|
+
return await self.call_and_deserialize(**kwargs)
|