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,1282 @@
1
+ from ksyun.common.abstract_model import AbstractModel
2
+
3
+ class CreateNamespaceRequest(AbstractModel):
4
+ """CreateNamespace请求参数结构体
5
+ """
6
+
7
+ def __init__(self):
8
+ r"""创建命名空间
9
+ :param InstanceId: 实例id
10
+ :type PathPrefix: String
11
+ :param Namespace: 命名空间名称,校验规则:长度为2-63位,支持填写小写字母和数字,且不能以数字开头
12
+ :type PathPrefix: String
13
+ :param Public: 命名空间属性,命名空间类型属性决定了该空间下镜像仓库的类型属性有效值:<br/>True:公有<br/>False:私有
14
+ :type PathPrefix: String
15
+ """
16
+ self.InstanceId = None
17
+ self.Namespace = None
18
+ self.Public = None
19
+
20
+ def _deserialize(self, params):
21
+ if params.get("InstanceId"):
22
+ self.InstanceId = params.get("InstanceId")
23
+ if params.get("Namespace"):
24
+ self.Namespace = params.get("Namespace")
25
+ if params.get("Public"):
26
+ self.Public = params.get("Public")
27
+
28
+
29
+ class DescribeNamespaceRequest(AbstractModel):
30
+ """DescribeNamespace请求参数结构体
31
+ """
32
+
33
+ def __init__(self):
34
+ r"""查询命名空间
35
+ :param InstanceId: 实例id
36
+ :type PathPrefix: String
37
+ :param Namespace: 命名空间名称,若不填写,则默认返回该用户所有命名空间
38
+ :type PathPrefix: String
39
+ :param Public: 命名空间属性,有效值:<br/>True:公有<br/>False:私有<br/>注:若不填写,筛选所有命名空间
40
+ :type PathPrefix: String
41
+ :param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99
42
+ :type PathPrefix: String
43
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
44
+ :type PathPrefix: String
45
+ """
46
+ self.InstanceId = None
47
+ self.Namespace = None
48
+ self.Public = None
49
+ self.MaxResults = None
50
+ self.Marker = None
51
+
52
+ def _deserialize(self, params):
53
+ if params.get("InstanceId"):
54
+ self.InstanceId = params.get("InstanceId")
55
+ if params.get("Namespace"):
56
+ self.Namespace = params.get("Namespace")
57
+ if params.get("Public"):
58
+ self.Public = params.get("Public")
59
+ if params.get("MaxResults"):
60
+ self.MaxResults = params.get("MaxResults")
61
+ if params.get("Marker"):
62
+ self.Marker = params.get("Marker")
63
+
64
+
65
+ class ModifyNamespaceTypeRequest(AbstractModel):
66
+ """ModifyNamespaceType请求参数结构体
67
+ """
68
+
69
+ def __init__(self):
70
+ r"""修改命名空间类型
71
+ :param InstanceId: 实例id
72
+ :type PathPrefix: String
73
+ :param Namespace: 命名空间名称
74
+ :type PathPrefix: String
75
+ :param Public: 命名空间属性,有效值:<br/>True:公有<br/>False:私有
76
+ :type PathPrefix: String
77
+ """
78
+ self.InstanceId = None
79
+ self.Namespace = None
80
+ self.Public = None
81
+
82
+ def _deserialize(self, params):
83
+ if params.get("InstanceId"):
84
+ self.InstanceId = params.get("InstanceId")
85
+ if params.get("Namespace"):
86
+ self.Namespace = params.get("Namespace")
87
+ if params.get("Public"):
88
+ self.Public = params.get("Public")
89
+
90
+
91
+ class DescribeNamespaceExistRequest(AbstractModel):
92
+ """DescribeNamespaceExist请求参数结构体
93
+ """
94
+
95
+ def __init__(self):
96
+ r"""查询命名空间是否存在
97
+ :param InstanceId: 实例id
98
+ :type PathPrefix: String
99
+ :param Namespace: 命名空间名称
100
+ :type PathPrefix: String
101
+ """
102
+ self.InstanceId = None
103
+ self.Namespace = None
104
+
105
+ def _deserialize(self, params):
106
+ if params.get("InstanceId"):
107
+ self.InstanceId = params.get("InstanceId")
108
+ if params.get("Namespace"):
109
+ self.Namespace = params.get("Namespace")
110
+
111
+
112
+ class DeleteNamespaceRequest(AbstractModel):
113
+ """DeleteNamespace请求参数结构体
114
+ """
115
+
116
+ def __init__(self):
117
+ r"""删除命名空间
118
+ :param InstanceId: 实例id
119
+ :type PathPrefix: String
120
+ :param Namespace: 命名空间名称
121
+ :type PathPrefix: String
122
+ """
123
+ self.InstanceId = None
124
+ self.Namespace = None
125
+
126
+ def _deserialize(self, params):
127
+ if params.get("InstanceId"):
128
+ self.InstanceId = params.get("InstanceId")
129
+ if params.get("Namespace"):
130
+ self.Namespace = params.get("Namespace")
131
+
132
+
133
+ class DescribeImagesRequest(AbstractModel):
134
+ """DescribeImages请求参数结构体
135
+ """
136
+
137
+ def __init__(self):
138
+ r"""用于查询镜像
139
+ :param InstanceId: 实例id
140
+ :type PathPrefix: String
141
+ :param Namespace: 命名空间名称,只能包含小写字母、数字、和分隔符(“-”,“.”),不能以分隔符开头或结尾
142
+ :type PathPrefix: String
143
+ :param RepoName: 镜像仓库名称
144
+ :type PathPrefix: String
145
+ :param ImageId: 镜像id,若不输入,则默认查询所选镜像仓库下所有镜像
146
+ :type PathPrefix: String
147
+ :param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99
148
+ :type PathPrefix: String
149
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
150
+ :type PathPrefix: String
151
+ """
152
+ self.InstanceId = None
153
+ self.Namespace = None
154
+ self.RepoName = None
155
+ self.ImageId = None
156
+ self.MaxResults = None
157
+ self.Marker = None
158
+
159
+ def _deserialize(self, params):
160
+ if params.get("InstanceId"):
161
+ self.InstanceId = params.get("InstanceId")
162
+ if params.get("Namespace"):
163
+ self.Namespace = params.get("Namespace")
164
+ if params.get("RepoName"):
165
+ self.RepoName = params.get("RepoName")
166
+ if params.get("ImageId"):
167
+ self.ImageId = params.get("ImageId")
168
+ if params.get("MaxResults"):
169
+ self.MaxResults = params.get("MaxResults")
170
+ if params.get("Marker"):
171
+ self.Marker = params.get("Marker")
172
+
173
+
174
+ class DeleteImagesRequest(AbstractModel):
175
+ """DeleteImages请求参数结构体
176
+ """
177
+
178
+ def __init__(self):
179
+ r"""删除镜像
180
+ :param InstanceId: 实例id
181
+ :type PathPrefix: String
182
+ :param Namespace: 命名空间名称,只能包含小写字母、数字、和分隔符(“-”,“.”),不能以分隔符开头或结尾
183
+ :type PathPrefix: String
184
+ :param RepoName: 镜像仓库名称
185
+ :type PathPrefix: String
186
+ :param ImageId: 镜像id
187
+ :type PathPrefix: String
188
+ """
189
+ self.InstanceId = None
190
+ self.Namespace = None
191
+ self.RepoName = None
192
+ self.ImageId = None
193
+
194
+ def _deserialize(self, params):
195
+ if params.get("InstanceId"):
196
+ self.InstanceId = params.get("InstanceId")
197
+ if params.get("Namespace"):
198
+ self.Namespace = params.get("Namespace")
199
+ if params.get("RepoName"):
200
+ self.RepoName = params.get("RepoName")
201
+ if params.get("ImageId"):
202
+ self.ImageId = params.get("ImageId")
203
+
204
+
205
+ class DeleteRepoTagRequest(AbstractModel):
206
+ """DeleteRepoTag请求参数结构体
207
+ """
208
+
209
+ def __init__(self):
210
+ r"""删除tag
211
+ :param InstanceId: 实例id
212
+ :type PathPrefix: String
213
+ :param Namespace: 命名空间名称,只能包含小写字母、数字、和分隔符(“-”,“.”),不能以分隔符开头或结尾
214
+ :type PathPrefix: String
215
+ :param RepoName: 镜像仓库名称
216
+ :type PathPrefix: String
217
+ :param TagName: 镜像版本(Tag)名称
218
+ :type PathPrefix: String
219
+ """
220
+ self.InstanceId = None
221
+ self.Namespace = None
222
+ self.RepoName = None
223
+ self.TagName = None
224
+
225
+ def _deserialize(self, params):
226
+ if params.get("InstanceId"):
227
+ self.InstanceId = params.get("InstanceId")
228
+ if params.get("Namespace"):
229
+ self.Namespace = params.get("Namespace")
230
+ if params.get("RepoName"):
231
+ self.RepoName = params.get("RepoName")
232
+ if params.get("TagName"):
233
+ self.TagName = params.get("TagName")
234
+
235
+
236
+ class DescribeRepositoryRequest(AbstractModel):
237
+ """DescribeRepository请求参数结构体
238
+ """
239
+
240
+ def __init__(self):
241
+ r"""查询仓库
242
+ :param InstanceId: 实例id
243
+ :type PathPrefix: String
244
+ :param Namespace: 命名空间名称
245
+ :type PathPrefix: String
246
+ :param RepoName: 镜像仓库名称,若不输入,则默认查询所选命名空间下所有镜像仓库
247
+ :type PathPrefix: Filter
248
+ :param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99
249
+ :type PathPrefix: String
250
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
251
+ :type PathPrefix: String
252
+ """
253
+ self.InstanceId = None
254
+ self.Namespace = None
255
+ self.RepoName = None
256
+ self.MaxResults = None
257
+ self.Marker = None
258
+
259
+ def _deserialize(self, params):
260
+ if params.get("InstanceId"):
261
+ self.InstanceId = params.get("InstanceId")
262
+ if params.get("Namespace"):
263
+ self.Namespace = params.get("Namespace")
264
+ if params.get("RepoName"):
265
+ self.RepoName = params.get("RepoName")
266
+ if params.get("MaxResults"):
267
+ self.MaxResults = params.get("MaxResults")
268
+ if params.get("Marker"):
269
+ self.Marker = params.get("Marker")
270
+
271
+
272
+ class ModifyRepoDescRequest(AbstractModel):
273
+ """ModifyRepoDesc请求参数结构体
274
+ """
275
+
276
+ def __init__(self):
277
+ r"""修改仓库描述
278
+ :param InstanceId: 实例id
279
+ :type PathPrefix: String
280
+ :param Namespace: 命名空间名称
281
+ :type PathPrefix: String
282
+ :param RepoName: 镜像仓库名称
283
+ :type PathPrefix: String
284
+ :param Desc: 镜像仓库描述信息,长度256字符内
285
+ :type PathPrefix: String
286
+ """
287
+ self.InstanceId = None
288
+ self.Namespace = None
289
+ self.RepoName = None
290
+ self.Desc = None
291
+
292
+ def _deserialize(self, params):
293
+ if params.get("InstanceId"):
294
+ self.InstanceId = params.get("InstanceId")
295
+ if params.get("Namespace"):
296
+ self.Namespace = params.get("Namespace")
297
+ if params.get("RepoName"):
298
+ self.RepoName = params.get("RepoName")
299
+ if params.get("Desc"):
300
+ self.Desc = params.get("Desc")
301
+
302
+
303
+ class DeleteRepositoryRequest(AbstractModel):
304
+ """DeleteRepository请求参数结构体
305
+ """
306
+
307
+ def __init__(self):
308
+ r"""删除仓库
309
+ :param InstanceId: 实例id
310
+ :type PathPrefix: String
311
+ :param Namespace: 命名空间名称
312
+ :type PathPrefix: String
313
+ :param RepoName: 镜像仓库名称
314
+ :type PathPrefix: String
315
+ """
316
+ self.InstanceId = None
317
+ self.Namespace = None
318
+ self.RepoName = None
319
+
320
+ def _deserialize(self, params):
321
+ if params.get("InstanceId"):
322
+ self.InstanceId = params.get("InstanceId")
323
+ if params.get("Namespace"):
324
+ self.Namespace = params.get("Namespace")
325
+ if params.get("RepoName"):
326
+ self.RepoName = params.get("RepoName")
327
+
328
+
329
+ class StartImageScanRequest(AbstractModel):
330
+ """StartImageScan请求参数结构体
331
+ """
332
+
333
+ def __init__(self):
334
+ r"""扫描镜像
335
+ :param InstanceId: 实例id
336
+ :type PathPrefix: String
337
+ :param Namespace: 命名空间
338
+ :type PathPrefix: String
339
+ :param RepoName: 镜像仓库名称
340
+ :type PathPrefix: String
341
+ :param ImageId: 镜像id
342
+ :type PathPrefix: String
343
+ """
344
+ self.InstanceId = None
345
+ self.Namespace = None
346
+ self.RepoName = None
347
+ self.ImageId = None
348
+
349
+ def _deserialize(self, params):
350
+ if params.get("InstanceId"):
351
+ self.InstanceId = params.get("InstanceId")
352
+ if params.get("Namespace"):
353
+ self.Namespace = params.get("Namespace")
354
+ if params.get("RepoName"):
355
+ self.RepoName = params.get("RepoName")
356
+ if params.get("ImageId"):
357
+ self.ImageId = params.get("ImageId")
358
+
359
+
360
+ class DescribeImageScanRequest(AbstractModel):
361
+ """DescribeImageScan请求参数结构体
362
+ """
363
+
364
+ def __init__(self):
365
+ r"""查询镜像扫描
366
+ :param InstanceId: 实例id
367
+ :type PathPrefix: String
368
+ :param Namespace: 命名空间
369
+ :type PathPrefix: String
370
+ :param RepoName: 镜像仓库名称
371
+ :type PathPrefix: String
372
+ :param ImageId: 镜像id
373
+ :type PathPrefix: String
374
+ """
375
+ self.InstanceId = None
376
+ self.Namespace = None
377
+ self.RepoName = None
378
+ self.ImageId = None
379
+
380
+ def _deserialize(self, params):
381
+ if params.get("InstanceId"):
382
+ self.InstanceId = params.get("InstanceId")
383
+ if params.get("Namespace"):
384
+ self.Namespace = params.get("Namespace")
385
+ if params.get("RepoName"):
386
+ self.RepoName = params.get("RepoName")
387
+ if params.get("ImageId"):
388
+ self.ImageId = params.get("ImageId")
389
+
390
+
391
+ class CreateInstanceTokenRequest(AbstractModel):
392
+ """CreateInstanceToken请求参数结构体
393
+ """
394
+
395
+ def __init__(self):
396
+ r"""创建凭证
397
+ :param InstanceId: 实例id
398
+ :type PathPrefix: String
399
+ :param TokenType: 实例访问凭证过期时间类型,有效值:<br/>Hour:指定时长<br/>Day:指定天数<br/>NeverExpire:永不过期<br/>注:与参数TokenTime搭配使用,用于设置访问凭证到期时间
400
+ :type PathPrefix: String
401
+ :param TokenTime: 实例访问凭证过期时间<br/>注:当参数TokenType设置为NeverExpire时,该参数不生效
402
+ :type PathPrefix: String
403
+ :param Desc: 访问凭证描述信息,长度限制在256字节内
404
+ :type PathPrefix: String
405
+ """
406
+ self.InstanceId = None
407
+ self.TokenType = None
408
+ self.TokenTime = None
409
+ self.Desc = None
410
+
411
+ def _deserialize(self, params):
412
+ if params.get("InstanceId"):
413
+ self.InstanceId = params.get("InstanceId")
414
+ if params.get("TokenType"):
415
+ self.TokenType = params.get("TokenType")
416
+ if params.get("TokenTime"):
417
+ self.TokenTime = params.get("TokenTime")
418
+ if params.get("Desc"):
419
+ self.Desc = params.get("Desc")
420
+
421
+
422
+ class DescribeInternalEndpointRequest(AbstractModel):
423
+ """DescribeInternalEndpoint请求参数结构体
424
+ """
425
+
426
+ def __init__(self):
427
+ r"""DescribeInternalEndpoint
428
+ :param InstanceId: 实例id
429
+ :type PathPrefix: String
430
+ """
431
+ self.InstanceId = None
432
+
433
+ def _deserialize(self, params):
434
+ if params.get("InstanceId"):
435
+ self.InstanceId = params.get("InstanceId")
436
+
437
+
438
+ class DescribeInstanceTokenRequest(AbstractModel):
439
+ """DescribeInstanceToken请求参数结构体
440
+ """
441
+
442
+ def __init__(self):
443
+ r"""查询凭证
444
+ :param InstanceId: 实例id
445
+ :type PathPrefix: String
446
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
447
+ :type PathPrefix: String
448
+ :param MaxResults: 单次调用所返回的最大实例数目,默认20, 最大99
449
+ :type PathPrefix: String
450
+ """
451
+ self.InstanceId = None
452
+ self.Marker = None
453
+ self.MaxResults = None
454
+
455
+ def _deserialize(self, params):
456
+ if params.get("InstanceId"):
457
+ self.InstanceId = params.get("InstanceId")
458
+ if params.get("Marker"):
459
+ self.Marker = params.get("Marker")
460
+ if params.get("MaxResults"):
461
+ self.MaxResults = params.get("MaxResults")
462
+
463
+
464
+ class CreateInternalEndpointRequest(AbstractModel):
465
+ """CreateInternalEndpoint请求参数结构体
466
+ """
467
+
468
+ def __init__(self):
469
+ r"""CreateInternalEndpoint
470
+ :param InstanceId: 实例id
471
+ :type PathPrefix: String
472
+ :param VpcId: vpc id
473
+ :type PathPrefix: String
474
+ :param ReserveSubnetId: 所在vpc的终端子网id
475
+ :type PathPrefix: String
476
+ """
477
+ self.InstanceId = None
478
+ self.VpcId = None
479
+ self.ReserveSubnetId = None
480
+
481
+ def _deserialize(self, params):
482
+ if params.get("InstanceId"):
483
+ self.InstanceId = params.get("InstanceId")
484
+ if params.get("VpcId"):
485
+ self.VpcId = params.get("VpcId")
486
+ if params.get("ReserveSubnetId"):
487
+ self.ReserveSubnetId = params.get("ReserveSubnetId")
488
+
489
+
490
+ class ModifyInstanceTokenStatusRequest(AbstractModel):
491
+ """ModifyInstanceTokenStatus请求参数结构体
492
+ """
493
+
494
+ def __init__(self):
495
+ r"""开启/禁用凭证
496
+ :param InstanceId: 实例id
497
+ :type PathPrefix: String
498
+ :param TokenId: 实例访问凭证的id
499
+ :type PathPrefix: String
500
+ :param Enable: 启用/禁用实例访问凭证,有效值:<br/>True:启用<br/>False:禁用
501
+ :type PathPrefix: String
502
+ """
503
+ self.InstanceId = None
504
+ self.TokenId = None
505
+ self.Enable = None
506
+
507
+ def _deserialize(self, params):
508
+ if params.get("InstanceId"):
509
+ self.InstanceId = params.get("InstanceId")
510
+ if params.get("TokenId"):
511
+ self.TokenId = params.get("TokenId")
512
+ if params.get("Enable"):
513
+ self.Enable = params.get("Enable")
514
+
515
+
516
+ class DeleteInternalEndpointRequest(AbstractModel):
517
+ """DeleteInternalEndpoint请求参数结构体
518
+ """
519
+
520
+ def __init__(self):
521
+ r"""DeleteInternalEndpoint
522
+ :param InstanceId: 实例id
523
+ :type PathPrefix: String
524
+ :param VpcId: vpcid
525
+ :type PathPrefix: String
526
+ :param EniLBIp: 内网访问链路ip
527
+ :type PathPrefix: String
528
+ """
529
+ self.InstanceId = None
530
+ self.VpcId = None
531
+ self.EniLBIp = None
532
+
533
+ def _deserialize(self, params):
534
+ if params.get("InstanceId"):
535
+ self.InstanceId = params.get("InstanceId")
536
+ if params.get("VpcId"):
537
+ self.VpcId = params.get("VpcId")
538
+ if params.get("EniLBIp"):
539
+ self.EniLBIp = params.get("EniLBIp")
540
+
541
+
542
+ class ModifyInstanceTokenInformationRequest(AbstractModel):
543
+ """ModifyInstanceTokenInformation请求参数结构体
544
+ """
545
+
546
+ def __init__(self):
547
+ r"""修改凭证信息
548
+ :param InstanceId: 实例id
549
+ :type PathPrefix: String
550
+ :param TokenId: 实例访问凭证的id
551
+ :type PathPrefix: String
552
+ :param TokenType: 实例访问凭证过期时间类型,有效值:<br/>Hour:指定时长 <br/>Day:指定天数<br/>NeverExpire:永不过期<br/>注:与参数TokenTime搭配使用,用于设置访问凭证到期时间
553
+ :type PathPrefix: String
554
+ :param TokenTime: 实例访问凭证过期时间<br/>注:当参数TokenType设置为NeverExpire时,该参数不生效
555
+ :type PathPrefix: String
556
+ :param Desc: 访问凭证描述信息
557
+ :type PathPrefix: String
558
+ """
559
+ self.InstanceId = None
560
+ self.TokenId = None
561
+ self.TokenType = None
562
+ self.TokenTime = None
563
+ self.Desc = None
564
+
565
+ def _deserialize(self, params):
566
+ if params.get("InstanceId"):
567
+ self.InstanceId = params.get("InstanceId")
568
+ if params.get("TokenId"):
569
+ self.TokenId = params.get("TokenId")
570
+ if params.get("TokenType"):
571
+ self.TokenType = params.get("TokenType")
572
+ if params.get("TokenTime"):
573
+ self.TokenTime = params.get("TokenTime")
574
+ if params.get("Desc"):
575
+ self.Desc = params.get("Desc")
576
+
577
+
578
+ class DescribeInternalEndpointDnsRequest(AbstractModel):
579
+ """DescribeInternalEndpointDns请求参数结构体
580
+ """
581
+
582
+ def __init__(self):
583
+ r"""DescribeInternalEndpointDns
584
+ :param InstanceId: 实例id
585
+ :type PathPrefix: String
586
+ :param VpcId: vpcid
587
+ :type PathPrefix: String
588
+ :param EniLBIp: 内网访问链路ip
589
+ :type PathPrefix: String
590
+ :param InternalEndpointDns: 解析的域名,有效值:<br/>PrivateDomain:内网域名<br/>注:若不填,则默认查询所有域名
591
+ :type PathPrefix: String
592
+ """
593
+ self.InstanceId = None
594
+ self.VpcId = None
595
+ self.EniLBIp = None
596
+ self.InternalEndpointDns = None
597
+
598
+ def _deserialize(self, params):
599
+ if params.get("InstanceId"):
600
+ self.InstanceId = params.get("InstanceId")
601
+ if params.get("VpcId"):
602
+ self.VpcId = params.get("VpcId")
603
+ if params.get("EniLBIp"):
604
+ self.EniLBIp = params.get("EniLBIp")
605
+ if params.get("InternalEndpointDns"):
606
+ self.InternalEndpointDns = params.get("InternalEndpointDns")
607
+
608
+
609
+ class DeleteInstanceTokenRequest(AbstractModel):
610
+ """DeleteInstanceToken请求参数结构体
611
+ """
612
+
613
+ def __init__(self):
614
+ r"""删除凭证
615
+ :param InstanceId: 实例id
616
+ :type PathPrefix: String
617
+ :param TokenId: 实例访问凭证的id
618
+ :type PathPrefix: String
619
+ """
620
+ self.InstanceId = None
621
+ self.TokenId = None
622
+
623
+ def _deserialize(self, params):
624
+ if params.get("InstanceId"):
625
+ self.InstanceId = params.get("InstanceId")
626
+ if params.get("TokenId"):
627
+ self.TokenId = params.get("TokenId")
628
+
629
+
630
+ class CreateInternalEndpointDnsRequest(AbstractModel):
631
+ """CreateInternalEndpointDns请求参数结构体
632
+ """
633
+
634
+ def __init__(self):
635
+ r"""CreateInternalEndpointDns
636
+ :param InstanceId: 实例id
637
+ :type PathPrefix: String
638
+ :param VpcId: vpcid
639
+ :type PathPrefix: String
640
+ :param EniLBIp: 实例内网访问链路ip
641
+ :type PathPrefix: String
642
+ :param InternalEndpointDns: 解析的域名,有效值:<br/>PrivateDomain:内网域名
643
+ :type PathPrefix: String
644
+ """
645
+ self.InstanceId = None
646
+ self.VpcId = None
647
+ self.EniLBIp = None
648
+ self.InternalEndpointDns = None
649
+
650
+ def _deserialize(self, params):
651
+ if params.get("InstanceId"):
652
+ self.InstanceId = params.get("InstanceId")
653
+ if params.get("VpcId"):
654
+ self.VpcId = params.get("VpcId")
655
+ if params.get("EniLBIp"):
656
+ self.EniLBIp = params.get("EniLBIp")
657
+ if params.get("InternalEndpointDns"):
658
+ self.InternalEndpointDns = params.get("InternalEndpointDns")
659
+
660
+
661
+ class DeleteInternalEndpointDnsRequest(AbstractModel):
662
+ """DeleteInternalEndpointDns请求参数结构体
663
+ """
664
+
665
+ def __init__(self):
666
+ r"""DeleteInternalEndpointDns
667
+ :param InstanceId: 实例id
668
+ :type PathPrefix: String
669
+ :param VpcId: vpcid
670
+ :type PathPrefix: String
671
+ :param EniLBIp: 内网访问链路ip
672
+ :type PathPrefix: String
673
+ :param InternalEndpointDns: 解析的域名,有效值:<br/>PrivateDomain:内网域名
674
+ :type PathPrefix: String
675
+ """
676
+ self.InstanceId = None
677
+ self.VpcId = None
678
+ self.EniLBIp = None
679
+ self.InternalEndpointDns = None
680
+
681
+ def _deserialize(self, params):
682
+ if params.get("InstanceId"):
683
+ self.InstanceId = params.get("InstanceId")
684
+ if params.get("VpcId"):
685
+ self.VpcId = params.get("VpcId")
686
+ if params.get("EniLBIp"):
687
+ self.EniLBIp = params.get("EniLBIp")
688
+ if params.get("InternalEndpointDns"):
689
+ self.InternalEndpointDns = params.get("InternalEndpointDns")
690
+
691
+
692
+ class CreateInstanceRequest(AbstractModel):
693
+ """CreateInstance请求参数结构体
694
+ """
695
+
696
+ def __init__(self):
697
+ r"""创建仓库实例
698
+ :param InstanceName: 实例名称<br />校验规则:长度为2-30个字符,支持填写小写英文字母、数字,且不能以数字开头
699
+ :type PathPrefix: String
700
+ :param ChargeType: 实例计费方式,有效值:<br />HourlyInstantSettlement:按量付费<br /> Monthly:包年包月<br />默认值:HourlyInstantSettlement
701
+ :type PathPrefix: String
702
+ :param InstanceType: 实例规格,有效值:<br />basic:基础版<br />premium:高级版
703
+ :type PathPrefix: String
704
+ :param PurchaseTime: 购买时长,单位为月(按年付费请输入12的整数倍)<br />注:当ChargeType参数设置为Monthly时,此项必填
705
+ :type PathPrefix: String
706
+ :param ProjectId: 实例所属项目ID,若不填,则默认为默认项目
707
+ :type PathPrefix: String
708
+ """
709
+ self.InstanceName = None
710
+ self.ChargeType = None
711
+ self.InstanceType = None
712
+ self.PurchaseTime = None
713
+ self.ProjectId = None
714
+
715
+ def _deserialize(self, params):
716
+ if params.get("InstanceName"):
717
+ self.InstanceName = params.get("InstanceName")
718
+ if params.get("ChargeType"):
719
+ self.ChargeType = params.get("ChargeType")
720
+ if params.get("InstanceType"):
721
+ self.InstanceType = params.get("InstanceType")
722
+ if params.get("PurchaseTime"):
723
+ self.PurchaseTime = params.get("PurchaseTime")
724
+ if params.get("ProjectId"):
725
+ self.ProjectId = params.get("ProjectId")
726
+
727
+
728
+ class DeleteInstanceRequest(AbstractModel):
729
+ """DeleteInstance请求参数结构体
730
+ """
731
+
732
+ def __init__(self):
733
+ r"""删除企业版实例
734
+ :param InstanceId: 实例id
735
+ :type PathPrefix: String
736
+ :param DeleteBucket: 是否随实例删除关联的KS3 Bucket,有效值:<br />True:是<br />False:否<br />默认值:False
737
+ :type PathPrefix: Boolean
738
+ """
739
+ self.InstanceId = None
740
+ self.DeleteBucket = None
741
+
742
+ def _deserialize(self, params):
743
+ if params.get("InstanceId"):
744
+ self.InstanceId = params.get("InstanceId")
745
+ if params.get("DeleteBucket"):
746
+ self.DeleteBucket = params.get("DeleteBucket")
747
+
748
+
749
+ class DescribeInstanceUsageRequest(AbstractModel):
750
+ """DescribeInstanceUsage请求参数结构体
751
+ """
752
+
753
+ def __init__(self):
754
+ r"""查询实例配额
755
+ :param InstanceId: 实例id
756
+ :type PathPrefix: String
757
+ """
758
+ self.InstanceId = None
759
+
760
+ def _deserialize(self, params):
761
+ if params.get("InstanceId"):
762
+ self.InstanceId = params.get("InstanceId")
763
+
764
+
765
+ class DescribeInstanceRequest(AbstractModel):
766
+ """DescribeInstance请求参数结构体
767
+ """
768
+
769
+ def __init__(self):
770
+ r"""查询镜像实例信息
771
+ :param InstanceId: 实例id,若不填,则默认查询该地域下的所有实例
772
+ :type PathPrefix: Filter
773
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
774
+ :type PathPrefix: String
775
+ :param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99
776
+ :type PathPrefix: String
777
+ :param ProjectId: 实例所属项目ID,若不填,则默认查询默认项目
778
+ :type PathPrefix: Filter
779
+ :param InstanceName: 实例名称,只支持精准匹配
780
+ :type PathPrefix: String
781
+ """
782
+ self.InstanceId = None
783
+ self.Marker = None
784
+ self.MaxResults = None
785
+ self.ProjectId = None
786
+ self.InstanceName = None
787
+
788
+ def _deserialize(self, params):
789
+ if params.get("InstanceId"):
790
+ self.InstanceId = params.get("InstanceId")
791
+ if params.get("Marker"):
792
+ self.Marker = params.get("Marker")
793
+ if params.get("MaxResults"):
794
+ self.MaxResults = params.get("MaxResults")
795
+ if params.get("ProjectId"):
796
+ self.ProjectId = params.get("ProjectId")
797
+ if params.get("InstanceName"):
798
+ self.InstanceName = params.get("InstanceName")
799
+
800
+
801
+ class CreateWebhookTriggerRequest(AbstractModel):
802
+ """CreateWebhookTrigger请求参数结构体
803
+ """
804
+
805
+ def __init__(self):
806
+ r"""创建触发器
807
+ :param InstanceId: 实例ID
808
+ :type PathPrefix: String
809
+ :param Namespace: 命名空间
810
+ :type PathPrefix: String
811
+ :param Trigger: 触发器参数
812
+ :type PathPrefix: Object
813
+ """
814
+ self.InstanceId = None
815
+ self.Namespace = None
816
+ self.Trigger = None
817
+
818
+ def _deserialize(self, params):
819
+ if params.get("InstanceId"):
820
+ self.InstanceId = params.get("InstanceId")
821
+ if params.get("Namespace"):
822
+ self.Namespace = params.get("Namespace")
823
+ if params.get("Trigger"):
824
+ self.Trigger = params.get("Trigger")
825
+
826
+
827
+ class DescribeWebhookTriggerRequest(AbstractModel):
828
+ """DescribeWebhookTrigger请求参数结构体
829
+ """
830
+
831
+ def __init__(self):
832
+ r"""查询触发器
833
+ :param InstanceId: 实例ID
834
+ :type PathPrefix: String
835
+ :param Namespace: 命名空间
836
+ :type PathPrefix: String
837
+ :param TriggerId: 触发器ID
838
+ :type PathPrefix: String
839
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
840
+ :type PathPrefix: String
841
+ :param MaxResults: 单次调用所返回的最大实例数目,默认10, 最大99
842
+ :type PathPrefix: String
843
+ """
844
+ self.InstanceId = None
845
+ self.Namespace = None
846
+ self.TriggerId = None
847
+ self.Marker = None
848
+ self.MaxResults = None
849
+
850
+ def _deserialize(self, params):
851
+ if params.get("InstanceId"):
852
+ self.InstanceId = params.get("InstanceId")
853
+ if params.get("Namespace"):
854
+ self.Namespace = params.get("Namespace")
855
+ if params.get("TriggerId"):
856
+ self.TriggerId = params.get("TriggerId")
857
+ if params.get("Marker"):
858
+ self.Marker = params.get("Marker")
859
+ if params.get("MaxResults"):
860
+ self.MaxResults = params.get("MaxResults")
861
+
862
+
863
+ class ModifyWebhookTriggerRequest(AbstractModel):
864
+ """ModifyWebhookTrigger请求参数结构体
865
+ """
866
+
867
+ def __init__(self):
868
+ r"""修改触发器
869
+ :param InstanceId: 实例ID
870
+ :type PathPrefix: String
871
+ :param Namespace: 命名空间
872
+ :type PathPrefix: String
873
+ :param Trigger: 触发器属性
874
+ :type PathPrefix: String
875
+ :param TriggerId: 触发器ID
876
+ :type PathPrefix: String
877
+ :param TriggerName: 触发器名称
878
+ :type PathPrefix: String
879
+ :param EventType: 触发动作,有效值:<br/>PushImage<br/>DeleteImage
880
+ :type PathPrefix: Filter
881
+ :param TriggerUrl: 触发器URL
882
+ :type PathPrefix: String
883
+ :param Header: 自定义Headers
884
+ :type PathPrefix: Filter
885
+ :param Enabled: 启用触发器,有效值:<br/>True:是<br/>False:否
886
+ :type PathPrefix: String
887
+ :param Key: Header Key
888
+ :type PathPrefix: String
889
+ :param Value: Header Values
890
+ :type PathPrefix: Filter
891
+ """
892
+ self.InstanceId = None
893
+ self.Namespace = None
894
+ self.Trigger = None
895
+ self.TriggerId = None
896
+ self.TriggerName = None
897
+ self.EventType = None
898
+ self.TriggerUrl = None
899
+ self.Header = None
900
+ self.Enabled = None
901
+ self.Key = None
902
+ self.Value = None
903
+
904
+ def _deserialize(self, params):
905
+ if params.get("InstanceId"):
906
+ self.InstanceId = params.get("InstanceId")
907
+ if params.get("Namespace"):
908
+ self.Namespace = params.get("Namespace")
909
+ if params.get("Trigger"):
910
+ self.Trigger = params.get("Trigger")
911
+ if params.get("TriggerId"):
912
+ self.TriggerId = params.get("TriggerId")
913
+ if params.get("TriggerName"):
914
+ self.TriggerName = params.get("TriggerName")
915
+ if params.get("EventType"):
916
+ self.EventType = params.get("EventType")
917
+ if params.get("TriggerUrl"):
918
+ self.TriggerUrl = params.get("TriggerUrl")
919
+ if params.get("Header"):
920
+ self.Header = params.get("Header")
921
+ if params.get("Enabled"):
922
+ self.Enabled = params.get("Enabled")
923
+ if params.get("Key"):
924
+ self.Key = params.get("Key")
925
+ if params.get("Value"):
926
+ self.Value = params.get("Value")
927
+
928
+
929
+ class DescribeWebhookTriggerLogRequest(AbstractModel):
930
+ """DescribeWebhookTriggerLog请求参数结构体
931
+ """
932
+
933
+ def __init__(self):
934
+ r"""查询触发器日志
935
+ :param InstanceId: 实例ID
936
+ :type PathPrefix: String
937
+ :param Namespace: 命名空间
938
+ :type PathPrefix: String
939
+ :param TriggerId: 触发器ID
940
+ :type PathPrefix: String
941
+ :param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
942
+ :type PathPrefix: String
943
+ :param MaxResults: 单次调用所返回的最大实例数目,默认10, 最大99
944
+ :type PathPrefix: String
945
+ """
946
+ self.InstanceId = None
947
+ self.Namespace = None
948
+ self.TriggerId = None
949
+ self.Marker = None
950
+ self.MaxResults = None
951
+
952
+ def _deserialize(self, params):
953
+ if params.get("InstanceId"):
954
+ self.InstanceId = params.get("InstanceId")
955
+ if params.get("Namespace"):
956
+ self.Namespace = params.get("Namespace")
957
+ if params.get("TriggerId"):
958
+ self.TriggerId = params.get("TriggerId")
959
+ if params.get("Marker"):
960
+ self.Marker = params.get("Marker")
961
+ if params.get("MaxResults"):
962
+ self.MaxResults = params.get("MaxResults")
963
+
964
+
965
+ class DeleteWebhookTriggerRequest(AbstractModel):
966
+ """DeleteWebhookTrigger请求参数结构体
967
+ """
968
+
969
+ def __init__(self):
970
+ r"""删除触发器
971
+ :param InstanceId: 实例ID
972
+ :type PathPrefix: String
973
+ :param Namespace: 命名空间
974
+ :type PathPrefix: String
975
+ :param TriggerId: 触发器ID
976
+ :type PathPrefix: String
977
+ """
978
+ self.InstanceId = None
979
+ self.Namespace = None
980
+ self.TriggerId = None
981
+
982
+ def _deserialize(self, params):
983
+ if params.get("InstanceId"):
984
+ self.InstanceId = params.get("InstanceId")
985
+ if params.get("Namespace"):
986
+ self.Namespace = params.get("Namespace")
987
+ if params.get("TriggerId"):
988
+ self.TriggerId = params.get("TriggerId")
989
+
990
+
991
+ class CreateRetentionRuleRequest(AbstractModel):
992
+ """CreateRetentionRule请求参数结构体
993
+ """
994
+
995
+ def __init__(self):
996
+ r"""创建镜像清理规则
997
+ :param InstanceId: 实例Id
998
+ :type PathPrefix: String
999
+ :param Namespace: 命名空间
1000
+ :type PathPrefix: String
1001
+ :param Rule: 参数实体类
1002
+ :type PathPrefix: Object
1003
+ """
1004
+ self.InstanceId = None
1005
+ self.Namespace = None
1006
+ self.Rule = None
1007
+
1008
+ def _deserialize(self, params):
1009
+ if params.get("InstanceId"):
1010
+ self.InstanceId = params.get("InstanceId")
1011
+ if params.get("Namespace"):
1012
+ self.Namespace = params.get("Namespace")
1013
+ if params.get("Rule"):
1014
+ self.Rule = params.get("Rule")
1015
+
1016
+
1017
+ class UpdateRetentionRuleRequest(AbstractModel):
1018
+ """UpdateRetentionRule请求参数结构体
1019
+ """
1020
+
1021
+ def __init__(self):
1022
+ r"""更新镜像清理规则
1023
+ :param InstanceId: 实例Id
1024
+ :type PathPrefix: String
1025
+ :param Namespace: 命名空间
1026
+ :type PathPrefix: String
1027
+ :param Rule: 参数实体类
1028
+ :type PathPrefix: Object
1029
+ """
1030
+ self.InstanceId = None
1031
+ self.Namespace = None
1032
+ self.Rule = None
1033
+
1034
+ def _deserialize(self, params):
1035
+ if params.get("InstanceId"):
1036
+ self.InstanceId = params.get("InstanceId")
1037
+ if params.get("Namespace"):
1038
+ self.Namespace = params.get("Namespace")
1039
+ if params.get("Rule"):
1040
+ self.Rule = params.get("Rule")
1041
+
1042
+
1043
+ class DeleteRetentionRuleRequest(AbstractModel):
1044
+ """DeleteRetentionRule请求参数结构体
1045
+ """
1046
+
1047
+ def __init__(self):
1048
+ r"""删除镜像清理规则
1049
+ :param InstanceId: 实例Id
1050
+ :type PathPrefix: String
1051
+ :param Namespace: 命名空间
1052
+ :type PathPrefix: String
1053
+ :param Rule: 参数实体类
1054
+ :type PathPrefix: Object
1055
+ """
1056
+ self.InstanceId = None
1057
+ self.Namespace = None
1058
+ self.Rule = None
1059
+
1060
+ def _deserialize(self, params):
1061
+ if params.get("InstanceId"):
1062
+ self.InstanceId = params.get("InstanceId")
1063
+ if params.get("Namespace"):
1064
+ self.Namespace = params.get("Namespace")
1065
+ if params.get("Rule"):
1066
+ self.Rule = params.get("Rule")
1067
+
1068
+
1069
+ class DescribeRetentionRuleRequest(AbstractModel):
1070
+ """DescribeRetentionRule请求参数结构体
1071
+ """
1072
+
1073
+ def __init__(self):
1074
+ r"""描述镜像清理规则
1075
+ :param InstanceId: 请求Id
1076
+ :type PathPrefix: String
1077
+ :param Namespace: 命名空间
1078
+ :type PathPrefix: String
1079
+ """
1080
+ self.InstanceId = None
1081
+ self.Namespace = None
1082
+
1083
+ def _deserialize(self, params):
1084
+ if params.get("InstanceId"):
1085
+ self.InstanceId = params.get("InstanceId")
1086
+ if params.get("Namespace"):
1087
+ self.Namespace = params.get("Namespace")
1088
+
1089
+
1090
+ class RunRetentionPolicyRequest(AbstractModel):
1091
+ """RunRetentionPolicy请求参数结构体
1092
+ """
1093
+
1094
+ def __init__(self):
1095
+ r"""运行清理保留规则
1096
+ :param InstanceId: 实例Id
1097
+ :type PathPrefix: String
1098
+ :param Namespace: 命名空间
1099
+ :type PathPrefix: String
1100
+ :param TestRun: 默认为true,是否为模拟运行
1101
+
1102
+ :type PathPrefix: Boolean
1103
+ """
1104
+ self.InstanceId = None
1105
+ self.Namespace = None
1106
+ self.TestRun = None
1107
+
1108
+ def _deserialize(self, params):
1109
+ if params.get("InstanceId"):
1110
+ self.InstanceId = params.get("InstanceId")
1111
+ if params.get("Namespace"):
1112
+ self.Namespace = params.get("Namespace")
1113
+ if params.get("TestRun"):
1114
+ self.TestRun = params.get("TestRun")
1115
+
1116
+
1117
+ class GetRetentionPolicyLogsRequest(AbstractModel):
1118
+ """GetRetentionPolicyLogs请求参数结构体
1119
+ """
1120
+
1121
+ def __init__(self):
1122
+ r"""获取运行日志列表
1123
+ :param InstanceId: 实例Id
1124
+ :type PathPrefix: String
1125
+ :param Namespace: 命名空间
1126
+ :type PathPrefix: String
1127
+ :param Page: 分页参数
1128
+ :type PathPrefix: Int
1129
+ :param PageSize: 每页数据大小
1130
+ :type PathPrefix: Int
1131
+ """
1132
+ self.InstanceId = None
1133
+ self.Namespace = None
1134
+ self.Page = None
1135
+ self.PageSize = None
1136
+
1137
+ def _deserialize(self, params):
1138
+ if params.get("InstanceId"):
1139
+ self.InstanceId = params.get("InstanceId")
1140
+ if params.get("Namespace"):
1141
+ self.Namespace = params.get("Namespace")
1142
+ if params.get("Page"):
1143
+ self.Page = params.get("Page")
1144
+ if params.get("PageSize"):
1145
+ self.PageSize = params.get("PageSize")
1146
+
1147
+
1148
+ class GetRetentionPolicyLogDetailRequest(AbstractModel):
1149
+ """GetRetentionPolicyLogDetail请求参数结构体
1150
+ """
1151
+
1152
+ def __init__(self):
1153
+ r"""获取日志运行详情
1154
+ :param InstanceId: 实例Id
1155
+ :type PathPrefix: String
1156
+ :param Namespace: 命名空间
1157
+ :type PathPrefix: String
1158
+ :param ExecutionId: ExecutionId
1159
+ :type PathPrefix: String
1160
+ :param Page: 分页参数
1161
+ :type PathPrefix: Int
1162
+ :param PageSize: 每页数据大小
1163
+ :type PathPrefix: Int
1164
+ """
1165
+ self.InstanceId = None
1166
+ self.Namespace = None
1167
+ self.ExecutionId = None
1168
+ self.Page = None
1169
+ self.PageSize = None
1170
+
1171
+ def _deserialize(self, params):
1172
+ if params.get("InstanceId"):
1173
+ self.InstanceId = params.get("InstanceId")
1174
+ if params.get("Namespace"):
1175
+ self.Namespace = params.get("Namespace")
1176
+ if params.get("ExecutionId"):
1177
+ self.ExecutionId = params.get("ExecutionId")
1178
+ if params.get("Page"):
1179
+ self.Page = params.get("Page")
1180
+ if params.get("PageSize"):
1181
+ self.PageSize = params.get("PageSize")
1182
+
1183
+
1184
+ class GetRetentionPolicyLogRequest(AbstractModel):
1185
+ """GetRetentionPolicyLog请求参数结构体
1186
+ """
1187
+
1188
+ def __init__(self):
1189
+ r"""获取日志保留结果
1190
+ :param InstanceId: 实例Id
1191
+ :type PathPrefix: String
1192
+ :param Namespace: 命名空间
1193
+ :type PathPrefix: String
1194
+ :param TaskId: taskId
1195
+ :type PathPrefix: Int
1196
+ :param ExecutionId: ExecutionId
1197
+ :type PathPrefix: Int
1198
+ """
1199
+ self.InstanceId = None
1200
+ self.Namespace = None
1201
+ self.TaskId = None
1202
+ self.ExecutionId = None
1203
+
1204
+ def _deserialize(self, params):
1205
+ if params.get("InstanceId"):
1206
+ self.InstanceId = params.get("InstanceId")
1207
+ if params.get("Namespace"):
1208
+ self.Namespace = params.get("Namespace")
1209
+ if params.get("TaskId"):
1210
+ self.TaskId = params.get("TaskId")
1211
+ if params.get("ExecutionId"):
1212
+ self.ExecutionId = params.get("ExecutionId")
1213
+
1214
+
1215
+ class GetRetentionTriggerRequest(AbstractModel):
1216
+ """GetRetentionTrigger请求参数结构体
1217
+ """
1218
+
1219
+ def __init__(self):
1220
+ r"""获取触发器
1221
+ :param InstanceId: 实例Id
1222
+ :type PathPrefix: String
1223
+ :param Namespace: 命名空间
1224
+ :type PathPrefix: String
1225
+ """
1226
+ self.InstanceId = None
1227
+ self.Namespace = None
1228
+
1229
+ def _deserialize(self, params):
1230
+ if params.get("InstanceId"):
1231
+ self.InstanceId = params.get("InstanceId")
1232
+ if params.get("Namespace"):
1233
+ self.Namespace = params.get("Namespace")
1234
+
1235
+
1236
+ class UpdateRetentionTriggerRequest(AbstractModel):
1237
+ """UpdateRetentionTrigger请求参数结构体
1238
+ """
1239
+
1240
+ def __init__(self):
1241
+ r"""修改触发器
1242
+ :param InstanceId: 实例Id
1243
+ :type PathPrefix: String
1244
+ :param Namespace: 命名空间
1245
+ :type PathPrefix: String
1246
+ :param Trigger: 执行周期
1247
+ :type PathPrefix: String
1248
+ """
1249
+ self.InstanceId = None
1250
+ self.Namespace = None
1251
+ self.Trigger = None
1252
+
1253
+ def _deserialize(self, params):
1254
+ if params.get("InstanceId"):
1255
+ self.InstanceId = params.get("InstanceId")
1256
+ if params.get("Namespace"):
1257
+ self.Namespace = params.get("Namespace")
1258
+ if params.get("Trigger"):
1259
+ self.Trigger = params.get("Trigger")
1260
+
1261
+
1262
+ class ScheduleRequest(AbstractModel):
1263
+ """Schedule请求参数结构体
1264
+ """
1265
+
1266
+ def __init__(self):
1267
+ r"""ks3清理
1268
+ :param InstanceId: 实例Id
1269
+ :type PathPrefix: String
1270
+ :param TestRun: 是否模拟运行
1271
+ :type PathPrefix: Boolean
1272
+ """
1273
+ self.InstanceId = None
1274
+ self.TestRun = None
1275
+
1276
+ def _deserialize(self, params):
1277
+ if params.get("InstanceId"):
1278
+ self.InstanceId = params.get("InstanceId")
1279
+ if params.get("TestRun"):
1280
+ self.TestRun = params.get("TestRun")
1281
+
1282
+