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,520 @@
1
+ from ksyun.common.abstract_model import AbstractModel
2
+
3
+ class DeleteSecurityRulesRequest(AbstractModel):
4
+ """DeleteSecurityRules请求参数结构体
5
+ """
6
+
7
+ def __init__(self):
8
+ r"""删除安全组规则
9
+ :param SecurityGroupId: 安全组ID
10
+ :type PathPrefix: String
11
+ :param RuleIds: 规则ID,支持批量(英文逗号隔开)
12
+ :type PathPrefix: String
13
+ """
14
+ self.SecurityGroupId = None
15
+ self.RuleIds = None
16
+
17
+ def _deserialize(self, params):
18
+ if params.get("SecurityGroupId"):
19
+ self.SecurityGroupId = params.get("SecurityGroupId")
20
+ if params.get("RuleIds"):
21
+ self.RuleIds = params.get("RuleIds")
22
+
23
+
24
+ class CreateSecurityRulesRequest(AbstractModel):
25
+ """CreateSecurityRules请求参数结构体
26
+ """
27
+
28
+ def __init__(self):
29
+ r"""创建安全组规则
30
+ :param SecurityGroupId: 安全组ID
31
+ :type PathPrefix: String
32
+ :param Rules: 安全组规则列表(支持多个)
33
+ :type PathPrefix: Filter
34
+ """
35
+ self.SecurityGroupId = None
36
+ self.Rules = None
37
+
38
+ def _deserialize(self, params):
39
+ if params.get("SecurityGroupId"):
40
+ self.SecurityGroupId = params.get("SecurityGroupId")
41
+ if params.get("Rules"):
42
+ self.Rules = params.get("Rules")
43
+
44
+
45
+ class UnbindSecurityGroupInstancesRequest(AbstractModel):
46
+ """UnbindSecurityGroupInstances请求参数结构体
47
+ """
48
+
49
+ def __init__(self):
50
+ r"""解绑安全组已绑定实例
51
+ :param SecurityGroupId: 安区组ID
52
+ :type PathPrefix: String
53
+ :param InstancesIds: 实例列表,支持批量(英文逗号隔开)
54
+ :type PathPrefix: String
55
+ """
56
+ self.SecurityGroupId = None
57
+ self.InstancesIds = None
58
+
59
+ def _deserialize(self, params):
60
+ if params.get("SecurityGroupId"):
61
+ self.SecurityGroupId = params.get("SecurityGroupId")
62
+ if params.get("InstancesIds"):
63
+ self.InstancesIds = params.get("InstancesIds")
64
+
65
+
66
+ class BindSecurityGroupInstancesRequest(AbstractModel):
67
+ """BindSecurityGroupInstances请求参数结构体
68
+ """
69
+
70
+ def __init__(self):
71
+ r"""绑定实例至安全组
72
+ :param SecurityGroupId: 安全组ID
73
+ :type PathPrefix: String
74
+ :param InstancesIds: 实例列表,支持批量(英文逗号隔开)
75
+ :type PathPrefix: String
76
+ """
77
+ self.SecurityGroupId = None
78
+ self.InstancesIds = None
79
+
80
+ def _deserialize(self, params):
81
+ if params.get("SecurityGroupId"):
82
+ self.SecurityGroupId = params.get("SecurityGroupId")
83
+ if params.get("InstancesIds"):
84
+ self.InstancesIds = params.get("InstancesIds")
85
+
86
+
87
+ class DeleteSecurityGroupRequest(AbstractModel):
88
+ """DeleteSecurityGroup请求参数结构体
89
+ """
90
+
91
+ def __init__(self):
92
+ r"""删除安全组
93
+ :param SecurityGroupIds: 安全组ID列表,支持批量(可英文逗号隔开)
94
+ :type PathPrefix: String
95
+ """
96
+ self.SecurityGroupIds = None
97
+
98
+ def _deserialize(self, params):
99
+ if params.get("SecurityGroupIds"):
100
+ self.SecurityGroupIds = params.get("SecurityGroupIds")
101
+
102
+
103
+ class DescribeSecurityGroupRequest(AbstractModel):
104
+ """DescribeSecurityGroup请求参数结构体
105
+ """
106
+
107
+ def __init__(self):
108
+ r"""查询安全组详情
109
+ :param SecurityGroupId: 安全组ID
110
+ :type PathPrefix: String
111
+ """
112
+ self.SecurityGroupId = None
113
+
114
+ def _deserialize(self, params):
115
+ if params.get("SecurityGroupId"):
116
+ self.SecurityGroupId = params.get("SecurityGroupId")
117
+
118
+
119
+ class CreateSecurityGroupRequest(AbstractModel):
120
+ """CreateSecurityGroup请求参数结构体
121
+ """
122
+
123
+ def __init__(self):
124
+ r"""创建安全组
125
+ :param Name: 安全组名称
126
+ :type PathPrefix: String
127
+ :param IpVersion: 安全组类型,现仅支持:ipv4
128
+ :type PathPrefix: String
129
+ :param Detail: 描述
130
+ :type PathPrefix: String
131
+ :param Rules: 安全组规则列表
132
+ :type PathPrefix: Filter
133
+ """
134
+ self.Name = None
135
+ self.IpVersion = None
136
+ self.Detail = None
137
+ self.Rules = None
138
+
139
+ def _deserialize(self, params):
140
+ if params.get("Name"):
141
+ self.Name = params.get("Name")
142
+ if params.get("IpVersion"):
143
+ self.IpVersion = params.get("IpVersion")
144
+ if params.get("Detail"):
145
+ self.Detail = params.get("Detail")
146
+ if params.get("Rules"):
147
+ self.Rules = params.get("Rules")
148
+
149
+
150
+ class ListSecurityGroupRequest(AbstractModel):
151
+ """ListSecurityGroup请求参数结构体
152
+ """
153
+
154
+ def __init__(self):
155
+ r"""查询安全组列表
156
+ :param Offset: 起始页,默认为0
157
+ :type PathPrefix: Int
158
+ :param Limit: 每页返回的条数
159
+ :type PathPrefix: Int
160
+ """
161
+ self.Offset = None
162
+ self.Limit = None
163
+
164
+ def _deserialize(self, params):
165
+ if params.get("Offset"):
166
+ self.Offset = params.get("Offset")
167
+ if params.get("Limit"):
168
+ self.Limit = params.get("Limit")
169
+
170
+
171
+ class DeleteInstanceRequest(AbstractModel):
172
+ """DeleteInstance请求参数结构体
173
+ """
174
+
175
+ def __init__(self):
176
+ r"""删除milvus实例
177
+ :param InstanceIds: 实例ID列表,可用英文逗号分隔,传递多个。
178
+ :type PathPrefix: String
179
+ """
180
+ self.InstanceIds = None
181
+
182
+ def _deserialize(self, params):
183
+ if params.get("InstanceIds"):
184
+ self.InstanceIds = params.get("InstanceIds")
185
+
186
+
187
+ class DescribeInstanceRequest(AbstractModel):
188
+ """DescribeInstance请求参数结构体
189
+ """
190
+
191
+ def __init__(self):
192
+ r"""查询milvus实例详情
193
+ :param InstanceId: 实例ID
194
+ :type PathPrefix: String
195
+ """
196
+ self.InstanceId = None
197
+
198
+ def _deserialize(self, params):
199
+ if params.get("InstanceId"):
200
+ self.InstanceId = params.get("InstanceId")
201
+
202
+
203
+ class ListInstanceRequest(AbstractModel):
204
+ """ListInstance请求参数结构体
205
+ """
206
+
207
+ def __init__(self):
208
+ r"""查询milvus实例列表
209
+ :param Offset: 默认0开始,为第一页
210
+ :type PathPrefix: String
211
+ :param Limit: 请求是不传默认返回10条
212
+ :type PathPrefix: String
213
+ :param FuzzySearch: 支持实例ID/实例名称 模糊搜索
214
+ :type PathPrefix: String
215
+ :param SecBindingStatus: 支持过滤是否绑定安全组 可同模糊搜索一起使用
216
+ :type PathPrefix: String
217
+ """
218
+ self.Offset = None
219
+ self.Limit = None
220
+ self.FuzzySearch = None
221
+ self.SecBindingStatus = None
222
+
223
+ def _deserialize(self, params):
224
+ if params.get("Offset"):
225
+ self.Offset = params.get("Offset")
226
+ if params.get("Limit"):
227
+ self.Limit = params.get("Limit")
228
+ if params.get("FuzzySearch"):
229
+ self.FuzzySearch = params.get("FuzzySearch")
230
+ if params.get("SecBindingStatus"):
231
+ self.SecBindingStatus = params.get("SecBindingStatus")
232
+
233
+
234
+ class CreateInstanceRequest(AbstractModel):
235
+ """CreateInstance请求参数结构体
236
+ """
237
+
238
+ def __init__(self):
239
+ r"""创建milvus实例
240
+ :param InstanceName: 实例名称
241
+ :type PathPrefix: String
242
+ :param AdminPassword: 管理员账户密码
243
+ :type PathPrefix: String
244
+ :param SubnetId: 子网ID
245
+ :type PathPrefix: String
246
+ :param VnetId: 虚拟网络ID
247
+ :type PathPrefix: String
248
+ :param ProjectId: 项目id
249
+ :type PathPrefix: String
250
+ :param ProductType: 商品类型:现在仅支持容量型
251
+ PERFORMANCE:"性能型"    CAPACITY:"容量型"
252
+ :type PathPrefix: String
253
+ :param DBInstanceType: 实例类型:仅支持社区版
254
+ COMMUNITY 社区版
255
+ ENTERPRISE 企业版
256
+ :type PathPrefix: String
257
+ :param Az: 可用区列表(暂不支持多可用区)
258
+
259
+ ```
260
+ 支持指定可用区,现仅支持单可用区。
261
+ 例如华北1(北京):可指定cn-beijing-6a 或者 cn-beijing-6c
262
+ ```
263
+ :type PathPrefix: Array
264
+ :param Engine: 引擎类型
265
+ :type PathPrefix: String
266
+ :param EngineVersion: 引擎版本(暂不支持其他版本)
267
+ :type PathPrefix: String
268
+ :param AdminUser: 管理员账户
269
+ :type PathPrefix: String
270
+ :param Cu: 配置信息(默认为1cu,若有需求请传入配置)
271
+ :type PathPrefix: String
272
+ """
273
+ self.InstanceName = None
274
+ self.AdminPassword = None
275
+ self.SubnetId = None
276
+ self.VnetId = None
277
+ self.ProjectId = None
278
+ self.ProductType = None
279
+ self.DBInstanceType = None
280
+ self.Az = None
281
+ self.Engine = None
282
+ self.EngineVersion = None
283
+ self.AdminUser = None
284
+ self.Cu = None
285
+
286
+ def _deserialize(self, params):
287
+ if params.get("InstanceName"):
288
+ self.InstanceName = params.get("InstanceName")
289
+ if params.get("AdminPassword"):
290
+ self.AdminPassword = params.get("AdminPassword")
291
+ if params.get("SubnetId"):
292
+ self.SubnetId = params.get("SubnetId")
293
+ if params.get("VnetId"):
294
+ self.VnetId = params.get("VnetId")
295
+ if params.get("ProjectId"):
296
+ self.ProjectId = params.get("ProjectId")
297
+ if params.get("ProductType"):
298
+ self.ProductType = params.get("ProductType")
299
+ if params.get("DBInstanceType"):
300
+ self.DBInstanceType = params.get("DBInstanceType")
301
+ if params.get("Az"):
302
+ self.Az = params.get("Az")
303
+ if params.get("Engine"):
304
+ self.Engine = params.get("Engine")
305
+ if params.get("EngineVersion"):
306
+ self.EngineVersion = params.get("EngineVersion")
307
+ if params.get("AdminUser"):
308
+ self.AdminUser = params.get("AdminUser")
309
+ if params.get("Cu"):
310
+ self.Cu = params.get("Cu")
311
+
312
+
313
+ class ReleaseDBInstanceEipRequest(AbstractModel):
314
+ """ReleaseDBInstanceEip请求参数结构体
315
+ """
316
+
317
+ def __init__(self):
318
+ r"""实例-释放EIP
319
+ :param InstanceId: 实例ID
320
+ :type PathPrefix: String
321
+ """
322
+ self.InstanceId = None
323
+
324
+ def _deserialize(self, params):
325
+ if params.get("InstanceId"):
326
+ self.InstanceId = params.get("InstanceId")
327
+
328
+
329
+ class AllocateDBInstanceEipRequest(AbstractModel):
330
+ """AllocateDBInstanceEip请求参数结构体
331
+ """
332
+
333
+ def __init__(self):
334
+ r"""实例-申请EIP
335
+ :param InstanceId: 实例Id
336
+ :type PathPrefix: String
337
+ :param Port: 是否指定EIP端口号,若不指定则自动分配
338
+ :type PathPrefix: Int
339
+ """
340
+ self.InstanceId = None
341
+ self.Port = None
342
+
343
+ def _deserialize(self, params):
344
+ if params.get("InstanceId"):
345
+ self.InstanceId = params.get("InstanceId")
346
+ if params.get("Port"):
347
+ self.Port = params.get("Port")
348
+
349
+
350
+ class ListBackupRequest(AbstractModel):
351
+ """ListBackup请求参数结构体
352
+ """
353
+
354
+ def __init__(self):
355
+ r"""查询指定实例备份列表
356
+ :param InstanceId: 实例id
357
+ :type PathPrefix: String
358
+ :param BackupName: 备份名称(模糊查询)
359
+ :type PathPrefix: String
360
+ :param Offset: 开始页码
361
+
362
+ ```json
363
+ 注意:第一页默认页码0
364
+ ```
365
+ :type PathPrefix: Int
366
+ :param Limit: 每页展示条数
367
+
368
+ ```json
369
+ 注意:默认每页展示10条
370
+ ```
371
+ :type PathPrefix: Int
372
+ """
373
+ self.InstanceId = None
374
+ self.BackupName = None
375
+ self.Offset = None
376
+ self.Limit = None
377
+
378
+ def _deserialize(self, params):
379
+ if params.get("InstanceId"):
380
+ self.InstanceId = params.get("InstanceId")
381
+ if params.get("BackupName"):
382
+ self.BackupName = params.get("BackupName")
383
+ if params.get("Offset"):
384
+ self.Offset = params.get("Offset")
385
+ if params.get("Limit"):
386
+ self.Limit = params.get("Limit")
387
+
388
+
389
+ class CreateBackupRequest(AbstractModel):
390
+ """CreateBackup请求参数结构体
391
+ """
392
+
393
+ def __init__(self):
394
+ r"""指定备份维度手动创建备份
395
+ :param InstanceId: 实例id
396
+ :type PathPrefix: String
397
+ :param BackupName: 备份名称
398
+ :type PathPrefix: String
399
+ :param DBCollection: 备份collection信息
400
+
401
+ ```json
402
+ 若要全部备份,则可以不填;
403
+ 若要指定备份,则手动具体指定。
404
+ ```
405
+ :type PathPrefix: Array
406
+ """
407
+ self.InstanceId = None
408
+ self.BackupName = None
409
+ self.DBCollection = None
410
+
411
+ def _deserialize(self, params):
412
+ if params.get("InstanceId"):
413
+ self.InstanceId = params.get("InstanceId")
414
+ if params.get("BackupName"):
415
+ self.BackupName = params.get("BackupName")
416
+ if params.get("DBCollection"):
417
+ self.DBCollection = params.get("DBCollection")
418
+
419
+
420
+ class DeleteBackupRequest(AbstractModel):
421
+ """DeleteBackup请求参数结构体
422
+ """
423
+
424
+ def __init__(self):
425
+ r"""删除指定手动备份
426
+ :param InstanceId: 实例id
427
+ :type PathPrefix: String
428
+ :param BackupIds: 需要删除的备份id列表
429
+
430
+ ```json
431
+ 需要指定多个备份id,也用英文','间隔传入
432
+ ```
433
+ :type PathPrefix: String
434
+ """
435
+ self.InstanceId = None
436
+ self.BackupIds = None
437
+
438
+ def _deserialize(self, params):
439
+ if params.get("InstanceId"):
440
+ self.InstanceId = params.get("InstanceId")
441
+ if params.get("BackupIds"):
442
+ self.BackupIds = params.get("BackupIds")
443
+
444
+
445
+ class ListCollectionsRequest(AbstractModel):
446
+ """ListCollections请求参数结构体
447
+ """
448
+
449
+ def __init__(self):
450
+ r"""备份-查询实例库表详情
451
+ :param InstanceId: 实例id
452
+ :type PathPrefix: String
453
+ :param Offset: 默认0开始,为第一页
454
+ :type PathPrefix: Int
455
+ :param Limit: 每页展示条数
456
+ :type PathPrefix: Int
457
+ """
458
+ self.InstanceId = None
459
+ self.Offset = None
460
+ self.Limit = None
461
+
462
+ def _deserialize(self, params):
463
+ if params.get("InstanceId"):
464
+ self.InstanceId = params.get("InstanceId")
465
+ if params.get("Offset"):
466
+ self.Offset = params.get("Offset")
467
+ if params.get("Limit"):
468
+ self.Limit = params.get("Limit")
469
+
470
+
471
+ class UpdateInstanceTrialOrderRequest(AbstractModel):
472
+ """UpdateInstanceTrialOrder请求参数结构体
473
+ """
474
+
475
+ def __init__(self):
476
+ r"""适用类型订单实例转正/延期
477
+ :param InstanceId: 实例id
478
+ :type PathPrefix: String
479
+ :param OperateType: 操作类型
480
+
481
+ ```json
482
+ 延期:delay
483
+ 购买:buy
484
+
485
+ 注意:无默认,不区分大小写
486
+ ```
487
+ :type PathPrefix: String
488
+ :param Duration: 延期或转正时间指定
489
+
490
+ ```json
491
+ 默认1,按日结算和按量付费不用指定
492
+ ```
493
+ :type PathPrefix: Int
494
+ :param BillType: 计费类型
495
+
496
+ ```json
497
+ 按量付费:87
498
+ 按量付费(按日月结):5
499
+ 包年包月: 1
500
+
501
+ 注意:默认为87=按量付费
502
+ ```
503
+ :type PathPrefix: Int
504
+ """
505
+ self.InstanceId = None
506
+ self.OperateType = None
507
+ self.Duration = None
508
+ self.BillType = None
509
+
510
+ def _deserialize(self, params):
511
+ if params.get("InstanceId"):
512
+ self.InstanceId = params.get("InstanceId")
513
+ if params.get("OperateType"):
514
+ self.OperateType = params.get("OperateType")
515
+ if params.get("Duration"):
516
+ self.Duration = params.get("Duration")
517
+ if params.get("BillType"):
518
+ self.BillType = params.get("BillType")
519
+
520
+