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.
Files changed (391) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aai/v20180522/aai_client_async.py +100 -0
  3. tencentcloud/aca/v20210323/aca_client_async.py +170 -0
  4. tencentcloud/acp/v20220105/acp_client_async.py +170 -0
  5. tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
  6. tencentcloud/af/v20200226/af_client_async.py +86 -0
  7. tencentcloud/afc/v20200226/afc_client_async.py +82 -0
  8. tencentcloud/ags/v20250920/ags_client_async.py +243 -0
  9. tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
  11. tencentcloud/ame/v20190916/ame_client_async.py +586 -0
  12. tencentcloud/ams/v20200608/ams_client_async.py +179 -0
  13. tencentcloud/ams/v20201229/ams_client_async.py +169 -0
  14. tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
  15. tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
  16. tencentcloud/ape/v20200513/ape_client_async.py +170 -0
  17. tencentcloud/api/v20201106/api_client_async.py +80 -0
  18. tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
  19. tencentcloud/apm/v20210622/apm_client_async.py +495 -0
  20. tencentcloud/asr/v20190614/asr_client_async.py +647 -0
  21. tencentcloud/asw/v20200722/asw_client_async.py +188 -0
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
  24. tencentcloud/autoscaling/v20180419/models.py +36 -0
  25. tencentcloud/ba/v20200720/ba_client_async.py +81 -0
  26. tencentcloud/batch/v20170312/batch_client_async.py +582 -0
  27. tencentcloud/bda/v20200324/bda_client_async.py +116 -0
  28. tencentcloud/bh/v20230418/bh_client.py +230 -0
  29. tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
  30. tencentcloud/bh/v20230418/models.py +1677 -216
  31. tencentcloud/bi/v20220105/bi_client_async.py +548 -0
  32. tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
  33. tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
  34. tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
  35. tencentcloud/bma/v20210624/bma_client_async.py +530 -0
  36. tencentcloud/bma/v20221115/bma_client_async.py +224 -0
  37. tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
  38. tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
  39. tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
  40. tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
  41. tencentcloud/bri/v20190328/bri_client_async.py +58 -0
  42. tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
  43. tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
  44. tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
  45. tencentcloud/ca/v20230228/ca_client_async.py +80 -0
  46. tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
  47. tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
  48. tencentcloud/car/v20220110/car_client_async.py +134 -0
  49. tencentcloud/cat/v20180409/cat_client_async.py +279 -0
  50. tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
  51. tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
  52. tencentcloud/ccc/v20200210/models.py +15 -0
  53. tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
  54. tencentcloud/cdb/v20170320/models.py +74 -44
  55. tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
  56. tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
  57. tencentcloud/cds/v20180420/cds_client_async.py +116 -0
  58. tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
  59. tencentcloud/cdwch/v20200915/models.py +34 -4
  60. tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
  61. tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
  62. tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
  63. tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
  64. tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
  65. tencentcloud/cfs/v20190719/models.py +40 -0
  66. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  67. tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
  68. tencentcloud/cfw/v20190904/models.py +784 -8
  69. tencentcloud/chc/v20230418/chc_client_async.py +710 -0
  70. tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
  71. tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
  72. tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
  73. tencentcloud/cii/v20201210/cii_client_async.py +80 -0
  74. tencentcloud/cii/v20210408/cii_client_async.py +262 -0
  75. tencentcloud/cim/v20190318/cim_client_async.py +44 -0
  76. tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
  77. tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
  78. tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
  79. tencentcloud/ckafka/v20190819/models.py +741 -62
  80. tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
  81. tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
  82. tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
  83. tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
  84. tencentcloud/cloudhsm/v20191112/models.py +49 -0
  85. tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
  86. tencentcloud/cls/v20201016/cls_client.py +92 -0
  87. tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
  88. tencentcloud/cls/v20201016/models.py +1427 -74
  89. tencentcloud/cme/v20191029/cme_client_async.py +983 -0
  90. tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
  91. tencentcloud/cms/v20190321/cms_client_async.py +134 -0
  92. tencentcloud/common/abstract_client_async.py +654 -0
  93. tencentcloud/common/common_client_async.py +45 -0
  94. tencentcloud/common/http/request_async.py +62 -0
  95. tencentcloud/common/retry_async.py +87 -0
  96. tencentcloud/config/v20220802/config_client_async.py +152 -0
  97. tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
  98. tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
  99. tencentcloud/csip/v20221121/csip_client.py +1 -1
  100. tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
  101. tencentcloud/csip/v20221121/models.py +105 -0
  102. tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
  103. tencentcloud/ctem/v20231128/ctem_client.py +644 -0
  104. tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
  105. tencentcloud/ctem/v20231128/models.py +4999 -711
  106. tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
  107. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  108. tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
  109. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  110. tencentcloud/cvm/v20170312/models.py +14 -14
  111. tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
  112. tencentcloud/cws/v20180312/cws_client_async.py +368 -0
  113. tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
  114. tencentcloud/cynosdb/v20190107/models.py +99 -2
  115. tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
  116. tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
  117. tencentcloud/dataagent/v20250513/models.py +15 -0
  118. tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
  119. tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
  120. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  121. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
  122. tencentcloud/dbbrain/v20210527/models.py +463 -12
  123. tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
  124. tencentcloud/dc/v20180410/dc_client_async.py +425 -0
  125. tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
  126. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  127. tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
  128. tencentcloud/dlc/v20210125/errorcodes.py +9 -0
  129. tencentcloud/dlc/v20210125/models.py +1424 -17
  130. tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
  131. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  132. tencentcloud/dnspod/v20210323/models.py +2 -2
  133. tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
  134. tencentcloud/drm/v20181115/drm_client_async.py +231 -0
  135. tencentcloud/ds/v20180523/ds_client_async.py +244 -0
  136. tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
  137. tencentcloud/dsgc/v20190723/models.py +36 -36
  138. tencentcloud/dts/v20180330/dts_client_async.py +438 -0
  139. tencentcloud/dts/v20211206/dts_client.py +184 -0
  140. tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
  141. tencentcloud/dts/v20211206/models.py +1275 -98
  142. tencentcloud/eb/v20210416/eb_client_async.py +602 -0
  143. tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
  144. tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
  145. tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
  146. tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
  147. tencentcloud/eis/v20200715/eis_client_async.py +80 -0
  148. tencentcloud/eis/v20210601/eis_client_async.py +116 -0
  149. tencentcloud/emr/v20190103/emr_client.py +23 -0
  150. tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
  151. tencentcloud/emr/v20190103/models.py +395 -0
  152. tencentcloud/es/v20180416/es_client_async.py +1209 -0
  153. tencentcloud/es/v20250101/es_client.py +6 -5
  154. tencentcloud/es/v20250101/es_client_async.py +216 -0
  155. tencentcloud/es/v20250101/models.py +6 -6
  156. tencentcloud/ess/v20201111/ess_client.py +6 -2
  157. tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
  158. tencentcloud/ess/v20201111/models.py +468 -19
  159. tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
  160. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  161. tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
  162. tencentcloud/essbasic/v20210526/models.py +320 -6
  163. tencentcloud/evt/__init__.py +0 -0
  164. tencentcloud/evt/v20250217/__init__.py +0 -0
  165. tencentcloud/evt/v20250217/errorcodes.py +15 -0
  166. tencentcloud/evt/v20250217/evt_client.py +49 -0
  167. tencentcloud/evt/v20250217/evt_client_async.py +44 -0
  168. tencentcloud/evt/v20250217/models.py +228 -0
  169. tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
  170. tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
  171. tencentcloud/faceid/v20180301/errorcodes.py +0 -6
  172. tencentcloud/faceid/v20180301/faceid_client.py +0 -23
  173. tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
  174. tencentcloud/faceid/v20180301/models.py +45 -195
  175. tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
  176. tencentcloud/ft/v20200304/ft_client_async.py +134 -0
  177. tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
  178. tencentcloud/gme/v20180711/gme_client_async.py +865 -0
  179. tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
  180. tencentcloud/gs/v20191118/gs_client.py +46 -0
  181. tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
  182. tencentcloud/gs/v20191118/models.py +227 -0
  183. tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
  184. tencentcloud/habo/v20181203/habo_client_async.py +62 -0
  185. tencentcloud/hai/v20230812/hai_client_async.py +316 -0
  186. tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
  187. tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
  188. tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
  189. tencentcloud/iai/v20180301/iai_client.py +0 -44
  190. tencentcloud/iai/v20180301/iai_client_async.py +728 -0
  191. tencentcloud/iai/v20180301/models.py +0 -171
  192. tencentcloud/iai/v20200303/iai_client.py +1 -35
  193. tencentcloud/iai/v20200303/iai_client_async.py +802 -0
  194. tencentcloud/iai/v20200303/models.py +0 -175
  195. tencentcloud/iap/v20240713/iap_client_async.py +134 -0
  196. tencentcloud/ic/v20190307/ic_client_async.py +193 -0
  197. tencentcloud/icr/v20211014/icr_client_async.py +44 -0
  198. tencentcloud/ie/v20200304/ie_client_async.py +206 -0
  199. tencentcloud/ig/v20210518/ig_client_async.py +44 -0
  200. tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
  201. tencentcloud/igtm/v20231024/models.py +110 -0
  202. tencentcloud/ims/v20200713/ims_client_async.py +60 -0
  203. tencentcloud/ims/v20201229/ims_client_async.py +132 -0
  204. tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
  205. tencentcloud/iot/v20180123/iot_client_async.py +838 -0
  206. tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
  207. tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
  208. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
  209. tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
  210. tencentcloud/iotexplorer/v20190423/models.py +1669 -337
  211. tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
  212. tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
  213. tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
  214. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
  215. tencentcloud/irp/v20220324/irp_client_async.py +98 -0
  216. tencentcloud/irp/v20220805/irp_client_async.py +152 -0
  217. tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
  218. tencentcloud/iss/v20230517/models.py +2 -2
  219. tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
  220. tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
  221. tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
  222. tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
  223. tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
  224. tencentcloud/live/v20180801/live_client.py +0 -25
  225. tencentcloud/live/v20180801/live_client_async.py +3758 -0
  226. tencentcloud/live/v20180801/models.py +0 -282
  227. tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
  228. tencentcloud/lke/v20231130/models.py +82 -0
  229. tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
  230. tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
  231. tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
  232. tencentcloud/mall/v20230518/mall_client_async.py +44 -0
  233. tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
  234. tencentcloud/market/v20191010/market_client_async.py +62 -0
  235. tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
  236. tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
  237. tencentcloud/mna/v20210119/mna_client_async.py +764 -0
  238. tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
  239. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  240. tencentcloud/mongodb/v20190725/models.py +390 -2
  241. tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
  242. tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
  243. tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
  244. tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
  245. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  246. tencentcloud/mps/v20190612/models.py +2329 -290
  247. tencentcloud/mps/v20190612/mps_client.py +232 -0
  248. tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
  249. tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
  250. tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
  251. tencentcloud/ms/v20180408/ms_client_async.py +450 -0
  252. tencentcloud/msp/v20180319/msp_client_async.py +154 -0
  253. tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
  254. tencentcloud/npp/v20190823/npp_client_async.py +170 -0
  255. tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
  256. tencentcloud/ocr/v20181119/models.py +232 -0
  257. tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
  258. tencentcloud/omics/v20221128/omics_client_async.py +386 -0
  259. tencentcloud/organization/v20181225/organization_client_async.py +386 -0
  260. tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
  261. tencentcloud/partners/v20180321/partners_client_async.py +444 -0
  262. tencentcloud/postgres/v20170312/errorcodes.py +6 -0
  263. tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
  264. tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
  265. tencentcloud/privatedns/v20201028/models.py +783 -17
  266. tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
  267. tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
  268. tencentcloud/pts/v20210728/pts_client_async.py +890 -0
  269. tencentcloud/rce/v20201103/rce_client_async.py +224 -0
  270. tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
  271. tencentcloud/region/v20220627/region_client_async.py +80 -0
  272. tencentcloud/rum/v20210622/rum_client_async.py +999 -0
  273. tencentcloud/scf/v20180416/errorcodes.py +6 -0
  274. tencentcloud/scf/v20180416/models.py +263 -0
  275. tencentcloud/scf/v20180416/scf_client_async.py +984 -0
  276. tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
  277. tencentcloud/ses/v20201002/ses_client_async.py +657 -0
  278. tencentcloud/smh/v20210712/smh_client_async.py +296 -0
  279. tencentcloud/smop/v20201203/smop_client_async.py +46 -0
  280. tencentcloud/sms/v20190711/sms_client_async.py +326 -0
  281. tencentcloud/sms/v20210111/sms_client_async.py +365 -0
  282. tencentcloud/soe/v20180724/soe_client_async.py +98 -0
  283. tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
  284. tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
  285. tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
  286. tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
  287. tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
  288. tencentcloud/sts/v20180813/sts_client_async.py +205 -0
  289. tencentcloud/svp/v20240125/svp_client_async.py +116 -0
  290. tencentcloud/taf/v20200210/taf_client_async.py +44 -0
  291. tencentcloud/tag/v20180813/tag_client_async.py +584 -0
  292. tencentcloud/tat/v20201028/tat_client_async.py +565 -0
  293. tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
  294. tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
  295. tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
  296. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
  297. tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
  298. tencentcloud/tcbr/v20220217/models.py +15 -0
  299. tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
  300. tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
  301. tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
  302. tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
  303. tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
  304. tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
  305. tencentcloud/tdai/v20250717/models.py +55 -10
  306. tencentcloud/tdai/v20250717/tdai_client.py +1 -1
  307. tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
  308. tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
  309. tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
  310. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  311. tencentcloud/tdmq/v20200217/models.py +636 -904
  312. tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
  313. tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
  314. tencentcloud/tds/v20220801/tds_client_async.py +116 -0
  315. tencentcloud/tem/v20201221/tem_client_async.py +332 -0
  316. tencentcloud/tem/v20210701/tem_client_async.py +949 -0
  317. tencentcloud/teo/v20220106/teo_client_async.py +120 -0
  318. tencentcloud/teo/v20220901/models.py +267 -4
  319. tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
  320. tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
  321. tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
  322. tencentcloud/thpc/v20230321/models.py +30 -0
  323. tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
  324. tencentcloud/tia/v20180226/tia_client_async.py +206 -0
  325. tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
  326. tencentcloud/tione/v20191022/tione_client_async.py +422 -0
  327. tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
  328. tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
  329. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  330. tencentcloud/tke/v20180525/models.py +3129 -288
  331. tencentcloud/tke/v20180525/tke_client.py +414 -0
  332. tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
  333. tencentcloud/tke/v20220501/tke_client_async.py +343 -0
  334. tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
  335. tencentcloud/tms/v20200713/tms_client_async.py +98 -0
  336. tencentcloud/tms/v20201229/tms_client_async.py +97 -0
  337. tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
  338. tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
  339. tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
  340. tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
  341. tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
  342. tencentcloud/trro/v20220325/trro_client_async.py +588 -0
  343. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  344. tencentcloud/trtc/v20190722/models.py +21 -6
  345. tencentcloud/trtc/v20190722/trtc_client.py +1 -0
  346. tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
  347. tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
  348. tencentcloud/tsf/v20180326/models.py +4 -4
  349. tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
  350. tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
  351. tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
  352. tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
  353. tencentcloud/tts/v20190823/tts_client_async.py +107 -0
  354. tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
  355. tencentcloud/vclm/v20240523/errorcodes.py +27 -0
  356. tencentcloud/vclm/v20240523/models.py +415 -16
  357. tencentcloud/vclm/v20240523/vclm_client.py +47 -0
  358. tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
  359. tencentcloud/vcube/v20220410/models.py +98 -0
  360. tencentcloud/vcube/v20220410/vcube_client.py +46 -0
  361. tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
  362. tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
  363. tencentcloud/vm/v20200709/vm_client_async.py +120 -0
  364. tencentcloud/vm/v20201229/vm_client_async.py +139 -0
  365. tencentcloud/vm/v20210922/models.py +2 -2
  366. tencentcloud/vm/v20210922/vm_client_async.py +148 -0
  367. tencentcloud/vms/v20200902/vms_client_async.py +62 -0
  368. tencentcloud/vod/v20180717/models.py +6 -2
  369. tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
  370. tencentcloud/vod/v20240718/vod_client_async.py +160 -0
  371. tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
  372. tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
  373. tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
  374. tencentcloud/waf/v20180125/models.py +3924 -0
  375. tencentcloud/waf/v20180125/waf_client.py +230 -0
  376. tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
  377. tencentcloud/wav/v20210129/wav_client_async.py +494 -0
  378. tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
  379. tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
  380. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
  381. tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
  382. tencentcloud/wss/v20180426/wss_client_async.py +80 -0
  383. tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
  384. tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
  385. tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
  386. tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
  387. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
  388. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
  389. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
  390. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
  391. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1683 @@
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.clb.v20180317 import models
20
+ from typing import Dict
21
+
22
+
23
+ class ClbClient(AbstractClient):
24
+ _apiVersion = '2018-03-17'
25
+ _endpoint = 'clb.tencentcloudapi.com'
26
+ _service = 'clb'
27
+
28
+ async def AssociateTargetGroups(
29
+ self,
30
+ request: models.AssociateTargetGroupsRequest,
31
+ opts: Dict = None,
32
+ ) -> models.AssociateTargetGroupsResponse:
33
+ """
34
+ 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
35
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
36
+ 限制说明:
37
+ - 四层监听器绑定旧版目标组需要监听器开启后端目标组。
38
+ - 七层绑定目标组,数据结构 TargetGroupAssociation 中 LocationId 为必填项。
39
+ - 负载均衡的 VPC 需要和目标组的 VPC 一致。
40
+ """
41
+
42
+ kwargs = {}
43
+ kwargs["action"] = "AssociateTargetGroups"
44
+ kwargs["params"] = request._serialize()
45
+ kwargs["resp_cls"] = models.AssociateTargetGroupsResponse
46
+ kwargs["headers"] = request.headers
47
+ kwargs["opts"] = opts or {}
48
+
49
+ return await self.call_and_deserialize(**kwargs)
50
+
51
+ async def AutoRewrite(
52
+ self,
53
+ request: models.AutoRewriteRequest,
54
+ opts: Dict = None,
55
+ ) -> models.AutoRewriteResponse:
56
+ """
57
+ 用户需要先创建出一个HTTPS:443监听器,并在其下创建转发规则。通过调用本接口,系统会自动创建出一个HTTP:80监听器(如果之前不存在),并在其下创建转发规则,与HTTPS:443监听器下的Domains(在入参中指定)对应。创建成功后可以通过HTTP:80地址自动跳转为HTTPS:443地址进行访问。
58
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
59
+ """
60
+
61
+ kwargs = {}
62
+ kwargs["action"] = "AutoRewrite"
63
+ kwargs["params"] = request._serialize()
64
+ kwargs["resp_cls"] = models.AutoRewriteResponse
65
+ kwargs["headers"] = request.headers
66
+ kwargs["opts"] = opts or {}
67
+
68
+ return await self.call_and_deserialize(**kwargs)
69
+
70
+ async def BatchDeregisterTargets(
71
+ self,
72
+ request: models.BatchDeregisterTargetsRequest,
73
+ opts: Dict = None,
74
+ ) -> models.BatchDeregisterTargetsResponse:
75
+ """
76
+ 批量解绑四七层后端服务。批量解绑的资源数量上限为500。只支持VPC网络负载均衡。
77
+ """
78
+
79
+ kwargs = {}
80
+ kwargs["action"] = "BatchDeregisterTargets"
81
+ kwargs["params"] = request._serialize()
82
+ kwargs["resp_cls"] = models.BatchDeregisterTargetsResponse
83
+ kwargs["headers"] = request.headers
84
+ kwargs["opts"] = opts or {}
85
+
86
+ return await self.call_and_deserialize(**kwargs)
87
+
88
+ async def BatchModifyTargetTag(
89
+ self,
90
+ request: models.BatchModifyTargetTagRequest,
91
+ opts: Dict = None,
92
+ ) -> models.BatchModifyTargetTagResponse:
93
+ """
94
+ BatchModifyTargetTag 接口用于批量修改负载均衡监听器绑定的后端机器的标签。批量修改的资源数量上限为500。本接口为同步接口。<br/>负载均衡的4层和7层监听器支持此接口,传统型负载均衡不支持。
95
+ """
96
+
97
+ kwargs = {}
98
+ kwargs["action"] = "BatchModifyTargetTag"
99
+ kwargs["params"] = request._serialize()
100
+ kwargs["resp_cls"] = models.BatchModifyTargetTagResponse
101
+ kwargs["headers"] = request.headers
102
+ kwargs["opts"] = opts or {}
103
+
104
+ return await self.call_and_deserialize(**kwargs)
105
+
106
+ async def BatchModifyTargetWeight(
107
+ self,
108
+ request: models.BatchModifyTargetWeightRequest,
109
+ opts: Dict = None,
110
+ ) -> models.BatchModifyTargetWeightResponse:
111
+ """
112
+ BatchModifyTargetWeight 接口用于批量修改负载均衡监听器绑定的后端机器的转发权重。批量修改的资源数量上限为500。本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。<br/>负载均衡的4层和7层监听器支持此接口,传统型负载均衡不支持。
113
+ """
114
+
115
+ kwargs = {}
116
+ kwargs["action"] = "BatchModifyTargetWeight"
117
+ kwargs["params"] = request._serialize()
118
+ kwargs["resp_cls"] = models.BatchModifyTargetWeightResponse
119
+ kwargs["headers"] = request.headers
120
+ kwargs["opts"] = opts or {}
121
+
122
+ return await self.call_and_deserialize(**kwargs)
123
+
124
+ async def BatchRegisterTargets(
125
+ self,
126
+ request: models.BatchRegisterTargetsRequest,
127
+ opts: Dict = None,
128
+ ) -> models.BatchRegisterTargetsResponse:
129
+ """
130
+ 批量绑定虚拟主机或弹性网卡,支持跨域绑定,支持四层、七层(TCP、UDP、HTTP、HTTPS)协议绑定。批量绑定的资源数量上限为500。只支持VPC网络负载均衡。
131
+ """
132
+
133
+ kwargs = {}
134
+ kwargs["action"] = "BatchRegisterTargets"
135
+ kwargs["params"] = request._serialize()
136
+ kwargs["resp_cls"] = models.BatchRegisterTargetsResponse
137
+ kwargs["headers"] = request.headers
138
+ kwargs["opts"] = opts or {}
139
+
140
+ return await self.call_and_deserialize(**kwargs)
141
+
142
+ async def CloneLoadBalancer(
143
+ self,
144
+ request: models.CloneLoadBalancerRequest,
145
+ opts: Dict = None,
146
+ ) -> models.CloneLoadBalancerResponse:
147
+ """
148
+ 克隆负载均衡实例,根据指定的负载均衡实例,复制出相同规则和绑定关系的负载均衡实例。克隆接口为异步操作,克隆的数据以调用CloneLoadBalancer时为准,如果调用CloneLoadBalancer后克隆CLB发生变化,变化规则不会克隆。
149
+
150
+ 注:查询实例创建状态可以根据返回值中的requestId访问[DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683)接口
151
+
152
+ 限制说明
153
+ 实例属性维度限制:
154
+ - 支持克隆实例计费模式为按量计费与包年包月的实例,包年包月实例克隆后的新实例网络计费模式会转换为按小时带宽计费,其带宽、规格与原实例设置保持一致。
155
+ - 不支持克隆未关联实例计费项的 CLB(历史免费活动创建)。
156
+ - 不支持克隆传统型负载均衡实例和高防 CLB。
157
+ - 不支持克隆基础网络类型的实例。
158
+ - 不支持克隆 Anycast 类型的实例。
159
+ - 不支持克隆 IPv6 NAT64 版本的实例。
160
+ - 不支持克隆被封禁或冻结的实例。
161
+ - 执行克隆操作前,请确保实例上没有使用已过期证书,否则会导致克隆失败。
162
+ 配额维度限制:
163
+ - 当实例的监听器个数超过 50 个时,不支持克隆。
164
+ - 当共享型实例的公网带宽上限超过 2G 时,不支持克隆。
165
+
166
+ 通过接口调用:
167
+ BGP带宽包必须传带宽包id
168
+ 独占集群克隆必须传对应的参数,否则按共享型创建
169
+ """
170
+
171
+ kwargs = {}
172
+ kwargs["action"] = "CloneLoadBalancer"
173
+ kwargs["params"] = request._serialize()
174
+ kwargs["resp_cls"] = models.CloneLoadBalancerResponse
175
+ kwargs["headers"] = request.headers
176
+ kwargs["opts"] = opts or {}
177
+
178
+ return await self.call_and_deserialize(**kwargs)
179
+
180
+ async def CreateClsLogSet(
181
+ self,
182
+ request: models.CreateClsLogSetRequest,
183
+ opts: Dict = None,
184
+ ) -> models.CreateClsLogSetResponse:
185
+ """
186
+ 创建CLB专有日志集,此日志集用于存储CLB的日志。
187
+ """
188
+
189
+ kwargs = {}
190
+ kwargs["action"] = "CreateClsLogSet"
191
+ kwargs["params"] = request._serialize()
192
+ kwargs["resp_cls"] = models.CreateClsLogSetResponse
193
+ kwargs["headers"] = request.headers
194
+ kwargs["opts"] = opts or {}
195
+
196
+ return await self.call_and_deserialize(**kwargs)
197
+
198
+ async def CreateListener(
199
+ self,
200
+ request: models.CreateListenerRequest,
201
+ opts: Dict = None,
202
+ ) -> models.CreateListenerResponse:
203
+ """
204
+ 在一个负载均衡实例下创建监听器。
205
+ 本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
206
+ """
207
+
208
+ kwargs = {}
209
+ kwargs["action"] = "CreateListener"
210
+ kwargs["params"] = request._serialize()
211
+ kwargs["resp_cls"] = models.CreateListenerResponse
212
+ kwargs["headers"] = request.headers
213
+ kwargs["opts"] = opts or {}
214
+
215
+ return await self.call_and_deserialize(**kwargs)
216
+
217
+ async def CreateLoadBalancer(
218
+ self,
219
+ request: models.CreateLoadBalancerRequest,
220
+ opts: Dict = None,
221
+ ) -> models.CreateLoadBalancerResponse:
222
+ """
223
+ 本接口(CreateLoadBalancer)用来创建负载均衡实例。为了使用负载均衡服务,您必须购买一个或多个负载均衡实例。成功调用该接口后,会返回负载均衡实例的唯一 ID。负载均衡实例的类型分为:公网、内网。详情可参考产品说明中的产品类型。
224
+ 注意:(1)可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域是否支持创建IPv6实例;(2)一个账号在每个地域的默认购买配额为:公网100个,内网100个。
225
+ 本接口为异步接口,接口成功返回后,可使用 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询负载均衡实例的状态(如创建中、正常),以确定是否创建成功。
226
+ """
227
+
228
+ kwargs = {}
229
+ kwargs["action"] = "CreateLoadBalancer"
230
+ kwargs["params"] = request._serialize()
231
+ kwargs["resp_cls"] = models.CreateLoadBalancerResponse
232
+ kwargs["headers"] = request.headers
233
+ kwargs["opts"] = opts or {}
234
+
235
+ return await self.call_and_deserialize(**kwargs)
236
+
237
+ async def CreateLoadBalancerSnatIps(
238
+ self,
239
+ request: models.CreateLoadBalancerSnatIpsRequest,
240
+ opts: Dict = None,
241
+ ) -> models.CreateLoadBalancerSnatIpsResponse:
242
+ """
243
+ 针对SnatPro负载均衡,这个接口用于添加SnatIp,如果负载均衡没有开启SnatPro,添加SnatIp后会自动开启。
244
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
245
+ """
246
+
247
+ kwargs = {}
248
+ kwargs["action"] = "CreateLoadBalancerSnatIps"
249
+ kwargs["params"] = request._serialize()
250
+ kwargs["resp_cls"] = models.CreateLoadBalancerSnatIpsResponse
251
+ kwargs["headers"] = request.headers
252
+ kwargs["opts"] = opts or {}
253
+
254
+ return await self.call_and_deserialize(**kwargs)
255
+
256
+ async def CreateRule(
257
+ self,
258
+ request: models.CreateRuleRequest,
259
+ opts: Dict = None,
260
+ ) -> models.CreateRuleResponse:
261
+ """
262
+ CreateRule 接口用于在一个已存在的负载均衡七层监听器下创建转发规则,七层监听器中,后端服务必须绑定到规则上而非监听器上。
263
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
264
+ """
265
+
266
+ kwargs = {}
267
+ kwargs["action"] = "CreateRule"
268
+ kwargs["params"] = request._serialize()
269
+ kwargs["resp_cls"] = models.CreateRuleResponse
270
+ kwargs["headers"] = request.headers
271
+ kwargs["opts"] = opts or {}
272
+
273
+ return await self.call_and_deserialize(**kwargs)
274
+
275
+ async def CreateTargetGroup(
276
+ self,
277
+ request: models.CreateTargetGroupRequest,
278
+ opts: Dict = None,
279
+ ) -> models.CreateTargetGroupResponse:
280
+ """
281
+ 创建目标组。该功能正在内测中,如需使用,请通过[工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1)。
282
+ """
283
+
284
+ kwargs = {}
285
+ kwargs["action"] = "CreateTargetGroup"
286
+ kwargs["params"] = request._serialize()
287
+ kwargs["resp_cls"] = models.CreateTargetGroupResponse
288
+ kwargs["headers"] = request.headers
289
+ kwargs["opts"] = opts or {}
290
+
291
+ return await self.call_and_deserialize(**kwargs)
292
+
293
+ async def CreateTopic(
294
+ self,
295
+ request: models.CreateTopicRequest,
296
+ opts: Dict = None,
297
+ ) -> models.CreateTopicResponse:
298
+ """
299
+ 创建主题,默认开启全文索引和键值索引。如果不存在CLB专有日志集,则创建失败。
300
+ """
301
+
302
+ kwargs = {}
303
+ kwargs["action"] = "CreateTopic"
304
+ kwargs["params"] = request._serialize()
305
+ kwargs["resp_cls"] = models.CreateTopicResponse
306
+ kwargs["headers"] = request.headers
307
+ kwargs["opts"] = opts or {}
308
+
309
+ return await self.call_and_deserialize(**kwargs)
310
+
311
+ async def DeleteListener(
312
+ self,
313
+ request: models.DeleteListenerRequest,
314
+ opts: Dict = None,
315
+ ) -> models.DeleteListenerResponse:
316
+ """
317
+ 本接口用来删除负载均衡实例下的监听器(四层和七层)。
318
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
319
+ """
320
+
321
+ kwargs = {}
322
+ kwargs["action"] = "DeleteListener"
323
+ kwargs["params"] = request._serialize()
324
+ kwargs["resp_cls"] = models.DeleteListenerResponse
325
+ kwargs["headers"] = request.headers
326
+ kwargs["opts"] = opts or {}
327
+
328
+ return await self.call_and_deserialize(**kwargs)
329
+
330
+ async def DeleteLoadBalancer(
331
+ self,
332
+ request: models.DeleteLoadBalancerRequest,
333
+ opts: Dict = None,
334
+ ) -> models.DeleteLoadBalancerResponse:
335
+ """
336
+ DeleteLoadBalancer 接口用以删除指定的一个或多个负载均衡实例。成功删除后,会把负载均衡实例下的监听器、转发规则一起删除,并把后端服务解绑。
337
+ 本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
338
+ """
339
+
340
+ kwargs = {}
341
+ kwargs["action"] = "DeleteLoadBalancer"
342
+ kwargs["params"] = request._serialize()
343
+ kwargs["resp_cls"] = models.DeleteLoadBalancerResponse
344
+ kwargs["headers"] = request.headers
345
+ kwargs["opts"] = opts or {}
346
+
347
+ return await self.call_and_deserialize(**kwargs)
348
+
349
+ async def DeleteLoadBalancerListeners(
350
+ self,
351
+ request: models.DeleteLoadBalancerListenersRequest,
352
+ opts: Dict = None,
353
+ ) -> models.DeleteLoadBalancerListenersResponse:
354
+ """
355
+ 该接口支持删除负载均衡的多个监听器。
356
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
357
+ """
358
+
359
+ kwargs = {}
360
+ kwargs["action"] = "DeleteLoadBalancerListeners"
361
+ kwargs["params"] = request._serialize()
362
+ kwargs["resp_cls"] = models.DeleteLoadBalancerListenersResponse
363
+ kwargs["headers"] = request.headers
364
+ kwargs["opts"] = opts or {}
365
+
366
+ return await self.call_and_deserialize(**kwargs)
367
+
368
+ async def DeleteLoadBalancerSnatIps(
369
+ self,
370
+ request: models.DeleteLoadBalancerSnatIpsRequest,
371
+ opts: Dict = None,
372
+ ) -> models.DeleteLoadBalancerSnatIpsResponse:
373
+ """
374
+ 这个接口用于删除SnatPro的负载均衡的SnatIp。
375
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
376
+ """
377
+
378
+ kwargs = {}
379
+ kwargs["action"] = "DeleteLoadBalancerSnatIps"
380
+ kwargs["params"] = request._serialize()
381
+ kwargs["resp_cls"] = models.DeleteLoadBalancerSnatIpsResponse
382
+ kwargs["headers"] = request.headers
383
+ kwargs["opts"] = opts or {}
384
+
385
+ return await self.call_and_deserialize(**kwargs)
386
+
387
+ async def DeleteRewrite(
388
+ self,
389
+ request: models.DeleteRewriteRequest,
390
+ opts: Dict = None,
391
+ ) -> models.DeleteRewriteResponse:
392
+ """
393
+ DeleteRewrite 接口支持删除指定转发规则之间的重定向关系。
394
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
395
+ """
396
+
397
+ kwargs = {}
398
+ kwargs["action"] = "DeleteRewrite"
399
+ kwargs["params"] = request._serialize()
400
+ kwargs["resp_cls"] = models.DeleteRewriteResponse
401
+ kwargs["headers"] = request.headers
402
+ kwargs["opts"] = opts or {}
403
+
404
+ return await self.call_and_deserialize(**kwargs)
405
+
406
+ async def DeleteRule(
407
+ self,
408
+ request: models.DeleteRuleRequest,
409
+ opts: Dict = None,
410
+ ) -> models.DeleteRuleResponse:
411
+ """
412
+ DeleteRule 接口用来删除负载均衡实例七层监听器下的转发规则。
413
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
414
+ """
415
+
416
+ kwargs = {}
417
+ kwargs["action"] = "DeleteRule"
418
+ kwargs["params"] = request._serialize()
419
+ kwargs["resp_cls"] = models.DeleteRuleResponse
420
+ kwargs["headers"] = request.headers
421
+ kwargs["opts"] = opts or {}
422
+
423
+ return await self.call_and_deserialize(**kwargs)
424
+
425
+ async def DeleteTargetGroups(
426
+ self,
427
+ request: models.DeleteTargetGroupsRequest,
428
+ opts: Dict = None,
429
+ ) -> models.DeleteTargetGroupsResponse:
430
+ """
431
+ 删除目标组,支持批量删除目标组,单次最多批量删除 20 个目标组。
432
+ """
433
+
434
+ kwargs = {}
435
+ kwargs["action"] = "DeleteTargetGroups"
436
+ kwargs["params"] = request._serialize()
437
+ kwargs["resp_cls"] = models.DeleteTargetGroupsResponse
438
+ kwargs["headers"] = request.headers
439
+ kwargs["opts"] = opts or {}
440
+
441
+ return await self.call_and_deserialize(**kwargs)
442
+
443
+ async def DeregisterFunctionTargets(
444
+ self,
445
+ request: models.DeregisterFunctionTargetsRequest,
446
+ opts: Dict = None,
447
+ ) -> models.DeregisterFunctionTargetsResponse:
448
+ """
449
+ DeregisterFunctionTargets 接口用来将一个云函数从负载均衡的转发规则上解绑,对于七层监听器,还需通过 LocationId 或 Domain+Url 指定转发规则。
450
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
451
+ <br/>限制说明:
452
+
453
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
454
+ - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
455
+ - 传统型负载均衡不支持绑定 SCF。
456
+ - 基础网络类型不支持绑定 SCF。
457
+ - CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。
458
+ - 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
459
+ - 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
460
+ - CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
461
+ """
462
+
463
+ kwargs = {}
464
+ kwargs["action"] = "DeregisterFunctionTargets"
465
+ kwargs["params"] = request._serialize()
466
+ kwargs["resp_cls"] = models.DeregisterFunctionTargetsResponse
467
+ kwargs["headers"] = request.headers
468
+ kwargs["opts"] = opts or {}
469
+
470
+ return await self.call_and_deserialize(**kwargs)
471
+
472
+ async def DeregisterTargetGroupInstances(
473
+ self,
474
+ request: models.DeregisterTargetGroupInstancesRequest,
475
+ opts: Dict = None,
476
+ ) -> models.DeregisterTargetGroupInstancesResponse:
477
+ """
478
+ 从目标组中解绑服务器。
479
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
480
+ """
481
+
482
+ kwargs = {}
483
+ kwargs["action"] = "DeregisterTargetGroupInstances"
484
+ kwargs["params"] = request._serialize()
485
+ kwargs["resp_cls"] = models.DeregisterTargetGroupInstancesResponse
486
+ kwargs["headers"] = request.headers
487
+ kwargs["opts"] = opts or {}
488
+
489
+ return await self.call_and_deserialize(**kwargs)
490
+
491
+ async def DeregisterTargets(
492
+ self,
493
+ request: models.DeregisterTargetsRequest,
494
+ opts: Dict = None,
495
+ ) -> models.DeregisterTargetsResponse:
496
+ """
497
+ DeregisterTargets 接口用来将一台或多台后端服务从负载均衡的监听器或转发规则上解绑,对于四层监听器,只需指定监听器ID即可,对于七层监听器,还需通过LocationId或Domain+Url指定转发规则。
498
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
499
+ """
500
+
501
+ kwargs = {}
502
+ kwargs["action"] = "DeregisterTargets"
503
+ kwargs["params"] = request._serialize()
504
+ kwargs["resp_cls"] = models.DeregisterTargetsResponse
505
+ kwargs["headers"] = request.headers
506
+ kwargs["opts"] = opts or {}
507
+
508
+ return await self.call_and_deserialize(**kwargs)
509
+
510
+ async def DeregisterTargetsFromClassicalLB(
511
+ self,
512
+ request: models.DeregisterTargetsFromClassicalLBRequest,
513
+ opts: Dict = None,
514
+ ) -> models.DeregisterTargetsFromClassicalLBResponse:
515
+ """
516
+ DeregisterTargetsFromClassicalLB 接口用于解绑负载均衡后端服务。本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
517
+ """
518
+
519
+ kwargs = {}
520
+ kwargs["action"] = "DeregisterTargetsFromClassicalLB"
521
+ kwargs["params"] = request._serialize()
522
+ kwargs["resp_cls"] = models.DeregisterTargetsFromClassicalLBResponse
523
+ kwargs["headers"] = request.headers
524
+ kwargs["opts"] = opts or {}
525
+
526
+ return await self.call_and_deserialize(**kwargs)
527
+
528
+ async def DescribeBlockIPList(
529
+ self,
530
+ request: models.DescribeBlockIPListRequest,
531
+ opts: Dict = None,
532
+ ) -> models.DescribeBlockIPListResponse:
533
+ """
534
+ 查询一个负载均衡所封禁的IP列表(黑名单)。(接口灰度中,如需使用请提工单)
535
+ """
536
+
537
+ kwargs = {}
538
+ kwargs["action"] = "DescribeBlockIPList"
539
+ kwargs["params"] = request._serialize()
540
+ kwargs["resp_cls"] = models.DescribeBlockIPListResponse
541
+ kwargs["headers"] = request.headers
542
+ kwargs["opts"] = opts or {}
543
+
544
+ return await self.call_and_deserialize(**kwargs)
545
+
546
+ async def DescribeBlockIPTask(
547
+ self,
548
+ request: models.DescribeBlockIPTaskRequest,
549
+ opts: Dict = None,
550
+ ) -> models.DescribeBlockIPTaskResponse:
551
+ """
552
+ 根据 ModifyBlockIPList 接口返回的异步任务的ID,查询封禁IP(黑名单)异步任务的执行状态。(接口灰度中,如需使用请提工单)
553
+ """
554
+
555
+ kwargs = {}
556
+ kwargs["action"] = "DescribeBlockIPTask"
557
+ kwargs["params"] = request._serialize()
558
+ kwargs["resp_cls"] = models.DescribeBlockIPTaskResponse
559
+ kwargs["headers"] = request.headers
560
+ kwargs["opts"] = opts or {}
561
+
562
+ return await self.call_and_deserialize(**kwargs)
563
+
564
+ async def DescribeClassicalLBByInstanceId(
565
+ self,
566
+ request: models.DescribeClassicalLBByInstanceIdRequest,
567
+ opts: Dict = None,
568
+ ) -> models.DescribeClassicalLBByInstanceIdResponse:
569
+ """
570
+ DescribeClassicalLBByInstanceId用于通过后端实例ID获取传统型负载均衡ID列表。
571
+ """
572
+
573
+ kwargs = {}
574
+ kwargs["action"] = "DescribeClassicalLBByInstanceId"
575
+ kwargs["params"] = request._serialize()
576
+ kwargs["resp_cls"] = models.DescribeClassicalLBByInstanceIdResponse
577
+ kwargs["headers"] = request.headers
578
+ kwargs["opts"] = opts or {}
579
+
580
+ return await self.call_and_deserialize(**kwargs)
581
+
582
+ async def DescribeClassicalLBHealthStatus(
583
+ self,
584
+ request: models.DescribeClassicalLBHealthStatusRequest,
585
+ opts: Dict = None,
586
+ ) -> models.DescribeClassicalLBHealthStatusResponse:
587
+ """
588
+ DescribeClassicalLBHealthStatus用于获取传统型负载均衡后端的健康状态
589
+ """
590
+
591
+ kwargs = {}
592
+ kwargs["action"] = "DescribeClassicalLBHealthStatus"
593
+ kwargs["params"] = request._serialize()
594
+ kwargs["resp_cls"] = models.DescribeClassicalLBHealthStatusResponse
595
+ kwargs["headers"] = request.headers
596
+ kwargs["opts"] = opts or {}
597
+
598
+ return await self.call_and_deserialize(**kwargs)
599
+
600
+ async def DescribeClassicalLBListeners(
601
+ self,
602
+ request: models.DescribeClassicalLBListenersRequest,
603
+ opts: Dict = None,
604
+ ) -> models.DescribeClassicalLBListenersResponse:
605
+ """
606
+ DescribeClassicalLBListeners 接口用于获取传统型负载均衡的监听器信息。
607
+ """
608
+
609
+ kwargs = {}
610
+ kwargs["action"] = "DescribeClassicalLBListeners"
611
+ kwargs["params"] = request._serialize()
612
+ kwargs["resp_cls"] = models.DescribeClassicalLBListenersResponse
613
+ kwargs["headers"] = request.headers
614
+ kwargs["opts"] = opts or {}
615
+
616
+ return await self.call_and_deserialize(**kwargs)
617
+
618
+ async def DescribeClassicalLBTargets(
619
+ self,
620
+ request: models.DescribeClassicalLBTargetsRequest,
621
+ opts: Dict = None,
622
+ ) -> models.DescribeClassicalLBTargetsResponse:
623
+ """
624
+ DescribeClassicalLBTargets用于获取传统型负载均衡绑定的后端服务。
625
+ """
626
+
627
+ kwargs = {}
628
+ kwargs["action"] = "DescribeClassicalLBTargets"
629
+ kwargs["params"] = request._serialize()
630
+ kwargs["resp_cls"] = models.DescribeClassicalLBTargetsResponse
631
+ kwargs["headers"] = request.headers
632
+ kwargs["opts"] = opts or {}
633
+
634
+ return await self.call_and_deserialize(**kwargs)
635
+
636
+ async def DescribeClsLogSet(
637
+ self,
638
+ request: models.DescribeClsLogSetRequest,
639
+ opts: Dict = None,
640
+ ) -> models.DescribeClsLogSetResponse:
641
+ """
642
+ 获取用户的CLB专有日志集。
643
+ """
644
+
645
+ kwargs = {}
646
+ kwargs["action"] = "DescribeClsLogSet"
647
+ kwargs["params"] = request._serialize()
648
+ kwargs["resp_cls"] = models.DescribeClsLogSetResponse
649
+ kwargs["headers"] = request.headers
650
+ kwargs["opts"] = opts or {}
651
+
652
+ return await self.call_and_deserialize(**kwargs)
653
+
654
+ async def DescribeClusterResources(
655
+ self,
656
+ request: models.DescribeClusterResourcesRequest,
657
+ opts: Dict = None,
658
+ ) -> models.DescribeClusterResourcesResponse:
659
+ """
660
+ 查询独占集群中的资源列表,支持按集群ID、VIP、负载均衡ID、是否闲置为过滤条件检索。
661
+ """
662
+
663
+ kwargs = {}
664
+ kwargs["action"] = "DescribeClusterResources"
665
+ kwargs["params"] = request._serialize()
666
+ kwargs["resp_cls"] = models.DescribeClusterResourcesResponse
667
+ kwargs["headers"] = request.headers
668
+ kwargs["opts"] = opts or {}
669
+
670
+ return await self.call_and_deserialize(**kwargs)
671
+
672
+ async def DescribeCrossTargets(
673
+ self,
674
+ request: models.DescribeCrossTargetsRequest,
675
+ opts: Dict = None,
676
+ ) -> models.DescribeCrossTargetsResponse:
677
+ """
678
+ 查询跨域2.0版本云联网后端子机和网卡信息。
679
+ """
680
+
681
+ kwargs = {}
682
+ kwargs["action"] = "DescribeCrossTargets"
683
+ kwargs["params"] = request._serialize()
684
+ kwargs["resp_cls"] = models.DescribeCrossTargetsResponse
685
+ kwargs["headers"] = request.headers
686
+ kwargs["opts"] = opts or {}
687
+
688
+ return await self.call_and_deserialize(**kwargs)
689
+
690
+ async def DescribeCustomizedConfigAssociateList(
691
+ self,
692
+ request: models.DescribeCustomizedConfigAssociateListRequest,
693
+ opts: Dict = None,
694
+ ) -> models.DescribeCustomizedConfigAssociateListResponse:
695
+ """
696
+ 拉取配置绑定的 server 或 location,如果 domain 存在,结果将根据 domain 过滤。或拉取配置绑定的 loadbalancer。
697
+ """
698
+
699
+ kwargs = {}
700
+ kwargs["action"] = "DescribeCustomizedConfigAssociateList"
701
+ kwargs["params"] = request._serialize()
702
+ kwargs["resp_cls"] = models.DescribeCustomizedConfigAssociateListResponse
703
+ kwargs["headers"] = request.headers
704
+ kwargs["opts"] = opts or {}
705
+
706
+ return await self.call_and_deserialize(**kwargs)
707
+
708
+ async def DescribeCustomizedConfigList(
709
+ self,
710
+ request: models.DescribeCustomizedConfigListRequest,
711
+ opts: Dict = None,
712
+ ) -> models.DescribeCustomizedConfigListResponse:
713
+ """
714
+ 拉取个性化配置列表,返回用户 AppId 下指定类型的配置。
715
+ """
716
+
717
+ kwargs = {}
718
+ kwargs["action"] = "DescribeCustomizedConfigList"
719
+ kwargs["params"] = request._serialize()
720
+ kwargs["resp_cls"] = models.DescribeCustomizedConfigListResponse
721
+ kwargs["headers"] = request.headers
722
+ kwargs["opts"] = opts or {}
723
+
724
+ return await self.call_and_deserialize(**kwargs)
725
+
726
+ async def DescribeExclusiveClusters(
727
+ self,
728
+ request: models.DescribeExclusiveClustersRequest,
729
+ opts: Dict = None,
730
+ ) -> models.DescribeExclusiveClustersResponse:
731
+ """
732
+ 查询集群信息列表,支持以集群类型、集群唯一ID、集群名字、集群标签、集群内vip、集群内负载均衡唯一id、集群网络类型、可用区等条件进行检索
733
+ """
734
+
735
+ kwargs = {}
736
+ kwargs["action"] = "DescribeExclusiveClusters"
737
+ kwargs["params"] = request._serialize()
738
+ kwargs["resp_cls"] = models.DescribeExclusiveClustersResponse
739
+ kwargs["headers"] = request.headers
740
+ kwargs["opts"] = opts or {}
741
+
742
+ return await self.call_and_deserialize(**kwargs)
743
+
744
+ async def DescribeIdleLoadBalancers(
745
+ self,
746
+ request: models.DescribeIdleLoadBalancersRequest,
747
+ opts: Dict = None,
748
+ ) -> models.DescribeIdleLoadBalancersResponse:
749
+ """
750
+ 闲置实例是指创建超过7天后付费实例,且没有创建规则或创建规则没有绑定子机的负载均衡实例。
751
+ """
752
+
753
+ kwargs = {}
754
+ kwargs["action"] = "DescribeIdleLoadBalancers"
755
+ kwargs["params"] = request._serialize()
756
+ kwargs["resp_cls"] = models.DescribeIdleLoadBalancersResponse
757
+ kwargs["headers"] = request.headers
758
+ kwargs["opts"] = opts or {}
759
+
760
+ return await self.call_and_deserialize(**kwargs)
761
+
762
+ async def DescribeLBListeners(
763
+ self,
764
+ request: models.DescribeLBListenersRequest,
765
+ opts: Dict = None,
766
+ ) -> models.DescribeLBListenersResponse:
767
+ """
768
+ 查询后端云主机或弹性网卡绑定的负载均衡,支持弹性网卡和cvm查询。
769
+ """
770
+
771
+ kwargs = {}
772
+ kwargs["action"] = "DescribeLBListeners"
773
+ kwargs["params"] = request._serialize()
774
+ kwargs["resp_cls"] = models.DescribeLBListenersResponse
775
+ kwargs["headers"] = request.headers
776
+ kwargs["opts"] = opts or {}
777
+
778
+ return await self.call_and_deserialize(**kwargs)
779
+
780
+ async def DescribeLBOperateProtect(
781
+ self,
782
+ request: models.DescribeLBOperateProtectRequest,
783
+ opts: Dict = None,
784
+ ) -> models.DescribeLBOperateProtectResponse:
785
+ """
786
+ 查询负载均衡的操作保护信息。
787
+ """
788
+
789
+ kwargs = {}
790
+ kwargs["action"] = "DescribeLBOperateProtect"
791
+ kwargs["params"] = request._serialize()
792
+ kwargs["resp_cls"] = models.DescribeLBOperateProtectResponse
793
+ kwargs["headers"] = request.headers
794
+ kwargs["opts"] = opts or {}
795
+
796
+ return await self.call_and_deserialize(**kwargs)
797
+
798
+ async def DescribeListeners(
799
+ self,
800
+ request: models.DescribeListenersRequest,
801
+ opts: Dict = None,
802
+ ) -> models.DescribeListenersResponse:
803
+ """
804
+ DescribeListeners 接口可根据负载均衡器 ID、监听器的协议或端口作为过滤条件获取监听器列表。如果不指定任何过滤条件,则返回该负载均衡实例下的所有监听器。
805
+ """
806
+
807
+ kwargs = {}
808
+ kwargs["action"] = "DescribeListeners"
809
+ kwargs["params"] = request._serialize()
810
+ kwargs["resp_cls"] = models.DescribeListenersResponse
811
+ kwargs["headers"] = request.headers
812
+ kwargs["opts"] = opts or {}
813
+
814
+ return await self.call_and_deserialize(**kwargs)
815
+
816
+ async def DescribeLoadBalancerListByCertId(
817
+ self,
818
+ request: models.DescribeLoadBalancerListByCertIdRequest,
819
+ opts: Dict = None,
820
+ ) -> models.DescribeLoadBalancerListByCertIdResponse:
821
+ """
822
+ 根据证书ID查询其在一个地域中所关联到负载均衡实例列表
823
+ """
824
+
825
+ kwargs = {}
826
+ kwargs["action"] = "DescribeLoadBalancerListByCertId"
827
+ kwargs["params"] = request._serialize()
828
+ kwargs["resp_cls"] = models.DescribeLoadBalancerListByCertIdResponse
829
+ kwargs["headers"] = request.headers
830
+ kwargs["opts"] = opts or {}
831
+
832
+ return await self.call_and_deserialize(**kwargs)
833
+
834
+ async def DescribeLoadBalancerOverview(
835
+ self,
836
+ request: models.DescribeLoadBalancerOverviewRequest,
837
+ opts: Dict = None,
838
+ ) -> models.DescribeLoadBalancerOverviewResponse:
839
+ """
840
+ 查询运行中、隔离中、即将到期和负载均衡总数。
841
+ """
842
+
843
+ kwargs = {}
844
+ kwargs["action"] = "DescribeLoadBalancerOverview"
845
+ kwargs["params"] = request._serialize()
846
+ kwargs["resp_cls"] = models.DescribeLoadBalancerOverviewResponse
847
+ kwargs["headers"] = request.headers
848
+ kwargs["opts"] = opts or {}
849
+
850
+ return await self.call_and_deserialize(**kwargs)
851
+
852
+ async def DescribeLoadBalancerTraffic(
853
+ self,
854
+ request: models.DescribeLoadBalancerTrafficRequest,
855
+ opts: Dict = None,
856
+ ) -> models.DescribeLoadBalancerTrafficResponse:
857
+ """
858
+ 查询账号下的高流量负载均衡,返回前10个负载均衡。如果是子账号登录,只返回子账号有权限的负载均衡。
859
+ """
860
+
861
+ kwargs = {}
862
+ kwargs["action"] = "DescribeLoadBalancerTraffic"
863
+ kwargs["params"] = request._serialize()
864
+ kwargs["resp_cls"] = models.DescribeLoadBalancerTrafficResponse
865
+ kwargs["headers"] = request.headers
866
+ kwargs["opts"] = opts or {}
867
+
868
+ return await self.call_and_deserialize(**kwargs)
869
+
870
+ async def DescribeLoadBalancers(
871
+ self,
872
+ request: models.DescribeLoadBalancersRequest,
873
+ opts: Dict = None,
874
+ ) -> models.DescribeLoadBalancersResponse:
875
+ """
876
+ 查询一个地域的负载均衡实例列表。
877
+ """
878
+
879
+ kwargs = {}
880
+ kwargs["action"] = "DescribeLoadBalancers"
881
+ kwargs["params"] = request._serialize()
882
+ kwargs["resp_cls"] = models.DescribeLoadBalancersResponse
883
+ kwargs["headers"] = request.headers
884
+ kwargs["opts"] = opts or {}
885
+
886
+ return await self.call_and_deserialize(**kwargs)
887
+
888
+ async def DescribeLoadBalancersDetail(
889
+ self,
890
+ request: models.DescribeLoadBalancersDetailRequest,
891
+ opts: Dict = None,
892
+ ) -> models.DescribeLoadBalancersDetailResponse:
893
+ """
894
+ 查询负载均衡的详细信息,包括监听器,规则及后端目标。
895
+ """
896
+
897
+ kwargs = {}
898
+ kwargs["action"] = "DescribeLoadBalancersDetail"
899
+ kwargs["params"] = request._serialize()
900
+ kwargs["resp_cls"] = models.DescribeLoadBalancersDetailResponse
901
+ kwargs["headers"] = request.headers
902
+ kwargs["opts"] = opts or {}
903
+
904
+ return await self.call_and_deserialize(**kwargs)
905
+
906
+ async def DescribeQuota(
907
+ self,
908
+ request: models.DescribeQuotaRequest,
909
+ opts: Dict = None,
910
+ ) -> models.DescribeQuotaResponse:
911
+ """
912
+ 查询用户当前地域下的各项配额
913
+ """
914
+
915
+ kwargs = {}
916
+ kwargs["action"] = "DescribeQuota"
917
+ kwargs["params"] = request._serialize()
918
+ kwargs["resp_cls"] = models.DescribeQuotaResponse
919
+ kwargs["headers"] = request.headers
920
+ kwargs["opts"] = opts or {}
921
+
922
+ return await self.call_and_deserialize(**kwargs)
923
+
924
+ async def DescribeResources(
925
+ self,
926
+ request: models.DescribeResourcesRequest,
927
+ opts: Dict = None,
928
+ ) -> models.DescribeResourcesResponse:
929
+ """
930
+ 查询用户在当前地域支持可用区列表和资源列表。
931
+ """
932
+
933
+ kwargs = {}
934
+ kwargs["action"] = "DescribeResources"
935
+ kwargs["params"] = request._serialize()
936
+ kwargs["resp_cls"] = models.DescribeResourcesResponse
937
+ kwargs["headers"] = request.headers
938
+ kwargs["opts"] = opts or {}
939
+
940
+ return await self.call_and_deserialize(**kwargs)
941
+
942
+ async def DescribeRewrite(
943
+ self,
944
+ request: models.DescribeRewriteRequest,
945
+ opts: Dict = None,
946
+ ) -> models.DescribeRewriteResponse:
947
+ """
948
+ DescribeRewrite 接口可根据负载均衡实例ID,查询一个负载均衡实例下转发规则的重定向关系。如果不指定监听器ID或转发规则ID,则返回该负载均衡实例下的所有重定向关系。
949
+ """
950
+
951
+ kwargs = {}
952
+ kwargs["action"] = "DescribeRewrite"
953
+ kwargs["params"] = request._serialize()
954
+ kwargs["resp_cls"] = models.DescribeRewriteResponse
955
+ kwargs["headers"] = request.headers
956
+ kwargs["opts"] = opts or {}
957
+
958
+ return await self.call_and_deserialize(**kwargs)
959
+
960
+ async def DescribeTargetGroupInstances(
961
+ self,
962
+ request: models.DescribeTargetGroupInstancesRequest,
963
+ opts: Dict = None,
964
+ ) -> models.DescribeTargetGroupInstancesResponse:
965
+ """
966
+ 获取目标组绑定的服务器信息
967
+ """
968
+
969
+ kwargs = {}
970
+ kwargs["action"] = "DescribeTargetGroupInstances"
971
+ kwargs["params"] = request._serialize()
972
+ kwargs["resp_cls"] = models.DescribeTargetGroupInstancesResponse
973
+ kwargs["headers"] = request.headers
974
+ kwargs["opts"] = opts or {}
975
+
976
+ return await self.call_and_deserialize(**kwargs)
977
+
978
+ async def DescribeTargetGroupList(
979
+ self,
980
+ request: models.DescribeTargetGroupListRequest,
981
+ opts: Dict = None,
982
+ ) -> models.DescribeTargetGroupListResponse:
983
+ """
984
+ 获取目标组列表
985
+ """
986
+
987
+ kwargs = {}
988
+ kwargs["action"] = "DescribeTargetGroupList"
989
+ kwargs["params"] = request._serialize()
990
+ kwargs["resp_cls"] = models.DescribeTargetGroupListResponse
991
+ kwargs["headers"] = request.headers
992
+ kwargs["opts"] = opts or {}
993
+
994
+ return await self.call_and_deserialize(**kwargs)
995
+
996
+ async def DescribeTargetGroups(
997
+ self,
998
+ request: models.DescribeTargetGroupsRequest,
999
+ opts: Dict = None,
1000
+ ) -> models.DescribeTargetGroupsResponse:
1001
+ """
1002
+ 查询目标组信息
1003
+ """
1004
+
1005
+ kwargs = {}
1006
+ kwargs["action"] = "DescribeTargetGroups"
1007
+ kwargs["params"] = request._serialize()
1008
+ kwargs["resp_cls"] = models.DescribeTargetGroupsResponse
1009
+ kwargs["headers"] = request.headers
1010
+ kwargs["opts"] = opts or {}
1011
+
1012
+ return await self.call_and_deserialize(**kwargs)
1013
+
1014
+ async def DescribeTargetHealth(
1015
+ self,
1016
+ request: models.DescribeTargetHealthRequest,
1017
+ opts: Dict = None,
1018
+ ) -> models.DescribeTargetHealthResponse:
1019
+ """
1020
+ DescribeTargetHealth 接口用来获取负载均衡后端服务的健康检查结果,不支持传统型负载均衡。
1021
+ """
1022
+
1023
+ kwargs = {}
1024
+ kwargs["action"] = "DescribeTargetHealth"
1025
+ kwargs["params"] = request._serialize()
1026
+ kwargs["resp_cls"] = models.DescribeTargetHealthResponse
1027
+ kwargs["headers"] = request.headers
1028
+ kwargs["opts"] = opts or {}
1029
+
1030
+ return await self.call_and_deserialize(**kwargs)
1031
+
1032
+ async def DescribeTargets(
1033
+ self,
1034
+ request: models.DescribeTargetsRequest,
1035
+ opts: Dict = None,
1036
+ ) -> models.DescribeTargetsResponse:
1037
+ """
1038
+ DescribeTargets 接口用来查询负载均衡实例的某些监听器绑定的后端服务列表。
1039
+ """
1040
+
1041
+ kwargs = {}
1042
+ kwargs["action"] = "DescribeTargets"
1043
+ kwargs["params"] = request._serialize()
1044
+ kwargs["resp_cls"] = models.DescribeTargetsResponse
1045
+ kwargs["headers"] = request.headers
1046
+ kwargs["opts"] = opts or {}
1047
+
1048
+ return await self.call_and_deserialize(**kwargs)
1049
+
1050
+ async def DescribeTaskStatus(
1051
+ self,
1052
+ request: models.DescribeTaskStatusRequest,
1053
+ opts: Dict = None,
1054
+ ) -> models.DescribeTaskStatusResponse:
1055
+ """
1056
+ 本接口用于查询异步任务的执行状态,对于非查询类的接口(创建/删除负载均衡实例、监听器、规则以及绑定或解绑后端服务等),在接口调用成功后,都需要使用本接口查询任务最终是否执行成功。
1057
+ """
1058
+
1059
+ kwargs = {}
1060
+ kwargs["action"] = "DescribeTaskStatus"
1061
+ kwargs["params"] = request._serialize()
1062
+ kwargs["resp_cls"] = models.DescribeTaskStatusResponse
1063
+ kwargs["headers"] = request.headers
1064
+ kwargs["opts"] = opts or {}
1065
+
1066
+ return await self.call_and_deserialize(**kwargs)
1067
+
1068
+ async def DisassociateTargetGroups(
1069
+ self,
1070
+ request: models.DisassociateTargetGroupsRequest,
1071
+ opts: Dict = None,
1072
+ ) -> models.DisassociateTargetGroupsResponse:
1073
+ """
1074
+ 解除规则的目标组关联关系。
1075
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1076
+ 当解绑七层转发规则时,LocationId 为必填项。
1077
+ """
1078
+
1079
+ kwargs = {}
1080
+ kwargs["action"] = "DisassociateTargetGroups"
1081
+ kwargs["params"] = request._serialize()
1082
+ kwargs["resp_cls"] = models.DisassociateTargetGroupsResponse
1083
+ kwargs["headers"] = request.headers
1084
+ kwargs["opts"] = opts or {}
1085
+
1086
+ return await self.call_and_deserialize(**kwargs)
1087
+
1088
+ async def InquiryPriceCreateLoadBalancer(
1089
+ self,
1090
+ request: models.InquiryPriceCreateLoadBalancerRequest,
1091
+ opts: Dict = None,
1092
+ ) -> models.InquiryPriceCreateLoadBalancerResponse:
1093
+ """
1094
+ InquiryPriceCreateLoadBalancer接口查询创建负载均衡的价格。
1095
+ """
1096
+
1097
+ kwargs = {}
1098
+ kwargs["action"] = "InquiryPriceCreateLoadBalancer"
1099
+ kwargs["params"] = request._serialize()
1100
+ kwargs["resp_cls"] = models.InquiryPriceCreateLoadBalancerResponse
1101
+ kwargs["headers"] = request.headers
1102
+ kwargs["opts"] = opts or {}
1103
+
1104
+ return await self.call_and_deserialize(**kwargs)
1105
+
1106
+ async def InquiryPriceModifyLoadBalancer(
1107
+ self,
1108
+ request: models.InquiryPriceModifyLoadBalancerRequest,
1109
+ opts: Dict = None,
1110
+ ) -> models.InquiryPriceModifyLoadBalancerResponse:
1111
+ """
1112
+ InquiryPriceModifyLoadBalancer接口修改负载均衡配置询价。
1113
+ """
1114
+
1115
+ kwargs = {}
1116
+ kwargs["action"] = "InquiryPriceModifyLoadBalancer"
1117
+ kwargs["params"] = request._serialize()
1118
+ kwargs["resp_cls"] = models.InquiryPriceModifyLoadBalancerResponse
1119
+ kwargs["headers"] = request.headers
1120
+ kwargs["opts"] = opts or {}
1121
+
1122
+ return await self.call_and_deserialize(**kwargs)
1123
+
1124
+ async def InquiryPriceRefundLoadBalancer(
1125
+ self,
1126
+ request: models.InquiryPriceRefundLoadBalancerRequest,
1127
+ opts: Dict = None,
1128
+ ) -> models.InquiryPriceRefundLoadBalancerResponse:
1129
+ """
1130
+ InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格,只支持预付费类型的负载均衡实例。
1131
+ """
1132
+
1133
+ kwargs = {}
1134
+ kwargs["action"] = "InquiryPriceRefundLoadBalancer"
1135
+ kwargs["params"] = request._serialize()
1136
+ kwargs["resp_cls"] = models.InquiryPriceRefundLoadBalancerResponse
1137
+ kwargs["headers"] = request.headers
1138
+ kwargs["opts"] = opts or {}
1139
+
1140
+ return await self.call_and_deserialize(**kwargs)
1141
+
1142
+ async def InquiryPriceRenewLoadBalancer(
1143
+ self,
1144
+ request: models.InquiryPriceRenewLoadBalancerRequest,
1145
+ opts: Dict = None,
1146
+ ) -> models.InquiryPriceRenewLoadBalancerResponse:
1147
+ """
1148
+ InquiryPriceRenewLoadBalancer接口查询对负载均衡续费的价格,只支持预付费负载均衡续费。
1149
+ """
1150
+
1151
+ kwargs = {}
1152
+ kwargs["action"] = "InquiryPriceRenewLoadBalancer"
1153
+ kwargs["params"] = request._serialize()
1154
+ kwargs["resp_cls"] = models.InquiryPriceRenewLoadBalancerResponse
1155
+ kwargs["headers"] = request.headers
1156
+ kwargs["opts"] = opts or {}
1157
+
1158
+ return await self.call_and_deserialize(**kwargs)
1159
+
1160
+ async def ManualRewrite(
1161
+ self,
1162
+ request: models.ManualRewriteRequest,
1163
+ opts: Dict = None,
1164
+ ) -> models.ManualRewriteResponse:
1165
+ """
1166
+ 用户手动配置原访问地址和重定向地址,系统自动将原访问地址的请求重定向至对应路径的目的地址。同一域名下可以配置多条路径作为重定向策略,实现http/https之间请求的自动跳转。设置重定向时,需满足如下约束条件:若A已经重定向至B,则A不能再重定向至C(除非先删除老的重定向关系,再建立新的重定向关系),B不能重定向至任何其它地址。
1167
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
1168
+ """
1169
+
1170
+ kwargs = {}
1171
+ kwargs["action"] = "ManualRewrite"
1172
+ kwargs["params"] = request._serialize()
1173
+ kwargs["resp_cls"] = models.ManualRewriteResponse
1174
+ kwargs["headers"] = request.headers
1175
+ kwargs["opts"] = opts or {}
1176
+
1177
+ return await self.call_and_deserialize(**kwargs)
1178
+
1179
+ async def MigrateClassicalLoadBalancers(
1180
+ self,
1181
+ request: models.MigrateClassicalLoadBalancersRequest,
1182
+ opts: Dict = None,
1183
+ ) -> models.MigrateClassicalLoadBalancersResponse:
1184
+ """
1185
+ 本接口将传统型负载均衡迁移成(原应用型)负载均衡
1186
+ 本接口为异步接口,接口成功返回后,可使用 DescribeLoadBalancers 接口查询负载均衡实例的状态(如创建中、正常),以确定是否创建成功。
1187
+ """
1188
+
1189
+ kwargs = {}
1190
+ kwargs["action"] = "MigrateClassicalLoadBalancers"
1191
+ kwargs["params"] = request._serialize()
1192
+ kwargs["resp_cls"] = models.MigrateClassicalLoadBalancersResponse
1193
+ kwargs["headers"] = request.headers
1194
+ kwargs["opts"] = opts or {}
1195
+
1196
+ return await self.call_and_deserialize(**kwargs)
1197
+
1198
+ async def ModifyBlockIPList(
1199
+ self,
1200
+ request: models.ModifyBlockIPListRequest,
1201
+ opts: Dict = None,
1202
+ ) -> models.ModifyBlockIPListResponse:
1203
+ """
1204
+ 修改负载均衡的IP(client IP)封禁黑名单列表,一个转发规则最多支持封禁 2000000 个IP,及黑名单容量为 2000000。
1205
+ (接口灰度中,如需使用请提工单)
1206
+ """
1207
+
1208
+ kwargs = {}
1209
+ kwargs["action"] = "ModifyBlockIPList"
1210
+ kwargs["params"] = request._serialize()
1211
+ kwargs["resp_cls"] = models.ModifyBlockIPListResponse
1212
+ kwargs["headers"] = request.headers
1213
+ kwargs["opts"] = opts or {}
1214
+
1215
+ return await self.call_and_deserialize(**kwargs)
1216
+
1217
+ async def ModifyDomain(
1218
+ self,
1219
+ request: models.ModifyDomainRequest,
1220
+ opts: Dict = None,
1221
+ ) -> models.ModifyDomainResponse:
1222
+ """
1223
+ ModifyDomain接口用来修改负载均衡七层监听器下的域名。
1224
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1225
+ """
1226
+
1227
+ kwargs = {}
1228
+ kwargs["action"] = "ModifyDomain"
1229
+ kwargs["params"] = request._serialize()
1230
+ kwargs["resp_cls"] = models.ModifyDomainResponse
1231
+ kwargs["headers"] = request.headers
1232
+ kwargs["opts"] = opts or {}
1233
+
1234
+ return await self.call_and_deserialize(**kwargs)
1235
+
1236
+ async def ModifyDomainAttributes(
1237
+ self,
1238
+ request: models.ModifyDomainAttributesRequest,
1239
+ opts: Dict = None,
1240
+ ) -> models.ModifyDomainAttributesResponse:
1241
+ """
1242
+ ModifyDomainAttributes接口用于修改负载均衡7层监听器转发规则的域名级别属性,如修改域名、修改DefaultServer、开启/关闭Http2、修改证书
1243
+ 本接口为异步接口,本接口返回成功后,需以返回的RequestId为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1244
+ """
1245
+
1246
+ kwargs = {}
1247
+ kwargs["action"] = "ModifyDomainAttributes"
1248
+ kwargs["params"] = request._serialize()
1249
+ kwargs["resp_cls"] = models.ModifyDomainAttributesResponse
1250
+ kwargs["headers"] = request.headers
1251
+ kwargs["opts"] = opts or {}
1252
+
1253
+ return await self.call_and_deserialize(**kwargs)
1254
+
1255
+ async def ModifyFunctionTargets(
1256
+ self,
1257
+ request: models.ModifyFunctionTargetsRequest,
1258
+ opts: Dict = None,
1259
+ ) -> models.ModifyFunctionTargetsResponse:
1260
+ """
1261
+ 修改负载均衡转发规则上所绑定的云函数。
1262
+ 限制说明:
1263
+ - 仅支持绑定“Event 函数”类型的云函数。
1264
+ """
1265
+
1266
+ kwargs = {}
1267
+ kwargs["action"] = "ModifyFunctionTargets"
1268
+ kwargs["params"] = request._serialize()
1269
+ kwargs["resp_cls"] = models.ModifyFunctionTargetsResponse
1270
+ kwargs["headers"] = request.headers
1271
+ kwargs["opts"] = opts or {}
1272
+
1273
+ return await self.call_and_deserialize(**kwargs)
1274
+
1275
+ async def ModifyListener(
1276
+ self,
1277
+ request: models.ModifyListenerRequest,
1278
+ opts: Dict = None,
1279
+ ) -> models.ModifyListenerResponse:
1280
+ """
1281
+ ModifyListener接口用来修改负载均衡监听器的属性,包括监听器名称、健康检查参数、证书信息、转发策略等。本接口不支持传统型负载均衡。
1282
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1283
+ """
1284
+
1285
+ kwargs = {}
1286
+ kwargs["action"] = "ModifyListener"
1287
+ kwargs["params"] = request._serialize()
1288
+ kwargs["resp_cls"] = models.ModifyListenerResponse
1289
+ kwargs["headers"] = request.headers
1290
+ kwargs["opts"] = opts or {}
1291
+
1292
+ return await self.call_and_deserialize(**kwargs)
1293
+
1294
+ async def ModifyLoadBalancerAttributes(
1295
+ self,
1296
+ request: models.ModifyLoadBalancerAttributesRequest,
1297
+ opts: Dict = None,
1298
+ ) -> models.ModifyLoadBalancerAttributesResponse:
1299
+ """
1300
+ 修改负载均衡实例的属性。支持修改负载均衡实例的名称、设置负载均衡的跨域属性。
1301
+ 注意:非带宽上移用户的 CLB 实例必须加入带宽包才可以设置跨域属性。修改网络计费模式请到控制台操作。
1302
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1303
+ """
1304
+
1305
+ kwargs = {}
1306
+ kwargs["action"] = "ModifyLoadBalancerAttributes"
1307
+ kwargs["params"] = request._serialize()
1308
+ kwargs["resp_cls"] = models.ModifyLoadBalancerAttributesResponse
1309
+ kwargs["headers"] = request.headers
1310
+ kwargs["opts"] = opts or {}
1311
+
1312
+ return await self.call_and_deserialize(**kwargs)
1313
+
1314
+ async def ModifyLoadBalancerMixIpTarget(
1315
+ self,
1316
+ request: models.ModifyLoadBalancerMixIpTargetRequest,
1317
+ opts: Dict = None,
1318
+ ) -> models.ModifyLoadBalancerMixIpTargetResponse:
1319
+ """
1320
+ 修改IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标特性。
1321
+ """
1322
+
1323
+ kwargs = {}
1324
+ kwargs["action"] = "ModifyLoadBalancerMixIpTarget"
1325
+ kwargs["params"] = request._serialize()
1326
+ kwargs["resp_cls"] = models.ModifyLoadBalancerMixIpTargetResponse
1327
+ kwargs["headers"] = request.headers
1328
+ kwargs["opts"] = opts or {}
1329
+
1330
+ return await self.call_and_deserialize(**kwargs)
1331
+
1332
+ async def ModifyLoadBalancerSla(
1333
+ self,
1334
+ request: models.ModifyLoadBalancerSlaRequest,
1335
+ opts: Dict = None,
1336
+ ) -> models.ModifyLoadBalancerSlaResponse:
1337
+ """
1338
+ 本接口(ModifyLoadBalancerSla)用于调整按量计费模式实例的性能容量型规格,如共享型升级性能容量型,性能容量型实例规格调整。<br/>
1339
+ 限制条件:
1340
+ - 本接口只支持调整按量计费的CLB实例,包年包月的CLB实例升级请通过控制台进行调整。
1341
+ - 共享型升级为性能容量型实例后,不支持再回退到共享型实例。
1342
+ - 传统型负载均衡实例不支持升级为性能容量型实例。
1343
+ """
1344
+
1345
+ kwargs = {}
1346
+ kwargs["action"] = "ModifyLoadBalancerSla"
1347
+ kwargs["params"] = request._serialize()
1348
+ kwargs["resp_cls"] = models.ModifyLoadBalancerSlaResponse
1349
+ kwargs["headers"] = request.headers
1350
+ kwargs["opts"] = opts or {}
1351
+
1352
+ return await self.call_and_deserialize(**kwargs)
1353
+
1354
+ async def ModifyLoadBalancersProject(
1355
+ self,
1356
+ request: models.ModifyLoadBalancersProjectRequest,
1357
+ opts: Dict = None,
1358
+ ) -> models.ModifyLoadBalancersProjectResponse:
1359
+ """
1360
+ 修改一个或多个负载均衡实例所属项目。
1361
+ """
1362
+
1363
+ kwargs = {}
1364
+ kwargs["action"] = "ModifyLoadBalancersProject"
1365
+ kwargs["params"] = request._serialize()
1366
+ kwargs["resp_cls"] = models.ModifyLoadBalancersProjectResponse
1367
+ kwargs["headers"] = request.headers
1368
+ kwargs["opts"] = opts or {}
1369
+
1370
+ return await self.call_and_deserialize(**kwargs)
1371
+
1372
+ async def ModifyRule(
1373
+ self,
1374
+ request: models.ModifyRuleRequest,
1375
+ opts: Dict = None,
1376
+ ) -> models.ModifyRuleResponse:
1377
+ """
1378
+ ModifyRule 接口用来修改负载均衡七层监听器下的转发规则的各项属性,包括转发路径、健康检查属性、转发策略等。
1379
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1380
+ """
1381
+
1382
+ kwargs = {}
1383
+ kwargs["action"] = "ModifyRule"
1384
+ kwargs["params"] = request._serialize()
1385
+ kwargs["resp_cls"] = models.ModifyRuleResponse
1386
+ kwargs["headers"] = request.headers
1387
+ kwargs["opts"] = opts or {}
1388
+
1389
+ return await self.call_and_deserialize(**kwargs)
1390
+
1391
+ async def ModifyTargetGroupAttribute(
1392
+ self,
1393
+ request: models.ModifyTargetGroupAttributeRequest,
1394
+ opts: Dict = None,
1395
+ ) -> models.ModifyTargetGroupAttributeResponse:
1396
+ """
1397
+ 修改目标组的名称或者默认端口属性
1398
+ """
1399
+
1400
+ kwargs = {}
1401
+ kwargs["action"] = "ModifyTargetGroupAttribute"
1402
+ kwargs["params"] = request._serialize()
1403
+ kwargs["resp_cls"] = models.ModifyTargetGroupAttributeResponse
1404
+ kwargs["headers"] = request.headers
1405
+ kwargs["opts"] = opts or {}
1406
+
1407
+ return await self.call_and_deserialize(**kwargs)
1408
+
1409
+ async def ModifyTargetGroupInstancesPort(
1410
+ self,
1411
+ request: models.ModifyTargetGroupInstancesPortRequest,
1412
+ opts: Dict = None,
1413
+ ) -> models.ModifyTargetGroupInstancesPortResponse:
1414
+ """
1415
+ 批量修改目标组服务器端口。
1416
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1417
+ """
1418
+
1419
+ kwargs = {}
1420
+ kwargs["action"] = "ModifyTargetGroupInstancesPort"
1421
+ kwargs["params"] = request._serialize()
1422
+ kwargs["resp_cls"] = models.ModifyTargetGroupInstancesPortResponse
1423
+ kwargs["headers"] = request.headers
1424
+ kwargs["opts"] = opts or {}
1425
+
1426
+ return await self.call_and_deserialize(**kwargs)
1427
+
1428
+ async def ModifyTargetGroupInstancesWeight(
1429
+ self,
1430
+ request: models.ModifyTargetGroupInstancesWeightRequest,
1431
+ opts: Dict = None,
1432
+ ) -> models.ModifyTargetGroupInstancesWeightResponse:
1433
+ """
1434
+ 批量修改目标组的服务器权重。
1435
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1436
+ """
1437
+
1438
+ kwargs = {}
1439
+ kwargs["action"] = "ModifyTargetGroupInstancesWeight"
1440
+ kwargs["params"] = request._serialize()
1441
+ kwargs["resp_cls"] = models.ModifyTargetGroupInstancesWeightResponse
1442
+ kwargs["headers"] = request.headers
1443
+ kwargs["opts"] = opts or {}
1444
+
1445
+ return await self.call_and_deserialize(**kwargs)
1446
+
1447
+ async def ModifyTargetPort(
1448
+ self,
1449
+ request: models.ModifyTargetPortRequest,
1450
+ opts: Dict = None,
1451
+ ) -> models.ModifyTargetPortResponse:
1452
+ """
1453
+ ModifyTargetPort接口用于修改监听器绑定的后端服务的端口。
1454
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
1455
+ """
1456
+
1457
+ kwargs = {}
1458
+ kwargs["action"] = "ModifyTargetPort"
1459
+ kwargs["params"] = request._serialize()
1460
+ kwargs["resp_cls"] = models.ModifyTargetPortResponse
1461
+ kwargs["headers"] = request.headers
1462
+ kwargs["opts"] = opts or {}
1463
+
1464
+ return await self.call_and_deserialize(**kwargs)
1465
+
1466
+ async def ModifyTargetWeight(
1467
+ self,
1468
+ request: models.ModifyTargetWeightRequest,
1469
+ opts: Dict = None,
1470
+ ) -> models.ModifyTargetWeightResponse:
1471
+ """
1472
+ ModifyTargetWeight 接口用于修改负载均衡绑定的后端服务的转发权重。
1473
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1474
+ """
1475
+
1476
+ kwargs = {}
1477
+ kwargs["action"] = "ModifyTargetWeight"
1478
+ kwargs["params"] = request._serialize()
1479
+ kwargs["resp_cls"] = models.ModifyTargetWeightResponse
1480
+ kwargs["headers"] = request.headers
1481
+ kwargs["opts"] = opts or {}
1482
+
1483
+ return await self.call_and_deserialize(**kwargs)
1484
+
1485
+ async def RegisterFunctionTargets(
1486
+ self,
1487
+ request: models.RegisterFunctionTargetsRequest,
1488
+ opts: Dict = None,
1489
+ ) -> models.RegisterFunctionTargetsResponse:
1490
+ """
1491
+ RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。
1492
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>
1493
+ 限制说明:
1494
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
1495
+ - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
1496
+ - 传统型负载均衡不支持绑定 SCF。
1497
+ - 基础网络类型不支持绑定 SCF。
1498
+ - CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。
1499
+ - 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
1500
+ - 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
1501
+ - CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
1502
+ - 一个转发规则只支持绑定一个云函数。
1503
+ """
1504
+
1505
+ kwargs = {}
1506
+ kwargs["action"] = "RegisterFunctionTargets"
1507
+ kwargs["params"] = request._serialize()
1508
+ kwargs["resp_cls"] = models.RegisterFunctionTargetsResponse
1509
+ kwargs["headers"] = request.headers
1510
+ kwargs["opts"] = opts or {}
1511
+
1512
+ return await self.call_and_deserialize(**kwargs)
1513
+
1514
+ async def RegisterTargetGroupInstances(
1515
+ self,
1516
+ request: models.RegisterTargetGroupInstancesRequest,
1517
+ opts: Dict = None,
1518
+ ) -> models.RegisterTargetGroupInstancesResponse:
1519
+ """
1520
+ 注册服务器到目标组。
1521
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1522
+ """
1523
+
1524
+ kwargs = {}
1525
+ kwargs["action"] = "RegisterTargetGroupInstances"
1526
+ kwargs["params"] = request._serialize()
1527
+ kwargs["resp_cls"] = models.RegisterTargetGroupInstancesResponse
1528
+ kwargs["headers"] = request.headers
1529
+ kwargs["opts"] = opts or {}
1530
+
1531
+ return await self.call_and_deserialize(**kwargs)
1532
+
1533
+ async def RegisterTargets(
1534
+ self,
1535
+ request: models.RegisterTargetsRequest,
1536
+ opts: Dict = None,
1537
+ ) -> models.RegisterTargetsResponse:
1538
+ """
1539
+ RegisterTargets 接口用来将一台或多台后端服务绑定到负载均衡的监听器(或7层转发规则),在此之前您需要先行创建相关的4层监听器或7层转发规则。对于四层监听器(TCP、UDP),只需指定监听器ID即可,对于七层监听器(HTTP、HTTPS),还需通过LocationId或者Domain+Url指定转发规则。
1540
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1541
+ """
1542
+
1543
+ kwargs = {}
1544
+ kwargs["action"] = "RegisterTargets"
1545
+ kwargs["params"] = request._serialize()
1546
+ kwargs["resp_cls"] = models.RegisterTargetsResponse
1547
+ kwargs["headers"] = request.headers
1548
+ kwargs["opts"] = opts or {}
1549
+
1550
+ return await self.call_and_deserialize(**kwargs)
1551
+
1552
+ async def RegisterTargetsWithClassicalLB(
1553
+ self,
1554
+ request: models.RegisterTargetsWithClassicalLBRequest,
1555
+ opts: Dict = None,
1556
+ ) -> models.RegisterTargetsWithClassicalLBResponse:
1557
+ """
1558
+ RegisterTargetsWithClassicalLB 接口用于绑定后端服务到传统型负载均衡。本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1559
+ """
1560
+
1561
+ kwargs = {}
1562
+ kwargs["action"] = "RegisterTargetsWithClassicalLB"
1563
+ kwargs["params"] = request._serialize()
1564
+ kwargs["resp_cls"] = models.RegisterTargetsWithClassicalLBResponse
1565
+ kwargs["headers"] = request.headers
1566
+ kwargs["opts"] = opts or {}
1567
+
1568
+ return await self.call_and_deserialize(**kwargs)
1569
+
1570
+ async def ReplaceCertForLoadBalancers(
1571
+ self,
1572
+ request: models.ReplaceCertForLoadBalancersRequest,
1573
+ opts: Dict = None,
1574
+ ) -> models.ReplaceCertForLoadBalancersResponse:
1575
+ """
1576
+ ReplaceCertForLoadBalancers 接口用以替换负载均衡实例所关联的证书,对于各个地域的负载均衡,如果指定的老的证书ID与其有关联关系,则会先解除关联,再建立新证书与该负载均衡的关联关系。
1577
+ 此接口支持替换服务端证书或客户端证书。
1578
+ 需要使用的新证书,可以通过传入证书ID来指定,如果不指定证书ID,则必须传入证书内容等相关信息,用以新建证书并绑定至负载均衡。
1579
+ 注:本接口仅可从广州地域调用。
1580
+ """
1581
+
1582
+ kwargs = {}
1583
+ kwargs["action"] = "ReplaceCertForLoadBalancers"
1584
+ kwargs["params"] = request._serialize()
1585
+ kwargs["resp_cls"] = models.ReplaceCertForLoadBalancersResponse
1586
+ kwargs["headers"] = request.headers
1587
+ kwargs["opts"] = opts or {}
1588
+
1589
+ return await self.call_and_deserialize(**kwargs)
1590
+
1591
+ async def SetCustomizedConfigForLoadBalancer(
1592
+ self,
1593
+ request: models.SetCustomizedConfigForLoadBalancerRequest,
1594
+ opts: Dict = None,
1595
+ ) -> models.SetCustomizedConfigForLoadBalancerResponse:
1596
+ """
1597
+ 负载均衡维度的个性化配置相关操作:创建、删除、修改、绑定、解绑
1598
+ """
1599
+
1600
+ kwargs = {}
1601
+ kwargs["action"] = "SetCustomizedConfigForLoadBalancer"
1602
+ kwargs["params"] = request._serialize()
1603
+ kwargs["resp_cls"] = models.SetCustomizedConfigForLoadBalancerResponse
1604
+ kwargs["headers"] = request.headers
1605
+ kwargs["opts"] = opts or {}
1606
+
1607
+ return await self.call_and_deserialize(**kwargs)
1608
+
1609
+ async def SetLoadBalancerClsLog(
1610
+ self,
1611
+ request: models.SetLoadBalancerClsLogRequest,
1612
+ opts: Dict = None,
1613
+ ) -> models.SetLoadBalancerClsLogResponse:
1614
+ """
1615
+ 增加、删除、更新负载均衡的日志服务(CLS)主题。
1616
+ """
1617
+
1618
+ kwargs = {}
1619
+ kwargs["action"] = "SetLoadBalancerClsLog"
1620
+ kwargs["params"] = request._serialize()
1621
+ kwargs["resp_cls"] = models.SetLoadBalancerClsLogResponse
1622
+ kwargs["headers"] = request.headers
1623
+ kwargs["opts"] = opts or {}
1624
+
1625
+ return await self.call_and_deserialize(**kwargs)
1626
+
1627
+ async def SetLoadBalancerSecurityGroups(
1628
+ self,
1629
+ request: models.SetLoadBalancerSecurityGroupsRequest,
1630
+ opts: Dict = None,
1631
+ ) -> models.SetLoadBalancerSecurityGroupsResponse:
1632
+ """
1633
+ SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口。本接口是set语义,
1634
+ 绑定操作时,入参需要传入负载均衡实例要绑定的所有安全组(已绑定的+新增绑定的)。
1635
+ 解绑操作时,入参需要传入负载均衡实例执行解绑后所绑定的所有安全组;如果要解绑所有安全组,可不传此参数,或传入空数组。注意:内网 CLB 绑定 EIP 后,CLB 上的安全组对来自 EIP 的流量不生效,对来自内网 CLB 的流量生效。
1636
+ """
1637
+
1638
+ kwargs = {}
1639
+ kwargs["action"] = "SetLoadBalancerSecurityGroups"
1640
+ kwargs["params"] = request._serialize()
1641
+ kwargs["resp_cls"] = models.SetLoadBalancerSecurityGroupsResponse
1642
+ kwargs["headers"] = request.headers
1643
+ kwargs["opts"] = opts or {}
1644
+
1645
+ return await self.call_and_deserialize(**kwargs)
1646
+
1647
+ async def SetLoadBalancerStartStatus(
1648
+ self,
1649
+ request: models.SetLoadBalancerStartStatusRequest,
1650
+ opts: Dict = None,
1651
+ ) -> models.SetLoadBalancerStartStatusResponse:
1652
+ """
1653
+ 启停负载均衡实例或者监听器。
1654
+ 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1655
+ 该功能正在内测中,如需使用,请通过[工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1)。
1656
+ """
1657
+
1658
+ kwargs = {}
1659
+ kwargs["action"] = "SetLoadBalancerStartStatus"
1660
+ kwargs["params"] = request._serialize()
1661
+ kwargs["resp_cls"] = models.SetLoadBalancerStartStatusResponse
1662
+ kwargs["headers"] = request.headers
1663
+ kwargs["opts"] = opts or {}
1664
+
1665
+ return await self.call_and_deserialize(**kwargs)
1666
+
1667
+ async def SetSecurityGroupForLoadbalancers(
1668
+ self,
1669
+ request: models.SetSecurityGroupForLoadbalancersRequest,
1670
+ opts: Dict = None,
1671
+ ) -> models.SetSecurityGroupForLoadbalancersResponse:
1672
+ """
1673
+ 绑定或解绑一个安全组到多个公网负载均衡实例。
1674
+ """
1675
+
1676
+ kwargs = {}
1677
+ kwargs["action"] = "SetSecurityGroupForLoadbalancers"
1678
+ kwargs["params"] = request._serialize()
1679
+ kwargs["resp_cls"] = models.SetSecurityGroupForLoadbalancersResponse
1680
+ kwargs["headers"] = request.headers
1681
+ kwargs["opts"] = opts or {}
1682
+
1683
+ return await self.call_and_deserialize(**kwargs)