tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (260) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ags/v20250920/ags_client.py +46 -0
  3. tencentcloud/ags/v20250920/ags_client_async.py +36 -0
  4. tencentcloud/ags/v20250920/errorcodes.py +45 -0
  5. tencentcloud/ags/v20250920/models.py +1704 -110
  6. tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
  7. tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
  8. tencentcloud/ai3d/v20250513/models.py +78 -36
  9. tencentcloud/aiart/v20221229/aiart_client.py +46 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
  11. tencentcloud/aiart/v20221229/models.py +289 -0
  12. tencentcloud/ams/v20201229/models.py +101 -0
  13. tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
  14. tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
  15. tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
  16. tencentcloud/antiddos/v20200309/models.py +1671 -97
  17. tencentcloud/apm/v20210622/apm_client.py +23 -0
  18. tencentcloud/apm/v20210622/apm_client_async.py +18 -0
  19. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  20. tencentcloud/apm/v20210622/models.py +1678 -78
  21. tencentcloud/asr/v20190614/models.py +100 -2
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
  24. tencentcloud/autoscaling/v20180419/models.py +475 -338
  25. tencentcloud/bh/v20230418/models.py +179 -6
  26. tencentcloud/billing/v20180709/billing_client.py +23 -0
  27. tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  28. tencentcloud/billing/v20180709/models.py +328 -6
  29. tencentcloud/cam/v20190116/models.py +111 -2
  30. tencentcloud/car/v20220110/car_client.py +23 -0
  31. tencentcloud/car/v20220110/car_client_async.py +18 -0
  32. tencentcloud/car/v20220110/models.py +109 -0
  33. tencentcloud/cbs/v20170312/models.py +14 -14
  34. tencentcloud/ccc/v20200210/ccc_client.py +42 -13
  35. tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
  36. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  37. tencentcloud/ccc/v20200210/models.py +256 -4
  38. tencentcloud/cdb/v20170320/models.py +37 -16
  39. tencentcloud/cdc/v20201214/models.py +92 -124
  40. tencentcloud/cdn/v20180606/cdn_client.py +0 -78
  41. tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
  42. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  43. tencentcloud/cdn/v20180606/models.py +464 -1028
  44. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  45. tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
  46. tencentcloud/cdwch/v20200915/models.py +555 -0
  47. tencentcloud/cdwdoris/v20211228/models.py +505 -0
  48. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  49. tencentcloud/cfs/v20190719/models.py +2 -2
  50. tencentcloud/cfw/v20190904/cfw_client.py +278 -23
  51. tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
  52. tencentcloud/cfw/v20190904/models.py +3319 -1154
  53. tencentcloud/chdfs/v20201112/models.py +150 -0
  54. tencentcloud/ckafka/v20190819/models.py +458 -282
  55. tencentcloud/clb/v20180317/clb_client.py +23 -0
  56. tencentcloud/clb/v20180317/clb_client_async.py +18 -0
  57. tencentcloud/clb/v20180317/models.py +230 -130
  58. tencentcloud/cloudapp/v20220530/models.py +190 -36
  59. tencentcloud/cloudaudit/v20190319/models.py +32 -4
  60. tencentcloud/cloudmate/__init__.py +0 -0
  61. tencentcloud/cloudmate/v20251030/__init__.py +0 -0
  62. tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
  63. tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
  64. tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
  65. tencentcloud/cloudmate/v20251030/models.py +387 -0
  66. tencentcloud/cls/v20201016/cls_client.py +1064 -0
  67. tencentcloud/cls/v20201016/cls_client_async.py +860 -26
  68. tencentcloud/cls/v20201016/models.py +10246 -384
  69. tencentcloud/cme/v20191029/models.py +23 -0
  70. tencentcloud/csip/v20221121/models.py +317 -0
  71. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  72. tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
  73. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  74. tencentcloud/cvm/v20170312/models.py +28 -8
  75. tencentcloud/cwp/v20180228/cwp_client.py +0 -188
  76. tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
  77. tencentcloud/cwp/v20180228/models.py +1097 -1814
  78. tencentcloud/cynosdb/v20190107/models.py +181 -48
  79. tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
  80. tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
  81. tencentcloud/dataagent/v20250513/models.py +1477 -52
  82. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  83. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
  84. tencentcloud/dbbrain/v20210527/models.py +261 -15
  85. tencentcloud/dbs/v20211108/dbs_client.py +69 -0
  86. tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
  87. tencentcloud/dbs/v20211108/errorcodes.py +15 -0
  88. tencentcloud/dbs/v20211108/models.py +1173 -27
  89. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  90. tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  91. tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  92. tencentcloud/dlc/v20210125/models.py +1016 -0
  93. tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
  94. tencentcloud/dnspod/v20210323/models.py +4 -4
  95. tencentcloud/emr/v20190103/emr_client.py +46 -0
  96. tencentcloud/emr/v20190103/emr_client_async.py +36 -0
  97. tencentcloud/emr/v20190103/models.py +625 -2
  98. tencentcloud/es/v20180416/errorcodes.py +15 -0
  99. tencentcloud/es/v20180416/es_client.py +115 -0
  100. tencentcloud/es/v20180416/es_client_async.py +90 -0
  101. tencentcloud/es/v20180416/models.py +498 -4
  102. tencentcloud/ess/v20201111/ess_client.py +153 -6
  103. tencentcloud/ess/v20201111/ess_client_async.py +128 -6
  104. tencentcloud/ess/v20201111/models.py +1496 -58
  105. tencentcloud/essbasic/v20210526/models.py +129 -23
  106. tencentcloud/evt/v20250217/evt_client.py +46 -0
  107. tencentcloud/evt/v20250217/evt_client_async.py +36 -0
  108. tencentcloud/evt/v20250217/models.py +188 -0
  109. tencentcloud/faceid/v20180301/models.py +10 -4
  110. tencentcloud/gaap/v20180529/models.py +260 -352
  111. tencentcloud/gs/v20191118/models.py +150 -4
  112. tencentcloud/gwlb/v20240906/models.py +48 -70
  113. tencentcloud/iai/v20180301/models.py +4 -4
  114. tencentcloud/iai/v20200303/models.py +4 -4
  115. tencentcloud/igtm/v20231024/errorcodes.py +1 -1
  116. tencentcloud/ims/v20201229/ims_client.py +1 -1
  117. tencentcloud/ims/v20201229/ims_client_async.py +1 -1
  118. tencentcloud/ioa/v20220601/models.py +60 -0
  119. tencentcloud/keewidb/v20220308/models.py +52 -68
  120. tencentcloud/lcic/v20220817/models.py +15 -0
  121. tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
  122. tencentcloud/lighthouse/v20200324/models.py +8 -0
  123. tencentcloud/live/v20180801/errorcodes.py +6 -0
  124. tencentcloud/live/v20180801/live_client.py +143 -0
  125. tencentcloud/live/v20180801/live_client_async.py +113 -0
  126. tencentcloud/live/v20180801/models.py +914 -311
  127. tencentcloud/lke/v20231130/lke_client.py +48 -1
  128. tencentcloud/lke/v20231130/lke_client_async.py +43 -1
  129. tencentcloud/lke/v20231130/models.py +2940 -459
  130. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  131. tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
  132. tencentcloud/lkeap/v20240522/models.py +2 -6
  133. tencentcloud/lowcode/v20210108/models.py +30 -0
  134. tencentcloud/mna/v20210119/models.py +18 -2
  135. tencentcloud/mongodb/v20190725/models.py +2 -2
  136. tencentcloud/monitor/v20180724/models.py +258 -0
  137. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  138. tencentcloud/mps/v20190612/models.py +3007 -140
  139. tencentcloud/mps/v20190612/mps_client.py +115 -0
  140. tencentcloud/mps/v20190612/mps_client_async.py +90 -0
  141. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  142. tencentcloud/oceanus/v20190422/models.py +210 -4
  143. tencentcloud/ocr/v20181119/models.py +72 -4
  144. tencentcloud/ocr/v20181119/ocr_client.py +12 -8
  145. tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
  146. tencentcloud/partners/v20180321/models.py +88 -92
  147. tencentcloud/pts/v20210728/models.py +206 -0
  148. tencentcloud/rce/v20250425/__init__.py +0 -0
  149. tencentcloud/rce/v20250425/errorcodes.py +15 -0
  150. tencentcloud/rce/v20250425/models.py +301 -0
  151. tencentcloud/rce/v20250425/rce_client.py +49 -0
  152. tencentcloud/rce/v20250425/rce_client_async.py +44 -0
  153. tencentcloud/redis/v20180412/models.py +65 -70
  154. tencentcloud/rum/v20210622/models.py +548 -0
  155. tencentcloud/rum/v20210622/rum_client.py +23 -0
  156. tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  157. tencentcloud/scf/v20180416/models.py +28 -2
  158. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  159. tencentcloud/ssl/v20191205/models.py +991 -70
  160. tencentcloud/ssl/v20191205/ssl_client.py +2 -2
  161. tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
  162. tencentcloud/ssm/v20190923/models.py +134 -0
  163. tencentcloud/svp/v20240125/models.py +35 -20
  164. tencentcloud/tag/v20180813/models.py +34 -54
  165. tencentcloud/tat/v20201028/models.py +2 -0
  166. tencentcloud/tcaplusdb/v20190823/models.py +0 -337
  167. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  168. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
  169. tencentcloud/tcb/v20180608/errorcodes.py +15 -12
  170. tencentcloud/tcb/v20180608/models.py +5761 -8383
  171. tencentcloud/tcb/v20180608/tcb_client.py +0 -276
  172. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
  173. tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
  174. tencentcloud/tcbr/v20220217/models.py +4193 -1389
  175. tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
  176. tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
  177. tencentcloud/tcr/v20190924/models.py +727 -61
  178. tencentcloud/tcr/v20190924/tcr_client.py +92 -0
  179. tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
  180. tencentcloud/tcss/v20201101/models.py +30 -0
  181. tencentcloud/tdai/v20250717/models.py +440 -2
  182. tencentcloud/tdai/v20250717/tdai_client.py +23 -0
  183. tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
  184. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  185. tencentcloud/tdmq/v20200217/models.py +432 -4
  186. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
  187. tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
  188. tencentcloud/teo/v20220901/errorcodes.py +39 -0
  189. tencentcloud/teo/v20220901/models.py +596 -79
  190. tencentcloud/teo/v20220901/teo_client.py +107 -1
  191. tencentcloud/teo/v20220901/teo_client_async.py +97 -1
  192. tencentcloud/thpc/v20211109/models.py +14 -14
  193. tencentcloud/thpc/v20220401/models.py +14 -14
  194. tencentcloud/thpc/v20230321/models.py +20 -54
  195. tencentcloud/tione/v20211111/errorcodes.py +9 -0
  196. tencentcloud/tione/v20211111/models.py +910 -73
  197. tencentcloud/tione/v20211111/tione_client.py +69 -0
  198. tencentcloud/tione/v20211111/tione_client_async.py +54 -0
  199. tencentcloud/tke/v20180525/models.py +468 -18
  200. tencentcloud/tke/v20180525/tke_client.py +69 -0
  201. tencentcloud/tke/v20180525/tke_client_async.py +54 -0
  202. tencentcloud/tke/v20220501/models.py +539 -0
  203. tencentcloud/tke/v20220501/tke_client.py +23 -0
  204. tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  205. tencentcloud/trocket/v20230308/models.py +42 -21
  206. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  207. tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
  208. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  209. tencentcloud/trtc/v20190722/models.py +173 -30
  210. tencentcloud/tse/v20201207/models.py +42 -0
  211. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  212. tencentcloud/tsf/v20180326/models.py +15 -510
  213. tencentcloud/tsf/v20180326/tsf_client.py +66 -47
  214. tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
  215. tencentcloud/tts/v20190823/tts_client.py +1 -1
  216. tencentcloud/tts/v20190823/tts_client_async.py +1 -1
  217. tencentcloud/vclm/v20240523/models.py +383 -0
  218. tencentcloud/vclm/v20240523/vclm_client.py +46 -0
  219. tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
  220. tencentcloud/vcube/v20220410/models.py +30 -0
  221. tencentcloud/vdb/v20230616/models.py +567 -0
  222. tencentcloud/vdb/v20230616/vdb_client.py +69 -0
  223. tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
  224. tencentcloud/vm/v20210922/models.py +116 -0
  225. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  226. tencentcloud/vod/v20180717/models.py +4107 -622
  227. tencentcloud/vod/v20180717/vod_client.py +72 -3
  228. tencentcloud/vod/v20180717/vod_client_async.py +57 -3
  229. tencentcloud/vpc/v20170312/errorcodes.py +15 -0
  230. tencentcloud/vpc/v20170312/models.py +387 -2
  231. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  232. tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  233. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  234. tencentcloud/waf/v20180125/models.py +970 -0
  235. tencentcloud/waf/v20180125/waf_client.py +46 -0
  236. tencentcloud/waf/v20180125/waf_client_async.py +36 -0
  237. tencentcloud/wedata/v20210820/models.py +2851 -29
  238. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  239. tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  240. tencentcloud/wedata/v20250806/errorcodes.py +21 -0
  241. tencentcloud/wedata/v20250806/models.py +40999 -15704
  242. tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
  243. tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
  244. tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
  245. tencentcloud/weilingwith/v20230427/models.py +17 -336
  246. tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
  247. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
  248. tencentcloud/wimgs/__init__.py +0 -0
  249. tencentcloud/wimgs/v20251106/__init__.py +0 -0
  250. tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
  251. tencentcloud/wimgs/v20251106/models.py +132 -0
  252. tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
  253. tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
  254. tencentcloud/wsa/v20250508/errorcodes.py +6 -0
  255. tencentcloud/wsa/v20250508/models.py +17 -2
  256. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
  257. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
  258. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
  259. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
  260. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
@@ -1541,6 +1541,573 @@ class DescribeInstancesResponse(AbstractModel):
1541
1541
  self._RequestId = params.get("RequestId")
1542
1542
 
1543
1543
 
1544
+ class DescribePriceCreateInstanceRequest(AbstractModel):
1545
+ r"""DescribePriceCreateInstance请求参数结构体
1546
+
1547
+ """
1548
+
1549
+ def __init__(self):
1550
+ r"""
1551
+ :param _InstanceType: 实例类型。
1552
+ - base:免费测试版。
1553
+ - single:单机版。
1554
+ - cluster:高可用版。
1555
+ :type InstanceType: str
1556
+ :param _Cpu: 指定实例所需的 CPU 核数。实例类型不同,支持的 CPU 核数存在差异。
1557
+ - 计算型: 1、2、4、8、16、24、32。
1558
+ - 标准型: 1、2、4、8、12、16。
1559
+ - 存储型: 1、2、4、6、8。
1560
+ :type Cpu: int
1561
+ :param _Memory: 指定实例所需的内存大小。单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1562
+ :type Memory: int
1563
+ :param _DiskSize: 指定实例所需的磁盘大小,单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1564
+ :type DiskSize: int
1565
+ :param _WorkerNodeNum: 指定实例所需配置的节点数量。选择方法,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1566
+ :type WorkerNodeNum: int
1567
+ :param _PayMode: 指定实例计费方式。
1568
+ - 0:按量付费。
1569
+ - 1:包年包月。
1570
+ :type PayMode: int
1571
+ :param _GoodsNum: 购买实例数量。
1572
+ :type GoodsNum: int
1573
+ :param _ProductType: 产品版本,0-标准版,1-容量增强版
1574
+ :type ProductType: int
1575
+ :param _Mode: 实例类型为高可用版,需指定可用区选项。
1576
+ - two:两可用区。
1577
+ - three:三可用区。
1578
+ :type Mode: str
1579
+ :param _PayPeriod: 若计费方式为包年包月,指定包年包月续费的时长。
1580
+ - 单位:月。
1581
+ - 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。默认为1。
1582
+ :type PayPeriod: int
1583
+ """
1584
+ self._InstanceType = None
1585
+ self._Cpu = None
1586
+ self._Memory = None
1587
+ self._DiskSize = None
1588
+ self._WorkerNodeNum = None
1589
+ self._PayMode = None
1590
+ self._GoodsNum = None
1591
+ self._ProductType = None
1592
+ self._Mode = None
1593
+ self._PayPeriod = None
1594
+
1595
+ @property
1596
+ def InstanceType(self):
1597
+ r"""实例类型。
1598
+ - base:免费测试版。
1599
+ - single:单机版。
1600
+ - cluster:高可用版。
1601
+ :rtype: str
1602
+ """
1603
+ return self._InstanceType
1604
+
1605
+ @InstanceType.setter
1606
+ def InstanceType(self, InstanceType):
1607
+ self._InstanceType = InstanceType
1608
+
1609
+ @property
1610
+ def Cpu(self):
1611
+ r"""指定实例所需的 CPU 核数。实例类型不同,支持的 CPU 核数存在差异。
1612
+ - 计算型: 1、2、4、8、16、24、32。
1613
+ - 标准型: 1、2、4、8、12、16。
1614
+ - 存储型: 1、2、4、6、8。
1615
+ :rtype: int
1616
+ """
1617
+ return self._Cpu
1618
+
1619
+ @Cpu.setter
1620
+ def Cpu(self, Cpu):
1621
+ self._Cpu = Cpu
1622
+
1623
+ @property
1624
+ def Memory(self):
1625
+ r"""指定实例所需的内存大小。单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1626
+ :rtype: int
1627
+ """
1628
+ return self._Memory
1629
+
1630
+ @Memory.setter
1631
+ def Memory(self, Memory):
1632
+ self._Memory = Memory
1633
+
1634
+ @property
1635
+ def DiskSize(self):
1636
+ r"""指定实例所需的磁盘大小,单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1637
+ :rtype: int
1638
+ """
1639
+ return self._DiskSize
1640
+
1641
+ @DiskSize.setter
1642
+ def DiskSize(self, DiskSize):
1643
+ self._DiskSize = DiskSize
1644
+
1645
+ @property
1646
+ def WorkerNodeNum(self):
1647
+ r"""指定实例所需配置的节点数量。选择方法,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1648
+ :rtype: int
1649
+ """
1650
+ return self._WorkerNodeNum
1651
+
1652
+ @WorkerNodeNum.setter
1653
+ def WorkerNodeNum(self, WorkerNodeNum):
1654
+ self._WorkerNodeNum = WorkerNodeNum
1655
+
1656
+ @property
1657
+ def PayMode(self):
1658
+ r"""指定实例计费方式。
1659
+ - 0:按量付费。
1660
+ - 1:包年包月。
1661
+ :rtype: int
1662
+ """
1663
+ return self._PayMode
1664
+
1665
+ @PayMode.setter
1666
+ def PayMode(self, PayMode):
1667
+ self._PayMode = PayMode
1668
+
1669
+ @property
1670
+ def GoodsNum(self):
1671
+ r"""购买实例数量。
1672
+ :rtype: int
1673
+ """
1674
+ return self._GoodsNum
1675
+
1676
+ @GoodsNum.setter
1677
+ def GoodsNum(self, GoodsNum):
1678
+ self._GoodsNum = GoodsNum
1679
+
1680
+ @property
1681
+ def ProductType(self):
1682
+ r"""产品版本,0-标准版,1-容量增强版
1683
+ :rtype: int
1684
+ """
1685
+ return self._ProductType
1686
+
1687
+ @ProductType.setter
1688
+ def ProductType(self, ProductType):
1689
+ self._ProductType = ProductType
1690
+
1691
+ @property
1692
+ def Mode(self):
1693
+ r"""实例类型为高可用版,需指定可用区选项。
1694
+ - two:两可用区。
1695
+ - three:三可用区。
1696
+ :rtype: str
1697
+ """
1698
+ return self._Mode
1699
+
1700
+ @Mode.setter
1701
+ def Mode(self, Mode):
1702
+ self._Mode = Mode
1703
+
1704
+ @property
1705
+ def PayPeriod(self):
1706
+ r"""若计费方式为包年包月,指定包年包月续费的时长。
1707
+ - 单位:月。
1708
+ - 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。默认为1。
1709
+ :rtype: int
1710
+ """
1711
+ return self._PayPeriod
1712
+
1713
+ @PayPeriod.setter
1714
+ def PayPeriod(self, PayPeriod):
1715
+ self._PayPeriod = PayPeriod
1716
+
1717
+
1718
+ def _deserialize(self, params):
1719
+ self._InstanceType = params.get("InstanceType")
1720
+ self._Cpu = params.get("Cpu")
1721
+ self._Memory = params.get("Memory")
1722
+ self._DiskSize = params.get("DiskSize")
1723
+ self._WorkerNodeNum = params.get("WorkerNodeNum")
1724
+ self._PayMode = params.get("PayMode")
1725
+ self._GoodsNum = params.get("GoodsNum")
1726
+ self._ProductType = params.get("ProductType")
1727
+ self._Mode = params.get("Mode")
1728
+ self._PayPeriod = params.get("PayPeriod")
1729
+ memeber_set = set(params.keys())
1730
+ for name, value in vars(self).items():
1731
+ property_name = name[1:]
1732
+ if property_name in memeber_set:
1733
+ memeber_set.remove(property_name)
1734
+ if len(memeber_set) > 0:
1735
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1736
+
1737
+
1738
+
1739
+ class DescribePriceCreateInstanceResponse(AbstractModel):
1740
+ r"""DescribePriceCreateInstance返回参数结构体
1741
+
1742
+ """
1743
+
1744
+ def __init__(self):
1745
+ r"""
1746
+ :param _Price: 优惠后价格,单位:分
1747
+ :type Price: float
1748
+ :param _OriginalPrice: 原价格,单位:分
1749
+ :type OriginalPrice: float
1750
+ :param _Currency: 币种。CNY-人民币,USD-美元
1751
+ :type Currency: str
1752
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1753
+ :type RequestId: str
1754
+ """
1755
+ self._Price = None
1756
+ self._OriginalPrice = None
1757
+ self._Currency = None
1758
+ self._RequestId = None
1759
+
1760
+ @property
1761
+ def Price(self):
1762
+ r"""优惠后价格,单位:分
1763
+ :rtype: float
1764
+ """
1765
+ return self._Price
1766
+
1767
+ @Price.setter
1768
+ def Price(self, Price):
1769
+ self._Price = Price
1770
+
1771
+ @property
1772
+ def OriginalPrice(self):
1773
+ r"""原价格,单位:分
1774
+ :rtype: float
1775
+ """
1776
+ return self._OriginalPrice
1777
+
1778
+ @OriginalPrice.setter
1779
+ def OriginalPrice(self, OriginalPrice):
1780
+ self._OriginalPrice = OriginalPrice
1781
+
1782
+ @property
1783
+ def Currency(self):
1784
+ r"""币种。CNY-人民币,USD-美元
1785
+ :rtype: str
1786
+ """
1787
+ return self._Currency
1788
+
1789
+ @Currency.setter
1790
+ def Currency(self, Currency):
1791
+ self._Currency = Currency
1792
+
1793
+ @property
1794
+ def RequestId(self):
1795
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1796
+ :rtype: str
1797
+ """
1798
+ return self._RequestId
1799
+
1800
+ @RequestId.setter
1801
+ def RequestId(self, RequestId):
1802
+ self._RequestId = RequestId
1803
+
1804
+
1805
+ def _deserialize(self, params):
1806
+ self._Price = params.get("Price")
1807
+ self._OriginalPrice = params.get("OriginalPrice")
1808
+ self._Currency = params.get("Currency")
1809
+ self._RequestId = params.get("RequestId")
1810
+
1811
+
1812
+ class DescribePriceRenewInstanceRequest(AbstractModel):
1813
+ r"""DescribePriceRenewInstance请求参数结构体
1814
+
1815
+ """
1816
+
1817
+ def __init__(self):
1818
+ r"""
1819
+ :param _InstanceId: 实例ID
1820
+ :type InstanceId: str
1821
+ :param _PayPeriod: 包年包月的时长,单位:月
1822
+ :type PayPeriod: int
1823
+ """
1824
+ self._InstanceId = None
1825
+ self._PayPeriod = None
1826
+
1827
+ @property
1828
+ def InstanceId(self):
1829
+ r"""实例ID
1830
+ :rtype: str
1831
+ """
1832
+ return self._InstanceId
1833
+
1834
+ @InstanceId.setter
1835
+ def InstanceId(self, InstanceId):
1836
+ self._InstanceId = InstanceId
1837
+
1838
+ @property
1839
+ def PayPeriod(self):
1840
+ r"""包年包月的时长,单位:月
1841
+ :rtype: int
1842
+ """
1843
+ return self._PayPeriod
1844
+
1845
+ @PayPeriod.setter
1846
+ def PayPeriod(self, PayPeriod):
1847
+ self._PayPeriod = PayPeriod
1848
+
1849
+
1850
+ def _deserialize(self, params):
1851
+ self._InstanceId = params.get("InstanceId")
1852
+ self._PayPeriod = params.get("PayPeriod")
1853
+ memeber_set = set(params.keys())
1854
+ for name, value in vars(self).items():
1855
+ property_name = name[1:]
1856
+ if property_name in memeber_set:
1857
+ memeber_set.remove(property_name)
1858
+ if len(memeber_set) > 0:
1859
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1860
+
1861
+
1862
+
1863
+ class DescribePriceRenewInstanceResponse(AbstractModel):
1864
+ r"""DescribePriceRenewInstance返回参数结构体
1865
+
1866
+ """
1867
+
1868
+ def __init__(self):
1869
+ r"""
1870
+ :param _Price: 优惠后价格,单位:分
1871
+ :type Price: float
1872
+ :param _OriginalPrice: 原价格,单位:分
1873
+ :type OriginalPrice: float
1874
+ :param _Currency: 币种。CNY-人民币,USD-美元
1875
+ :type Currency: str
1876
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1877
+ :type RequestId: str
1878
+ """
1879
+ self._Price = None
1880
+ self._OriginalPrice = None
1881
+ self._Currency = None
1882
+ self._RequestId = None
1883
+
1884
+ @property
1885
+ def Price(self):
1886
+ r"""优惠后价格,单位:分
1887
+ :rtype: float
1888
+ """
1889
+ return self._Price
1890
+
1891
+ @Price.setter
1892
+ def Price(self, Price):
1893
+ self._Price = Price
1894
+
1895
+ @property
1896
+ def OriginalPrice(self):
1897
+ r"""原价格,单位:分
1898
+ :rtype: float
1899
+ """
1900
+ return self._OriginalPrice
1901
+
1902
+ @OriginalPrice.setter
1903
+ def OriginalPrice(self, OriginalPrice):
1904
+ self._OriginalPrice = OriginalPrice
1905
+
1906
+ @property
1907
+ def Currency(self):
1908
+ r"""币种。CNY-人民币,USD-美元
1909
+ :rtype: str
1910
+ """
1911
+ return self._Currency
1912
+
1913
+ @Currency.setter
1914
+ def Currency(self, Currency):
1915
+ self._Currency = Currency
1916
+
1917
+ @property
1918
+ def RequestId(self):
1919
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1920
+ :rtype: str
1921
+ """
1922
+ return self._RequestId
1923
+
1924
+ @RequestId.setter
1925
+ def RequestId(self, RequestId):
1926
+ self._RequestId = RequestId
1927
+
1928
+
1929
+ def _deserialize(self, params):
1930
+ self._Price = params.get("Price")
1931
+ self._OriginalPrice = params.get("OriginalPrice")
1932
+ self._Currency = params.get("Currency")
1933
+ self._RequestId = params.get("RequestId")
1934
+
1935
+
1936
+ class DescribePriceResizeInstanceRequest(AbstractModel):
1937
+ r"""DescribePriceResizeInstance请求参数结构体
1938
+
1939
+ """
1940
+
1941
+ def __init__(self):
1942
+ r"""
1943
+ :param _InstanceId: 实例ID
1944
+ :type InstanceId: str
1945
+ :param _Cpu: 指定实例所需的 CPU 核数。实例类型不同,支持的 CPU 核数存在差异。
1946
+ - 计算型: 1、2、4、8、16、24、32。
1947
+ - 标准型: 1、2、4、8、12、16。
1948
+ - 存储型: 1、2、4、6、8。
1949
+ :type Cpu: int
1950
+ :param _Memory: 指定实例所需的内存大小。单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1951
+ :type Memory: int
1952
+ :param _DiskSize: 指定实例所需的磁盘大小,单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1953
+ :type DiskSize: int
1954
+ :param _WorkerNodeNum: 指定实例所需配置的节点数量。选择方法,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1955
+ :type WorkerNodeNum: int
1956
+ """
1957
+ self._InstanceId = None
1958
+ self._Cpu = None
1959
+ self._Memory = None
1960
+ self._DiskSize = None
1961
+ self._WorkerNodeNum = None
1962
+
1963
+ @property
1964
+ def InstanceId(self):
1965
+ r"""实例ID
1966
+ :rtype: str
1967
+ """
1968
+ return self._InstanceId
1969
+
1970
+ @InstanceId.setter
1971
+ def InstanceId(self, InstanceId):
1972
+ self._InstanceId = InstanceId
1973
+
1974
+ @property
1975
+ def Cpu(self):
1976
+ r"""指定实例所需的 CPU 核数。实例类型不同,支持的 CPU 核数存在差异。
1977
+ - 计算型: 1、2、4、8、16、24、32。
1978
+ - 标准型: 1、2、4、8、12、16。
1979
+ - 存储型: 1、2、4、6、8。
1980
+ :rtype: int
1981
+ """
1982
+ return self._Cpu
1983
+
1984
+ @Cpu.setter
1985
+ def Cpu(self, Cpu):
1986
+ self._Cpu = Cpu
1987
+
1988
+ @property
1989
+ def Memory(self):
1990
+ r"""指定实例所需的内存大小。单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
1991
+ :rtype: int
1992
+ """
1993
+ return self._Memory
1994
+
1995
+ @Memory.setter
1996
+ def Memory(self, Memory):
1997
+ self._Memory = Memory
1998
+
1999
+ @property
2000
+ def DiskSize(self):
2001
+ r"""指定实例所需的磁盘大小,单位:GB。选择具体规格,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
2002
+ :rtype: int
2003
+ """
2004
+ return self._DiskSize
2005
+
2006
+ @DiskSize.setter
2007
+ def DiskSize(self, DiskSize):
2008
+ self._DiskSize = DiskSize
2009
+
2010
+ @property
2011
+ def WorkerNodeNum(self):
2012
+ r"""指定实例所需配置的节点数量。选择方法,请参见[配置规格(选型)](https://cloud.tencent.com/document/product/1709/113399)。
2013
+ :rtype: int
2014
+ """
2015
+ return self._WorkerNodeNum
2016
+
2017
+ @WorkerNodeNum.setter
2018
+ def WorkerNodeNum(self, WorkerNodeNum):
2019
+ self._WorkerNodeNum = WorkerNodeNum
2020
+
2021
+
2022
+ def _deserialize(self, params):
2023
+ self._InstanceId = params.get("InstanceId")
2024
+ self._Cpu = params.get("Cpu")
2025
+ self._Memory = params.get("Memory")
2026
+ self._DiskSize = params.get("DiskSize")
2027
+ self._WorkerNodeNum = params.get("WorkerNodeNum")
2028
+ memeber_set = set(params.keys())
2029
+ for name, value in vars(self).items():
2030
+ property_name = name[1:]
2031
+ if property_name in memeber_set:
2032
+ memeber_set.remove(property_name)
2033
+ if len(memeber_set) > 0:
2034
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2035
+
2036
+
2037
+
2038
+ class DescribePriceResizeInstanceResponse(AbstractModel):
2039
+ r"""DescribePriceResizeInstance返回参数结构体
2040
+
2041
+ """
2042
+
2043
+ def __init__(self):
2044
+ r"""
2045
+ :param _Price: 优惠后价格,单位:分
2046
+ :type Price: float
2047
+ :param _OriginalPrice: 原价格,单位:分
2048
+ :type OriginalPrice: float
2049
+ :param _Currency: 币种。CNY-人民币,USD-美元
2050
+ :type Currency: str
2051
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2052
+ :type RequestId: str
2053
+ """
2054
+ self._Price = None
2055
+ self._OriginalPrice = None
2056
+ self._Currency = None
2057
+ self._RequestId = None
2058
+
2059
+ @property
2060
+ def Price(self):
2061
+ r"""优惠后价格,单位:分
2062
+ :rtype: float
2063
+ """
2064
+ return self._Price
2065
+
2066
+ @Price.setter
2067
+ def Price(self, Price):
2068
+ self._Price = Price
2069
+
2070
+ @property
2071
+ def OriginalPrice(self):
2072
+ r"""原价格,单位:分
2073
+ :rtype: float
2074
+ """
2075
+ return self._OriginalPrice
2076
+
2077
+ @OriginalPrice.setter
2078
+ def OriginalPrice(self, OriginalPrice):
2079
+ self._OriginalPrice = OriginalPrice
2080
+
2081
+ @property
2082
+ def Currency(self):
2083
+ r"""币种。CNY-人民币,USD-美元
2084
+ :rtype: str
2085
+ """
2086
+ return self._Currency
2087
+
2088
+ @Currency.setter
2089
+ def Currency(self, Currency):
2090
+ self._Currency = Currency
2091
+
2092
+ @property
2093
+ def RequestId(self):
2094
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2095
+ :rtype: str
2096
+ """
2097
+ return self._RequestId
2098
+
2099
+ @RequestId.setter
2100
+ def RequestId(self, RequestId):
2101
+ self._RequestId = RequestId
2102
+
2103
+
2104
+ def _deserialize(self, params):
2105
+ self._Price = params.get("Price")
2106
+ self._OriginalPrice = params.get("OriginalPrice")
2107
+ self._Currency = params.get("Currency")
2108
+ self._RequestId = params.get("RequestId")
2109
+
2110
+
1544
2111
  class DestroyInstancesRequest(AbstractModel):
1545
2112
  r"""DestroyInstances请求参数结构体
1546
2113
 
@@ -164,6 +164,75 @@ class VdbClient(AbstractClient):
164
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
+ def DescribePriceCreateInstance(self, request):
168
+ r"""查询新购实例价格
169
+
170
+ :param request: Request instance for DescribePriceCreateInstance.
171
+ :type request: :class:`tencentcloud.vdb.v20230616.models.DescribePriceCreateInstanceRequest`
172
+ :rtype: :class:`tencentcloud.vdb.v20230616.models.DescribePriceCreateInstanceResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("DescribePriceCreateInstance", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.DescribePriceCreateInstanceResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
190
+ def DescribePriceRenewInstance(self, request):
191
+ r"""查询实例续费价格(包年包月)
192
+
193
+ :param request: Request instance for DescribePriceRenewInstance.
194
+ :type request: :class:`tencentcloud.vdb.v20230616.models.DescribePriceRenewInstanceRequest`
195
+ :rtype: :class:`tencentcloud.vdb.v20230616.models.DescribePriceRenewInstanceResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("DescribePriceRenewInstance", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.DescribePriceRenewInstanceResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
213
+ def DescribePriceResizeInstance(self, request):
214
+ r"""查询实例变配价格
215
+
216
+ :param request: Request instance for DescribePriceResizeInstance.
217
+ :type request: :class:`tencentcloud.vdb.v20230616.models.DescribePriceResizeInstanceRequest`
218
+ :rtype: :class:`tencentcloud.vdb.v20230616.models.DescribePriceResizeInstanceResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("DescribePriceResizeInstance", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.DescribePriceResizeInstanceResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
229
+ except Exception as e:
230
+ if isinstance(e, TencentCloudSDKException):
231
+ raise
232
+ else:
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
+
235
+
167
236
  def DestroyInstances(self, request):
168
237
  r"""本接口(DestroyInstances)用于销毁实例。
169
238
 
@@ -133,6 +133,60 @@ class VdbClient(AbstractClient):
133
133
 
134
134
  return await self.call_and_deserialize(**kwargs)
135
135
 
136
+ async def DescribePriceCreateInstance(
137
+ self,
138
+ request: models.DescribePriceCreateInstanceRequest,
139
+ opts: Dict = None,
140
+ ) -> models.DescribePriceCreateInstanceResponse:
141
+ """
142
+ 查询新购实例价格
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "DescribePriceCreateInstance"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.DescribePriceCreateInstanceResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def DescribePriceRenewInstance(
155
+ self,
156
+ request: models.DescribePriceRenewInstanceRequest,
157
+ opts: Dict = None,
158
+ ) -> models.DescribePriceRenewInstanceResponse:
159
+ """
160
+ 查询实例续费价格(包年包月)
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "DescribePriceRenewInstance"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.DescribePriceRenewInstanceResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def DescribePriceResizeInstance(
173
+ self,
174
+ request: models.DescribePriceResizeInstanceRequest,
175
+ opts: Dict = None,
176
+ ) -> models.DescribePriceResizeInstanceResponse:
177
+ """
178
+ 查询实例变配价格
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "DescribePriceResizeInstance"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.DescribePriceResizeInstanceResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
136
190
  async def DestroyInstances(
137
191
  self,
138
192
  request: models.DestroyInstancesRequest,