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,959 @@
|
|
|
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.cbs.v20170312 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CbsClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2017-03-12'
|
|
25
|
+
_endpoint = 'cbs.tencentcloudapi.com'
|
|
26
|
+
_service = 'cbs'
|
|
27
|
+
|
|
28
|
+
async def ApplyDiskBackup(
|
|
29
|
+
self,
|
|
30
|
+
request: models.ApplyDiskBackupRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.ApplyDiskBackupResponse:
|
|
33
|
+
"""
|
|
34
|
+
本接口(ApplyDiskBackup)用于回滚备份点到原云硬盘。
|
|
35
|
+
|
|
36
|
+
* 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用[CreateSnapshot](/document/product/362/15648) 将备份点转换为快照,然后使用[CreateDisks](/document/product/362/16312) 接口创建新的弹性云硬盘,将快照数据复制到新购云硬盘上。
|
|
37
|
+
* 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询,见输出参数中BackupState字段解释。
|
|
38
|
+
* 如果是弹性云硬盘,则云硬盘必须处于未挂载状态,云硬盘挂载状态可以通[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云硬盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
kwargs = {}
|
|
42
|
+
kwargs["action"] = "ApplyDiskBackup"
|
|
43
|
+
kwargs["params"] = request._serialize()
|
|
44
|
+
kwargs["resp_cls"] = models.ApplyDiskBackupResponse
|
|
45
|
+
kwargs["headers"] = request.headers
|
|
46
|
+
kwargs["opts"] = opts or {}
|
|
47
|
+
|
|
48
|
+
return await self.call_and_deserialize(**kwargs)
|
|
49
|
+
|
|
50
|
+
async def ApplySnapshot(
|
|
51
|
+
self,
|
|
52
|
+
request: models.ApplySnapshotRequest,
|
|
53
|
+
opts: Dict = None,
|
|
54
|
+
) -> models.ApplySnapshotResponse:
|
|
55
|
+
"""
|
|
56
|
+
本接口(ApplySnapshot)用于回滚快照到原云硬盘。
|
|
57
|
+
|
|
58
|
+
* 仅支持回滚到原云硬盘上。对于数据盘快照,如果您需要复制快照数据到其它云硬盘上,请使用[CreateDisks](/document/product/362/16312)接口创建新的弹性云盘,将快照数据复制到新购云盘上。
|
|
59
|
+
* 用于回滚的快照必须处于NORMAL状态。快照状态可以通过[DescribeSnapshots](/document/product/362/15647)接口查询,见输出参数中SnapshotState字段解释。
|
|
60
|
+
* 如果是弹性云盘,则云盘必须处于未挂载状态,云硬盘挂载状态可以通过[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
kwargs = {}
|
|
64
|
+
kwargs["action"] = "ApplySnapshot"
|
|
65
|
+
kwargs["params"] = request._serialize()
|
|
66
|
+
kwargs["resp_cls"] = models.ApplySnapshotResponse
|
|
67
|
+
kwargs["headers"] = request.headers
|
|
68
|
+
kwargs["opts"] = opts or {}
|
|
69
|
+
|
|
70
|
+
return await self.call_and_deserialize(**kwargs)
|
|
71
|
+
|
|
72
|
+
async def ApplySnapshotGroup(
|
|
73
|
+
self,
|
|
74
|
+
request: models.ApplySnapshotGroupRequest,
|
|
75
|
+
opts: Dict = None,
|
|
76
|
+
) -> models.ApplySnapshotGroupResponse:
|
|
77
|
+
"""
|
|
78
|
+
本接口(ApplySnapshotGroup)用于回滚快照组,将实例恢复到创建快照组时刻的状态。
|
|
79
|
+
* 1.可选择快照组全部或部分盘进行回滚;
|
|
80
|
+
* 2.如果回滚的盘中包含已挂载的盘,要求这些盘必须挂载在同一实例上,且要求该实例已关机才能回滚;
|
|
81
|
+
* 3.回滚为异步操作,接口返回成功不代表回滚成功,可通过调DescribeSnapshotGroups接口查询快照组的状态。
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
kwargs = {}
|
|
85
|
+
kwargs["action"] = "ApplySnapshotGroup"
|
|
86
|
+
kwargs["params"] = request._serialize()
|
|
87
|
+
kwargs["resp_cls"] = models.ApplySnapshotGroupResponse
|
|
88
|
+
kwargs["headers"] = request.headers
|
|
89
|
+
kwargs["opts"] = opts or {}
|
|
90
|
+
|
|
91
|
+
return await self.call_and_deserialize(**kwargs)
|
|
92
|
+
|
|
93
|
+
async def AttachDisks(
|
|
94
|
+
self,
|
|
95
|
+
request: models.AttachDisksRequest,
|
|
96
|
+
opts: Dict = None,
|
|
97
|
+
) -> models.AttachDisksResponse:
|
|
98
|
+
"""
|
|
99
|
+
本接口(AttachDisks)用于挂载云硬盘。
|
|
100
|
+
|
|
101
|
+
* 支持批量操作,将多块云盘挂载到同一云主机。如果多个云盘中存在不允许挂载的云盘,则操作不执行,返回特定的错误码。
|
|
102
|
+
* 本接口为异步接口,当挂载云盘的请求成功返回时,表示后台已发起挂载云盘的操作,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHING”变为“ATTACHED”,则为挂载成功。
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
kwargs = {}
|
|
106
|
+
kwargs["action"] = "AttachDisks"
|
|
107
|
+
kwargs["params"] = request._serialize()
|
|
108
|
+
kwargs["resp_cls"] = models.AttachDisksResponse
|
|
109
|
+
kwargs["headers"] = request.headers
|
|
110
|
+
kwargs["opts"] = opts or {}
|
|
111
|
+
|
|
112
|
+
return await self.call_and_deserialize(**kwargs)
|
|
113
|
+
|
|
114
|
+
async def BindAutoSnapshotPolicy(
|
|
115
|
+
self,
|
|
116
|
+
request: models.BindAutoSnapshotPolicyRequest,
|
|
117
|
+
opts: Dict = None,
|
|
118
|
+
) -> models.BindAutoSnapshotPolicyResponse:
|
|
119
|
+
"""
|
|
120
|
+
本接口(BindAutoSnapshotPolicy)用于绑定云硬盘到指定的定期快照策略。
|
|
121
|
+
|
|
122
|
+
* 每个地域下的定期快照策略配额限制请参考文档[定期快照](/document/product/362/8191)。
|
|
123
|
+
* 当已绑定定期快照策略的云硬盘处于未使用状态(即弹性云盘未挂载或非弹性云盘的主机处于关机状态)将不会创建定期快照。
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
kwargs = {}
|
|
127
|
+
kwargs["action"] = "BindAutoSnapshotPolicy"
|
|
128
|
+
kwargs["params"] = request._serialize()
|
|
129
|
+
kwargs["resp_cls"] = models.BindAutoSnapshotPolicyResponse
|
|
130
|
+
kwargs["headers"] = request.headers
|
|
131
|
+
kwargs["opts"] = opts or {}
|
|
132
|
+
|
|
133
|
+
return await self.call_and_deserialize(**kwargs)
|
|
134
|
+
|
|
135
|
+
async def CopySnapshotCrossRegions(
|
|
136
|
+
self,
|
|
137
|
+
request: models.CopySnapshotCrossRegionsRequest,
|
|
138
|
+
opts: Dict = None,
|
|
139
|
+
) -> models.CopySnapshotCrossRegionsResponse:
|
|
140
|
+
"""
|
|
141
|
+
本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
|
|
142
|
+
|
|
143
|
+
* 本接口为异步接口,当跨地域复制的请求下发成功后会返回一个新的快照ID,此时快照未立即复制到目标地域,可请求目标地域的[DescribeSnapshots](/document/product/362/15647)接口查询新快照的状态,判断是否复制完成。如果快照的状态为“NORMAL”,表示快照复制完成。
|
|
144
|
+
* 本接口实现的快照跨地域复制操作将产生跨地域流量,预计2025年第三季度会针对此功能进行商业化计费;请留意后续站内信公告,避免产生预期外扣费。
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
kwargs = {}
|
|
148
|
+
kwargs["action"] = "CopySnapshotCrossRegions"
|
|
149
|
+
kwargs["params"] = request._serialize()
|
|
150
|
+
kwargs["resp_cls"] = models.CopySnapshotCrossRegionsResponse
|
|
151
|
+
kwargs["headers"] = request.headers
|
|
152
|
+
kwargs["opts"] = opts or {}
|
|
153
|
+
|
|
154
|
+
return await self.call_and_deserialize(**kwargs)
|
|
155
|
+
|
|
156
|
+
async def CreateAutoSnapshotPolicy(
|
|
157
|
+
self,
|
|
158
|
+
request: models.CreateAutoSnapshotPolicyRequest,
|
|
159
|
+
opts: Dict = None,
|
|
160
|
+
) -> models.CreateAutoSnapshotPolicyResponse:
|
|
161
|
+
"""
|
|
162
|
+
本接口(CreateAutoSnapshotPolicy)用于创建定期快照策略。
|
|
163
|
+
|
|
164
|
+
* 每个地域可创建的定期快照策略数量限制请参考文档[定期快照](/document/product/362/8191)。
|
|
165
|
+
* 每个地域可创建的快照有数量和容量的限制,具体请见腾讯云控制台快照页面提示,如果快照超配额,定期快照创建会失败。
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
kwargs = {}
|
|
169
|
+
kwargs["action"] = "CreateAutoSnapshotPolicy"
|
|
170
|
+
kwargs["params"] = request._serialize()
|
|
171
|
+
kwargs["resp_cls"] = models.CreateAutoSnapshotPolicyResponse
|
|
172
|
+
kwargs["headers"] = request.headers
|
|
173
|
+
kwargs["opts"] = opts or {}
|
|
174
|
+
|
|
175
|
+
return await self.call_and_deserialize(**kwargs)
|
|
176
|
+
|
|
177
|
+
async def CreateDiskBackup(
|
|
178
|
+
self,
|
|
179
|
+
request: models.CreateDiskBackupRequest,
|
|
180
|
+
opts: Dict = None,
|
|
181
|
+
) -> models.CreateDiskBackupResponse:
|
|
182
|
+
"""
|
|
183
|
+
为云硬盘创建一个备份点。
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
kwargs = {}
|
|
187
|
+
kwargs["action"] = "CreateDiskBackup"
|
|
188
|
+
kwargs["params"] = request._serialize()
|
|
189
|
+
kwargs["resp_cls"] = models.CreateDiskBackupResponse
|
|
190
|
+
kwargs["headers"] = request.headers
|
|
191
|
+
kwargs["opts"] = opts or {}
|
|
192
|
+
|
|
193
|
+
return await self.call_and_deserialize(**kwargs)
|
|
194
|
+
|
|
195
|
+
async def CreateDisks(
|
|
196
|
+
self,
|
|
197
|
+
request: models.CreateDisksRequest,
|
|
198
|
+
opts: Dict = None,
|
|
199
|
+
) -> models.CreateDisksResponse:
|
|
200
|
+
"""
|
|
201
|
+
本接口(CreateDisks)用于创建云硬盘。
|
|
202
|
+
|
|
203
|
+
* 预付费云盘的购买会预先扣除本次云盘购买所需金额,在调用本接口前请确保账户余额充足。
|
|
204
|
+
* 本接口支持传入数据盘快照来创建云盘,实现将快照数据复制到新购云盘上。
|
|
205
|
+
* 本接口为异步接口,当创建请求下发成功后会返回一个新建的云盘ID列表,此时云盘的创建并未立即完成。可以通过调用[DescribeDisks](/document/product/362/16315)接口根据DiskId查询对应云盘,如果能查到云盘,且状态为'UNATTACHED'或'ATTACHED',则表示创建成功。
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
kwargs = {}
|
|
209
|
+
kwargs["action"] = "CreateDisks"
|
|
210
|
+
kwargs["params"] = request._serialize()
|
|
211
|
+
kwargs["resp_cls"] = models.CreateDisksResponse
|
|
212
|
+
kwargs["headers"] = request.headers
|
|
213
|
+
kwargs["opts"] = opts or {}
|
|
214
|
+
|
|
215
|
+
return await self.call_and_deserialize(**kwargs)
|
|
216
|
+
|
|
217
|
+
async def CreateSnapshot(
|
|
218
|
+
self,
|
|
219
|
+
request: models.CreateSnapshotRequest,
|
|
220
|
+
opts: Dict = None,
|
|
221
|
+
) -> models.CreateSnapshotResponse:
|
|
222
|
+
"""
|
|
223
|
+
本接口(CreateSnapshot)用于对指定云盘创建快照。
|
|
224
|
+
|
|
225
|
+
* 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
|
|
226
|
+
* 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
|
|
227
|
+
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
kwargs = {}
|
|
231
|
+
kwargs["action"] = "CreateSnapshot"
|
|
232
|
+
kwargs["params"] = request._serialize()
|
|
233
|
+
kwargs["resp_cls"] = models.CreateSnapshotResponse
|
|
234
|
+
kwargs["headers"] = request.headers
|
|
235
|
+
kwargs["opts"] = opts or {}
|
|
236
|
+
|
|
237
|
+
return await self.call_and_deserialize(**kwargs)
|
|
238
|
+
|
|
239
|
+
async def CreateSnapshotGroup(
|
|
240
|
+
self,
|
|
241
|
+
request: models.CreateSnapshotGroupRequest,
|
|
242
|
+
opts: Dict = None,
|
|
243
|
+
) -> models.CreateSnapshotGroupResponse:
|
|
244
|
+
"""
|
|
245
|
+
本接口(CreateSnapshotGroup)用于创建快照组。
|
|
246
|
+
* 创建快照组的云硬盘列表必须挂载在同一实例上;
|
|
247
|
+
* 可选择挂载在实例上的全部或部分盘创建快照组。
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
kwargs = {}
|
|
251
|
+
kwargs["action"] = "CreateSnapshotGroup"
|
|
252
|
+
kwargs["params"] = request._serialize()
|
|
253
|
+
kwargs["resp_cls"] = models.CreateSnapshotGroupResponse
|
|
254
|
+
kwargs["headers"] = request.headers
|
|
255
|
+
kwargs["opts"] = opts or {}
|
|
256
|
+
|
|
257
|
+
return await self.call_and_deserialize(**kwargs)
|
|
258
|
+
|
|
259
|
+
async def DeleteAutoSnapshotPolicies(
|
|
260
|
+
self,
|
|
261
|
+
request: models.DeleteAutoSnapshotPoliciesRequest,
|
|
262
|
+
opts: Dict = None,
|
|
263
|
+
) -> models.DeleteAutoSnapshotPoliciesResponse:
|
|
264
|
+
"""
|
|
265
|
+
本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
|
|
266
|
+
|
|
267
|
+
* 支持批量操作。如果多个定期快照策略存在无法删除的,则操作不执行,以特定错误码返回。
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
kwargs = {}
|
|
271
|
+
kwargs["action"] = "DeleteAutoSnapshotPolicies"
|
|
272
|
+
kwargs["params"] = request._serialize()
|
|
273
|
+
kwargs["resp_cls"] = models.DeleteAutoSnapshotPoliciesResponse
|
|
274
|
+
kwargs["headers"] = request.headers
|
|
275
|
+
kwargs["opts"] = opts or {}
|
|
276
|
+
|
|
277
|
+
return await self.call_and_deserialize(**kwargs)
|
|
278
|
+
|
|
279
|
+
async def DeleteDiskBackups(
|
|
280
|
+
self,
|
|
281
|
+
request: models.DeleteDiskBackupsRequest,
|
|
282
|
+
opts: Dict = None,
|
|
283
|
+
) -> models.DeleteDiskBackupsResponse:
|
|
284
|
+
"""
|
|
285
|
+
批量删除指定的云硬盘备份点。
|
|
286
|
+
"""
|
|
287
|
+
|
|
288
|
+
kwargs = {}
|
|
289
|
+
kwargs["action"] = "DeleteDiskBackups"
|
|
290
|
+
kwargs["params"] = request._serialize()
|
|
291
|
+
kwargs["resp_cls"] = models.DeleteDiskBackupsResponse
|
|
292
|
+
kwargs["headers"] = request.headers
|
|
293
|
+
kwargs["opts"] = opts or {}
|
|
294
|
+
|
|
295
|
+
return await self.call_and_deserialize(**kwargs)
|
|
296
|
+
|
|
297
|
+
async def DeleteSnapshotGroup(
|
|
298
|
+
self,
|
|
299
|
+
request: models.DeleteSnapshotGroupRequest,
|
|
300
|
+
opts: Dict = None,
|
|
301
|
+
) -> models.DeleteSnapshotGroupResponse:
|
|
302
|
+
"""
|
|
303
|
+
本接口(DeleteSnapshotGroup)用于删除快照组,一次调用仅支持删除一个快照组。
|
|
304
|
+
* 默认会删除快照组内的所有快照;
|
|
305
|
+
* 如果快照组内的快照有关联镜像,则删除失败,所有快照均不会删除;如果需要同时删除快照绑定的镜像,可传入参数DeleteBindImages等于true。
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
kwargs = {}
|
|
309
|
+
kwargs["action"] = "DeleteSnapshotGroup"
|
|
310
|
+
kwargs["params"] = request._serialize()
|
|
311
|
+
kwargs["resp_cls"] = models.DeleteSnapshotGroupResponse
|
|
312
|
+
kwargs["headers"] = request.headers
|
|
313
|
+
kwargs["opts"] = opts or {}
|
|
314
|
+
|
|
315
|
+
return await self.call_and_deserialize(**kwargs)
|
|
316
|
+
|
|
317
|
+
async def DeleteSnapshots(
|
|
318
|
+
self,
|
|
319
|
+
request: models.DeleteSnapshotsRequest,
|
|
320
|
+
opts: Dict = None,
|
|
321
|
+
) -> models.DeleteSnapshotsResponse:
|
|
322
|
+
"""
|
|
323
|
+
本接口(DeleteSnapshots)用于删除快照。
|
|
324
|
+
|
|
325
|
+
* 快照必须处于NORMAL状态,快照状态可以通过[DescribeSnapshots](/document/product/362/15647)接口查询,见输出参数中SnapshotState字段解释。
|
|
326
|
+
* 支持批量操作。如果多个快照存在无法删除的快照,则操作不执行,以特定的错误码返回。
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
kwargs = {}
|
|
330
|
+
kwargs["action"] = "DeleteSnapshots"
|
|
331
|
+
kwargs["params"] = request._serialize()
|
|
332
|
+
kwargs["resp_cls"] = models.DeleteSnapshotsResponse
|
|
333
|
+
kwargs["headers"] = request.headers
|
|
334
|
+
kwargs["opts"] = opts or {}
|
|
335
|
+
|
|
336
|
+
return await self.call_and_deserialize(**kwargs)
|
|
337
|
+
|
|
338
|
+
async def DescribeAutoSnapshotPolicies(
|
|
339
|
+
self,
|
|
340
|
+
request: models.DescribeAutoSnapshotPoliciesRequest,
|
|
341
|
+
opts: Dict = None,
|
|
342
|
+
) -> models.DescribeAutoSnapshotPoliciesResponse:
|
|
343
|
+
"""
|
|
344
|
+
本接口(DescribeAutoSnapshotPolicies)用于查询定期快照策略。
|
|
345
|
+
|
|
346
|
+
* 可以根据定期快照策略ID、名称或者状态等信息来查询定期快照策略的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
347
|
+
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的定期快照策略表。
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
kwargs = {}
|
|
351
|
+
kwargs["action"] = "DescribeAutoSnapshotPolicies"
|
|
352
|
+
kwargs["params"] = request._serialize()
|
|
353
|
+
kwargs["resp_cls"] = models.DescribeAutoSnapshotPoliciesResponse
|
|
354
|
+
kwargs["headers"] = request.headers
|
|
355
|
+
kwargs["opts"] = opts or {}
|
|
356
|
+
|
|
357
|
+
return await self.call_and_deserialize(**kwargs)
|
|
358
|
+
|
|
359
|
+
async def DescribeDiskAssociatedAutoSnapshotPolicy(
|
|
360
|
+
self,
|
|
361
|
+
request: models.DescribeDiskAssociatedAutoSnapshotPolicyRequest,
|
|
362
|
+
opts: Dict = None,
|
|
363
|
+
) -> models.DescribeDiskAssociatedAutoSnapshotPolicyResponse:
|
|
364
|
+
"""
|
|
365
|
+
本接口(DescribeDiskAssociatedAutoSnapshotPolicy)用于查询云盘绑定的定期快照策略。
|
|
366
|
+
"""
|
|
367
|
+
|
|
368
|
+
kwargs = {}
|
|
369
|
+
kwargs["action"] = "DescribeDiskAssociatedAutoSnapshotPolicy"
|
|
370
|
+
kwargs["params"] = request._serialize()
|
|
371
|
+
kwargs["resp_cls"] = models.DescribeDiskAssociatedAutoSnapshotPolicyResponse
|
|
372
|
+
kwargs["headers"] = request.headers
|
|
373
|
+
kwargs["opts"] = opts or {}
|
|
374
|
+
|
|
375
|
+
return await self.call_and_deserialize(**kwargs)
|
|
376
|
+
|
|
377
|
+
async def DescribeDiskBackups(
|
|
378
|
+
self,
|
|
379
|
+
request: models.DescribeDiskBackupsRequest,
|
|
380
|
+
opts: Dict = None,
|
|
381
|
+
) -> models.DescribeDiskBackupsResponse:
|
|
382
|
+
"""
|
|
383
|
+
本接口(DescribeDiskBackups)用于查询备份点的详细信息。
|
|
384
|
+
|
|
385
|
+
根据备份点ID、创建备份点的云硬盘ID、创建备份点的云硬盘类型等对结果进行过滤,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器Filter。
|
|
386
|
+
如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的备份点列表。
|
|
387
|
+
"""
|
|
388
|
+
|
|
389
|
+
kwargs = {}
|
|
390
|
+
kwargs["action"] = "DescribeDiskBackups"
|
|
391
|
+
kwargs["params"] = request._serialize()
|
|
392
|
+
kwargs["resp_cls"] = models.DescribeDiskBackupsResponse
|
|
393
|
+
kwargs["headers"] = request.headers
|
|
394
|
+
kwargs["opts"] = opts or {}
|
|
395
|
+
|
|
396
|
+
return await self.call_and_deserialize(**kwargs)
|
|
397
|
+
|
|
398
|
+
async def DescribeDiskConfigQuota(
|
|
399
|
+
self,
|
|
400
|
+
request: models.DescribeDiskConfigQuotaRequest,
|
|
401
|
+
opts: Dict = None,
|
|
402
|
+
) -> models.DescribeDiskConfigQuotaResponse:
|
|
403
|
+
"""
|
|
404
|
+
本接口(DescribeDiskConfigQuota)用于查询云硬盘配额。
|
|
405
|
+
"""
|
|
406
|
+
|
|
407
|
+
kwargs = {}
|
|
408
|
+
kwargs["action"] = "DescribeDiskConfigQuota"
|
|
409
|
+
kwargs["params"] = request._serialize()
|
|
410
|
+
kwargs["resp_cls"] = models.DescribeDiskConfigQuotaResponse
|
|
411
|
+
kwargs["headers"] = request.headers
|
|
412
|
+
kwargs["opts"] = opts or {}
|
|
413
|
+
|
|
414
|
+
return await self.call_and_deserialize(**kwargs)
|
|
415
|
+
|
|
416
|
+
async def DescribeDiskStoragePool(
|
|
417
|
+
self,
|
|
418
|
+
request: models.DescribeDiskStoragePoolRequest,
|
|
419
|
+
opts: Dict = None,
|
|
420
|
+
) -> models.DescribeDiskStoragePoolResponse:
|
|
421
|
+
"""
|
|
422
|
+
本接口(DescribeDiskStoragePool)查询用户的云硬盘独享集群列表。
|
|
423
|
+
|
|
424
|
+
* 可以根据独享集群ID(CdcId)、可用区(zone)等信息来查询和过滤云硬盘独享集群详细信息,不同的过滤条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
425
|
+
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的云硬盘独享集群列表。
|
|
426
|
+
"""
|
|
427
|
+
|
|
428
|
+
kwargs = {}
|
|
429
|
+
kwargs["action"] = "DescribeDiskStoragePool"
|
|
430
|
+
kwargs["params"] = request._serialize()
|
|
431
|
+
kwargs["resp_cls"] = models.DescribeDiskStoragePoolResponse
|
|
432
|
+
kwargs["headers"] = request.headers
|
|
433
|
+
kwargs["opts"] = opts or {}
|
|
434
|
+
|
|
435
|
+
return await self.call_and_deserialize(**kwargs)
|
|
436
|
+
|
|
437
|
+
async def DescribeDisks(
|
|
438
|
+
self,
|
|
439
|
+
request: models.DescribeDisksRequest,
|
|
440
|
+
opts: Dict = None,
|
|
441
|
+
) -> models.DescribeDisksResponse:
|
|
442
|
+
"""
|
|
443
|
+
本接口(DescribeDisks)用于查询云硬盘列表。
|
|
444
|
+
|
|
445
|
+
* 可以根据云硬盘ID、云硬盘类型或者云硬盘状态等信息来查询云硬盘的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
446
|
+
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的云硬盘列表。
|
|
447
|
+
"""
|
|
448
|
+
|
|
449
|
+
kwargs = {}
|
|
450
|
+
kwargs["action"] = "DescribeDisks"
|
|
451
|
+
kwargs["params"] = request._serialize()
|
|
452
|
+
kwargs["resp_cls"] = models.DescribeDisksResponse
|
|
453
|
+
kwargs["headers"] = request.headers
|
|
454
|
+
kwargs["opts"] = opts or {}
|
|
455
|
+
|
|
456
|
+
return await self.call_and_deserialize(**kwargs)
|
|
457
|
+
|
|
458
|
+
async def DescribeInstancesDiskNum(
|
|
459
|
+
self,
|
|
460
|
+
request: models.DescribeInstancesDiskNumRequest,
|
|
461
|
+
opts: Dict = None,
|
|
462
|
+
) -> models.DescribeInstancesDiskNumResponse:
|
|
463
|
+
"""
|
|
464
|
+
本接口(DescribeInstancesDiskNum)用于查询实例已挂载云硬盘数量。
|
|
465
|
+
|
|
466
|
+
* 支持批量操作,当传入多个云服务器实例ID,返回结果会分别列出每个云服务器挂载的云硬盘数量。
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
kwargs = {}
|
|
470
|
+
kwargs["action"] = "DescribeInstancesDiskNum"
|
|
471
|
+
kwargs["params"] = request._serialize()
|
|
472
|
+
kwargs["resp_cls"] = models.DescribeInstancesDiskNumResponse
|
|
473
|
+
kwargs["headers"] = request.headers
|
|
474
|
+
kwargs["opts"] = opts or {}
|
|
475
|
+
|
|
476
|
+
return await self.call_and_deserialize(**kwargs)
|
|
477
|
+
|
|
478
|
+
async def DescribeSnapshotGroups(
|
|
479
|
+
self,
|
|
480
|
+
request: models.DescribeSnapshotGroupsRequest,
|
|
481
|
+
opts: Dict = None,
|
|
482
|
+
) -> models.DescribeSnapshotGroupsResponse:
|
|
483
|
+
"""
|
|
484
|
+
本接口(DescribeSnapshotGroups)用于查询快照组列表。
|
|
485
|
+
* 可以根据快照组ID、快照组状态、快照组关联的快照ID等来查询快照组列表,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
486
|
+
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的快照组列表。
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
kwargs = {}
|
|
490
|
+
kwargs["action"] = "DescribeSnapshotGroups"
|
|
491
|
+
kwargs["params"] = request._serialize()
|
|
492
|
+
kwargs["resp_cls"] = models.DescribeSnapshotGroupsResponse
|
|
493
|
+
kwargs["headers"] = request.headers
|
|
494
|
+
kwargs["opts"] = opts or {}
|
|
495
|
+
|
|
496
|
+
return await self.call_and_deserialize(**kwargs)
|
|
497
|
+
|
|
498
|
+
async def DescribeSnapshotOverview(
|
|
499
|
+
self,
|
|
500
|
+
request: models.DescribeSnapshotOverviewRequest,
|
|
501
|
+
opts: Dict = None,
|
|
502
|
+
) -> models.DescribeSnapshotOverviewResponse:
|
|
503
|
+
"""
|
|
504
|
+
该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
kwargs = {}
|
|
508
|
+
kwargs["action"] = "DescribeSnapshotOverview"
|
|
509
|
+
kwargs["params"] = request._serialize()
|
|
510
|
+
kwargs["resp_cls"] = models.DescribeSnapshotOverviewResponse
|
|
511
|
+
kwargs["headers"] = request.headers
|
|
512
|
+
kwargs["opts"] = opts or {}
|
|
513
|
+
|
|
514
|
+
return await self.call_and_deserialize(**kwargs)
|
|
515
|
+
|
|
516
|
+
async def DescribeSnapshotSharePermission(
|
|
517
|
+
self,
|
|
518
|
+
request: models.DescribeSnapshotSharePermissionRequest,
|
|
519
|
+
opts: Dict = None,
|
|
520
|
+
) -> models.DescribeSnapshotSharePermissionResponse:
|
|
521
|
+
"""
|
|
522
|
+
本接口(DescribeSnapshotSharePermission)用于查询快照的分享信息。
|
|
523
|
+
"""
|
|
524
|
+
|
|
525
|
+
kwargs = {}
|
|
526
|
+
kwargs["action"] = "DescribeSnapshotSharePermission"
|
|
527
|
+
kwargs["params"] = request._serialize()
|
|
528
|
+
kwargs["resp_cls"] = models.DescribeSnapshotSharePermissionResponse
|
|
529
|
+
kwargs["headers"] = request.headers
|
|
530
|
+
kwargs["opts"] = opts or {}
|
|
531
|
+
|
|
532
|
+
return await self.call_and_deserialize(**kwargs)
|
|
533
|
+
|
|
534
|
+
async def DescribeSnapshots(
|
|
535
|
+
self,
|
|
536
|
+
request: models.DescribeSnapshotsRequest,
|
|
537
|
+
opts: Dict = None,
|
|
538
|
+
) -> models.DescribeSnapshotsResponse:
|
|
539
|
+
"""
|
|
540
|
+
本接口(DescribeSnapshots)用于查询快照的详细信息。
|
|
541
|
+
|
|
542
|
+
* 根据快照ID、创建快照的云硬盘ID、创建快照的云硬盘类型等对结果进行过滤,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
543
|
+
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的快照列表。
|
|
544
|
+
"""
|
|
545
|
+
|
|
546
|
+
kwargs = {}
|
|
547
|
+
kwargs["action"] = "DescribeSnapshots"
|
|
548
|
+
kwargs["params"] = request._serialize()
|
|
549
|
+
kwargs["resp_cls"] = models.DescribeSnapshotsResponse
|
|
550
|
+
kwargs["headers"] = request.headers
|
|
551
|
+
kwargs["opts"] = opts or {}
|
|
552
|
+
|
|
553
|
+
return await self.call_and_deserialize(**kwargs)
|
|
554
|
+
|
|
555
|
+
async def DetachDisks(
|
|
556
|
+
self,
|
|
557
|
+
request: models.DetachDisksRequest,
|
|
558
|
+
opts: Dict = None,
|
|
559
|
+
) -> models.DetachDisksResponse:
|
|
560
|
+
"""
|
|
561
|
+
本接口(DetachDisks)用于卸载云硬盘。
|
|
562
|
+
|
|
563
|
+
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
|
|
564
|
+
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
|
|
565
|
+
"""
|
|
566
|
+
|
|
567
|
+
kwargs = {}
|
|
568
|
+
kwargs["action"] = "DetachDisks"
|
|
569
|
+
kwargs["params"] = request._serialize()
|
|
570
|
+
kwargs["resp_cls"] = models.DetachDisksResponse
|
|
571
|
+
kwargs["headers"] = request.headers
|
|
572
|
+
kwargs["opts"] = opts or {}
|
|
573
|
+
|
|
574
|
+
return await self.call_and_deserialize(**kwargs)
|
|
575
|
+
|
|
576
|
+
async def GetSnapOverview(
|
|
577
|
+
self,
|
|
578
|
+
request: models.GetSnapOverviewRequest,
|
|
579
|
+
opts: Dict = None,
|
|
580
|
+
) -> models.GetSnapOverviewResponse:
|
|
581
|
+
"""
|
|
582
|
+
为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview
|
|
583
|
+
|
|
584
|
+
获取快照概览信息
|
|
585
|
+
"""
|
|
586
|
+
|
|
587
|
+
kwargs = {}
|
|
588
|
+
kwargs["action"] = "GetSnapOverview"
|
|
589
|
+
kwargs["params"] = request._serialize()
|
|
590
|
+
kwargs["resp_cls"] = models.GetSnapOverviewResponse
|
|
591
|
+
kwargs["headers"] = request.headers
|
|
592
|
+
kwargs["opts"] = opts or {}
|
|
593
|
+
|
|
594
|
+
return await self.call_and_deserialize(**kwargs)
|
|
595
|
+
|
|
596
|
+
async def InitializeDisks(
|
|
597
|
+
self,
|
|
598
|
+
request: models.InitializeDisksRequest,
|
|
599
|
+
opts: Dict = None,
|
|
600
|
+
) -> models.InitializeDisksResponse:
|
|
601
|
+
"""
|
|
602
|
+
重新初始化云硬盘至云硬盘初始创建时的状态。使用云硬盘的重新初始化功能时需要注意以下4点:
|
|
603
|
+
1. 如果云硬盘是由快照创建的,则重新初始化会通过此快照重新回滚此云硬盘,即将云硬盘恢复为与快照一致的状态;
|
|
604
|
+
2. 如果云硬盘不是通过快照创建的,则重新初始化会清空此云硬盘的数据;请在重新初始化云硬盘前检查并备份必要的数据;
|
|
605
|
+
3. 当前仅未挂载的、非共享属性的数据盘云硬盘支持重新初始化;
|
|
606
|
+
4. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。
|
|
607
|
+
"""
|
|
608
|
+
|
|
609
|
+
kwargs = {}
|
|
610
|
+
kwargs["action"] = "InitializeDisks"
|
|
611
|
+
kwargs["params"] = request._serialize()
|
|
612
|
+
kwargs["resp_cls"] = models.InitializeDisksResponse
|
|
613
|
+
kwargs["headers"] = request.headers
|
|
614
|
+
kwargs["opts"] = opts or {}
|
|
615
|
+
|
|
616
|
+
return await self.call_and_deserialize(**kwargs)
|
|
617
|
+
|
|
618
|
+
async def InquirePriceModifyDiskBackupQuota(
|
|
619
|
+
self,
|
|
620
|
+
request: models.InquirePriceModifyDiskBackupQuotaRequest,
|
|
621
|
+
opts: Dict = None,
|
|
622
|
+
) -> models.InquirePriceModifyDiskBackupQuotaResponse:
|
|
623
|
+
"""
|
|
624
|
+
本接口(InquirePricePriceModifyDiskBackupQuota)用于修改云硬盘备份点配额询价。
|
|
625
|
+
"""
|
|
626
|
+
|
|
627
|
+
kwargs = {}
|
|
628
|
+
kwargs["action"] = "InquirePriceModifyDiskBackupQuota"
|
|
629
|
+
kwargs["params"] = request._serialize()
|
|
630
|
+
kwargs["resp_cls"] = models.InquirePriceModifyDiskBackupQuotaResponse
|
|
631
|
+
kwargs["headers"] = request.headers
|
|
632
|
+
kwargs["opts"] = opts or {}
|
|
633
|
+
|
|
634
|
+
return await self.call_and_deserialize(**kwargs)
|
|
635
|
+
|
|
636
|
+
async def InquirePriceModifyDiskExtraPerformance(
|
|
637
|
+
self,
|
|
638
|
+
request: models.InquirePriceModifyDiskExtraPerformanceRequest,
|
|
639
|
+
opts: Dict = None,
|
|
640
|
+
) -> models.InquirePriceModifyDiskExtraPerformanceResponse:
|
|
641
|
+
"""
|
|
642
|
+
本接口(InquirePriceModifyDiskExtraPerformance)用于调整云硬盘额外性能询价。
|
|
643
|
+
"""
|
|
644
|
+
|
|
645
|
+
kwargs = {}
|
|
646
|
+
kwargs["action"] = "InquirePriceModifyDiskExtraPerformance"
|
|
647
|
+
kwargs["params"] = request._serialize()
|
|
648
|
+
kwargs["resp_cls"] = models.InquirePriceModifyDiskExtraPerformanceResponse
|
|
649
|
+
kwargs["headers"] = request.headers
|
|
650
|
+
kwargs["opts"] = opts or {}
|
|
651
|
+
|
|
652
|
+
return await self.call_and_deserialize(**kwargs)
|
|
653
|
+
|
|
654
|
+
async def InquiryPriceCreateDisks(
|
|
655
|
+
self,
|
|
656
|
+
request: models.InquiryPriceCreateDisksRequest,
|
|
657
|
+
opts: Dict = None,
|
|
658
|
+
) -> models.InquiryPriceCreateDisksResponse:
|
|
659
|
+
"""
|
|
660
|
+
本接口(InquiryPriceCreateDisks)用于创建云硬盘询价。
|
|
661
|
+
|
|
662
|
+
* 支持查询创建多块云硬盘的价格,此时返回结果为总价格。
|
|
663
|
+
"""
|
|
664
|
+
|
|
665
|
+
kwargs = {}
|
|
666
|
+
kwargs["action"] = "InquiryPriceCreateDisks"
|
|
667
|
+
kwargs["params"] = request._serialize()
|
|
668
|
+
kwargs["resp_cls"] = models.InquiryPriceCreateDisksResponse
|
|
669
|
+
kwargs["headers"] = request.headers
|
|
670
|
+
kwargs["opts"] = opts or {}
|
|
671
|
+
|
|
672
|
+
return await self.call_and_deserialize(**kwargs)
|
|
673
|
+
|
|
674
|
+
async def InquiryPriceRenewDisks(
|
|
675
|
+
self,
|
|
676
|
+
request: models.InquiryPriceRenewDisksRequest,
|
|
677
|
+
opts: Dict = None,
|
|
678
|
+
) -> models.InquiryPriceRenewDisksResponse:
|
|
679
|
+
"""
|
|
680
|
+
本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
|
|
681
|
+
|
|
682
|
+
* 只支持查询预付费模式的弹性云盘续费价格。
|
|
683
|
+
* 支持与挂载实例一起续费的场景,需要在[DiskChargePrepaid](/document/product/362/15669#DiskChargePrepaid)参数中指定CurInstanceDeadline,此时会按对齐到实例续费后的到期时间来续费询价。
|
|
684
|
+
* 支持为多块云盘指定不同的续费时长,此时返回的价格为多块云盘续费的总价格。
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
kwargs = {}
|
|
688
|
+
kwargs["action"] = "InquiryPriceRenewDisks"
|
|
689
|
+
kwargs["params"] = request._serialize()
|
|
690
|
+
kwargs["resp_cls"] = models.InquiryPriceRenewDisksResponse
|
|
691
|
+
kwargs["headers"] = request.headers
|
|
692
|
+
kwargs["opts"] = opts or {}
|
|
693
|
+
|
|
694
|
+
return await self.call_and_deserialize(**kwargs)
|
|
695
|
+
|
|
696
|
+
async def InquiryPriceResizeDisk(
|
|
697
|
+
self,
|
|
698
|
+
request: models.InquiryPriceResizeDiskRequest,
|
|
699
|
+
opts: Dict = None,
|
|
700
|
+
) -> models.InquiryPriceResizeDiskResponse:
|
|
701
|
+
"""
|
|
702
|
+
本接口(InquiryPriceResizeDisk)用于扩容云硬盘询价。
|
|
703
|
+
"""
|
|
704
|
+
|
|
705
|
+
kwargs = {}
|
|
706
|
+
kwargs["action"] = "InquiryPriceResizeDisk"
|
|
707
|
+
kwargs["params"] = request._serialize()
|
|
708
|
+
kwargs["resp_cls"] = models.InquiryPriceResizeDiskResponse
|
|
709
|
+
kwargs["headers"] = request.headers
|
|
710
|
+
kwargs["opts"] = opts or {}
|
|
711
|
+
|
|
712
|
+
return await self.call_and_deserialize(**kwargs)
|
|
713
|
+
|
|
714
|
+
async def ModifyAutoSnapshotPolicyAttribute(
|
|
715
|
+
self,
|
|
716
|
+
request: models.ModifyAutoSnapshotPolicyAttributeRequest,
|
|
717
|
+
opts: Dict = None,
|
|
718
|
+
) -> models.ModifyAutoSnapshotPolicyAttributeResponse:
|
|
719
|
+
"""
|
|
720
|
+
本接口(ModifyAutoSnapshotPolicyAttribute)用于修改定期快照策略属性。
|
|
721
|
+
|
|
722
|
+
* 可通过该接口修改定期快照策略的执行策略、名称、是否激活等属性。
|
|
723
|
+
* 修改保留天数时必须保证不与是否永久保留属性冲突,否则整个操作失败,以特定的错误码返回。
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
kwargs = {}
|
|
727
|
+
kwargs["action"] = "ModifyAutoSnapshotPolicyAttribute"
|
|
728
|
+
kwargs["params"] = request._serialize()
|
|
729
|
+
kwargs["resp_cls"] = models.ModifyAutoSnapshotPolicyAttributeResponse
|
|
730
|
+
kwargs["headers"] = request.headers
|
|
731
|
+
kwargs["opts"] = opts or {}
|
|
732
|
+
|
|
733
|
+
return await self.call_and_deserialize(**kwargs)
|
|
734
|
+
|
|
735
|
+
async def ModifyDiskAttributes(
|
|
736
|
+
self,
|
|
737
|
+
request: models.ModifyDiskAttributesRequest,
|
|
738
|
+
opts: Dict = None,
|
|
739
|
+
) -> models.ModifyDiskAttributesResponse:
|
|
740
|
+
"""
|
|
741
|
+
* 只支持修改弹性云盘的项目ID。随云主机创建的云硬盘项目ID与云主机联动。是否是弹性云盘可以通过[DescribeDisks](/document/product/362/16315)接口查询,见输出参数中Portable字段解释。
|
|
742
|
+
* “云硬盘名称”仅为方便用户自己管理之用,腾讯云并不以此名称作为提交工单或是进行云盘管理操作的依据。
|
|
743
|
+
* 支持批量操作,如果传入多个云盘ID,则所有云盘修改为同一属性。如果存在不允许操作的云盘,则操作不执行,以特定错误码返回。
|
|
744
|
+
"""
|
|
745
|
+
|
|
746
|
+
kwargs = {}
|
|
747
|
+
kwargs["action"] = "ModifyDiskAttributes"
|
|
748
|
+
kwargs["params"] = request._serialize()
|
|
749
|
+
kwargs["resp_cls"] = models.ModifyDiskAttributesResponse
|
|
750
|
+
kwargs["headers"] = request.headers
|
|
751
|
+
kwargs["opts"] = opts or {}
|
|
752
|
+
|
|
753
|
+
return await self.call_and_deserialize(**kwargs)
|
|
754
|
+
|
|
755
|
+
async def ModifyDiskBackupQuota(
|
|
756
|
+
self,
|
|
757
|
+
request: models.ModifyDiskBackupQuotaRequest,
|
|
758
|
+
opts: Dict = None,
|
|
759
|
+
) -> models.ModifyDiskBackupQuotaResponse:
|
|
760
|
+
"""
|
|
761
|
+
此接口 (ModifyDiskBackupQuota) 用于修改云硬盘备份点配额。
|
|
762
|
+
"""
|
|
763
|
+
|
|
764
|
+
kwargs = {}
|
|
765
|
+
kwargs["action"] = "ModifyDiskBackupQuota"
|
|
766
|
+
kwargs["params"] = request._serialize()
|
|
767
|
+
kwargs["resp_cls"] = models.ModifyDiskBackupQuotaResponse
|
|
768
|
+
kwargs["headers"] = request.headers
|
|
769
|
+
kwargs["opts"] = opts or {}
|
|
770
|
+
|
|
771
|
+
return await self.call_and_deserialize(**kwargs)
|
|
772
|
+
|
|
773
|
+
async def ModifyDiskExtraPerformance(
|
|
774
|
+
self,
|
|
775
|
+
request: models.ModifyDiskExtraPerformanceRequest,
|
|
776
|
+
opts: Dict = None,
|
|
777
|
+
) -> models.ModifyDiskExtraPerformanceResponse:
|
|
778
|
+
"""
|
|
779
|
+
本接口(ModifyDiskExtraPerformance)用于调整云硬盘额外的性能。
|
|
780
|
+
|
|
781
|
+
* 目前仅支持增强型SSD云硬盘(CLOUD_HSSD)和极速型SSD云硬盘(CLOUD_TSSD)。
|
|
782
|
+
"""
|
|
783
|
+
|
|
784
|
+
kwargs = {}
|
|
785
|
+
kwargs["action"] = "ModifyDiskExtraPerformance"
|
|
786
|
+
kwargs["params"] = request._serialize()
|
|
787
|
+
kwargs["resp_cls"] = models.ModifyDiskExtraPerformanceResponse
|
|
788
|
+
kwargs["headers"] = request.headers
|
|
789
|
+
kwargs["opts"] = opts or {}
|
|
790
|
+
|
|
791
|
+
return await self.call_and_deserialize(**kwargs)
|
|
792
|
+
|
|
793
|
+
async def ModifyDisksChargeType(
|
|
794
|
+
self,
|
|
795
|
+
request: models.ModifyDisksChargeTypeRequest,
|
|
796
|
+
opts: Dict = None,
|
|
797
|
+
) -> models.ModifyDisksChargeTypeResponse:
|
|
798
|
+
"""
|
|
799
|
+
本接口 (ModifyDisksChargeType) 用于切换云硬盘的计费模式。
|
|
800
|
+
|
|
801
|
+
非弹性云硬盘不支持此接口,请通过修改实例计费模式接口将实例连同非弹性云硬盘一起转换。
|
|
802
|
+
"""
|
|
803
|
+
|
|
804
|
+
kwargs = {}
|
|
805
|
+
kwargs["action"] = "ModifyDisksChargeType"
|
|
806
|
+
kwargs["params"] = request._serialize()
|
|
807
|
+
kwargs["resp_cls"] = models.ModifyDisksChargeTypeResponse
|
|
808
|
+
kwargs["headers"] = request.headers
|
|
809
|
+
kwargs["opts"] = opts or {}
|
|
810
|
+
|
|
811
|
+
return await self.call_and_deserialize(**kwargs)
|
|
812
|
+
|
|
813
|
+
async def ModifyDisksRenewFlag(
|
|
814
|
+
self,
|
|
815
|
+
request: models.ModifyDisksRenewFlagRequest,
|
|
816
|
+
opts: Dict = None,
|
|
817
|
+
) -> models.ModifyDisksRenewFlagResponse:
|
|
818
|
+
"""
|
|
819
|
+
本接口(ModifyDisksRenewFlag)用于修改云硬盘续费标识,支持批量修改。
|
|
820
|
+
"""
|
|
821
|
+
|
|
822
|
+
kwargs = {}
|
|
823
|
+
kwargs["action"] = "ModifyDisksRenewFlag"
|
|
824
|
+
kwargs["params"] = request._serialize()
|
|
825
|
+
kwargs["resp_cls"] = models.ModifyDisksRenewFlagResponse
|
|
826
|
+
kwargs["headers"] = request.headers
|
|
827
|
+
kwargs["opts"] = opts or {}
|
|
828
|
+
|
|
829
|
+
return await self.call_and_deserialize(**kwargs)
|
|
830
|
+
|
|
831
|
+
async def ModifySnapshotAttribute(
|
|
832
|
+
self,
|
|
833
|
+
request: models.ModifySnapshotAttributeRequest,
|
|
834
|
+
opts: Dict = None,
|
|
835
|
+
) -> models.ModifySnapshotAttributeResponse:
|
|
836
|
+
"""
|
|
837
|
+
本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
|
|
838
|
+
|
|
839
|
+
* 本接口支持修改快照名称及到期时间,以及将非永久快照修改为永久快照。
|
|
840
|
+
* “快照名称”仅为方便用户管理之用,腾讯云并不以此名称作为提交工单或是进行快照管理操作的依据。
|
|
841
|
+
"""
|
|
842
|
+
|
|
843
|
+
kwargs = {}
|
|
844
|
+
kwargs["action"] = "ModifySnapshotAttribute"
|
|
845
|
+
kwargs["params"] = request._serialize()
|
|
846
|
+
kwargs["resp_cls"] = models.ModifySnapshotAttributeResponse
|
|
847
|
+
kwargs["headers"] = request.headers
|
|
848
|
+
kwargs["opts"] = opts or {}
|
|
849
|
+
|
|
850
|
+
return await self.call_and_deserialize(**kwargs)
|
|
851
|
+
|
|
852
|
+
async def ModifySnapshotsSharePermission(
|
|
853
|
+
self,
|
|
854
|
+
request: models.ModifySnapshotsSharePermissionRequest,
|
|
855
|
+
opts: Dict = None,
|
|
856
|
+
) -> models.ModifySnapshotsSharePermissionResponse:
|
|
857
|
+
"""
|
|
858
|
+
本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
|
|
859
|
+
|
|
860
|
+
分享快照后,被分享账户可以通过该快照创建云硬盘。
|
|
861
|
+
* 每个快照最多可分享给50个账户。
|
|
862
|
+
* 分享快照无法更改名称,描述,仅可用于创建云硬盘。
|
|
863
|
+
* 只支持分享到对方账户相同地域。
|
|
864
|
+
* 仅支持分享数据盘快照。
|
|
865
|
+
"""
|
|
866
|
+
|
|
867
|
+
kwargs = {}
|
|
868
|
+
kwargs["action"] = "ModifySnapshotsSharePermission"
|
|
869
|
+
kwargs["params"] = request._serialize()
|
|
870
|
+
kwargs["resp_cls"] = models.ModifySnapshotsSharePermissionResponse
|
|
871
|
+
kwargs["headers"] = request.headers
|
|
872
|
+
kwargs["opts"] = opts or {}
|
|
873
|
+
|
|
874
|
+
return await self.call_and_deserialize(**kwargs)
|
|
875
|
+
|
|
876
|
+
async def RenewDisk(
|
|
877
|
+
self,
|
|
878
|
+
request: models.RenewDiskRequest,
|
|
879
|
+
opts: Dict = None,
|
|
880
|
+
) -> models.RenewDiskResponse:
|
|
881
|
+
"""
|
|
882
|
+
本接口(RenewDisk)用于续费云硬盘。
|
|
883
|
+
|
|
884
|
+
* 只支持预付费的云硬盘。云硬盘类型可以通过[DescribeDisks](/document/product/362/16315)接口查询,见输出参数中DiskChargeType字段解释。
|
|
885
|
+
* 支持与挂载实例一起续费的场景,需要在[DiskChargePrepaid](/document/product/362/15669#DiskChargePrepaid)参数中指定CurInstanceDeadline,此时会按对齐到子机续费后的到期时间来续费。
|
|
886
|
+
"""
|
|
887
|
+
|
|
888
|
+
kwargs = {}
|
|
889
|
+
kwargs["action"] = "RenewDisk"
|
|
890
|
+
kwargs["params"] = request._serialize()
|
|
891
|
+
kwargs["resp_cls"] = models.RenewDiskResponse
|
|
892
|
+
kwargs["headers"] = request.headers
|
|
893
|
+
kwargs["opts"] = opts or {}
|
|
894
|
+
|
|
895
|
+
return await self.call_and_deserialize(**kwargs)
|
|
896
|
+
|
|
897
|
+
async def ResizeDisk(
|
|
898
|
+
self,
|
|
899
|
+
request: models.ResizeDiskRequest,
|
|
900
|
+
opts: Dict = None,
|
|
901
|
+
) -> models.ResizeDiskResponse:
|
|
902
|
+
"""
|
|
903
|
+
本接口(ResizeDisk)用于扩容云硬盘。
|
|
904
|
+
|
|
905
|
+
* 只支持扩容弹性云盘。云硬盘类型可以通过[DescribeDisks](/document/product/362/16315)接口查询,见输出参数中Portable字段解释。非弹性云硬盘需通过[ResizeInstanceDisks](/document/product/213/15731)接口扩容。
|
|
906
|
+
* 本接口为异步接口,接口成功返回时,云盘并未立即扩容到指定大小,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态为“EXPANDING”,表示正在扩容中。
|
|
907
|
+
"""
|
|
908
|
+
|
|
909
|
+
kwargs = {}
|
|
910
|
+
kwargs["action"] = "ResizeDisk"
|
|
911
|
+
kwargs["params"] = request._serialize()
|
|
912
|
+
kwargs["resp_cls"] = models.ResizeDiskResponse
|
|
913
|
+
kwargs["headers"] = request.headers
|
|
914
|
+
kwargs["opts"] = opts or {}
|
|
915
|
+
|
|
916
|
+
return await self.call_and_deserialize(**kwargs)
|
|
917
|
+
|
|
918
|
+
async def TerminateDisks(
|
|
919
|
+
self,
|
|
920
|
+
request: models.TerminateDisksRequest,
|
|
921
|
+
opts: Dict = None,
|
|
922
|
+
) -> models.TerminateDisksResponse:
|
|
923
|
+
"""
|
|
924
|
+
本接口(TerminateDisks)用于退还云硬盘。
|
|
925
|
+
|
|
926
|
+
* 不再使用的云盘,可通过本接口主动退还。
|
|
927
|
+
* 本接口支持退还预付费云盘和按小时后付费云盘。按小时后付费云盘可直接退还,预付费云盘需符合退还规则。
|
|
928
|
+
* 支持批量操作,每次请求批量云硬盘的上限为100。如果批量云盘存在不允许操作的,请求会以特定错误码返回。
|
|
929
|
+
"""
|
|
930
|
+
|
|
931
|
+
kwargs = {}
|
|
932
|
+
kwargs["action"] = "TerminateDisks"
|
|
933
|
+
kwargs["params"] = request._serialize()
|
|
934
|
+
kwargs["resp_cls"] = models.TerminateDisksResponse
|
|
935
|
+
kwargs["headers"] = request.headers
|
|
936
|
+
kwargs["opts"] = opts or {}
|
|
937
|
+
|
|
938
|
+
return await self.call_and_deserialize(**kwargs)
|
|
939
|
+
|
|
940
|
+
async def UnbindAutoSnapshotPolicy(
|
|
941
|
+
self,
|
|
942
|
+
request: models.UnbindAutoSnapshotPolicyRequest,
|
|
943
|
+
opts: Dict = None,
|
|
944
|
+
) -> models.UnbindAutoSnapshotPolicyResponse:
|
|
945
|
+
"""
|
|
946
|
+
本接口(UnbindAutoSnapshotPolicy)用于解除云硬盘绑定的定期快照策略。
|
|
947
|
+
|
|
948
|
+
* 支持批量操作,可一次解除多个云盘与同一定期快照策略的绑定。
|
|
949
|
+
* 如果传入的云盘未绑定到当前定期快照策略,接口将自动跳过,仅解绑与当前定期快照策略绑定的云盘。
|
|
950
|
+
"""
|
|
951
|
+
|
|
952
|
+
kwargs = {}
|
|
953
|
+
kwargs["action"] = "UnbindAutoSnapshotPolicy"
|
|
954
|
+
kwargs["params"] = request._serialize()
|
|
955
|
+
kwargs["resp_cls"] = models.UnbindAutoSnapshotPolicyResponse
|
|
956
|
+
kwargs["headers"] = request.headers
|
|
957
|
+
kwargs["opts"] = opts or {}
|
|
958
|
+
|
|
959
|
+
return await self.call_and_deserialize(**kwargs)
|