kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.49__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 (294) hide show
  1. kingsoftcloud_sdk_python-1.5.8.49.dist-info/METADATA +71 -0
  2. kingsoftcloud_sdk_python-1.5.8.49.dist-info/RECORD +337 -0
  3. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/WHEEL +1 -1
  4. ksyun/__init__.py +1 -1
  5. ksyun/client/actiontrail/v20190401/client.py +2 -4
  6. ksyun/client/aicp/v20240612/client.py +1344 -0
  7. ksyun/client/aicp/v20240612/models.py +1963 -0
  8. ksyun/client/aicp/v20251212/__init__.py +0 -0
  9. ksyun/client/aicp/v20251212/client.py +56 -0
  10. ksyun/client/aicp/v20251212/models.py +114 -0
  11. ksyun/client/bill/v20180601/client.py +6 -77
  12. ksyun/client/bill/v20180601/models.py +29 -41
  13. ksyun/client/bill/v20220601/__init__.py +0 -0
  14. ksyun/client/bill/v20220601/client.py +54 -0
  15. ksyun/client/bill/v20220601/models.py +54 -0
  16. ksyun/client/bill_union/v20200101/client.py +81 -14
  17. ksyun/client/bill_union/v20200101/models.py +119 -3
  18. ksyun/client/bill_union/v20221222/__init__.py +0 -0
  19. ksyun/client/bill_union/v20221222/client.py +146 -0
  20. ksyun/client/bill_union/v20221222/models.py +193 -0
  21. ksyun/client/bill_union/v20250801/__init__.py +0 -0
  22. ksyun/client/bill_union/v20250801/client.py +54 -0
  23. ksyun/client/bill_union/v20250801/models.py +64 -0
  24. ksyun/client/bws/v20160304/client.py +33 -12
  25. ksyun/client/bws/v20160304/models.py +51 -0
  26. ksyun/client/cdn/__init__.py +0 -0
  27. ksyun/client/cdn/v20160901/__init__.py +0 -0
  28. ksyun/client/cdn/v20160901/client.py +77 -0
  29. ksyun/client/cdn/v20160901/models.py +51 -0
  30. ksyun/client/cdn/v20200630/__init__.py +0 -0
  31. ksyun/client/cdn/v20200630/client.py +399 -0
  32. ksyun/client/cdn/v20200630/models.py +826 -0
  33. ksyun/client/cdn/v20200901/__init__.py +0 -0
  34. ksyun/client/cdn/v20200901/client.py +169 -0
  35. ksyun/client/cdn/v20200901/models.py +224 -0
  36. ksyun/client/cdn/v20211201/__init__.py +0 -0
  37. ksyun/client/cdn/v20211201/client.py +31 -0
  38. ksyun/client/cdn/v20211201/models.py +23 -0
  39. ksyun/client/cdn/v3/__init__.py +0 -0
  40. ksyun/client/cdn/v3/client.py +997 -0
  41. ksyun/client/cdn/v3/models.py +1323 -0
  42. ksyun/client/cen/__init__.py +0 -0
  43. ksyun/client/cen/v20160304/__init__.py +0 -0
  44. ksyun/client/cen/v20160304/client.py +606 -0
  45. ksyun/client/cen/v20160304/models.py +718 -0
  46. ksyun/client/clickhouse/__init__.py +0 -0
  47. ksyun/client/clickhouse/v20210101/__init__.py +0 -0
  48. ksyun/client/clickhouse/v20210101/client.py +905 -0
  49. ksyun/client/clickhouse/v20210101/models.py +1127 -0
  50. ksyun/client/cloud_advisor/__init__.py +0 -0
  51. ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
  52. ksyun/client/cloud_advisor/v20250610/client.py +77 -0
  53. ksyun/client/cloud_advisor/v20250610/models.py +80 -0
  54. ksyun/client/dmp/__init__.py +0 -0
  55. ksyun/client/dmp/v20240101/__init__.py +0 -0
  56. ksyun/client/dmp/v20240101/client.py +468 -0
  57. ksyun/client/dmp/v20240101/models.py +423 -0
  58. ksyun/client/dts/__init__.py +0 -0
  59. ksyun/client/dts/v20180108/__init__.py +0 -0
  60. ksyun/client/dts/v20180108/client.py +445 -0
  61. ksyun/client/dts/v20180108/models.py +734 -0
  62. ksyun/client/ebs/v20160304/client.py +260 -55
  63. ksyun/client/ebs/v20160304/models.py +320 -66
  64. ksyun/client/eip/v20160304/client.py +127 -14
  65. ksyun/client/eip/v20160304/models.py +95 -1
  66. ksyun/client/epc/v20151101/client.py +1309 -184
  67. ksyun/client/epc/v20151101/models.py +2623 -137
  68. ksyun/client/iam/v20151101/client.py +325 -120
  69. ksyun/client/iam/v20151101/models.py +284 -28
  70. ksyun/client/iam/v20240513/__init__.py +0 -0
  71. ksyun/client/iam/v20240513/client.py +31 -0
  72. ksyun/client/iam/v20240513/models.py +33 -0
  73. ksyun/client/iam/v20240703/__init__.py +0 -0
  74. ksyun/client/iam/v20240703/client.py +31 -0
  75. ksyun/client/iam/v20240703/models.py +18 -0
  76. ksyun/client/influxdb/__init__.py +0 -0
  77. ksyun/client/influxdb/v20191010/__init__.py +0 -0
  78. ksyun/client/influxdb/v20191010/client.py +629 -0
  79. ksyun/client/influxdb/v20191010/models.py +655 -0
  80. ksyun/client/kad/v20161122/client.py +56 -12
  81. ksyun/client/kad/v20161122/models.py +38 -0
  82. ksyun/client/kce/__init__.py +0 -0
  83. ksyun/client/kce/v20180314/__init__.py +0 -0
  84. ksyun/client/kce/v20180314/client.py +399 -0
  85. ksyun/client/kce/v20180314/models.py +374 -0
  86. ksyun/client/kce/v20190806/__init__.py +0 -0
  87. ksyun/client/kce/v20190806/client.py +790 -0
  88. ksyun/client/kce/v20190806/models.py +1099 -0
  89. ksyun/client/kce/v20201231/__init__.py +0 -0
  90. ksyun/client/{slb/v20171210 → kce/v20201231}/client.py +10 -12
  91. ksyun/client/kce/v20201231/models.py +137 -0
  92. ksyun/client/kce/v20230101/__init__.py +0 -0
  93. ksyun/client/kce/v20230101/client.py +215 -0
  94. ksyun/client/kce/v20230101/models.py +259 -0
  95. ksyun/client/kce/v20230306/__init__.py +0 -0
  96. ksyun/client/kce/v20230306/client.py +514 -0
  97. ksyun/client/kce/v20230306/models.py +655 -0
  98. ksyun/client/kce/v20231115/__init__.py +0 -0
  99. ksyun/client/kce/v20231115/client.py +54 -0
  100. ksyun/client/kce/v20231115/models.py +59 -0
  101. ksyun/client/kce2/__init__.py +0 -0
  102. ksyun/client/kce2/v20230101/__init__.py +0 -0
  103. ksyun/client/kce2/v20230101/client.py +353 -0
  104. ksyun/client/kce2/v20230101/models.py +483 -0
  105. ksyun/client/kcf/__init__.py +0 -0
  106. ksyun/client/kcf/v20211215/__init__.py +0 -0
  107. ksyun/client/kcf/v20211215/client.py +215 -0
  108. ksyun/client/kcf/v20211215/models.py +313 -0
  109. ksyun/client/kci/__init__.py +0 -0
  110. ksyun/client/kci/v20200702/__init__.py +0 -0
  111. ksyun/client/kci/v20200702/client.py +353 -0
  112. ksyun/client/kci/v20200702/models.py +614 -0
  113. ksyun/client/kcm/__init__.py +0 -0
  114. ksyun/client/kcm/v20160304/__init__.py +0 -0
  115. ksyun/client/kcm/v20160304/client.py +238 -0
  116. ksyun/client/kcm/v20160304/models.py +394 -0
  117. ksyun/client/kcrs/__init__.py +0 -0
  118. ksyun/client/kcrs/v20211109/__init__.py +0 -0
  119. ksyun/client/kcrs/v20211109/client.py +1020 -0
  120. ksyun/client/kcrs/v20211109/models.py +1282 -0
  121. ksyun/client/kcs/__init__.py +0 -0
  122. ksyun/client/kcs/v20160701/__init__.py +0 -0
  123. ksyun/client/kcs/v20160701/client.py +1526 -0
  124. ksyun/client/kcs/v20160701/models.py +1917 -0
  125. ksyun/client/kcs/v20170401/__init__.py +0 -0
  126. ksyun/client/kcs/v20170401/client.py +31 -0
  127. ksyun/client/kcs/v20170401/models.py +28 -0
  128. ksyun/client/kcs/v20240701/__init__.py +0 -0
  129. ksyun/client/kcs/v20240701/client.py +31 -0
  130. ksyun/client/kcs/v20240701/models.py +23 -0
  131. ksyun/client/kead/v20200101/client.py +48 -4
  132. ksyun/client/kead/v20200101/models.py +52 -42
  133. ksyun/client/kec/v20160304/client.py +890 -223
  134. ksyun/client/kec/v20160304/models.py +1377 -140
  135. ksyun/client/ked/__init__.py +0 -0
  136. ksyun/client/ked/v1/__init__.py +0 -0
  137. ksyun/client/ked/v1/client.py +1020 -0
  138. ksyun/client/ked/v1/models.py +1132 -0
  139. ksyun/client/kes/__init__.py +0 -0
  140. ksyun/client/kes/v20201215/__init__.py +0 -0
  141. ksyun/client/kes/v20201215/client.py +192 -0
  142. ksyun/client/kes/v20201215/models.py +252 -0
  143. ksyun/client/ket/__init__.py +0 -0
  144. ksyun/client/ket/v20170101/__init__.py +0 -0
  145. ksyun/client/ket/v20170101/client.py +192 -0
  146. ksyun/client/ket/v20170101/models.py +265 -0
  147. ksyun/client/kfw/__init__.py +0 -0
  148. ksyun/client/kfw/v20160304/__init__.py +0 -0
  149. ksyun/client/kfw/v20160304/client.py +692 -0
  150. ksyun/client/kfw/v20160304/models.py +1029 -0
  151. ksyun/client/kingpay/__init__.py +0 -0
  152. ksyun/client/kingpay/v1/__init__.py +0 -0
  153. ksyun/client/kingpay/v1/client.py +31 -0
  154. ksyun/client/kingpay/v1/models.py +18 -0
  155. ksyun/client/kkms/__init__.py +0 -0
  156. ksyun/client/kkms/v20160304/__init__.py +0 -0
  157. ksyun/client/kkms/v20160304/client.py +192 -0
  158. ksyun/client/kkms/v20160304/models.py +185 -0
  159. ksyun/client/klog/__init__.py +0 -0
  160. ksyun/client/klog/v20200731/__init__.py +0 -0
  161. ksyun/client/klog/v20200731/client.py +376 -0
  162. ksyun/client/klog/v20200731/models.py +508 -0
  163. ksyun/client/kls/__init__.py +0 -0
  164. ksyun/client/kls/v20170101/__init__.py +0 -0
  165. ksyun/client/kls/v20170101/client.py +192 -0
  166. ksyun/client/kls/v20170101/models.py +320 -0
  167. ksyun/client/kmr/__init__.py +0 -0
  168. ksyun/client/kmr/v20210902/__init__.py +0 -0
  169. ksyun/client/kmr/v20210902/client.py +537 -0
  170. ksyun/client/kmr/v20210902/models.py +536 -0
  171. ksyun/client/kmr/v20231231/__init__.py +0 -0
  172. ksyun/client/kmr/v20231231/client.py +169 -0
  173. ksyun/client/kmr/v20231231/models.py +201 -0
  174. ksyun/client/kmr/v20240814/__init__.py +0 -0
  175. ksyun/client/kmr/v20240814/client.py +445 -0
  176. ksyun/client/kmr/v20240814/models.py +523 -0
  177. ksyun/client/knad/__init__.py +0 -0
  178. ksyun/client/knad/v20230323/__init__.py +0 -0
  179. ksyun/client/knad/v20230323/client.py +399 -0
  180. ksyun/client/knad/v20230323/models.py +470 -0
  181. ksyun/client/kpfs/__init__.py +0 -0
  182. ksyun/client/kpfs/v20240930/__init__.py +0 -0
  183. ksyun/client/kpfs/v20240930/client.py +217 -0
  184. ksyun/client/kpfs/v20240930/models.py +396 -0
  185. ksyun/client/krds/__init__.py +0 -0
  186. ksyun/client/krds/v20160701/__init__.py +0 -0
  187. ksyun/client/krds/v20160701/client.py +2101 -0
  188. ksyun/client/krds/v20160701/models.py +2722 -0
  189. ksyun/client/krds/v20200825/__init__.py +0 -0
  190. ksyun/client/krds/v20200825/client.py +238 -0
  191. ksyun/client/krds/v20200825/models.py +336 -0
  192. ksyun/client/memcached/__init__.py +0 -0
  193. ksyun/client/memcached/v20180627/__init__.py +0 -0
  194. ksyun/client/memcached/v20180627/client.py +307 -0
  195. ksyun/client/memcached/v20180627/models.py +317 -0
  196. ksyun/client/milvus/__init__.py +0 -0
  197. ksyun/client/milvus/v20231010/__init__.py +0 -0
  198. ksyun/client/milvus/v20231010/client.py +445 -0
  199. ksyun/client/milvus/v20231010/models.py +520 -0
  200. ksyun/client/mongodb/v20170101/client.py +312 -84
  201. ksyun/client/mongodb/v20170101/models.py +251 -34
  202. ksyun/client/mongodb/v20250101/__init__.py +0 -0
  203. ksyun/client/mongodb/v20250101/client.py +31 -0
  204. ksyun/client/mongodb/v20250101/models.py +18 -0
  205. ksyun/client/monitor/__init__.py +0 -0
  206. ksyun/client/monitor/v20100525/__init__.py +0 -0
  207. ksyun/client/monitor/v20100525/client.py +54 -0
  208. ksyun/client/monitor/v20100525/models.py +108 -0
  209. ksyun/client/monitor/v20181114/__init__.py +0 -0
  210. ksyun/client/monitor/v20181114/client.py +31 -0
  211. ksyun/client/monitor/v20181114/models.py +59 -0
  212. ksyun/client/monitor/v20210101/__init__.py +0 -0
  213. ksyun/client/monitor/v20210101/client.py +284 -0
  214. ksyun/client/monitor/v20210101/models.py +330 -0
  215. ksyun/client/monitor/v20220101/__init__.py +0 -0
  216. ksyun/client/monitor/v20220101/client.py +54 -0
  217. ksyun/client/monitor/v20220101/models.py +32 -0
  218. ksyun/client/monitor/v20250101/__init__.py +0 -0
  219. ksyun/client/monitor/v20250101/client.py +121 -0
  220. ksyun/client/monitor/v20250101/models.py +188 -0
  221. ksyun/client/pdns/__init__.py +0 -0
  222. ksyun/client/pdns/v20160304/__init__.py +0 -0
  223. ksyun/client/pdns/v20160304/client.py +813 -0
  224. ksyun/client/pdns/v20160304/models.py +805 -0
  225. ksyun/client/postgresql/__init__.py +0 -0
  226. ksyun/client/postgresql/v20181225/__init__.py +0 -0
  227. ksyun/client/postgresql/v20181225/client.py +1158 -0
  228. ksyun/client/postgresql/v20181225/models.py +1629 -0
  229. ksyun/client/rabbitmq/__init__.py +0 -0
  230. ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
  231. ksyun/client/rabbitmq/v20191017/client.py +445 -0
  232. ksyun/client/rabbitmq/v20191017/models.py +413 -0
  233. ksyun/client/relyt/__init__.py +0 -0
  234. ksyun/client/relyt/v20240117/__init__.py +0 -0
  235. ksyun/client/{bill_union/v20211209 → relyt/v20240117}/client.py +10 -12
  236. ksyun/client/relyt/v20240117/models.py +23 -0
  237. ksyun/client/resourcemanager/v20210320/client.py +16 -18
  238. ksyun/client/sks/v20151101/client.py +11 -13
  239. ksyun/client/sks/v20151101/models.py +28 -2
  240. ksyun/client/slb/v20160304/client.py +1099 -112
  241. ksyun/client/slb/v20160304/models.py +1697 -24
  242. ksyun/client/slb/v20250430/__init__.py +0 -0
  243. ksyun/client/slb/v20250430/client.py +813 -0
  244. ksyun/client/slb/v20250430/models.py +1372 -0
  245. ksyun/client/sqlserver/__init__.py +0 -0
  246. ksyun/client/sqlserver/v20190425/__init__.py +0 -0
  247. ksyun/client/sqlserver/v20190425/client.py +1066 -0
  248. ksyun/client/sqlserver/v20190425/models.py +1528 -0
  249. ksyun/client/sts/v20151101/client.py +23 -2
  250. ksyun/client/sts/v20151101/models.py +54 -1
  251. ksyun/client/tagv2/v20200901/client.py +60 -16
  252. ksyun/client/tagv2/v20200901/models.py +56 -4
  253. ksyun/client/ter/__init__.py +0 -0
  254. ksyun/client/ter/v20240415/__init__.py +0 -0
  255. ksyun/client/ter/v20240415/client.py +123 -0
  256. ksyun/client/ter/v20240415/models.py +115 -0
  257. ksyun/client/tidb/__init__.py +0 -0
  258. ksyun/client/tidb/v20210520/__init__.py +0 -0
  259. ksyun/client/tidb/v20210520/client.py +928 -0
  260. ksyun/client/tidb/v20210520/models.py +1162 -0
  261. ksyun/client/trade/v20200114/client.py +2 -4
  262. ksyun/client/trade/v20200831/client.py +2 -4
  263. ksyun/client/trade/v20250220/__init__.py +0 -0
  264. ksyun/client/trade/v20250220/client.py +100 -0
  265. ksyun/client/trade/v20250220/models.py +91 -0
  266. ksyun/client/trade/v20250321/__init__.py +0 -0
  267. ksyun/client/trade/v20250321/client.py +100 -0
  268. ksyun/client/trade/v20250321/models.py +71 -0
  269. ksyun/client/trade/v20250828/__init__.py +0 -0
  270. ksyun/client/trade/v20250828/client.py +31 -0
  271. ksyun/client/trade/v20250828/models.py +81 -0
  272. ksyun/client/vpc/v20160304/client.py +1377 -229
  273. ksyun/client/vpc/v20160304/models.py +1540 -138
  274. ksyun/client/waf/__init__.py +0 -0
  275. ksyun/client/waf/v20200707/__init__.py +0 -0
  276. ksyun/client/waf/v20200707/client.py +468 -0
  277. ksyun/client/waf/v20200707/models.py +738 -0
  278. ksyun/common/abstract_client.py +57 -21
  279. ksyun/common/abstract_model.py +3 -3
  280. ksyun/common/common_client.py +2 -0
  281. ksyun/common/credential.py +2 -0
  282. ksyun/common/exception/ksyun_sdk_exception.py +11 -7
  283. ksyun/common/http/request.py +45 -6
  284. ksyun/common/profile/client_profile.py +3 -0
  285. ksyun/common/profile/http_profile.py +28 -1
  286. kingsoftcloud_sdk_python-1.1.1.dist-info/METADATA +0 -47
  287. kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
  288. ksyun/client/bill_union/v20211209/models.py +0 -38
  289. ksyun/client/slb/v20171210/models.py +0 -33
  290. ksyun/common/sign.py +0 -33
  291. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info/licenses}/LICENSE +0 -0
  292. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/top_level.txt +0 -0
  293. /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
  294. /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
@@ -0,0 +1,1127 @@
1
+ from ksyun.common.abstract_model import AbstractModel
2
+
3
+ class ListInstanceRequest(AbstractModel):
4
+ """ListInstance请求参数结构体
5
+ """
6
+
7
+ def __init__(self):
8
+ r"""查询实例列表
9
+ :param ProductType: 商品类型。可选:单副本(ClickHouse_Single)
10
+ ;高可用(ClickHouse)。
11
+ :type PathPrefix: String
12
+ :param TagId: 根据TagId进行过滤。
13
+ :type PathPrefix: String
14
+ :param ProjectIds: 根据项目ID进行过滤,不填则表示全部项目。
15
+ :type PathPrefix: Filter
16
+ :param FuzzySearch: 模糊搜索。支持:实例ID、实例名称,VIP。
17
+ :type PathPrefix: String
18
+ :param OrderBy: 排序字段列表。
19
+ :type PathPrefix: Filter
20
+ :param Offset: 第几页,从0开始。
21
+ :type PathPrefix: Int
22
+ :param Limit: 每页最大记录数。默认为10。
23
+ :type PathPrefix: Int
24
+ """
25
+ self.ProductType = None
26
+ self.TagId = None
27
+ self.ProjectIds = None
28
+ self.FuzzySearch = None
29
+ self.OrderBy = None
30
+ self.Offset = None
31
+ self.Limit = None
32
+
33
+ def _deserialize(self, params):
34
+ if params.get("ProductType"):
35
+ self.ProductType = params.get("ProductType")
36
+ if params.get("TagId"):
37
+ self.TagId = params.get("TagId")
38
+ if params.get("ProjectIds"):
39
+ self.ProjectIds = params.get("ProjectIds")
40
+ if params.get("FuzzySearch"):
41
+ self.FuzzySearch = params.get("FuzzySearch")
42
+ if params.get("OrderBy"):
43
+ self.OrderBy = params.get("OrderBy")
44
+ if params.get("Offset"):
45
+ self.Offset = params.get("Offset")
46
+ if params.get("Limit"):
47
+ self.Limit = params.get("Limit")
48
+
49
+
50
+ class DescribeInstanceRequest(AbstractModel):
51
+ """DescribeInstance请求参数结构体
52
+ """
53
+
54
+ def __init__(self):
55
+ r"""查询实例详情
56
+ :param InstanceId: 实例ID。
57
+ :type PathPrefix: String
58
+ """
59
+ self.InstanceId = None
60
+
61
+ def _deserialize(self, params):
62
+ if params.get("InstanceId"):
63
+ self.InstanceId = params.get("InstanceId")
64
+
65
+
66
+ class CreateInstanceRequest(AbstractModel):
67
+ """CreateInstance请求参数结构体
68
+ """
69
+
70
+ def __init__(self):
71
+ r"""创建实例(支持指定计费方式)
72
+ :param ProductType: 商品类型。可选:ClickHouse_Single(单副本);ClickHouse(高可用)。
73
+ :type PathPrefix: String
74
+ :param InstanceName: 实例名称。
75
+ :type PathPrefix: String
76
+ :param InstanceType: 实例套餐code。如:bd_ck_0,single_ck_0等。
77
+
78
+
79
+ :type PathPrefix: String
80
+ :param AdminUser: 管理员名称,默认admin。
81
+ :type PathPrefix: String
82
+ :param AdminPassword: 管理员密码。
83
+ :type PathPrefix: String
84
+ :param VpcId: VPC网络ID。
85
+ :type PathPrefix: String
86
+ :param SubnetId: 终端子网ID。
87
+ :type PathPrefix: String
88
+ :param Engine: 实例内核类型,默认:clickhouse。
89
+ :type PathPrefix: String
90
+ :param EngineVersion: 实例内核版本号。 可选"21.8","22.8"。
91
+ :type PathPrefix: String
92
+ :param ProjectId: 项目ID。
93
+ :type PathPrefix: String
94
+ :param BillType: 计费类型。87 按量计费
95
+ :type PathPrefix: Int
96
+ :param Duration: 计费区间(供包年包月计费方式使用),默认1。
97
+ :type PathPrefix: Int
98
+ :param EbsSize: 存储大小,单位:GB。
99
+ :type PathPrefix: Int
100
+ :param EbsType: 存储类型。可选:CloudDisk,LocalDisk默认:CloudDisk。
101
+ :type PathPrefix: String
102
+ :param Mem: 内存大小,单位:GB。需要同实例套餐中一致。
103
+ :type PathPrefix: Int
104
+ :param Cpu: cpu核数。需要同实例套餐中一致。
105
+ :type PathPrefix: Int
106
+ :param TcpPort: 实例tcp端口,默认:9000。
107
+ :type PathPrefix: Int
108
+ :param HttpPort: 实例http端口,默认:8123。
109
+ :type PathPrefix: Int
110
+ :param Az: 可用区。
111
+ :type PathPrefix: String
112
+ :param NodeNum: 实例节点数量,默认3。
113
+ :type PathPrefix: Int
114
+ :param PreferredBackupTime: 备份时段选择。格式:HH:mm-HH:mm。
115
+ :type PathPrefix: String
116
+ :param SecurityGroupId: 安全组ID,如果绑定安全组,需要添加。
117
+ :type PathPrefix: String
118
+ :param ProductWhat: 产品类型(是否试用)
119
+
120
+ ```json
121
+ 1:正式产品
122
+ 2:试用产品
123
+ ```
124
+ :type PathPrefix: Int
125
+ """
126
+ self.ProductType = None
127
+ self.InstanceName = None
128
+ self.InstanceType = None
129
+ self.AdminUser = None
130
+ self.AdminPassword = None
131
+ self.VpcId = None
132
+ self.SubnetId = None
133
+ self.Engine = None
134
+ self.EngineVersion = None
135
+ self.ProjectId = None
136
+ self.BillType = None
137
+ self.Duration = None
138
+ self.EbsSize = None
139
+ self.EbsType = None
140
+ self.Mem = None
141
+ self.Cpu = None
142
+ self.TcpPort = None
143
+ self.HttpPort = None
144
+ self.Az = None
145
+ self.NodeNum = None
146
+ self.PreferredBackupTime = None
147
+ self.SecurityGroupId = None
148
+ self.ProductWhat = None
149
+
150
+ def _deserialize(self, params):
151
+ if params.get("ProductType"):
152
+ self.ProductType = params.get("ProductType")
153
+ if params.get("InstanceName"):
154
+ self.InstanceName = params.get("InstanceName")
155
+ if params.get("InstanceType"):
156
+ self.InstanceType = params.get("InstanceType")
157
+ if params.get("AdminUser"):
158
+ self.AdminUser = params.get("AdminUser")
159
+ if params.get("AdminPassword"):
160
+ self.AdminPassword = params.get("AdminPassword")
161
+ if params.get("VpcId"):
162
+ self.VpcId = params.get("VpcId")
163
+ if params.get("SubnetId"):
164
+ self.SubnetId = params.get("SubnetId")
165
+ if params.get("Engine"):
166
+ self.Engine = params.get("Engine")
167
+ if params.get("EngineVersion"):
168
+ self.EngineVersion = params.get("EngineVersion")
169
+ if params.get("ProjectId"):
170
+ self.ProjectId = params.get("ProjectId")
171
+ if params.get("BillType"):
172
+ self.BillType = params.get("BillType")
173
+ if params.get("Duration"):
174
+ self.Duration = params.get("Duration")
175
+ if params.get("EbsSize"):
176
+ self.EbsSize = params.get("EbsSize")
177
+ if params.get("EbsType"):
178
+ self.EbsType = params.get("EbsType")
179
+ if params.get("Mem"):
180
+ self.Mem = params.get("Mem")
181
+ if params.get("Cpu"):
182
+ self.Cpu = params.get("Cpu")
183
+ if params.get("TcpPort"):
184
+ self.TcpPort = params.get("TcpPort")
185
+ if params.get("HttpPort"):
186
+ self.HttpPort = params.get("HttpPort")
187
+ if params.get("Az"):
188
+ self.Az = params.get("Az")
189
+ if params.get("NodeNum"):
190
+ self.NodeNum = params.get("NodeNum")
191
+ if params.get("PreferredBackupTime"):
192
+ self.PreferredBackupTime = params.get("PreferredBackupTime")
193
+ if params.get("SecurityGroupId"):
194
+ self.SecurityGroupId = params.get("SecurityGroupId")
195
+ if params.get("ProductWhat"):
196
+ self.ProductWhat = params.get("ProductWhat")
197
+
198
+
199
+ class DeleteInstanceRequest(AbstractModel):
200
+ """DeleteInstance请求参数结构体
201
+ """
202
+
203
+ def __init__(self):
204
+ r"""删除实例(默认放入回收站)
205
+ :param InstanceIds: 实例ID列表。
206
+ :type PathPrefix: Filter
207
+ :param DeleteDirectly: 是否直接删除。默认:false 【参数说明:true:立刻删除,false:放入回收站】
208
+ :type PathPrefix: Boolean
209
+ """
210
+ self.InstanceIds = None
211
+ self.DeleteDirectly = None
212
+
213
+ def _deserialize(self, params):
214
+ if params.get("InstanceIds"):
215
+ self.InstanceIds = params.get("InstanceIds")
216
+ if params.get("DeleteDirectly"):
217
+ self.DeleteDirectly = params.get("DeleteDirectly")
218
+
219
+
220
+ class RestartInstanceRequest(AbstractModel):
221
+ """RestartInstance请求参数结构体
222
+ """
223
+
224
+ def __init__(self):
225
+ r"""重启实例(指定实例ID重启)
226
+ :param instanceIds: 实例ID列表
227
+
228
+ ```json
229
+ 批量操作可使用英文','分隔
230
+ ```
231
+ :type PathPrefix: String
232
+ """
233
+ self.instanceIds = None
234
+
235
+ def _deserialize(self, params):
236
+ if params.get("instanceIds"):
237
+ self.instanceIds = params.get("instanceIds")
238
+
239
+
240
+ class RenameInstanceRequest(AbstractModel):
241
+ """RenameInstance请求参数结构体
242
+ """
243
+
244
+ def __init__(self):
245
+ r"""修改实例名称
246
+ :param InstanceId: 实例ID。
247
+ :type PathPrefix: String
248
+ :param InstanceName: 实例新名称。
249
+ :type PathPrefix: String
250
+ """
251
+ self.InstanceId = None
252
+ self.InstanceName = None
253
+
254
+ def _deserialize(self, params):
255
+ if params.get("InstanceId"):
256
+ self.InstanceId = params.get("InstanceId")
257
+ if params.get("InstanceName"):
258
+ self.InstanceName = params.get("InstanceName")
259
+
260
+
261
+ class ListSecurityGroupRequest(AbstractModel):
262
+ """ListSecurityGroup请求参数结构体
263
+ """
264
+
265
+ def __init__(self):
266
+ r"""查看安全组列表
267
+ :param ProductType: 商品类型
268
+ ```json
269
+ 高可用版:523
270
+ 单副本版:676
271
+ ```
272
+ :type PathPrefix: Int
273
+ """
274
+ self.ProductType = None
275
+
276
+ def _deserialize(self, params):
277
+ if params.get("ProductType"):
278
+ self.ProductType = params.get("ProductType")
279
+
280
+
281
+ class DescribeSecurityGroupRequest(AbstractModel):
282
+ """DescribeSecurityGroup请求参数结构体
283
+ """
284
+
285
+ def __init__(self):
286
+ r"""查看安全组详情
287
+ :param ProductType: 商品类型
288
+ ```json
289
+ 高可用版:523
290
+ 单副本版:676
291
+ ```
292
+ :type PathPrefix: Int
293
+ :param SecurityGroupId: 安全组ID。
294
+ :type PathPrefix: String
295
+ """
296
+ self.ProductType = None
297
+ self.SecurityGroupId = None
298
+
299
+ def _deserialize(self, params):
300
+ if params.get("ProductType"):
301
+ self.ProductType = params.get("ProductType")
302
+ if params.get("SecurityGroupId"):
303
+ self.SecurityGroupId = params.get("SecurityGroupId")
304
+
305
+
306
+ class CreateSecurityGroupRequest(AbstractModel):
307
+ """CreateSecurityGroup请求参数结构体
308
+ """
309
+
310
+ def __init__(self):
311
+ r"""创建安全组
312
+ :param ProductType: 商品类型
313
+
314
+ ```json
315
+ 高可用版:523
316
+ 单副本版:676
317
+
318
+ 注意:仅做标记,取默认值即可
319
+ ```
320
+ :type PathPrefix: Int
321
+ :param SecurityGroupName: 安全组名称。
322
+ :type PathPrefix: String
323
+ :param Description: 安全组描述。
324
+ :type PathPrefix: String
325
+ """
326
+ self.ProductType = None
327
+ self.SecurityGroupName = None
328
+ self.Description = None
329
+
330
+ def _deserialize(self, params):
331
+ if params.get("ProductType"):
332
+ self.ProductType = params.get("ProductType")
333
+ if params.get("SecurityGroupName"):
334
+ self.SecurityGroupName = params.get("SecurityGroupName")
335
+ if params.get("Description"):
336
+ self.Description = params.get("Description")
337
+
338
+
339
+ class DeleteSecurityGroupRequest(AbstractModel):
340
+ """DeleteSecurityGroup请求参数结构体
341
+ """
342
+
343
+ def __init__(self):
344
+ r"""删除安全组
345
+ :param SecurityGroupIds: 安全组ID列表。
346
+ :type PathPrefix: String
347
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
348
+
349
+ ```json
350
+ 高可用版:523
351
+ 单副本版:676
352
+ ```
353
+ :type PathPrefix: Int
354
+ """
355
+ self.SecurityGroupIds = None
356
+ self.ProductType = None
357
+
358
+ def _deserialize(self, params):
359
+ if params.get("SecurityGroupIds"):
360
+ self.SecurityGroupIds = params.get("SecurityGroupIds")
361
+ if params.get("ProductType"):
362
+ self.ProductType = params.get("ProductType")
363
+
364
+
365
+ class RenameSecurityGroupRequest(AbstractModel):
366
+ """RenameSecurityGroup请求参数结构体
367
+ """
368
+
369
+ def __init__(self):
370
+ r"""重命名安全组
371
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
372
+
373
+ ```json
374
+ 高可用版:523
375
+ 单副本版:676
376
+ ```
377
+ :type PathPrefix: Int
378
+ :param SecurityGroupId: 安全组ID。
379
+ :type PathPrefix: String
380
+ :param SecurityGroupName: 安全组新名称。名称和描述至少传一个,否则名称或描述不会变更。
381
+ :type PathPrefix: String
382
+ :param Description: 安全组新描述。名称和描述至少传一个,否则名称或描述不会变更。
383
+
384
+
385
+ :type PathPrefix: String
386
+ """
387
+ self.ProductType = None
388
+ self.SecurityGroupId = None
389
+ self.SecurityGroupName = None
390
+ self.Description = None
391
+
392
+ def _deserialize(self, params):
393
+ if params.get("ProductType"):
394
+ self.ProductType = params.get("ProductType")
395
+ if params.get("SecurityGroupId"):
396
+ self.SecurityGroupId = params.get("SecurityGroupId")
397
+ if params.get("SecurityGroupName"):
398
+ self.SecurityGroupName = params.get("SecurityGroupName")
399
+ if params.get("Description"):
400
+ self.Description = params.get("Description")
401
+
402
+
403
+ class CloneSecurityGroupRequest(AbstractModel):
404
+ """CloneSecurityGroup请求参数结构体
405
+ """
406
+
407
+ def __init__(self):
408
+ r"""克隆安全组
409
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
410
+
411
+ ```json
412
+ 高可用版:523
413
+ 单副本版:676
414
+ ```
415
+ :type PathPrefix: Int
416
+ :param SrcSecurityGroupId: 被克隆安全组ID。
417
+ :type PathPrefix: String
418
+ :param SecurityGroupName: 新安全组名称。
419
+ :type PathPrefix: String
420
+ :param Description: 新安全组描述。
421
+ :type PathPrefix: String
422
+ """
423
+ self.ProductType = None
424
+ self.SrcSecurityGroupId = None
425
+ self.SecurityGroupName = None
426
+ self.Description = None
427
+
428
+ def _deserialize(self, params):
429
+ if params.get("ProductType"):
430
+ self.ProductType = params.get("ProductType")
431
+ if params.get("SrcSecurityGroupId"):
432
+ self.SrcSecurityGroupId = params.get("SrcSecurityGroupId")
433
+ if params.get("SecurityGroupName"):
434
+ self.SecurityGroupName = params.get("SecurityGroupName")
435
+ if params.get("Description"):
436
+ self.Description = params.get("Description")
437
+
438
+
439
+ class BindSecurityGroupRequest(AbstractModel):
440
+ """BindSecurityGroup请求参数结构体
441
+ """
442
+
443
+ def __init__(self):
444
+ r"""绑定安全组
445
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
446
+ ```json
447
+ 高可用版:523
448
+ 单副本版:676
449
+ ```
450
+ :type PathPrefix: Int
451
+ :param SecurityGroupIds: 安全组ID列表。
452
+ :type PathPrefix: Array
453
+ :param InstanceIds: 实例ID列表。
454
+ :type PathPrefix: String
455
+ """
456
+ self.ProductType = None
457
+ self.SecurityGroupIds = None
458
+ self.InstanceIds = None
459
+
460
+ def _deserialize(self, params):
461
+ if params.get("ProductType"):
462
+ self.ProductType = params.get("ProductType")
463
+ if params.get("SecurityGroupIds"):
464
+ self.SecurityGroupIds = params.get("SecurityGroupIds")
465
+ if params.get("InstanceIds"):
466
+ self.InstanceIds = params.get("InstanceIds")
467
+
468
+
469
+ class UnbindSecurityGroupRequest(AbstractModel):
470
+ """UnbindSecurityGroup请求参数结构体
471
+ """
472
+
473
+ def __init__(self):
474
+ r"""解绑安全组
475
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
476
+ :type PathPrefix: Int
477
+ :param SecurityGroupId: 安全组ID。
478
+ :type PathPrefix: String
479
+ :param InstanceIds: 实例ID列表。
480
+ :type PathPrefix: Array
481
+ """
482
+ self.ProductType = None
483
+ self.SecurityGroupId = None
484
+ self.InstanceIds = None
485
+
486
+ def _deserialize(self, params):
487
+ if params.get("ProductType"):
488
+ self.ProductType = params.get("ProductType")
489
+ if params.get("SecurityGroupId"):
490
+ self.SecurityGroupId = params.get("SecurityGroupId")
491
+ if params.get("InstanceIds"):
492
+ self.InstanceIds = params.get("InstanceIds")
493
+
494
+
495
+ class CreateSecurityRuleRequest(AbstractModel):
496
+ """CreateSecurityRule请求参数结构体
497
+ """
498
+
499
+ def __init__(self):
500
+ r"""创建安全规则(添加自定义IP地址+绑定云主机IP)
501
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
502
+ :type PathPrefix: Int
503
+ :param SecurityGroupId: 安全组ID。
504
+ :type PathPrefix: String
505
+ :param Cidrs: IP规则列表。IP段采用CIDR地址格式。
506
+ :type PathPrefix: Array
507
+ """
508
+ self.ProductType = None
509
+ self.SecurityGroupId = None
510
+ self.Cidrs = None
511
+
512
+ def _deserialize(self, params):
513
+ if params.get("ProductType"):
514
+ self.ProductType = params.get("ProductType")
515
+ if params.get("SecurityGroupId"):
516
+ self.SecurityGroupId = params.get("SecurityGroupId")
517
+ if params.get("Cidrs"):
518
+ self.Cidrs = params.get("Cidrs")
519
+
520
+
521
+ class DeleteSecurityRuleRequest(AbstractModel):
522
+ """DeleteSecurityRule请求参数结构体
523
+ """
524
+
525
+ def __init__(self):
526
+ r"""删除安全规则(移除IP地址)
527
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
528
+ :type PathPrefix: Int
529
+ :param SecurityGroupId: 安全组ID。
530
+ :type PathPrefix: String
531
+ :param RuleIds: 安全组规则ID列表。多个安全组规则ID用逗号隔开。安全组规则ID可通过DescribeSecurityGroup接口获取。
532
+ :type PathPrefix: String
533
+ """
534
+ self.ProductType = None
535
+ self.SecurityGroupId = None
536
+ self.RuleIds = None
537
+
538
+ def _deserialize(self, params):
539
+ if params.get("ProductType"):
540
+ self.ProductType = params.get("ProductType")
541
+ if params.get("SecurityGroupId"):
542
+ self.SecurityGroupId = params.get("SecurityGroupId")
543
+ if params.get("RuleIds"):
544
+ self.RuleIds = params.get("RuleIds")
545
+
546
+
547
+ class ListSecuredInstanceRequest(AbstractModel):
548
+ """ListSecuredInstance请求参数结构体
549
+ """
550
+
551
+ def __init__(self):
552
+ r"""查询已绑定安全组的实例列表
553
+ :param SecurityGroupId: 安全组ID。
554
+ :type PathPrefix: String
555
+ :param ProjectIds: 项目组ID列表。不填表示全部项目。
556
+ :type PathPrefix: Filter
557
+ :param FuzzySearch: 模糊搜索。支持:实例ID、实例名称、项目名称、VIP。
558
+ :type PathPrefix: String
559
+ :param Offset: 第几页,从0开始。
560
+ :type PathPrefix: Int
561
+ :param Limit: 每页最大记录数
562
+ :type PathPrefix: Int
563
+ :param OrderBy: 排序字段。
564
+ :type PathPrefix: Filter
565
+ """
566
+ self.SecurityGroupId = None
567
+ self.ProjectIds = None
568
+ self.FuzzySearch = None
569
+ self.Offset = None
570
+ self.Limit = None
571
+ self.OrderBy = None
572
+
573
+ def _deserialize(self, params):
574
+ if params.get("SecurityGroupId"):
575
+ self.SecurityGroupId = params.get("SecurityGroupId")
576
+ if params.get("ProjectIds"):
577
+ self.ProjectIds = params.get("ProjectIds")
578
+ if params.get("FuzzySearch"):
579
+ self.FuzzySearch = params.get("FuzzySearch")
580
+ if params.get("Offset"):
581
+ self.Offset = params.get("Offset")
582
+ if params.get("Limit"):
583
+ self.Limit = params.get("Limit")
584
+ if params.get("OrderBy"):
585
+ self.OrderBy = params.get("OrderBy")
586
+
587
+
588
+ class ListUnsecuredInstanceRequest(AbstractModel):
589
+ """ListUnsecuredInstance请求参数结构体
590
+ """
591
+
592
+ def __init__(self):
593
+ r"""查询未绑定安全组的实例列表
594
+ :param FuzzySearch: 模糊搜索。
595
+ :type PathPrefix: String
596
+ :param Offset: 第几页,从0开始。
597
+ :type PathPrefix: Int
598
+ :param Limit: 每页最大记录数。
599
+ :type PathPrefix: Int
600
+ :param OrderBy: 排序字段。
601
+ :type PathPrefix: Filter
602
+ """
603
+ self.FuzzySearch = None
604
+ self.Offset = None
605
+ self.Limit = None
606
+ self.OrderBy = None
607
+
608
+ def _deserialize(self, params):
609
+ if params.get("FuzzySearch"):
610
+ self.FuzzySearch = params.get("FuzzySearch")
611
+ if params.get("Offset"):
612
+ self.Offset = params.get("Offset")
613
+ if params.get("Limit"):
614
+ self.Limit = params.get("Limit")
615
+ if params.get("OrderBy"):
616
+ self.OrderBy = params.get("OrderBy")
617
+
618
+
619
+ class ListRecycledInstanceRequest(AbstractModel):
620
+ """ListRecycledInstance请求参数结构体
621
+ """
622
+
623
+ def __init__(self):
624
+ r"""查询实例列表(回收站)
625
+ :param ProductType: 商品类型。可选:ClickHouse_Single(单副本);ClickHouse(高可用)。
626
+ :type PathPrefix: String
627
+ :param ProjectIds: 项目ID列表,不填表示全部项目。
628
+ :type PathPrefix: Filter
629
+ :param FuzzySearch: 模糊查询字段。支持:实例ID、实例名称、VIP。
630
+ :type PathPrefix: String
631
+ :param OrderBy: 排序字段。
632
+ :type PathPrefix: Filter
633
+ :param Offset: 第几页,从0开始。默认:0。
634
+ :type PathPrefix: Int
635
+ :param Limit: 每页最大记录数。 默认:10。
636
+ :type PathPrefix: Int
637
+ """
638
+ self.ProductType = None
639
+ self.ProjectIds = None
640
+ self.FuzzySearch = None
641
+ self.OrderBy = None
642
+ self.Offset = None
643
+ self.Limit = None
644
+
645
+ def _deserialize(self, params):
646
+ if params.get("ProductType"):
647
+ self.ProductType = params.get("ProductType")
648
+ if params.get("ProjectIds"):
649
+ self.ProjectIds = params.get("ProjectIds")
650
+ if params.get("FuzzySearch"):
651
+ self.FuzzySearch = params.get("FuzzySearch")
652
+ if params.get("OrderBy"):
653
+ self.OrderBy = params.get("OrderBy")
654
+ if params.get("Offset"):
655
+ self.Offset = params.get("Offset")
656
+ if params.get("Limit"):
657
+ self.Limit = params.get("Limit")
658
+
659
+
660
+ class RecoverRecycledInstanceRequest(AbstractModel):
661
+ """RecoverRecycledInstance请求参数结构体
662
+ """
663
+
664
+ def __init__(self):
665
+ r"""恢复实例(回收站实例重新移入正常实例列表)
666
+ :param InstanceIds: 实例ID列表。
667
+ :type PathPrefix: Array
668
+ """
669
+ self.InstanceIds = None
670
+
671
+ def _deserialize(self, params):
672
+ if params.get("InstanceIds"):
673
+ self.InstanceIds = params.get("InstanceIds")
674
+
675
+
676
+ class DropRecycledInstanceRequest(AbstractModel):
677
+ """DropRecycledInstance请求参数结构体
678
+ """
679
+
680
+ def __init__(self):
681
+ r"""彻底删除实例(回收站清空)
682
+ :param InstanceIds: 实例ID列表。
683
+ :type PathPrefix: Filter
684
+ """
685
+ self.InstanceIds = None
686
+
687
+ def _deserialize(self, params):
688
+ if params.get("InstanceIds"):
689
+ self.InstanceIds = params.get("InstanceIds")
690
+
691
+
692
+ class ListRegionRequest(AbstractModel):
693
+ """ListRegion请求参数结构体
694
+ """
695
+
696
+ def __init__(self):
697
+ r"""查询地域列表
698
+ :param ProductType: 商品类型
699
+
700
+ ```json
701
+ 高可用版:523
702
+ 单副本版:676
703
+ ```
704
+ :type PathPrefix: Int
705
+ """
706
+ self.ProductType = None
707
+
708
+ def _deserialize(self, params):
709
+ if params.get("ProductType"):
710
+ self.ProductType = params.get("ProductType")
711
+
712
+
713
+ class DescRegionRequest(AbstractModel):
714
+ """DescRegion请求参数结构体
715
+ """
716
+
717
+ def __init__(self):
718
+ r"""查询可用区详情
719
+ :param ProductType: 商品类型
720
+ ```json
721
+ 高可用版:523
722
+ 单副本版:676
723
+ ```
724
+ :type PathPrefix: Int
725
+ :param RegionCode: 地域编码。
726
+ :type PathPrefix: String
727
+ """
728
+ self.ProductType = None
729
+ self.RegionCode = None
730
+
731
+ def _deserialize(self, params):
732
+ if params.get("ProductType"):
733
+ self.ProductType = params.get("ProductType")
734
+ if params.get("RegionCode"):
735
+ self.RegionCode = params.get("RegionCode")
736
+
737
+
738
+ class UpdateSecurityRuleRequest(AbstractModel):
739
+ """UpdateSecurityRule请求参数结构体
740
+ """
741
+
742
+ def __init__(self):
743
+ r"""修改安全规则备注(具体的IP规则描述)
744
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
745
+ :type PathPrefix: Int
746
+ :param RuleId: 安全组规则ID。安全组规则ID可通过DescribeSecurityGroup接口获取。
747
+ :type PathPrefix: String
748
+ :param Description: 安全组规则备注。
749
+ :type PathPrefix: String
750
+ """
751
+ self.ProductType = None
752
+ self.RuleId = None
753
+ self.Description = None
754
+
755
+ def _deserialize(self, params):
756
+ if params.get("ProductType"):
757
+ self.ProductType = params.get("ProductType")
758
+ if params.get("RuleId"):
759
+ self.RuleId = params.get("RuleId")
760
+ if params.get("Description"):
761
+ self.Description = params.get("Description")
762
+
763
+
764
+ class RebindSecurityGroupRequest(AbstractModel):
765
+ """RebindSecurityGroup请求参数结构体
766
+ """
767
+
768
+ def __init__(self):
769
+ r"""重新绑定安全组
770
+ :param ProductType: 商品类型:Clickhouse固定取值:523。
771
+ :type PathPrefix: Int
772
+ :param SecurityGroupId: 安全组ID。
773
+ :type PathPrefix: String
774
+ :param InstanceId: 实例ID。
775
+ :type PathPrefix: String
776
+ """
777
+ self.ProductType = None
778
+ self.SecurityGroupId = None
779
+ self.InstanceId = None
780
+
781
+ def _deserialize(self, params):
782
+ if params.get("ProductType"):
783
+ self.ProductType = params.get("ProductType")
784
+ if params.get("SecurityGroupId"):
785
+ self.SecurityGroupId = params.get("SecurityGroupId")
786
+ if params.get("InstanceId"):
787
+ self.InstanceId = params.get("InstanceId")
788
+
789
+
790
+ class DescribeEngineDefaultParametersRequest(AbstractModel):
791
+ """DescribeEngineDefaultParameters请求参数结构体
792
+ """
793
+
794
+ def __init__(self):
795
+ r"""查询实例默认参数
796
+ :param EngineVersion: 引擎版本。可选:21.8、22.8。
797
+ :type PathPrefix: String
798
+ :param ConfigType: 参数类型。可选:Users,Config。
799
+ :type PathPrefix: String
800
+ """
801
+ self.EngineVersion = None
802
+ self.ConfigType = None
803
+
804
+ def _deserialize(self, params):
805
+ if params.get("EngineVersion"):
806
+ self.EngineVersion = params.get("EngineVersion")
807
+ if params.get("ConfigType"):
808
+ self.ConfigType = params.get("ConfigType")
809
+
810
+
811
+ class ModifyDBParameterGroupRequest(AbstractModel):
812
+ """ModifyDBParameterGroup请求参数结构体
813
+ """
814
+
815
+ def __init__(self):
816
+ r"""修改实例参数
817
+ :param InstanceId: 实例ID。
818
+ :type PathPrefix: String
819
+ :param Parameters: 参数变更列表。
820
+
821
+ ```json
822
+ 请求体中传值(key-value形式放入所有要变更的参数-参数值)。
823
+ 例如:
824
+ {
825
+ "InstanceId": "***",
826
+ "Parameters": {
827
+ "keep_alive_timeout": "500"
828
+ },
829
+ "ConfigType": "Config"
830
+ }
831
+ ```
832
+ :type PathPrefix: String
833
+ :param ConfigType: 参数类型。可选:Users,Config。
834
+ :type PathPrefix: String
835
+ """
836
+ self.InstanceId = None
837
+ self.Parameters = None
838
+ self.ConfigType = None
839
+
840
+ def _deserialize(self, params):
841
+ if params.get("InstanceId"):
842
+ self.InstanceId = params.get("InstanceId")
843
+ if params.get("Parameters"):
844
+ self.Parameters = params.get("Parameters")
845
+ if params.get("ConfigType"):
846
+ self.ConfigType = params.get("ConfigType")
847
+
848
+
849
+ class DescribeDBInstanceParametersRequest(AbstractModel):
850
+ """DescribeDBInstanceParameters请求参数结构体
851
+ """
852
+
853
+ def __init__(self):
854
+ r"""查询实例当前参数
855
+ :param InstanceId: 实例ID。
856
+ :type PathPrefix: String
857
+ :param ConfigType: 参数类型。可选:Users,Config。
858
+ :type PathPrefix: String
859
+ """
860
+ self.InstanceId = None
861
+ self.ConfigType = None
862
+
863
+ def _deserialize(self, params):
864
+ if params.get("InstanceId"):
865
+ self.InstanceId = params.get("InstanceId")
866
+ if params.get("ConfigType"):
867
+ self.ConfigType = params.get("ConfigType")
868
+
869
+
870
+ class ResetDBParameterRequest(AbstractModel):
871
+ """ResetDBParameter请求参数结构体
872
+ """
873
+
874
+ def __init__(self):
875
+ r"""重置实例参数
876
+ :param InstanceId: 实例ID。
877
+ :type PathPrefix: String
878
+ :param ConfigType: 参数类型。可选:Users,Config。
879
+ :type PathPrefix: String
880
+ """
881
+ self.InstanceId = None
882
+ self.ConfigType = None
883
+
884
+ def _deserialize(self, params):
885
+ if params.get("InstanceId"):
886
+ self.InstanceId = params.get("InstanceId")
887
+ if params.get("ConfigType"):
888
+ self.ConfigType = params.get("ConfigType")
889
+
890
+
891
+ class DescribeBucketsRequest(AbstractModel):
892
+ """DescribeBuckets请求参数结构体
893
+ """
894
+
895
+ def __init__(self):
896
+ r"""查询当前用桶列表
897
+ """
898
+
899
+ def _deserialize(self, params):
900
+ return
901
+
902
+
903
+ class OperateHotAndColdSeparationRequest(AbstractModel):
904
+ """OperateHotAndColdSeparation请求参数结构体
905
+ """
906
+
907
+ def __init__(self):
908
+ r"""冷热数据分层配置
909
+ """
910
+
911
+ def _deserialize(self, params):
912
+ return
913
+
914
+
915
+ class CreateInstanceAccountRequest(AbstractModel):
916
+ """CreateInstanceAccount请求参数结构体
917
+ """
918
+
919
+ def __init__(self):
920
+ r"""创建指定实例的数据库账号(普通用户)
921
+ :param Name: 账号名称
922
+ :type PathPrefix: String
923
+ :param Password: 账号密码
924
+ :type PathPrefix: String
925
+ :param InstanceId: 实例ID
926
+ :type PathPrefix: String
927
+ :param Description: 账号描述
928
+ :type PathPrefix: String
929
+ """
930
+ self.Name = None
931
+ self.Password = None
932
+ self.InstanceId = None
933
+ self.Description = None
934
+
935
+ def _deserialize(self, params):
936
+ if params.get("Name"):
937
+ self.Name = params.get("Name")
938
+ if params.get("Password"):
939
+ self.Password = params.get("Password")
940
+ if params.get("InstanceId"):
941
+ self.InstanceId = params.get("InstanceId")
942
+ if params.get("Description"):
943
+ self.Description = params.get("Description")
944
+
945
+
946
+ class ModifyInstanceAccountPrivilegesRequest(AbstractModel):
947
+ """ModifyInstanceAccountPrivileges请求参数结构体
948
+ """
949
+
950
+ def __init__(self):
951
+ r"""修改实例指定用户的数据库权限
952
+ :param InstanceId: 实例ID
953
+ :type PathPrefix: String
954
+ :param InstanceAccountName: 账号名称
955
+ :type PathPrefix: String
956
+ :param InstanceAccountPrivileges:
957
+ :type PathPrefix: Filter
958
+ """
959
+ self.InstanceId = None
960
+ self.InstanceAccountName = None
961
+ self.InstanceAccountPrivileges = None
962
+
963
+ def _deserialize(self, params):
964
+ if params.get("InstanceId"):
965
+ self.InstanceId = params.get("InstanceId")
966
+ if params.get("InstanceAccountName"):
967
+ self.InstanceAccountName = params.get("InstanceAccountName")
968
+ if params.get("InstanceAccountPrivileges"):
969
+ self.InstanceAccountPrivileges = params.get("InstanceAccountPrivileges")
970
+
971
+
972
+ class DeleteInstanceAccountRequest(AbstractModel):
973
+ """DeleteInstanceAccount请求参数结构体
974
+ """
975
+
976
+ def __init__(self):
977
+ r"""删除指定实例数据库账号
978
+ :param InstanceId: 实例ID
979
+ :type PathPrefix: String
980
+ :param InstanceAccountName: 账号名称
981
+ :type PathPrefix: String
982
+ """
983
+ self.InstanceId = None
984
+ self.InstanceAccountName = None
985
+
986
+ def _deserialize(self, params):
987
+ if params.get("InstanceId"):
988
+ self.InstanceId = params.get("InstanceId")
989
+ if params.get("InstanceAccountName"):
990
+ self.InstanceAccountName = params.get("InstanceAccountName")
991
+
992
+
993
+ class DescribeInstanceAccountsRequest(AbstractModel):
994
+ """DescribeInstanceAccounts请求参数结构体
995
+ """
996
+
997
+ def __init__(self):
998
+ r"""查询指定实例数据库账号列表
999
+ :param InstanceId: 实例ID
1000
+ :type PathPrefix: String
1001
+ """
1002
+ self.InstanceId = None
1003
+
1004
+ def _deserialize(self, params):
1005
+ if params.get("InstanceId"):
1006
+ self.InstanceId = params.get("InstanceId")
1007
+
1008
+
1009
+ class DescribeInstanceDatabasesRequest(AbstractModel):
1010
+ """DescribeInstanceDatabases请求参数结构体
1011
+ """
1012
+
1013
+ def __init__(self):
1014
+ r"""查询库表列表
1015
+ :param InstanceId: 实例ID
1016
+ :type PathPrefix: String
1017
+ """
1018
+ self.InstanceId = None
1019
+
1020
+ def _deserialize(self, params):
1021
+ if params.get("InstanceId"):
1022
+ self.InstanceId = params.get("InstanceId")
1023
+
1024
+
1025
+ class ModifyInstanceAccountInfoRequest(AbstractModel):
1026
+ """ModifyInstanceAccountInfo请求参数结构体
1027
+ """
1028
+
1029
+ def __init__(self):
1030
+ r"""修改实例账号密码或者描述
1031
+ :param InstanceId: 实例ID
1032
+ :type PathPrefix: String
1033
+ :param InstanceAccountName: 账号名称
1034
+ :type PathPrefix: String
1035
+ :param InstanceAccountPassword: 账号密码
1036
+
1037
+ ```json
1038
+ 账号密码或者描述必须填写一项
1039
+ ```
1040
+ :type PathPrefix: String
1041
+ :param InstanceAccountDescription: 账号描述
1042
+
1043
+ ```json
1044
+ 账号密码或者描述必须填写一项
1045
+ ```
1046
+ :type PathPrefix: String
1047
+ """
1048
+ self.InstanceId = None
1049
+ self.InstanceAccountName = None
1050
+ self.InstanceAccountPassword = None
1051
+ self.InstanceAccountDescription = None
1052
+
1053
+ def _deserialize(self, params):
1054
+ if params.get("InstanceId"):
1055
+ self.InstanceId = params.get("InstanceId")
1056
+ if params.get("InstanceAccountName"):
1057
+ self.InstanceAccountName = params.get("InstanceAccountName")
1058
+ if params.get("InstanceAccountPassword"):
1059
+ self.InstanceAccountPassword = params.get("InstanceAccountPassword")
1060
+ if params.get("InstanceAccountDescription"):
1061
+ self.InstanceAccountDescription = params.get("InstanceAccountDescription")
1062
+
1063
+
1064
+ class DescribeInstanceShardInfoRequest(AbstractModel):
1065
+ """DescribeInstanceShardInfo请求参数结构体
1066
+ """
1067
+
1068
+ def __init__(self):
1069
+ r"""查询集群拓扑图(拓扑关系数据)
1070
+ :param InstanceId: 实例id
1071
+ :type PathPrefix: String
1072
+ """
1073
+ self.InstanceId = None
1074
+
1075
+ def _deserialize(self, params):
1076
+ if params.get("InstanceId"):
1077
+ self.InstanceId = params.get("InstanceId")
1078
+
1079
+
1080
+ class UpdateInstanceTrialOrderRequest(AbstractModel):
1081
+ """UpdateInstanceTrialOrder请求参数结构体
1082
+ """
1083
+
1084
+ def __init__(self):
1085
+ r"""试用订单转正/延期
1086
+ :param InstanceId: 实例ID
1087
+ :type PathPrefix: String
1088
+ :param OperateType: 操作类型
1089
+
1090
+ ```
1091
+ 延期:delay
1092
+ 购买:buy
1093
+
1094
+ 注意:无默认,不区分大小写
1095
+ ```
1096
+ :type PathPrefix: String
1097
+ :param Duration: 延期或转正时间指定
1098
+
1099
+ ```json
1100
+ 默认1,按日结算和按量付费不用指定
1101
+ ```
1102
+ :type PathPrefix: Int
1103
+ :param BillType: 计费类型
1104
+
1105
+ ```json
1106
+ 按量付费:87
1107
+ 按量付费(按日月结):5
1108
+ 包年包月: 1
1109
+ ```
1110
+ :type PathPrefix: Int
1111
+ """
1112
+ self.InstanceId = None
1113
+ self.OperateType = None
1114
+ self.Duration = None
1115
+ self.BillType = None
1116
+
1117
+ def _deserialize(self, params):
1118
+ if params.get("InstanceId"):
1119
+ self.InstanceId = params.get("InstanceId")
1120
+ if params.get("OperateType"):
1121
+ self.OperateType = params.get("OperateType")
1122
+ if params.get("Duration"):
1123
+ self.Duration = params.get("Duration")
1124
+ if params.get("BillType"):
1125
+ self.BillType = params.get("BillType")
1126
+
1127
+