kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.44__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 (288) hide show
  1. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/METADATA +17 -4
  2. kingsoftcloud_sdk_python-1.5.8.44.dist-info/RECORD +337 -0
  3. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/WHEEL +1 -1
  4. ksyun/__init__.py +1 -1
  5. ksyun/client/actiontrail/v20190401/client.py +1 -1
  6. ksyun/client/aicp/v20240612/client.py +1229 -0
  7. ksyun/client/aicp/v20240612/models.py +1778 -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 +3 -72
  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 +56 -0
  15. ksyun/client/bill/v20220601/models.py +54 -0
  16. ksyun/client/bill_union/v20200101/client.py +77 -8
  17. ksyun/client/bill_union/v20200101/models.py +118 -2
  18. ksyun/client/bill_union/v20221222/__init__.py +0 -0
  19. ksyun/client/bill_union/v20221222/client.py +148 -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 +56 -0
  23. ksyun/client/bill_union/v20250801/models.py +64 -0
  24. ksyun/client/bws/v20160304/client.py +29 -6
  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 +79 -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 +401 -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 +171 -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 +33 -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 +999 -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 +608 -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 +907 -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 +79 -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 +470 -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 +447 -0
  61. ksyun/client/dts/v20180108/models.py +734 -0
  62. ksyun/client/ebs/v20160304/client.py +243 -36
  63. ksyun/client/ebs/v20160304/models.py +320 -66
  64. ksyun/client/eip/v20160304/client.py +122 -7
  65. ksyun/client/eip/v20160304/models.py +95 -1
  66. ksyun/client/epc/v20151101/client.py +1258 -131
  67. ksyun/client/epc/v20151101/models.py +2605 -134
  68. ksyun/client/iam/v20151101/client.py +271 -64
  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 +33 -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 +33 -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 +631 -0
  79. ksyun/client/influxdb/v20191010/models.py +655 -0
  80. ksyun/client/kad/v20161122/client.py +52 -6
  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 +401 -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 +792 -0
  88. ksyun/client/kce/v20190806/models.py +1099 -0
  89. ksyun/client/kce/v20201231/__init__.py +0 -0
  90. ksyun/client/{bill_union/v20211209 → kce/v20201231}/client.py +9 -9
  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 +217 -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 +516 -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 +56 -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 +355 -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 +217 -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 +355 -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 +240 -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 +1022 -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 +1528 -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 +33 -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 +33 -0
  130. ksyun/client/kcs/v20240701/models.py +23 -0
  131. ksyun/client/kead/v20200101/client.py +47 -1
  132. ksyun/client/kead/v20200101/models.py +52 -42
  133. ksyun/client/kec/v20160304/client.py +334 -127
  134. ksyun/client/kec/v20160304/models.py +701 -131
  135. ksyun/client/ked/__init__.py +0 -0
  136. ksyun/client/ked/v1/__init__.py +0 -0
  137. ksyun/client/ked/v1/client.py +1022 -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 +194 -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 +194 -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 +56 -0
  150. ksyun/client/kfw/v20160304/models.py +35 -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 +33 -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 +194 -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 +378 -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 +194 -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 +539 -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 +171 -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 +447 -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 +401 -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 +191 -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 +2103 -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 +240 -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 +309 -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 +447 -0
  199. ksyun/client/milvus/v20231010/models.py +520 -0
  200. ksyun/client/mongodb/v20170101/client.py +280 -50
  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 +33 -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 +56 -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 +33 -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 +286 -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 +56 -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 +79 -0
  220. ksyun/client/monitor/v20250101/models.py +156 -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 +815 -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 +1160 -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 +447 -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/{slb/v20171210 → relyt/v20240117}/client.py +9 -9
  236. ksyun/client/relyt/v20240117/models.py +23 -0
  237. ksyun/client/resourcemanager/v20210320/client.py +8 -8
  238. ksyun/client/sks/v20151101/client.py +5 -5
  239. ksyun/client/sks/v20151101/models.py +7 -0
  240. ksyun/client/slb/v20160304/client.py +1051 -62
  241. ksyun/client/slb/v20160304/models.py +1692 -19
  242. ksyun/client/slb/v20250430/__init__.py +0 -0
  243. ksyun/client/slb/v20250430/client.py +815 -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 +1068 -0
  248. ksyun/client/sqlserver/v20190425/models.py +1528 -0
  249. ksyun/client/sts/v20151101/client.py +24 -1
  250. ksyun/client/sts/v20151101/models.py +54 -1
  251. ksyun/client/tagv2/v20200901/client.py +54 -8
  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 +125 -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 +930 -0
  260. ksyun/client/tidb/v20210520/models.py +1162 -0
  261. ksyun/client/trade/v20200114/client.py +1 -1
  262. ksyun/client/trade/v20200831/client.py +1 -1
  263. ksyun/client/trade/v20250220/__init__.py +0 -0
  264. ksyun/client/trade/v20250220/client.py +102 -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 +102 -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 +33 -0
  271. ksyun/client/trade/v20250828/models.py +81 -0
  272. ksyun/client/vpc/v20160304/client.py +1297 -147
  273. ksyun/client/vpc/v20160304/models.py +1536 -139
  274. ksyun/client/waf/__init__.py +0 -0
  275. ksyun/client/waf/v20200707/__init__.py +0 -0
  276. ksyun/client/waf/v20200707/client.py +470 -0
  277. ksyun/client/waf/v20200707/models.py +738 -0
  278. ksyun/common/abstract_client.py +42 -18
  279. ksyun/common/http/request.py +43 -6
  280. ksyun/common/profile/http_profile.py +26 -1
  281. kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
  282. ksyun/client/bill_union/v20211209/models.py +0 -38
  283. ksyun/client/slb/v20171210/models.py +0 -33
  284. ksyun/common/sign.py +0 -33
  285. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info/licenses}/LICENSE +0 -0
  286. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/top_level.txt +0 -0
  287. /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
  288. /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
@@ -9,13 +9,13 @@ class EbsClient(AbstractClient):
9
9
  _endpoint = 'ebs.api.ksyun.com'
10
10
  _service = 'ebs'
11
11
  def CreateVolume(self, request):
12
- """CreateVolume
12
+ """创建硬盘资源
13
13
  :param request: Request instance for CreateVolume.
14
14
  :type request: :class:`ksyun.client.ebs.v20160304.models.CreateVolumeRequest`
15
15
  """
16
16
  try:
17
17
  params = request._serialize()
18
- body = self.call("CreateVolume", params)
18
+ body = self.call_judge("CreateVolume", params, "application/x-www-form-urlencoded")
19
19
  response = json.loads(body)
20
20
  if "Error" not in response:
21
21
  return body
@@ -32,13 +32,13 @@ class EbsClient(AbstractClient):
32
32
 
33
33
 
34
34
  def AttachVolume(self, request):
35
- """AttachVolume
35
+ """挂载云硬盘
36
36
  :param request: Request instance for AttachVolume.
37
37
  :type request: :class:`ksyun.client.ebs.v20160304.models.AttachVolumeRequest`
38
38
  """
39
39
  try:
40
40
  params = request._serialize()
41
- body = self.call("AttachVolume", params)
41
+ body = self.call_judge("AttachVolume", params, "application/x-www-form-urlencoded")
42
42
  response = json.loads(body)
43
43
  if "Error" not in response:
44
44
  return body
@@ -55,13 +55,13 @@ class EbsClient(AbstractClient):
55
55
 
56
56
 
57
57
  def DetachVolume(self, request):
58
- """DetachVolume
58
+ """卸载云硬盘
59
59
  :param request: Request instance for DetachVolume.
60
60
  :type request: :class:`ksyun.client.ebs.v20160304.models.DetachVolumeRequest`
61
61
  """
62
62
  try:
63
63
  params = request._serialize()
64
- body = self.call("DetachVolume", params)
64
+ body = self.call_judge("DetachVolume", params, "application/x-www-form-urlencoded")
65
65
  response = json.loads(body)
66
66
  if "Error" not in response:
67
67
  return body
@@ -78,13 +78,13 @@ class EbsClient(AbstractClient):
78
78
 
79
79
 
80
80
  def DeleteVolume(self, request):
81
- """DeleteVolume
81
+ """删除云硬盘
82
82
  :param request: Request instance for DeleteVolume.
83
83
  :type request: :class:`ksyun.client.ebs.v20160304.models.DeleteVolumeRequest`
84
84
  """
85
85
  try:
86
86
  params = request._serialize()
87
- body = self.call("DeleteVolume", params)
87
+ body = self.call_judge("DeleteVolume", params, "application/x-www-form-urlencoded")
88
88
  response = json.loads(body)
89
89
  if "Error" not in response:
90
90
  return body
@@ -101,13 +101,13 @@ class EbsClient(AbstractClient):
101
101
 
102
102
 
103
103
  def ResizeVolume(self, request):
104
- """ResizeVolume
104
+ """云盘扩容大小
105
105
  :param request: Request instance for ResizeVolume.
106
106
  :type request: :class:`ksyun.client.ebs.v20160304.models.ResizeVolumeRequest`
107
107
  """
108
108
  try:
109
109
  params = request._serialize()
110
- body = self.call("ResizeVolume", params)
110
+ body = self.call_judge("ResizeVolume", params, "application/x-www-form-urlencoded")
111
111
  response = json.loads(body)
112
112
  if "Error" not in response:
113
113
  return body
@@ -124,13 +124,13 @@ class EbsClient(AbstractClient):
124
124
 
125
125
 
126
126
  def DescribeVolumes(self, request):
127
- """DescribeVolumes
127
+ """DescribeVolumes查询硬盘列表
128
128
  :param request: Request instance for DescribeVolumes.
129
129
  :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeVolumesRequest`
130
130
  """
131
131
  try:
132
132
  params = request._serialize()
133
- body = self.call("DescribeVolumes", params)
133
+ body = self.call_judge("DescribeVolumes", params, "application/x-www-form-urlencoded")
134
134
  response = json.loads(body)
135
135
  if "Error" not in response:
136
136
  return body
@@ -147,13 +147,13 @@ class EbsClient(AbstractClient):
147
147
 
148
148
 
149
149
  def ModifyVolume(self, request):
150
- """ModifyVolume
150
+ """更新云硬盘属性
151
151
  :param request: Request instance for ModifyVolume.
152
152
  :type request: :class:`ksyun.client.ebs.v20160304.models.ModifyVolumeRequest`
153
153
  """
154
154
  try:
155
155
  params = request._serialize()
156
- body = self.call("ModifyVolume", params)
156
+ body = self.call_judge("ModifyVolume", params, "application/x-www-form-urlencoded")
157
157
  response = json.loads(body)
158
158
  if "Error" not in response:
159
159
  return body
@@ -170,13 +170,13 @@ class EbsClient(AbstractClient):
170
170
 
171
171
 
172
172
  def DescribeEbsInstances(self, request):
173
- """DescribeEbsInstances
173
+ """查询可挂载云主机
174
174
  :param request: Request instance for DescribeEbsInstances.
175
175
  :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeEbsInstancesRequest`
176
176
  """
177
177
  try:
178
178
  params = request._serialize()
179
- body = self.call("DescribeEbsInstances", params)
179
+ body = self.call_judge("DescribeEbsInstances", params, "application/x-www-form-urlencoded")
180
180
  response = json.loads(body)
181
181
  if "Error" not in response:
182
182
  return body
@@ -193,13 +193,13 @@ class EbsClient(AbstractClient):
193
193
 
194
194
 
195
195
  def DescribeInstanceVolumes(self, request):
196
- """DescribeInstanceVolumes
196
+ """查询云主机所挂载云硬盘
197
197
  :param request: Request instance for DescribeInstanceVolumes.
198
198
  :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeInstanceVolumesRequest`
199
199
  """
200
200
  try:
201
201
  params = request._serialize()
202
- body = self.call("DescribeInstanceVolumes", params)
202
+ body = self.call_judge("DescribeInstanceVolumes", params, "application/x-www-form-urlencoded")
203
203
  response = json.loads(body)
204
204
  if "Error" not in response:
205
205
  return body
@@ -216,13 +216,13 @@ class EbsClient(AbstractClient):
216
216
 
217
217
 
218
218
  def RenewVolume(self, request):
219
- """RenewVolume
219
+ """续费云硬盘
220
220
  :param request: Request instance for RenewVolume.
221
221
  :type request: :class:`ksyun.client.ebs.v20160304.models.RenewVolumeRequest`
222
222
  """
223
223
  try:
224
224
  params = request._serialize()
225
- body = self.call("RenewVolume", params)
225
+ body = self.call_judge("RenewVolume", params, "application/x-www-form-urlencoded")
226
226
  response = json.loads(body)
227
227
  if "Error" not in response:
228
228
  return body
@@ -239,13 +239,13 @@ class EbsClient(AbstractClient):
239
239
 
240
240
 
241
241
  def UpdateVolumeProject(self, request):
242
- """UpdateVolumeProject
242
+ """更新云硬盘项目组
243
243
  :param request: Request instance for UpdateVolumeProject.
244
244
  :type request: :class:`ksyun.client.ebs.v20160304.models.UpdateVolumeProjectRequest`
245
245
  """
246
246
  try:
247
247
  params = request._serialize()
248
- body = self.call("UpdateVolumeProject", params)
248
+ body = self.call_judge("UpdateVolumeProject", params, "application/x-www-form-urlencoded")
249
249
  response = json.loads(body)
250
250
  if "Error" not in response:
251
251
  return body
@@ -262,13 +262,13 @@ class EbsClient(AbstractClient):
262
262
 
263
263
 
264
264
  def DescribeSnapshots(self, request):
265
- """DescribeSnapshots
265
+ """查询快照信息
266
266
  :param request: Request instance for DescribeSnapshots.
267
267
  :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeSnapshotsRequest`
268
268
  """
269
269
  try:
270
270
  params = request._serialize()
271
- body = self.call("DescribeSnapshots", params)
271
+ body = self.call_judge("DescribeSnapshots", params, "application/x-www-form-urlencoded")
272
272
  response = json.loads(body)
273
273
  if "Error" not in response:
274
274
  return body
@@ -285,13 +285,13 @@ class EbsClient(AbstractClient):
285
285
 
286
286
 
287
287
  def CreateSnapshot(self, request):
288
- """CreateSnapshot
288
+ """基于云盘创建快照
289
289
  :param request: Request instance for CreateSnapshot.
290
290
  :type request: :class:`ksyun.client.ebs.v20160304.models.CreateSnapshotRequest`
291
291
  """
292
292
  try:
293
293
  params = request._serialize()
294
- body = self.call("CreateSnapshot", params)
294
+ body = self.call_judge("CreateSnapshot", params, "application/x-www-form-urlencoded")
295
295
  response = json.loads(body)
296
296
  if "Error" not in response:
297
297
  return body
@@ -308,13 +308,13 @@ class EbsClient(AbstractClient):
308
308
 
309
309
 
310
310
  def DeleteSnapshot(self, request):
311
- """DeleteSnapshot
311
+ """删除快照数据
312
312
  :param request: Request instance for DeleteSnapshot.
313
313
  :type request: :class:`ksyun.client.ebs.v20160304.models.DeleteSnapshotRequest`
314
314
  """
315
315
  try:
316
316
  params = request._serialize()
317
- body = self.call("DeleteSnapshot", params)
317
+ body = self.call_judge("DeleteSnapshot", params, "application/x-www-form-urlencoded")
318
318
  response = json.loads(body)
319
319
  if "Error" not in response:
320
320
  return body
@@ -337,7 +337,7 @@ class EbsClient(AbstractClient):
337
337
  """
338
338
  try:
339
339
  params = request._serialize()
340
- body = self.call("RollbackSnapshot", params)
340
+ body = self.call_judge("RollbackSnapshot", params, "application/x-www-form-urlencoded")
341
341
  response = json.loads(body)
342
342
  if "Error" not in response:
343
343
  return body
@@ -354,13 +354,13 @@ class EbsClient(AbstractClient):
354
354
 
355
355
 
356
356
  def ModifySnapshot(self, request):
357
- """ModifySnapshot
357
+ """修改快照名称描述
358
358
  :param request: Request instance for ModifySnapshot.
359
359
  :type request: :class:`ksyun.client.ebs.v20160304.models.ModifySnapshotRequest`
360
360
  """
361
361
  try:
362
362
  params = request._serialize()
363
- body = self.call("ModifySnapshot", params)
363
+ body = self.call_judge("ModifySnapshot", params, "application/x-www-form-urlencoded")
364
364
  response = json.loads(body)
365
365
  if "Error" not in response:
366
366
  return body
@@ -377,13 +377,13 @@ class EbsClient(AbstractClient):
377
377
 
378
378
 
379
379
  def RecoveryVolume(self, request):
380
- """RecoveryVolume
380
+ """恢复云硬盘
381
381
  :param request: Request instance for RecoveryVolume.
382
382
  :type request: :class:`ksyun.client.ebs.v20160304.models.RecoveryVolumeRequest`
383
383
  """
384
384
  try:
385
385
  params = request._serialize()
386
- body = self.call("RecoveryVolume", params)
386
+ body = self.call_judge("RecoveryVolume", params, "application/x-www-form-urlencoded")
387
387
  response = json.loads(body)
388
388
  if "Error" not in response:
389
389
  return body
@@ -400,13 +400,36 @@ class EbsClient(AbstractClient):
400
400
 
401
401
 
402
402
  def ValidateAttachInstance(self, request):
403
- """ValidateAttachInstance
403
+ """校验挂载云主机可用性
404
404
  :param request: Request instance for ValidateAttachInstance.
405
405
  :type request: :class:`ksyun.client.ebs.v20160304.models.ValidateAttachInstanceRequest`
406
406
  """
407
407
  try:
408
408
  params = request._serialize()
409
- body = self.call("ValidateAttachInstance", params)
409
+ body = self.call_judge("ValidateAttachInstance", params, "application/x-www-form-urlencoded")
410
+ response = json.loads(body)
411
+ if "Error" not in response:
412
+ return body
413
+ else:
414
+ code = response["Error"]["Code"]
415
+ message = response["Error"]["Message"]
416
+ req_id = response["RequestId"]
417
+ raise KsyunSDKException(code, message, req_id)
418
+ except Exception as e:
419
+ if isinstance(e, KsyunSDKException):
420
+ raise
421
+ else:
422
+ raise KsyunSDKException(e.message, e.message)
423
+
424
+
425
+ def DescribeAvailabilityZones(self, request):
426
+ """查询云硬盘可用区
427
+ :param request: Request instance for DescribeAvailabilityZones.
428
+ :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeAvailabilityZonesRequest`
429
+ """
430
+ try:
431
+ params = request._serialize()
432
+ body = self.call_judge("DescribeAvailabilityZones", params, "application/x-www-form-urlencoded")
410
433
  response = json.loads(body)
411
434
  if "Error" not in response:
412
435
  return body
@@ -429,7 +452,191 @@ class EbsClient(AbstractClient):
429
452
  """
430
453
  try:
431
454
  params = request._serialize()
432
- body = self.call("DescribeCreateVolumePrice", params)
455
+ body = self.call_judge("DescribeCreateVolumePrice", params, "application/x-www-form-urlencoded")
456
+ response = json.loads(body)
457
+ if "Error" not in response:
458
+ return body
459
+ else:
460
+ code = response["Error"]["Code"]
461
+ message = response["Error"]["Message"]
462
+ req_id = response["RequestId"]
463
+ raise KsyunSDKException(code, message, req_id)
464
+ except Exception as e:
465
+ if isinstance(e, KsyunSDKException):
466
+ raise
467
+ else:
468
+ raise KsyunSDKException(e.message, e.message)
469
+
470
+
471
+ def ModifySnapshotType(self, request):
472
+ """3.0快照类型转化成4.0快照
473
+ :param request: Request instance for ModifySnapshotType.
474
+ :type request: :class:`ksyun.client.ebs.v20160304.models.ModifySnapshotTypeRequest`
475
+ """
476
+ try:
477
+ params = request._serialize()
478
+ body = self.call_judge("ModifySnapshotType", params, "application/x-www-form-urlencoded")
479
+ response = json.loads(body)
480
+ if "Error" not in response:
481
+ return body
482
+ else:
483
+ code = response["Error"]["Code"]
484
+ message = response["Error"]["Message"]
485
+ req_id = response["RequestId"]
486
+ raise KsyunSDKException(code, message, req_id)
487
+ except Exception as e:
488
+ if isinstance(e, KsyunSDKException):
489
+ raise
490
+ else:
491
+ raise KsyunSDKException(e.message, e.message)
492
+
493
+
494
+ def ModifyVolumeType(self, request):
495
+ """SSD3.0/EHDD云盘变配ESSD云盘
496
+ :param request: Request instance for ModifyVolumeType.
497
+ :type request: :class:`ksyun.client.ebs.v20160304.models.ModifyVolumeTypeRequest`
498
+ """
499
+ try:
500
+ params = request._serialize()
501
+ body = self.call_judge("ModifyVolumeType", params, "application/x-www-form-urlencoded")
502
+ response = json.loads(body)
503
+ if "Error" not in response:
504
+ return body
505
+ else:
506
+ code = response["Error"]["Code"]
507
+ message = response["Error"]["Message"]
508
+ req_id = response["RequestId"]
509
+ raise KsyunSDKException(code, message, req_id)
510
+ except Exception as e:
511
+ if isinstance(e, KsyunSDKException):
512
+ raise
513
+ else:
514
+ raise KsyunSDKException(e.message, e.message)
515
+
516
+
517
+ def ModifyDedicatedBlockStorageClusterAttribute(self, request):
518
+ """修改专属块存储集群属性
519
+ :param request: Request instance for ModifyDedicatedBlockStorageClusterAttribute.
520
+ :type request: :class:`ksyun.client.ebs.v20160304.models.ModifyDedicatedBlockStorageClusterAttributeRequest`
521
+ """
522
+ try:
523
+ params = request._serialize()
524
+ body = self.call_judge("ModifyDedicatedBlockStorageClusterAttribute", params, "application/x-www-form-urlencoded")
525
+ response = json.loads(body)
526
+ if "Error" not in response:
527
+ return body
528
+ else:
529
+ code = response["Error"]["Code"]
530
+ message = response["Error"]["Message"]
531
+ req_id = response["RequestId"]
532
+ raise KsyunSDKException(code, message, req_id)
533
+ except Exception as e:
534
+ if isinstance(e, KsyunSDKException):
535
+ raise
536
+ else:
537
+ raise KsyunSDKException(e.message, e.message)
538
+
539
+
540
+ def ResizeDedicatedBlockStorageClusters(self, request):
541
+ """专属集群扩容
542
+ :param request: Request instance for ResizeDedicatedBlockStorageClusters.
543
+ :type request: :class:`ksyun.client.ebs.v20160304.models.ResizeDedicatedBlockStorageClustersRequest`
544
+ """
545
+ try:
546
+ params = request._serialize()
547
+ body = self.call_judge("ResizeDedicatedBlockStorageClusters", params, "application/x-www-form-urlencoded")
548
+ response = json.loads(body)
549
+ if "Error" not in response:
550
+ return body
551
+ else:
552
+ code = response["Error"]["Code"]
553
+ message = response["Error"]["Message"]
554
+ req_id = response["RequestId"]
555
+ raise KsyunSDKException(code, message, req_id)
556
+ except Exception as e:
557
+ if isinstance(e, KsyunSDKException):
558
+ raise
559
+ else:
560
+ raise KsyunSDKException(e.message, e.message)
561
+
562
+
563
+ def DescribeDedicatedBlockStorageClusters(self, request):
564
+ """查询专属集群列表
565
+ :param request: Request instance for DescribeDedicatedBlockStorageClusters.
566
+ :type request: :class:`ksyun.client.ebs.v20160304.models.DescribeDedicatedBlockStorageClustersRequest`
567
+ """
568
+ try:
569
+ params = request._serialize()
570
+ body = self.call_judge("DescribeDedicatedBlockStorageClusters", params, "application/x-www-form-urlencoded")
571
+ response = json.loads(body)
572
+ if "Error" not in response:
573
+ return body
574
+ else:
575
+ code = response["Error"]["Code"]
576
+ message = response["Error"]["Message"]
577
+ req_id = response["RequestId"]
578
+ raise KsyunSDKException(code, message, req_id)
579
+ except Exception as e:
580
+ if isinstance(e, KsyunSDKException):
581
+ raise
582
+ else:
583
+ raise KsyunSDKException(e.message, e.message)
584
+
585
+
586
+ def CreateDedicatedBlockStorageCluster(self, request):
587
+ """创建专属块存储集群
588
+ :param request: Request instance for CreateDedicatedBlockStorageCluster.
589
+ :type request: :class:`ksyun.client.ebs.v20160304.models.CreateDedicatedBlockStorageClusterRequest`
590
+ """
591
+ try:
592
+ params = request._serialize()
593
+ body = self.call_judge("CreateDedicatedBlockStorageCluster", params, "application/x-www-form-urlencoded")
594
+ response = json.loads(body)
595
+ if "Error" not in response:
596
+ return body
597
+ else:
598
+ code = response["Error"]["Code"]
599
+ message = response["Error"]["Message"]
600
+ req_id = response["RequestId"]
601
+ raise KsyunSDKException(code, message, req_id)
602
+ except Exception as e:
603
+ if isinstance(e, KsyunSDKException):
604
+ raise
605
+ else:
606
+ raise KsyunSDKException(e.message, e.message)
607
+
608
+
609
+ def ModifyVolumePreset(self, request):
610
+ """修改云盘预配置
611
+ :param request: Request instance for ModifyVolumePreset.
612
+ :type request: :class:`ksyun.client.ebs.v20160304.models.ModifyVolumePresetRequest`
613
+ """
614
+ try:
615
+ params = request._serialize()
616
+ body = self.call_judge("ModifyVolumePreset", params, "application/x-www-form-urlencoded")
617
+ response = json.loads(body)
618
+ if "Error" not in response:
619
+ return body
620
+ else:
621
+ code = response["Error"]["Code"]
622
+ message = response["Error"]["Message"]
623
+ req_id = response["RequestId"]
624
+ raise KsyunSDKException(code, message, req_id)
625
+ except Exception as e:
626
+ if isinstance(e, KsyunSDKException):
627
+ raise
628
+ else:
629
+ raise KsyunSDKException(e.message, e.message)
630
+
631
+
632
+ def GetUpgradeVolumeTypeProcessInfo(self, request):
633
+ """获取云盘转化进度
634
+ :param request: Request instance for GetUpgradeVolumeTypeProcessInfo.
635
+ :type request: :class:`ksyun.client.ebs.v20160304.models.GetUpgradeVolumeTypeProcessInfoRequest`
636
+ """
637
+ try:
638
+ params = request._serialize()
639
+ body = self.call_judge("GetUpgradeVolumeTypeProcessInfo", params, "application/x-www-form-urlencoded")
433
640
  response = json.loads(body)
434
641
  if "Error" not in response:
435
642
  return body