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
@@ -5,7 +5,7 @@ class CreateEpcRequest(AbstractModel):
5
5
  """
6
6
 
7
7
  def __init__(self):
8
- r"""CreateEpc
8
+ r"""创建云物理主机
9
9
  :param HostType:
10
10
  - 裸金属服务器机型
11
11
  - 有效值:
@@ -63,22 +63,25 @@ class CreateEpcRequest(AbstractModel):
63
63
  :param AvailabilityZone: 可用区的名称
64
64
  :type PathPrefix: String
65
65
  :param Raid: 数据盘Raid级别,和数据盘的数量直接相关
66
- 有效值: Raid1:数据盘数量必须是2的倍数
67
- Raid5:数据盘的数量必须大于等于3
68
- Raid10:数据盘数量必须是4的倍数
69
- Raid50:数据盘的数量必须大于6且是2的倍数
70
- SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场景
71
- 与RaidId必填其一,RaidId优先级高
66
+ 有效值:
67
+ - Jbod:直连模式
68
+ - Raid1:数据盘数量必须是2的倍数
69
+ - Raid5:数据盘的数量必须大于等于3
70
+ - Raid10:数据盘数量必须是4的倍数
71
+ - Raid50:数据盘的数量必须大于6且是2的倍数
72
+ - SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场景
73
+ 说明:Raid与RaidId必填其一,RaidId优先级高
72
74
  :type PathPrefix: String
73
75
  :param RaidId: Raid模板Id
74
76
  :type PathPrefix: String
75
77
  :param ImageId: 镜像资源ID,参见DescribeImages
76
78
  :type PathPrefix: String
77
79
  :param NetworkInterfaceMode: 网卡模式
78
- -有效值:
79
- -bond4:BOND模式
80
- -single :非BOND模式
81
- -dual:双网卡模式
80
+ 有效值:
81
+ bond4:bond模式
82
+ single:非bond模式
83
+ dual:双网卡模式
84
+ windows创建时,只支持非bond模式。
82
85
  :type PathPrefix: String
83
86
  :param SubnetId: 云物理主机的子网ID
84
87
  :type PathPrefix: String
@@ -86,7 +89,7 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
86
89
  :type PathPrefix: String
87
90
  :param keyId: 用户密钥对的资源ID
88
91
  :type PathPrefix: String
89
- :param SecurityGroupId: 裸金属服务器关联的安全组ID,一个裸金属服务器最多可以支持3个安全组
92
+ :param SecurityGroupId: 裸金属服务器关联的安全组ID,一个裸金属服务器最多可以支持5个安全组
90
93
  :type PathPrefix: Filter
91
94
  :param DNS1: DNS1的值,当通过该接口进行修改网络配置时不填写此参数,保持与之前不变
92
95
  :type PathPrefix: String
@@ -96,20 +99,14 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
96
99
  :type PathPrefix: String
97
100
  :param ProjectId: 项目的ID
98
101
  :type PathPrefix: String
99
- :param ChargeType: 云物理主机计费类型,包年包月Monthly,按日月结Daily
100
- -有效值:Monthly | Daily
101
- :type PathPrefix: String
102
- :param Sn: 云物理主机序列号
102
+ :param ChargeType: 云物理主机计费类型,包年包月Monthly,按日月结Daily,试用Trial
103
+ -有效值:Monthly | Daily | Trial
103
104
  :type PathPrefix: String
104
105
  :param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
105
106
  :type PathPrefix: Int
106
107
  :param Password: 系统的登录密码
107
108
  :type PathPrefix: String
108
- :param SecurityAgent: 安全组件类型
109
- - classic:经典版
110
- - no:不开启
111
- :type PathPrefix: String
112
- :param CloudMonitorAgent: 安全组件类型
109
+ :param CloudMonitorAgent: 云监控
113
110
  - classic:经典版
114
111
  - no:不开启
115
112
  :type PathPrefix: String
@@ -135,23 +132,49 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
135
132
  :type PathPrefix: String
136
133
  :param AddressProjectId: 弹性IP项目的ID
137
134
  :type PathPrefix: String
138
- :param SystemFileType: 系统盘文件格式
135
+ :param SystemFileType: 系统盘文件格式(NTFS仅支持windows)
136
+ 有效值:EXT4|XFS|NTFS
139
137
  :type PathPrefix: String
140
- :param DataFileType: 数据盘文件格式
138
+ :param DataFileType: 数据盘文件格式(NTFS仅支持windows)
139
+ 有效值:EXT4|XFS|NTFS
140
+
141
141
  :type PathPrefix: String
142
142
  :param DataDiskCatalogue: 数据盘目录
143
+ 有效值:
144
+
145
+ /DATA/disk:在系统的DATA目录下,系统里展示内容如/DATA/disk1,/DATA/disk2
146
+ /data:在系统的根目录下,系统里展示内容从/data1开始,如/data1,/data2
147
+
143
148
  :type PathPrefix: String
144
149
  :param DataDiskCatalogueSuffix: 数据盘目录后缀属性
150
+ 有效值:
151
+
152
+ NoSuffix :不使用后缀,只有在数据盘有一块的时候,可以使用此参数
153
+ NaturalNumber:后缀从1底层的整数
154
+ NaturalNumberFromZero:后缀从0递增的整数
155
+
145
156
  :type PathPrefix: String
146
157
  :param HyperThreading: 对超线程的变更
158
+ 有效值:
159
+
160
+ Open:开启
161
+ Close:关闭
162
+ NoChange:不改变
163
+
147
164
  :type PathPrefix: String
148
165
  :param NvmeDataFileType: NVME数据盘类型
166
+ 有效值:
167
+
168
+ EXT4
169
+ XFS
170
+
149
171
  :type PathPrefix: String
150
172
  :param NvmeDataDiskCatalogue: NVME数据盘目录
151
173
  :type PathPrefix: String
152
174
  :param NvmeDataDiskCatalogueSuffix: NVME数据盘目录后缀属性
153
175
  :type PathPrefix: String
154
- :param bondAttribute: 网卡bond的属性
176
+ :param BondAttribute: bond名称
177
+ 有效值: bond0|bond1
155
178
  :type PathPrefix: String
156
179
  :param ContainerAgent: 容器引擎组件类型
157
180
  :type PathPrefix: String
@@ -171,10 +194,67 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
171
194
  :type PathPrefix: String
172
195
  :param RoceNetwork: roce网络
173
196
  有效值: Open:开启 Close:关闭
197
+ 添加白名单的用户为必填项
174
198
 
175
199
 
176
200
 
177
-
201
+ :type PathPrefix: String
202
+ :param ZoneId: 创建pdns所需参数
203
+ :type PathPrefix: String
204
+ :param ZoneType: 创建pdns所需参数
205
+ :type PathPrefix: String
206
+ :param UseHotStandby: 是否开启热备机,有效值
207
+ support开启
208
+ unsupport不开启
209
+ onlyHotStandby只开热备机
210
+ :type PathPrefix: String
211
+ :param TimedRegularization: 释义:试用定时转正
212
+ 有效值:
213
+ ▪ support:开启
214
+ ▪ unsupport:关闭
215
+ 默认值:unsupport,不传默认关闭
216
+ :type PathPrefix: String
217
+ :param PasswordInherit: 是否使用镜像预设的密码和密钥
218
+ 有效值:
219
+ ▪ support:开启
220
+ ▪ unsupport:关闭
221
+ 默认值:unsupport
222
+ :type PathPrefix: String
223
+ :param DataDiskMount: 是否对数据盘进行磁盘挂载
224
+ 有效值:
225
+ ▪ support:开启
226
+ ▪ unsupport:关闭
227
+ 默认值:support
228
+ :type PathPrefix: String
229
+ :param StorageRoceNetworkCardName: 存储网卡名称,有效值
230
+ eth8x_bond
231
+ storage_bond
232
+ :type PathPrefix: String
233
+ :param Anaconda.N: 裸金属服务器anaconda信息
234
+ 类型: String
235
+ 是否必填:否
236
+ :type PathPrefix: String
237
+ :param Framework.N: 裸金属服务器训练框架信息
238
+ 类型: String
239
+ 是否必填:否
240
+ :type PathPrefix: String
241
+ :param Engine.N: 裸金属服务器推理引擎信息
242
+ 类型: String
243
+ 是否必填:否
244
+ :type PathPrefix: String
245
+ :param AiModel.N: 裸金属服务器AI模型信息
246
+ 类型: String
247
+ 是否必填:否
248
+ :type PathPrefix: String
249
+ :param UserData: base64编码后的自定义脚本
250
+ :type PathPrefix: String
251
+ :param StorageRoceNetworkInterfaceMode: 存储网卡bond模式,仅支持bond3(bond)、single(非bond)
252
+ :type PathPrefix: String
253
+ :param RoceCluster: 计算roce集群名称
254
+ :type PathPrefix: String
255
+ :param SRoceCluster: 存储Roce卡集群名称
256
+ :type PathPrefix: String
257
+ :param UserDefinedData: 自定义脚本
178
258
  :type PathPrefix: String
179
259
  """
180
260
  self.HostType = None
@@ -192,10 +272,8 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
192
272
  self.HostName = None
193
273
  self.ProjectId = None
194
274
  self.ChargeType = None
195
- self.Sn = None
196
275
  self.PurchaseTime = None
197
276
  self.Password = None
198
- self.SecurityAgent = None
199
277
  self.CloudMonitorAgent = None
200
278
  self.ExtensionSubnetId = None
201
279
  self.ExtensionPrivateIpAddress = None
@@ -216,7 +294,7 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
216
294
  self.NvmeDataFileType = None
217
295
  self.NvmeDataDiskCatalogue = None
218
296
  self.NvmeDataDiskCatalogueSuffix = None
219
- self.bondAttribute = None
297
+ self.BondAttribute = None
220
298
  self.ContainerAgent = None
221
299
  self.KesAgent = None
222
300
  self.KmrAgent = None
@@ -226,6 +304,22 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
226
304
  self.SystemVolumeType = None
227
305
  self.SystemVolumeSize = None
228
306
  self.RoceNetwork = None
307
+ self.ZoneId = None
308
+ self.ZoneType = None
309
+ self.UseHotStandby = None
310
+ self.TimedRegularization = None
311
+ self.PasswordInherit = None
312
+ self.DataDiskMount = None
313
+ self.StorageRoceNetworkCardName = None
314
+ self.Anaconda_N = None
315
+ self.Framework_N = None
316
+ self.Engine_N = None
317
+ self.AiModel_N = None
318
+ self.UserData = None
319
+ self.StorageRoceNetworkInterfaceMode = None
320
+ self.RoceCluster = None
321
+ self.SRoceCluster = None
322
+ self.UserDefinedData = None
229
323
 
230
324
  def _deserialize(self, params):
231
325
  if params.get("HostType"):
@@ -258,14 +352,10 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
258
352
  self.ProjectId = params.get("ProjectId")
259
353
  if params.get("ChargeType"):
260
354
  self.ChargeType = params.get("ChargeType")
261
- if params.get("Sn"):
262
- self.Sn = params.get("Sn")
263
355
  if params.get("PurchaseTime"):
264
356
  self.PurchaseTime = params.get("PurchaseTime")
265
357
  if params.get("Password"):
266
358
  self.Password = params.get("Password")
267
- if params.get("SecurityAgent"):
268
- self.SecurityAgent = params.get("SecurityAgent")
269
359
  if params.get("CloudMonitorAgent"):
270
360
  self.CloudMonitorAgent = params.get("CloudMonitorAgent")
271
361
  if params.get("ExtensionSubnetId"):
@@ -306,8 +396,8 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
306
396
  self.NvmeDataDiskCatalogue = params.get("NvmeDataDiskCatalogue")
307
397
  if params.get("NvmeDataDiskCatalogueSuffix"):
308
398
  self.NvmeDataDiskCatalogueSuffix = params.get("NvmeDataDiskCatalogueSuffix")
309
- if params.get("bondAttribute"):
310
- self.bondAttribute = params.get("bondAttribute")
399
+ if params.get("BondAttribute"):
400
+ self.BondAttribute = params.get("BondAttribute")
311
401
  if params.get("ContainerAgent"):
312
402
  self.ContainerAgent = params.get("ContainerAgent")
313
403
  if params.get("KesAgent"):
@@ -326,6 +416,38 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
326
416
  self.SystemVolumeSize = params.get("SystemVolumeSize")
327
417
  if params.get("RoceNetwork"):
328
418
  self.RoceNetwork = params.get("RoceNetwork")
419
+ if params.get("ZoneId"):
420
+ self.ZoneId = params.get("ZoneId")
421
+ if params.get("ZoneType"):
422
+ self.ZoneType = params.get("ZoneType")
423
+ if params.get("UseHotStandby"):
424
+ self.UseHotStandby = params.get("UseHotStandby")
425
+ if params.get("TimedRegularization"):
426
+ self.TimedRegularization = params.get("TimedRegularization")
427
+ if params.get("PasswordInherit"):
428
+ self.PasswordInherit = params.get("PasswordInherit")
429
+ if params.get("DataDiskMount"):
430
+ self.DataDiskMount = params.get("DataDiskMount")
431
+ if params.get("StorageRoceNetworkCardName"):
432
+ self.StorageRoceNetworkCardName = params.get("StorageRoceNetworkCardName")
433
+ if params.get("Anaconda.N"):
434
+ self.Anaconda_N = params.get("Anaconda.N")
435
+ if params.get("Framework.N"):
436
+ self.Framework_N = params.get("Framework.N")
437
+ if params.get("Engine.N"):
438
+ self.Engine_N = params.get("Engine.N")
439
+ if params.get("AiModel.N"):
440
+ self.AiModel_N = params.get("AiModel.N")
441
+ if params.get("UserData"):
442
+ self.UserData = params.get("UserData")
443
+ if params.get("StorageRoceNetworkInterfaceMode"):
444
+ self.StorageRoceNetworkInterfaceMode = params.get("StorageRoceNetworkInterfaceMode")
445
+ if params.get("RoceCluster"):
446
+ self.RoceCluster = params.get("RoceCluster")
447
+ if params.get("SRoceCluster"):
448
+ self.SRoceCluster = params.get("SRoceCluster")
449
+ if params.get("UserDefinedData"):
450
+ self.UserDefinedData = params.get("UserDefinedData")
329
451
 
330
452
 
331
453
  class StartEpcRequest(AbstractModel):
@@ -381,7 +503,7 @@ class ReinstallEpcRequest(AbstractModel):
381
503
  """
382
504
 
383
505
  def __init__(self):
384
- r"""ReinstallEpc
506
+ r"""物理机重装系统
385
507
  :param HostId: 裸金属服务器资源ID,也可填入EpcHostId
386
508
  :type PathPrefix: String
387
509
  :param ImageId: 镜像资源ID,参见DescribeImages
@@ -390,11 +512,15 @@ class ReinstallEpcRequest(AbstractModel):
390
512
  :type PathPrefix: String
391
513
  :param Password: 系统的登录密码
392
514
  :type PathPrefix: String
393
- :param NetworkInterfaceMode: 是否支持Bond,是:“Yes”;不是:”No”
394
- :type PathPrefix: String
395
- :param SecurityAgent: 安全组件类型
396
- - classic:经典版
397
- - no:不开启
515
+ :param NetworkInterfaceMode: 网卡模式
516
+ 有效值:
517
+ bond4:BOND模式
518
+ single:非BOND模式
519
+ dual:双网卡模式
520
+ 1. centos、Debin、Ubuntu重装时,bond选项 限制:
521
+ a. 若开机为双网卡模式,则只能重装成双网卡模式,无法重装为bond和非bond模式。
522
+ b. bond/非bond重装时仅可选择bond/非bond
523
+ 2. 重装为window系统时,无法选择网卡类型,默认重装为非bond模式,且无法选择密钥验证。
398
524
  :type PathPrefix: String
399
525
  :param CloudMonitorAgent: 安全组件类型
400
526
  - classic:经典版
@@ -428,7 +554,7 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
428
554
  :type PathPrefix: String
429
555
  :param NvmeDataDiskCatalogueSuffix: NVME数据盘目录后缀属性
430
556
  :type PathPrefix: String
431
- :param bondAttribute: 网卡bond的属性
557
+ :param BondAttribute: 网卡bond的属性
432
558
  :type PathPrefix: String
433
559
  :param KesAgent: kes组件类型
434
560
  :type PathPrefix: String
@@ -444,13 +570,31 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
444
570
  :type PathPrefix: String
445
571
  :param GpuImageDriverId: gpu版本
446
572
  :type PathPrefix: String
573
+ :param ContainerAgent: 容器引擎组件类型
574
+ :type PathPrefix: String
575
+ :param PasswordInherit: 是否使用镜像预设的密码和密钥
576
+ 有效值:
577
+ ▪ support:开启
578
+ ▪ unsupport:关闭
579
+ 默认值:unsupport
580
+ :type PathPrefix: String
581
+ :param DataDiskMount: 是否对数据盘进行磁盘挂载
582
+ 有效值:
583
+ ▪ support:开启
584
+ ▪ unsupport:关闭
585
+ 默认值:support
586
+ :type PathPrefix: String
587
+ :param StorageRoceNetworkCardName: RoCE存储卡名称,仅支持
588
+ eth8x_bond、storage_bond
589
+ :type PathPrefix: String
590
+ :param UserDefinedData: 自定义脚本
591
+ :type PathPrefix: String
447
592
  """
448
593
  self.HostId = None
449
594
  self.ImageId = None
450
595
  self.keyId = None
451
596
  self.Password = None
452
597
  self.NetworkInterfaceMode = None
453
- self.SecurityAgent = None
454
598
  self.CloudMonitorAgent = None
455
599
  self.Raid = None
456
600
  self.RaidId = None
@@ -463,7 +607,7 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
463
607
  self.NvmeDataFileType = None
464
608
  self.NvmeDataDiskCatalogue = None
465
609
  self.NvmeDataDiskCatalogueSuffix = None
466
- self.bondAttribute = None
610
+ self.BondAttribute = None
467
611
  self.KesAgent = None
468
612
  self.KmrAgent = None
469
613
  self.ComputerName = None
@@ -471,6 +615,11 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
471
615
  self.DelayStart = None
472
616
  self.AvailabilityZone = None
473
617
  self.GpuImageDriverId = None
618
+ self.ContainerAgent = None
619
+ self.PasswordInherit = None
620
+ self.DataDiskMount = None
621
+ self.StorageRoceNetworkCardName = None
622
+ self.UserDefinedData = None
474
623
 
475
624
  def _deserialize(self, params):
476
625
  if params.get("HostId"):
@@ -483,8 +632,6 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
483
632
  self.Password = params.get("Password")
484
633
  if params.get("NetworkInterfaceMode"):
485
634
  self.NetworkInterfaceMode = params.get("NetworkInterfaceMode")
486
- if params.get("SecurityAgent"):
487
- self.SecurityAgent = params.get("SecurityAgent")
488
635
  if params.get("CloudMonitorAgent"):
489
636
  self.CloudMonitorAgent = params.get("CloudMonitorAgent")
490
637
  if params.get("Raid"):
@@ -509,8 +656,8 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
509
656
  self.NvmeDataDiskCatalogue = params.get("NvmeDataDiskCatalogue")
510
657
  if params.get("NvmeDataDiskCatalogueSuffix"):
511
658
  self.NvmeDataDiskCatalogueSuffix = params.get("NvmeDataDiskCatalogueSuffix")
512
- if params.get("bondAttribute"):
513
- self.bondAttribute = params.get("bondAttribute")
659
+ if params.get("BondAttribute"):
660
+ self.BondAttribute = params.get("BondAttribute")
514
661
  if params.get("KesAgent"):
515
662
  self.KesAgent = params.get("KesAgent")
516
663
  if params.get("KmrAgent"):
@@ -525,6 +672,16 @@ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场
525
672
  self.AvailabilityZone = params.get("AvailabilityZone")
526
673
  if params.get("GpuImageDriverId"):
527
674
  self.GpuImageDriverId = params.get("GpuImageDriverId")
675
+ if params.get("ContainerAgent"):
676
+ self.ContainerAgent = params.get("ContainerAgent")
677
+ if params.get("PasswordInherit"):
678
+ self.PasswordInherit = params.get("PasswordInherit")
679
+ if params.get("DataDiskMount"):
680
+ self.DataDiskMount = params.get("DataDiskMount")
681
+ if params.get("StorageRoceNetworkCardName"):
682
+ self.StorageRoceNetworkCardName = params.get("StorageRoceNetworkCardName")
683
+ if params.get("UserDefinedData"):
684
+ self.UserDefinedData = params.get("UserDefinedData")
528
685
 
529
686
 
530
687
  class ModifySecurityGroupRequest(AbstractModel):
@@ -532,12 +689,12 @@ class ModifySecurityGroupRequest(AbstractModel):
532
689
  """
533
690
 
534
691
  def __init__(self):
535
- r"""ModifySecurityGroup
692
+ r"""修改安全组
536
693
  :param HostId: 裸金属服务器资源ID
537
694
  :type PathPrefix: String
538
695
  :param NetworkInterfaceId: 网卡的ID
539
696
  :type PathPrefix: String
540
- :param SecurityGroupId: 裸金属服务器关联的安全组ID,一个裸金属服务器最多可以支持3个安全组
697
+ :param SecurityGroupId: 裸金属服务器关联的安全组ID,一个裸金属服务器最多可以支持5个安全组
541
698
  :type PathPrefix: Filter
542
699
  """
543
700
  self.HostId = None
@@ -553,48 +710,6 @@ class ModifySecurityGroupRequest(AbstractModel):
553
710
  self.SecurityGroupId = params.get("SecurityGroupId")
554
711
 
555
712
 
556
- class ImportKeyRequest(AbstractModel):
557
- """ImportKey请求参数结构体
558
- """
559
-
560
- def __init__(self):
561
- r"""ImportKey
562
- :param KeyName: 密钥名称
563
- :type PathPrefix: String
564
- :param PublicKey: 公钥信息
565
- :type PathPrefix: String
566
- :param Description: 描述
567
- :type PathPrefix: String
568
- """
569
- self.KeyName = None
570
- self.PublicKey = None
571
- self.Description = None
572
-
573
- def _deserialize(self, params):
574
- if params.get("KeyName"):
575
- self.KeyName = params.get("KeyName")
576
- if params.get("PublicKey"):
577
- self.PublicKey = params.get("PublicKey")
578
- if params.get("Description"):
579
- self.Description = params.get("Description")
580
-
581
-
582
- class DeleteKeyRequest(AbstractModel):
583
- """DeleteKey请求参数结构体
584
- """
585
-
586
- def __init__(self):
587
- r"""DeleteKey
588
- :param KeyId: 密钥Id
589
- :type PathPrefix: String
590
- """
591
- self.KeyId = None
592
-
593
- def _deserialize(self, params):
594
- if params.get("KeyId"):
595
- self.KeyId = params.get("KeyId")
596
-
597
-
598
713
  class CreateKeyRequest(AbstractModel):
599
714
  """CreateKey请求参数结构体
600
715
  """
@@ -616,35 +731,12 @@ class CreateKeyRequest(AbstractModel):
616
731
  self.Description = params.get("Description")
617
732
 
618
733
 
619
- class DescribeKeysRequest(AbstractModel):
620
- """DescribeKeys请求参数结构体
621
- """
622
-
623
- def __init__(self):
624
- r"""DescribeKeys
625
- :param KeyId:
626
- - 用户密钥对的资源ID,可查询多个ID的实例信息,查看详细[ID.N](https://docs.ksyun.com/documents/5755)使用方式
627
- - 类型:String
628
- - 是否必填:否
629
- - 缺省值:查询region下所有的密钥信息
630
-
631
-
632
- ####
633
- :type PathPrefix: Filter
634
- """
635
- self.KeyId = None
636
-
637
- def _deserialize(self, params):
638
- if params.get("KeyId"):
639
- self.KeyId = params.get("KeyId")
640
-
641
-
642
734
  class DescribeEpcsRequest(AbstractModel):
643
735
  """DescribeEpcs请求参数结构体
644
736
  """
645
737
 
646
738
  def __init__(self):
647
- r"""DescribeEpcs
739
+ r"""查看云物理主机列表信息
648
740
  :param ProjectId: 服务器所属项目的ID
649
741
  :type PathPrefix: Filter
650
742
  :param HostId: 裸金属服务器资源ID,可查询多个ID的实例信息
@@ -790,20 +882,30 @@ class DescribeImagesRequest(AbstractModel):
790
882
  """
791
883
 
792
884
  def __init__(self):
793
- r"""DescribeImages
885
+ r"""查询镜像列表
794
886
  :param MaxResults: 单次调用可返回的最大条目数量
795
887
  :type PathPrefix: Int
796
888
  :param NextToken: 获取另一页返回结果的 token.
797
889
  :type PathPrefix: String
890
+ :param ImageId.N: 镜像ID
891
+ :type PathPrefix: String
892
+ :param Filter:
893
+ :type PathPrefix: Filter
798
894
  """
799
895
  self.MaxResults = None
800
896
  self.NextToken = None
897
+ self.ImageId_N = None
898
+ self.Filter = None
801
899
 
802
900
  def _deserialize(self, params):
803
901
  if params.get("MaxResults"):
804
902
  self.MaxResults = params.get("MaxResults")
805
903
  if params.get("NextToken"):
806
904
  self.NextToken = params.get("NextToken")
905
+ if params.get("ImageId.N"):
906
+ self.ImageId_N = params.get("ImageId.N")
907
+ if params.get("Filter"):
908
+ self.Filter = params.get("Filter")
807
909
 
808
910
 
809
911
  class ModifyDnsRequest(AbstractModel):
@@ -842,11 +944,40 @@ class ModifyNetworkInterfaceAttributeRequest(AbstractModel):
842
944
  """
843
945
 
844
946
  def __init__(self):
845
- r"""ModifyNetworkInterfaceAttribute
947
+ r"""修改网卡信息
948
+ :param NetworkInterfaceId: 网卡ID
949
+ :type PathPrefix: String
950
+ :param HostId: 物理机实例ID
951
+ :type PathPrefix: String
952
+ :param SubnetId: SubnetId
953
+ :type PathPrefix: String
954
+ :param IpAddress: ip地址
955
+ :type PathPrefix: String
956
+ :param SecurityGroupIdList: 云物理主机关联的安全组ID,一个云物理主机最多可以支持5个安全组
957
+ :type PathPrefix: Array
958
+ :param SecurityGroupId: 安全组,更换vpc必填
959
+ :type PathPrefix: Filter
846
960
  """
961
+ self.NetworkInterfaceId = None
962
+ self.HostId = None
963
+ self.SubnetId = None
964
+ self.IpAddress = None
965
+ self.SecurityGroupIdList = None
966
+ self.SecurityGroupId = None
847
967
 
848
968
  def _deserialize(self, params):
849
- return
969
+ if params.get("NetworkInterfaceId"):
970
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
971
+ if params.get("HostId"):
972
+ self.HostId = params.get("HostId")
973
+ if params.get("SubnetId"):
974
+ self.SubnetId = params.get("SubnetId")
975
+ if params.get("IpAddress"):
976
+ self.IpAddress = params.get("IpAddress")
977
+ if params.get("SecurityGroupIdList"):
978
+ self.SecurityGroupIdList = params.get("SecurityGroupIdList")
979
+ if params.get("SecurityGroupId"):
980
+ self.SecurityGroupId = params.get("SecurityGroupId")
850
981
 
851
982
 
852
983
  class DescribePhysicalMonitorRequest(AbstractModel):
@@ -870,7 +1001,7 @@ class DescribeEpcManagementsRequest(AbstractModel):
870
1001
  """
871
1002
 
872
1003
  def __init__(self):
873
- r"""DescribeEpcManagements
1004
+ r"""DescribeEpcManagements查询带外信息
874
1005
  :param MaxResults: 单次调用可返回的最大条目数量
875
1006
  :type PathPrefix: Int
876
1007
  :param NextToken: 获取另一页返回结果的 token.
@@ -883,6 +1014,8 @@ class DescribeEpcManagementsRequest(AbstractModel):
883
1014
  :type PathPrefix: Filter
884
1015
  :param RemoteManagementId: 带外管理的ID
885
1016
  :type PathPrefix: String
1017
+ :param ProjectId: 项目制ID
1018
+ :type PathPrefix: Filter
886
1019
  """
887
1020
  self.MaxResults = None
888
1021
  self.NextToken = None
@@ -890,6 +1023,7 @@ class DescribeEpcManagementsRequest(AbstractModel):
890
1023
  self.Pin = None
891
1024
  self.EpcManagementId = None
892
1025
  self.RemoteManagementId = None
1026
+ self.ProjectId = None
893
1027
 
894
1028
  def _deserialize(self, params):
895
1029
  if params.get("MaxResults"):
@@ -904,6 +1038,8 @@ class DescribeEpcManagementsRequest(AbstractModel):
904
1038
  self.EpcManagementId = params.get("EpcManagementId")
905
1039
  if params.get("RemoteManagementId"):
906
1040
  self.RemoteManagementId = params.get("RemoteManagementId")
1041
+ if params.get("ProjectId"):
1042
+ self.ProjectId = params.get("ProjectId")
907
1043
 
908
1044
 
909
1045
  class DescribeRemoteManagementsRequest(AbstractModel):
@@ -983,7 +1119,7 @@ class ModifyRemoteManagementRequest(AbstractModel):
983
1119
  :param Name: 姓名
984
1120
  :type PathPrefix: String
985
1121
  :param VersionId: 版本ID
986
- :type PathPrefix: Int
1122
+ :type PathPrefix: Long
987
1123
  """
988
1124
  self.RemoteManagementId = None
989
1125
  self.DynamicCode = None
@@ -1025,7 +1161,7 @@ class CreateRemoteManagementRequest(AbstractModel):
1025
1161
  :param Name: 姓名
1026
1162
  :type PathPrefix: String
1027
1163
  :param VersionId: 版本ID
1028
- :type PathPrefix: Int
1164
+ :type PathPrefix: Long
1029
1165
  """
1030
1166
  self.DynamicCode = None
1031
1167
  self.Pin = None
@@ -1078,10 +1214,14 @@ class DeleteRemoteManagementRequest(AbstractModel):
1078
1214
 
1079
1215
  def __init__(self):
1080
1216
  r"""DeleteRemoteManagement
1217
+ :param RemoteManagementId: 带外管理的ID
1218
+ :type PathPrefix: String
1081
1219
  """
1220
+ self.RemoteManagementId = None
1082
1221
 
1083
1222
  def _deserialize(self, params):
1084
- return
1223
+ if params.get("RemoteManagementId"):
1224
+ self.RemoteManagementId = params.get("RemoteManagementId")
1085
1225
 
1086
1226
 
1087
1227
  class ResetPasswordRequest(AbstractModel):
@@ -1194,7 +1334,7 @@ class DescribeEpcStocksRequest(AbstractModel):
1194
1334
  """
1195
1335
 
1196
1336
  def __init__(self):
1197
- r"""DescribeEpcStocks
1337
+ r"""查询云物理主机的库存
1198
1338
  :param Filter: 筛选Filter
1199
1339
  :type PathPrefix: Filter
1200
1340
  """
@@ -1210,7 +1350,7 @@ class DescribeEpcDeviceAttributesRequest(AbstractModel):
1210
1350
  """
1211
1351
 
1212
1352
  def __init__(self):
1213
- r"""DescribeEpcDeviceAttributes
1353
+ r"""查询云物理机型配置信息
1214
1354
  :param Filter: 筛选Filter
1215
1355
  :type PathPrefix: Filter
1216
1356
  :param DeviceAttributeId: 设备的ID
@@ -1241,7 +1381,7 @@ class DescribeProcessesRequest(AbstractModel):
1241
1381
  """
1242
1382
 
1243
1383
  def __init__(self):
1244
- r"""DescribeProcesses
1384
+ r"""查询工单信息
1245
1385
  :param OperationProcessId: 流程的ID
1246
1386
  :type PathPrefix: Filter
1247
1387
  :param Filter: 筛选Filter
@@ -1272,7 +1412,7 @@ class CreateProcessRequest(AbstractModel):
1272
1412
  """
1273
1413
 
1274
1414
  def __init__(self):
1275
- r"""CreateProcess
1415
+ r"""创建工单信息
1276
1416
  :param ProcessId: 云物理工单ID
1277
1417
  :type PathPrefix: String
1278
1418
  :param InstanceId: 实例ID
@@ -1297,6 +1437,21 @@ class CreateProcessRequest(AbstractModel):
1297
1437
  :type PathPrefix: String
1298
1438
  :param ProcessSource: 工单来源,0:客户 1:售后代提
1299
1439
  :type PathPrefix: Int
1440
+ :param autoNocCase:
1441
+ :type PathPrefix: Int
1442
+ :param LogFileName: 需要客户提供的文件名,需要带文件格式,需要与LogFile.N共同使用
1443
+ 例如:test.csv、test.log
1444
+ :type PathPrefix: Filter
1445
+ :param LogFile: 工单日志文件,base64编码,需要与LogFileName.N共同使用
1446
+ E2LWQxOWU0ZWYwYjk2YSwwN2M4YThiZi0zMThmLTQxNjctYWVhNi1kMTllNGVmMGI5NmEsMjAyMC0wNS0xMiAyMTowNTo1NiwyMDIwLTA1LTEyIDIyOjU1OjQyLCJFUEPN0Lncv827p6Osv827p7j8u7u3/s7xxvfN+L+oo6zW2NDCyrax8E1BQ7Ki1tjG9Lf+zvHG96GjIiwsbnVsbCwsLCwKMjAwMDExNzcwMSwwMDkzNDU3UDIwMDdDMDAwNDIJLGNuLXNoYW5naGFpLTJhLM3QudxFUEO/zbuno6y4/Lu7zfi/qE1BQ7XY1re4/NDCsqLW2Mb0LLK7v8nS1NbYxvQszfi/qCwsLCwsLCw3OTg3YmVmOC0yNzY3LTRiZjktODdlMS01MjJkYjEwZTEyMGQs0tHN6rPJLDI1ZDk5ZDExLWQ0NTgtNDUyYy04ZWU5LTM1Yjk2MDIwNzcyNSwyNWQ5OWQxMS1kNDU4LTQ1MmMtOGVlOS0zNWI5NjAyMDc3MjUsMjAyMC0wNS0xMiAyMTowNTo1NiwyMDIwLTA1LTEyIDIyOjU1OjQyLCJFUEPN0Lncv827p6Osv827p7j8u7u3/s7xxvfN+L+oo6zW2NDCyrax8E1BQ7Ki1tjG9Lf+zvHG96GjIiwsbnVsbCwsLCwK
1447
+ 大小:大小低于10MB
1448
+ :type PathPrefix: Filter
1449
+ :param LogUrl: 支持上传已授权给金山云的ks3的bucket的URL
1450
+ :type PathPrefix: Filter
1451
+ :param AuthorizeCableReplace: 是否允许换线0否1是
1452
+ :type PathPrefix: Int
1453
+ :param EventId: 事件ID
1454
+ :type PathPrefix: String
1300
1455
  """
1301
1456
  self.ProcessId = None
1302
1457
  self.InstanceId = None
@@ -1310,6 +1465,12 @@ class CreateProcessRequest(AbstractModel):
1310
1465
  self.Type = None
1311
1466
  self.Confirm = None
1312
1467
  self.ProcessSource = None
1468
+ self.autoNocCase = None
1469
+ self.LogFileName = None
1470
+ self.LogFile = None
1471
+ self.LogUrl = None
1472
+ self.AuthorizeCableReplace = None
1473
+ self.EventId = None
1313
1474
 
1314
1475
  def _deserialize(self, params):
1315
1476
  if params.get("ProcessId"):
@@ -1336,6 +1497,18 @@ class CreateProcessRequest(AbstractModel):
1336
1497
  self.Confirm = params.get("Confirm")
1337
1498
  if params.get("ProcessSource"):
1338
1499
  self.ProcessSource = params.get("ProcessSource")
1500
+ if params.get("autoNocCase"):
1501
+ self.autoNocCase = params.get("autoNocCase")
1502
+ if params.get("LogFileName"):
1503
+ self.LogFileName = params.get("LogFileName")
1504
+ if params.get("LogFile"):
1505
+ self.LogFile = params.get("LogFile")
1506
+ if params.get("LogUrl"):
1507
+ self.LogUrl = params.get("LogUrl")
1508
+ if params.get("AuthorizeCableReplace"):
1509
+ self.AuthorizeCableReplace = params.get("AuthorizeCableReplace")
1510
+ if params.get("EventId"):
1511
+ self.EventId = params.get("EventId")
1339
1512
 
1340
1513
 
1341
1514
  class DeleteProcessRequest(AbstractModel):
@@ -1381,10 +1554,19 @@ class DescribeEpcTrashesRequest(AbstractModel):
1381
1554
 
1382
1555
  def __init__(self):
1383
1556
  r"""DescribeEpcTrashes
1557
+ :param MaxResults: 单次调用可返回的最大条目数量. 传入返回的 NextToken 值可以获取剩余的其它条目. 这个值可以允许的范围是 5- 1000
1558
+ :type PathPrefix: Int
1559
+ :param NextToken: 获取另一页返回结果的 token
1560
+ :type PathPrefix: String
1384
1561
  """
1562
+ self.MaxResults = None
1563
+ self.NextToken = None
1385
1564
 
1386
1565
  def _deserialize(self, params):
1387
- return
1566
+ if params.get("MaxResults"):
1567
+ self.MaxResults = params.get("MaxResults")
1568
+ if params.get("NextToken"):
1569
+ self.NextToken = params.get("NextToken")
1388
1570
 
1389
1571
 
1390
1572
  class ReturnEpcRequest(AbstractModel):
@@ -1523,6 +1705,18 @@ class DescribePriceRequest(AbstractModel):
1523
1705
  self.Amount = params.get("Amount")
1524
1706
 
1525
1707
 
1708
+ class UpdateConfirmRequest(AbstractModel):
1709
+ """UpdateConfirm请求参数结构体
1710
+ """
1711
+
1712
+ def __init__(self):
1713
+ r"""更新工单重启状态
1714
+ """
1715
+
1716
+ def _deserialize(self, params):
1717
+ return
1718
+
1719
+
1526
1720
  class ModifyOverclockingAttributeRequest(AbstractModel):
1527
1721
  """ModifyOverclockingAttribute请求参数结构体
1528
1722
  """
@@ -1640,17 +1834,17 @@ class CreateShareImageRequest(AbstractModel):
1640
1834
  r"""星曜共享镜像
1641
1835
  :param ImageId: 需要共享的镜像ID
1642
1836
  :type PathPrefix: String
1643
- :param AccountId.N: 接收共享镜像的账号ID列表
1644
- :type PathPrefix: String
1837
+ :param AccountId: 接收共享镜像的账号ID列表
1838
+ :type PathPrefix: Filter
1645
1839
  """
1646
1840
  self.ImageId = None
1647
- self.AccountId.N = None
1841
+ self.AccountId = None
1648
1842
 
1649
1843
  def _deserialize(self, params):
1650
1844
  if params.get("ImageId"):
1651
1845
  self.ImageId = params.get("ImageId")
1652
- if params.get("AccountId.N"):
1653
- self.AccountId.N = params.get("AccountId.N")
1846
+ if params.get("AccountId"):
1847
+ self.AccountId = params.get("AccountId")
1654
1848
 
1655
1849
 
1656
1850
  class DeleteShareImageRequest(AbstractModel):
@@ -1661,17 +1855,17 @@ class DeleteShareImageRequest(AbstractModel):
1661
1855
  r"""星曜取消共享镜像
1662
1856
  :param ImageId: 需要取消共享的镜像ID
1663
1857
  :type PathPrefix: String
1664
- :param AccountId.N: 接收共享镜像的账号ID列表
1665
- :type PathPrefix: String
1858
+ :param AccountId: 接收共享镜像的账号ID列表
1859
+ :type PathPrefix: Filter
1666
1860
  """
1667
1861
  self.ImageId = None
1668
- self.AccountId.N = None
1862
+ self.AccountId = None
1669
1863
 
1670
1864
  def _deserialize(self, params):
1671
1865
  if params.get("ImageId"):
1672
1866
  self.ImageId = params.get("ImageId")
1673
- if params.get("AccountId.N"):
1674
- self.AccountId.N = params.get("AccountId.N")
1867
+ if params.get("AccountId"):
1868
+ self.AccountId = params.get("AccountId")
1675
1869
 
1676
1870
 
1677
1871
  class DescribeShareImageAccountListRequest(AbstractModel):
@@ -1743,3 +1937,2295 @@ class RejectShareImageRequest(AbstractModel):
1743
1937
  self.ImageId = params.get("ImageId")
1744
1938
 
1745
1939
 
1940
+ class DescribeManagedAccessoryRequest(AbstractModel):
1941
+ """DescribeManagedAccessory请求参数结构体
1942
+ """
1943
+
1944
+ def __init__(self):
1945
+ r"""托管备件信息查询
1946
+ """
1947
+
1948
+ def _deserialize(self, params):
1949
+ return
1950
+
1951
+
1952
+ class AutoDeleteEpcRequest(AbstractModel):
1953
+ """AutoDeleteEpc请求参数结构体
1954
+ """
1955
+
1956
+ def __init__(self):
1957
+ r"""预约删除云物理主机
1958
+ :param HostId: 实例ID
1959
+ :type PathPrefix: String
1960
+ :param AutoDeleteTime: 预约删除时间
1961
+ :type PathPrefix: String
1962
+ :param AutoDeleteEip: 是否删除EIP信息
1963
+ yes/no 默认no
1964
+ :type PathPrefix: String
1965
+ """
1966
+ self.HostId = None
1967
+ self.AutoDeleteTime = None
1968
+ self.AutoDeleteEip = None
1969
+
1970
+ def _deserialize(self, params):
1971
+ if params.get("HostId"):
1972
+ self.HostId = params.get("HostId")
1973
+ if params.get("AutoDeleteTime"):
1974
+ self.AutoDeleteTime = params.get("AutoDeleteTime")
1975
+ if params.get("AutoDeleteEip"):
1976
+ self.AutoDeleteEip = params.get("AutoDeleteEip")
1977
+
1978
+
1979
+ class ExportImageRequest(AbstractModel):
1980
+ """ExportImage请求参数结构体
1981
+ """
1982
+
1983
+ def __init__(self):
1984
+ r"""自定义镜像导出
1985
+ :param ImageId:
1986
+ :type PathPrefix: String
1987
+ :param Ks3Bucket:
1988
+ :type PathPrefix: String
1989
+ :param ObjectName:
1990
+ :type PathPrefix: String
1991
+ """
1992
+ self.ImageId = None
1993
+ self.Ks3Bucket = None
1994
+ self.ObjectName = None
1995
+
1996
+ def _deserialize(self, params):
1997
+ if params.get("ImageId"):
1998
+ self.ImageId = params.get("ImageId")
1999
+ if params.get("Ks3Bucket"):
2000
+ self.Ks3Bucket = params.get("Ks3Bucket")
2001
+ if params.get("ObjectName"):
2002
+ self.ObjectName = params.get("ObjectName")
2003
+
2004
+
2005
+ class QueryBucketsRequest(AbstractModel):
2006
+ """QueryBuckets请求参数结构体
2007
+ """
2008
+
2009
+ def __init__(self):
2010
+ r"""查询ks3对象存储bucket桶列表
2011
+ """
2012
+
2013
+ def _deserialize(self, params):
2014
+ return
2015
+
2016
+
2017
+ class CancelImageExportRequest(AbstractModel):
2018
+ """CancelImageExport请求参数结构体
2019
+ """
2020
+
2021
+ def __init__(self):
2022
+ r"""取消镜像导出
2023
+ :param ImageId:
2024
+ :type PathPrefix: String
2025
+ """
2026
+ self.ImageId = None
2027
+
2028
+ def _deserialize(self, params):
2029
+ if params.get("ImageId"):
2030
+ self.ImageId = params.get("ImageId")
2031
+
2032
+
2033
+ class UseHotStandByEpcRequest(AbstractModel):
2034
+ """UseHotStandByEpc请求参数结构体
2035
+ """
2036
+
2037
+ def __init__(self):
2038
+ r"""热备机替换
2039
+ :param HostId: 裸金属服务器的ID
2040
+ :type PathPrefix: String
2041
+ :param HotStandByHostId: 热备机的ID
2042
+ :type PathPrefix: String
2043
+ :param RetainInstanceInfo: 保留信息,有效值
2044
+ RetainPrivateIP保留内网IP
2045
+ Notretain不保留,默认值
2046
+ :type PathPrefix: String
2047
+ """
2048
+ self.HostId = None
2049
+ self.HotStandByHostId = None
2050
+ self.RetainInstanceInfo = None
2051
+
2052
+ def _deserialize(self, params):
2053
+ if params.get("HostId"):
2054
+ self.HostId = params.get("HostId")
2055
+ if params.get("HotStandByHostId"):
2056
+ self.HotStandByHostId = params.get("HotStandByHostId")
2057
+ if params.get("RetainInstanceInfo"):
2058
+ self.RetainInstanceInfo = params.get("RetainInstanceInfo")
2059
+
2060
+
2061
+ class ActivateHotStandbyEpcRequest(AbstractModel):
2062
+ """ActivateHotStandbyEpc请求参数结构体
2063
+ """
2064
+
2065
+ def __init__(self):
2066
+ r"""激活热备机
2067
+ :param HostId: 待激活热备机实例ID
2068
+ :type PathPrefix: String
2069
+ """
2070
+ self.HostId = None
2071
+
2072
+ def _deserialize(self, params):
2073
+ if params.get("HostId"):
2074
+ self.HostId = params.get("HostId")
2075
+
2076
+
2077
+ class BatchCreateEpcRequest(AbstractModel):
2078
+ """BatchCreateEpc请求参数结构体
2079
+ """
2080
+
2081
+ def __init__(self):
2082
+ r"""批量创建云物理主机
2083
+ :param HostType:
2084
+ - 裸金属服务器机型
2085
+ - 有效值:
2086
+ - CPU型
2087
+ - CAL:标准计算型
2088
+ - CAL-III:标准计算III型
2089
+ - CAL-IV:标准计算IV型
2090
+ - CAL-V:标准计算V型
2091
+ - MI-I1:标准计算II型
2092
+ - DB:标准存储型
2093
+ - DB-I:存储I型
2094
+ - DB-II:标准存储II型
2095
+ - DB-III:标准存储III型
2096
+ - DB-III-I:标准存储III型-I
2097
+ - DB-IV:标准存储IV型
2098
+ - DB-V:标准存储V型
2099
+ - DB-VI:标准存储VI型
2100
+ - DB-VII:标准存储VII型
2101
+ - DB-VIII:标准存储VIII型
2102
+ - SSD:计算优化型
2103
+ - SSD-III:计算效能型
2104
+ - SSD-III-II:计算效能型-II
2105
+ - SSD-VI:计算效能II型
2106
+ - MI-I2:存储优化型
2107
+ - MEM-I:内存I型
2108
+ - EC-I:高性能计算型
2109
+ - EIO-I:极致IO型
2110
+ - EIO-III:极致IO型-III
2111
+ - EIOS:极致IO存储型
2112
+ - SSDS-II:存储优化II型
2113
+ - SSDS-III:存储优化III型
2114
+ - SSDS-V:存储优化V型
2115
+ - EC-I-V-III:高性能计算型-V-III
2116
+ - EC-I-V-V:高性能计算型-V-V
2117
+ - EC-I-V-VI:高性能计算型-V-VI
2118
+ - GPU型
2119
+ - GPU-I:GPU I型
2120
+ - P3E:GPU裸金属服务器实例标准型
2121
+ - P3E-R:GPU裸金属服务器实例标准集群型
2122
+ - P3X:GPU裸金属服务器实例效能型
2123
+ - P3X-R:GPU裸金属服务器实例效能集群型
2124
+ - P3S:GPU裸金属服务器实例性能型
2125
+ - P3IE:GPU裸金属服务器实例推理型
2126
+ - P4E.56F8:标准计算型
2127
+ - P4X.56D8:效能计算型
2128
+ - GN6-I:推理II型-I
2129
+ - GN6-II:推理II型-II
2130
+ - GN6-III:推理II型-III
2131
+ - GN3-II:推理I型-II
2132
+ - GN3-III:推理I型-III
2133
+ - GND5:效能V型
2134
+ - CMLU1:寒武纪I型
2135
+ - ...
2136
+ :type PathPrefix: String
2137
+ :param AvailabilityZone: 可用区的名称
2138
+ :type PathPrefix: String
2139
+ :param Raid: 数据盘Raid级别,和数据盘的数量直接相关
2140
+ 有效值: Raid1:数据盘数量必须是2的倍数
2141
+ Raid5:数据盘的数量必须大于等于3
2142
+ Raid10:数据盘数量必须是4的倍数
2143
+ Raid50:数据盘的数量必须大于6且是2的倍数
2144
+ SRaid0:单盘SRaid0无限制,仅针对大数据业务自身有冗余的场景
2145
+ 与RaidId必填其一,RaidId优先级高
2146
+ :type PathPrefix: String
2147
+ :param RaidId: Raid模板Id
2148
+ :type PathPrefix: String
2149
+ :param ImageId: 镜像资源ID,参见DescribeImages
2150
+ :type PathPrefix: String
2151
+ :param NetworkInterfaceMode: 网卡模式
2152
+ 有效值:
2153
+ bond4:BOND模式
2154
+ single:非BOND模式
2155
+ dual:双网卡模式
2156
+ windows创建时,只支持非bond模式。
2157
+ :type PathPrefix: String
2158
+ :param SubnetId: 云物理主机的子网ID
2159
+ :type PathPrefix: String
2160
+ :param keyId: 用户密钥对的资源ID
2161
+ :type PathPrefix: String
2162
+ :param SecurityGroupId: 裸金属服务器关联的安全组ID,一个裸金属服务器最多可以支持5个安全组
2163
+ :type PathPrefix: Filter
2164
+ :param DNS1: DNS1的值,当通过该接口进行修改网络配置时不填写此参数,保持与之前不变
2165
+ :type PathPrefix: String
2166
+ :param DNS2: DNS2的值,当通过该接口进行修改网络配置时不填写此参数,保持与之前不变
2167
+ :type PathPrefix: String
2168
+ :param HostName: 云物理主机名称
2169
+ :type PathPrefix: String
2170
+ :param ProjectId: 项目的ID
2171
+ :type PathPrefix: String
2172
+ :param ChargeType: 云物理主机计费类型,包年包月Monthly,按日月结Daily,试用Trial
2173
+ -有效值:Monthly | Daily| Trial
2174
+ :type PathPrefix: String
2175
+ :param Sn: 云物理主机序列号
2176
+ :type PathPrefix: String
2177
+ :param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
2178
+ :type PathPrefix: Int
2179
+ :param Password: 系统的登录密码
2180
+ :type PathPrefix: String
2181
+ :param CloudMonitorAgent: 监控组件类型
2182
+ - classic:经典版
2183
+ - no:不开启
2184
+ :type PathPrefix: String
2185
+ :param ExtensionSubnetId: 从网卡的子网ID
2186
+ :type PathPrefix: String
2187
+ :param ExtensionDNS1: DNS1的值
2188
+ :type PathPrefix: String
2189
+ :param ExtensionDNS2: DNS2的值
2190
+ :type PathPrefix: String
2191
+ :param Description: 描述信息
2192
+ :type PathPrefix: String
2193
+ :param AddressBandWidth: 弹性IP的带宽
2194
+ :type PathPrefix: String
2195
+ :param LineId: 弹性IP的链路类型的ID
2196
+ :type PathPrefix: String
2197
+ :param BandWidthShareId: 共享带宽ID
2198
+ :type PathPrefix: String
2199
+ :param AddressChargeType: 弹性IP的计费类型
2200
+ :type PathPrefix: String
2201
+ :param AddressPurchaseTime: 购买时长,只有购买包年包月弹性IP时不可缺省
2202
+ :type PathPrefix: String
2203
+ :param AddressProjectId: 弹性IP项目的ID
2204
+ :type PathPrefix: String
2205
+ :param SystemFileType: 系统盘文件格式(NTFS仅支持windows)
2206
+ 有效值:EXT4|XFS|NTFS
2207
+ :type PathPrefix: String
2208
+ :param DataFileType: 数据盘文件格式(NTFS仅支持windows)
2209
+ 有效值:EXT4|XFS|NTFS
2210
+
2211
+ :type PathPrefix: String
2212
+ :param DataDiskCatalogue: 数据盘目录
2213
+ 有效值:
2214
+
2215
+ /DATA/disk:在系统的DATA目录下,系统里展示内容如/DATA/disk1,/DATA/disk2
2216
+ /data:在系统的根目录下,系统里展示内容从/data1开始,如/data1,/data2
2217
+
2218
+ :type PathPrefix: String
2219
+ :param DataDiskCatalogueSuffix: 数据盘目录后缀属性
2220
+ 有效值:
2221
+
2222
+ NoSuffix :不使用后缀,只有在数据盘有一块的时候,可以使用此参数
2223
+ NaturalNumber:后缀从1底层的整数
2224
+ NaturalNumberFromZero:后缀从0递增的整数
2225
+
2226
+ :type PathPrefix: String
2227
+ :param HyperThreading: 对超线程的变更
2228
+ 有效值:
2229
+
2230
+ Open:开启
2231
+ Close:关闭
2232
+ NoChange:不改变
2233
+
2234
+ :type PathPrefix: String
2235
+ :param NvmeDataFileType: NVME数据盘类型
2236
+ 有效值:
2237
+
2238
+ EXT4
2239
+ XFS
2240
+
2241
+ :type PathPrefix: String
2242
+ :param NvmeDataDiskCatalogue: NVME数据盘目录
2243
+ :type PathPrefix: String
2244
+ :param NvmeDataDiskCatalogueSuffix: NVME数据盘目录后缀属性
2245
+ :type PathPrefix: String
2246
+ :param BondAttribute: 网卡bond的属性
2247
+ 有效值: bond0|bond1
2248
+ :type PathPrefix: String
2249
+ :param ContainerAgent: 容器引擎组件类型
2250
+ :type PathPrefix: String
2251
+ :param KesAgent: kes组件类型
2252
+ :type PathPrefix: String
2253
+ :param KmrAgent: KMR组件类型
2254
+ :type PathPrefix: String
2255
+ :param ComputerName: 计算机系统内名称
2256
+ :type PathPrefix: String
2257
+ :param OverclockingAttribute: 超频
2258
+ :type PathPrefix: String
2259
+ :param GpuImageDriverId: gpu版本
2260
+ :type PathPrefix: String
2261
+ :param SystemVolumeType: 云硬盘的系统盘类型
2262
+ :type PathPrefix: String
2263
+ :param SystemVolumeSize: 云硬盘系统盘大小
2264
+ :type PathPrefix: String
2265
+ :param RoceNetwork: roce网络
2266
+ 有效值: Open:开启 Close:关闭
2267
+ 添加白名单的用户为必填项
2268
+
2269
+
2270
+
2271
+ :type PathPrefix: String
2272
+ :param ZoneId: 创建pdns所需参数
2273
+ :type PathPrefix: String
2274
+ :param ZoneType: 创建pdns所需参数
2275
+ :type PathPrefix: String
2276
+ :param HostNameStartNo: 实例起始值
2277
+ :type PathPrefix: Int
2278
+ :param ComputerNameStartNo: 计算机名称起始值
2279
+ :type PathPrefix: Int
2280
+ :param Amount: 数量
2281
+ :type PathPrefix: Int
2282
+ :param TimedRegularization: 释义:试用定时转正
2283
+ 有效值:
2284
+ ▪ support:开启
2285
+ ▪ unsupport:关闭
2286
+ 默认值:unsupport,不传默认关闭
2287
+ :type PathPrefix: String
2288
+ :param PasswordInherit: 有效值:
2289
+ ▪ support:开启
2290
+ ▪ unsupport:关闭
2291
+ 默认值:unsupport
2292
+ :type PathPrefix: String
2293
+ :param DataDiskMount: 有效值:
2294
+ ▪ support:开启
2295
+ ▪ unsupport:关闭
2296
+ 默认值:support
2297
+ :type PathPrefix: String
2298
+ :param StorageRoceNetworkCardName: 存储网卡名称,有效值:
2299
+ eth8x_bond
2300
+ storage_bond
2301
+ :type PathPrefix: String
2302
+ :param SRoceCluster: Roce存储卡集群名称
2303
+ :type PathPrefix: String
2304
+ :param RoceCluster: Roce计算卡集群名称
2305
+ :type PathPrefix: String
2306
+ """
2307
+ self.HostType = None
2308
+ self.AvailabilityZone = None
2309
+ self.Raid = None
2310
+ self.RaidId = None
2311
+ self.ImageId = None
2312
+ self.NetworkInterfaceMode = None
2313
+ self.SubnetId = None
2314
+ self.keyId = None
2315
+ self.SecurityGroupId = None
2316
+ self.DNS1 = None
2317
+ self.DNS2 = None
2318
+ self.HostName = None
2319
+ self.ProjectId = None
2320
+ self.ChargeType = None
2321
+ self.Sn = None
2322
+ self.PurchaseTime = None
2323
+ self.Password = None
2324
+ self.CloudMonitorAgent = None
2325
+ self.ExtensionSubnetId = None
2326
+ self.ExtensionDNS1 = None
2327
+ self.ExtensionDNS2 = None
2328
+ self.Description = None
2329
+ self.AddressBandWidth = None
2330
+ self.LineId = None
2331
+ self.BandWidthShareId = None
2332
+ self.AddressChargeType = None
2333
+ self.AddressPurchaseTime = None
2334
+ self.AddressProjectId = None
2335
+ self.SystemFileType = None
2336
+ self.DataFileType = None
2337
+ self.DataDiskCatalogue = None
2338
+ self.DataDiskCatalogueSuffix = None
2339
+ self.HyperThreading = None
2340
+ self.NvmeDataFileType = None
2341
+ self.NvmeDataDiskCatalogue = None
2342
+ self.NvmeDataDiskCatalogueSuffix = None
2343
+ self.BondAttribute = None
2344
+ self.ContainerAgent = None
2345
+ self.KesAgent = None
2346
+ self.KmrAgent = None
2347
+ self.ComputerName = None
2348
+ self.OverclockingAttribute = None
2349
+ self.GpuImageDriverId = None
2350
+ self.SystemVolumeType = None
2351
+ self.SystemVolumeSize = None
2352
+ self.RoceNetwork = None
2353
+ self.ZoneId = None
2354
+ self.ZoneType = None
2355
+ self.HostNameStartNo = None
2356
+ self.ComputerNameStartNo = None
2357
+ self.Amount = None
2358
+ self.TimedRegularization = None
2359
+ self.PasswordInherit = None
2360
+ self.DataDiskMount = None
2361
+ self.StorageRoceNetworkCardName = None
2362
+ self.SRoceCluster = None
2363
+ self.RoceCluster = None
2364
+
2365
+ def _deserialize(self, params):
2366
+ if params.get("HostType"):
2367
+ self.HostType = params.get("HostType")
2368
+ if params.get("AvailabilityZone"):
2369
+ self.AvailabilityZone = params.get("AvailabilityZone")
2370
+ if params.get("Raid"):
2371
+ self.Raid = params.get("Raid")
2372
+ if params.get("RaidId"):
2373
+ self.RaidId = params.get("RaidId")
2374
+ if params.get("ImageId"):
2375
+ self.ImageId = params.get("ImageId")
2376
+ if params.get("NetworkInterfaceMode"):
2377
+ self.NetworkInterfaceMode = params.get("NetworkInterfaceMode")
2378
+ if params.get("SubnetId"):
2379
+ self.SubnetId = params.get("SubnetId")
2380
+ if params.get("keyId"):
2381
+ self.keyId = params.get("keyId")
2382
+ if params.get("SecurityGroupId"):
2383
+ self.SecurityGroupId = params.get("SecurityGroupId")
2384
+ if params.get("DNS1"):
2385
+ self.DNS1 = params.get("DNS1")
2386
+ if params.get("DNS2"):
2387
+ self.DNS2 = params.get("DNS2")
2388
+ if params.get("HostName"):
2389
+ self.HostName = params.get("HostName")
2390
+ if params.get("ProjectId"):
2391
+ self.ProjectId = params.get("ProjectId")
2392
+ if params.get("ChargeType"):
2393
+ self.ChargeType = params.get("ChargeType")
2394
+ if params.get("Sn"):
2395
+ self.Sn = params.get("Sn")
2396
+ if params.get("PurchaseTime"):
2397
+ self.PurchaseTime = params.get("PurchaseTime")
2398
+ if params.get("Password"):
2399
+ self.Password = params.get("Password")
2400
+ if params.get("CloudMonitorAgent"):
2401
+ self.CloudMonitorAgent = params.get("CloudMonitorAgent")
2402
+ if params.get("ExtensionSubnetId"):
2403
+ self.ExtensionSubnetId = params.get("ExtensionSubnetId")
2404
+ if params.get("ExtensionDNS1"):
2405
+ self.ExtensionDNS1 = params.get("ExtensionDNS1")
2406
+ if params.get("ExtensionDNS2"):
2407
+ self.ExtensionDNS2 = params.get("ExtensionDNS2")
2408
+ if params.get("Description"):
2409
+ self.Description = params.get("Description")
2410
+ if params.get("AddressBandWidth"):
2411
+ self.AddressBandWidth = params.get("AddressBandWidth")
2412
+ if params.get("LineId"):
2413
+ self.LineId = params.get("LineId")
2414
+ if params.get("BandWidthShareId"):
2415
+ self.BandWidthShareId = params.get("BandWidthShareId")
2416
+ if params.get("AddressChargeType"):
2417
+ self.AddressChargeType = params.get("AddressChargeType")
2418
+ if params.get("AddressPurchaseTime"):
2419
+ self.AddressPurchaseTime = params.get("AddressPurchaseTime")
2420
+ if params.get("AddressProjectId"):
2421
+ self.AddressProjectId = params.get("AddressProjectId")
2422
+ if params.get("SystemFileType"):
2423
+ self.SystemFileType = params.get("SystemFileType")
2424
+ if params.get("DataFileType"):
2425
+ self.DataFileType = params.get("DataFileType")
2426
+ if params.get("DataDiskCatalogue"):
2427
+ self.DataDiskCatalogue = params.get("DataDiskCatalogue")
2428
+ if params.get("DataDiskCatalogueSuffix"):
2429
+ self.DataDiskCatalogueSuffix = params.get("DataDiskCatalogueSuffix")
2430
+ if params.get("HyperThreading"):
2431
+ self.HyperThreading = params.get("HyperThreading")
2432
+ if params.get("NvmeDataFileType"):
2433
+ self.NvmeDataFileType = params.get("NvmeDataFileType")
2434
+ if params.get("NvmeDataDiskCatalogue"):
2435
+ self.NvmeDataDiskCatalogue = params.get("NvmeDataDiskCatalogue")
2436
+ if params.get("NvmeDataDiskCatalogueSuffix"):
2437
+ self.NvmeDataDiskCatalogueSuffix = params.get("NvmeDataDiskCatalogueSuffix")
2438
+ if params.get("BondAttribute"):
2439
+ self.BondAttribute = params.get("BondAttribute")
2440
+ if params.get("ContainerAgent"):
2441
+ self.ContainerAgent = params.get("ContainerAgent")
2442
+ if params.get("KesAgent"):
2443
+ self.KesAgent = params.get("KesAgent")
2444
+ if params.get("KmrAgent"):
2445
+ self.KmrAgent = params.get("KmrAgent")
2446
+ if params.get("ComputerName"):
2447
+ self.ComputerName = params.get("ComputerName")
2448
+ if params.get("OverclockingAttribute"):
2449
+ self.OverclockingAttribute = params.get("OverclockingAttribute")
2450
+ if params.get("GpuImageDriverId"):
2451
+ self.GpuImageDriverId = params.get("GpuImageDriverId")
2452
+ if params.get("SystemVolumeType"):
2453
+ self.SystemVolumeType = params.get("SystemVolumeType")
2454
+ if params.get("SystemVolumeSize"):
2455
+ self.SystemVolumeSize = params.get("SystemVolumeSize")
2456
+ if params.get("RoceNetwork"):
2457
+ self.RoceNetwork = params.get("RoceNetwork")
2458
+ if params.get("ZoneId"):
2459
+ self.ZoneId = params.get("ZoneId")
2460
+ if params.get("ZoneType"):
2461
+ self.ZoneType = params.get("ZoneType")
2462
+ if params.get("HostNameStartNo"):
2463
+ self.HostNameStartNo = params.get("HostNameStartNo")
2464
+ if params.get("ComputerNameStartNo"):
2465
+ self.ComputerNameStartNo = params.get("ComputerNameStartNo")
2466
+ if params.get("Amount"):
2467
+ self.Amount = params.get("Amount")
2468
+ if params.get("TimedRegularization"):
2469
+ self.TimedRegularization = params.get("TimedRegularization")
2470
+ if params.get("PasswordInherit"):
2471
+ self.PasswordInherit = params.get("PasswordInherit")
2472
+ if params.get("DataDiskMount"):
2473
+ self.DataDiskMount = params.get("DataDiskMount")
2474
+ if params.get("StorageRoceNetworkCardName"):
2475
+ self.StorageRoceNetworkCardName = params.get("StorageRoceNetworkCardName")
2476
+ if params.get("SRoceCluster"):
2477
+ self.SRoceCluster = params.get("SRoceCluster")
2478
+ if params.get("RoceCluster"):
2479
+ self.RoceCluster = params.get("RoceCluster")
2480
+
2481
+
2482
+ class DescribeUseHotStandbyRecordsRequest(AbstractModel):
2483
+ """DescribeUseHotStandbyRecords请求参数结构体
2484
+ """
2485
+
2486
+ def __init__(self):
2487
+ r"""DescribeUseHotStandbyRecords
2488
+ :param Filter.N: 有效值:
2489
+
2490
+ fault-host-id,故障机实例ID,仅支持精确查询
2491
+ hot-standby-host-id,热备机实例ID
2492
+ fault-sn,故障机SN
2493
+ fault-private-ip,故障机内网ip
2494
+ fault-host-type,故障机类型
2495
+ hot-standby-sn,热备机sn
2496
+ hot-standby-private-ip,热备机内网ip
2497
+ hot-standby-host-type,热备机机型
2498
+ replace-type,热备替换类型
2499
+ :type PathPrefix: Object
2500
+ :param MaxResults: 每页条数
2501
+ :type PathPrefix: Int
2502
+ :param NextToken: 获取另一页返回结果的 token.
2503
+ :type PathPrefix: String
2504
+ """
2505
+ self.Filter_N = None
2506
+ self.MaxResults = None
2507
+ self.NextToken = None
2508
+
2509
+ def _deserialize(self, params):
2510
+ if params.get("Filter.N"):
2511
+ self.Filter_N = params.get("Filter.N")
2512
+ if params.get("MaxResults"):
2513
+ self.MaxResults = params.get("MaxResults")
2514
+ if params.get("NextToken"):
2515
+ self.NextToken = params.get("NextToken")
2516
+
2517
+
2518
+ class DescribeGpuRoceTopologyRequest(AbstractModel):
2519
+ """DescribeGpuRoceTopology请求参数结构体
2520
+ """
2521
+
2522
+ def __init__(self):
2523
+ r"""查询拓扑结构接口
2524
+ :param SpineName: Spine名称
2525
+ :type PathPrefix: String
2526
+ """
2527
+ self.SpineName = None
2528
+
2529
+ def _deserialize(self, params):
2530
+ if params.get("SpineName"):
2531
+ self.SpineName = params.get("SpineName")
2532
+
2533
+
2534
+ class ModifyProcessRequest(AbstractModel):
2535
+ """ModifyProcess请求参数结构体
2536
+ """
2537
+
2538
+ def __init__(self):
2539
+ r"""修改工单信息
2540
+ :param OperationProcessId: 工单id
2541
+ :type PathPrefix: String
2542
+ :param Confirm: 确认是否可以重启,只允许从不允许重启调整到允许重启
2543
+ 有效值:
2544
+ • 0:可以重启
2545
+
2546
+ :type PathPrefix: String
2547
+ :param Status: 客户主动修改工单状态,支持客户关闭,用户选择关闭后如已发起NOC工单则需要取消NOC工单
2548
+ 有效值:
2549
+ • UserClose
2550
+ :type PathPrefix: String
2551
+ :param Content: 工单内容
2552
+ :type PathPrefix: String
2553
+ """
2554
+ self.OperationProcessId = None
2555
+ self.Confirm = None
2556
+ self.Status = None
2557
+ self.Content = None
2558
+
2559
+ def _deserialize(self, params):
2560
+ if params.get("OperationProcessId"):
2561
+ self.OperationProcessId = params.get("OperationProcessId")
2562
+ if params.get("Confirm"):
2563
+ self.Confirm = params.get("Confirm")
2564
+ if params.get("Status"):
2565
+ self.Status = params.get("Status")
2566
+ if params.get("Content"):
2567
+ self.Content = params.get("Content")
2568
+
2569
+
2570
+ class ConfirmProcessRequest(AbstractModel):
2571
+ """ConfirmProcess请求参数结构体
2572
+ """
2573
+
2574
+ def __init__(self):
2575
+ r"""客户评价工单
2576
+ :param OperationProcessId: 工单id
2577
+ 状态要求:仅支持工单状态为已完成的工单进行客户评价
2578
+
2579
+ :type PathPrefix: String
2580
+ :param UserConfirmAvailable: 客户确认是否维修完成可恢复业务
2581
+ 有效值:
2582
+ • Available
2583
+ • Unavailable
2584
+ :type PathPrefix: String
2585
+ """
2586
+ self.OperationProcessId = None
2587
+ self.UserConfirmAvailable = None
2588
+
2589
+ def _deserialize(self, params):
2590
+ if params.get("OperationProcessId"):
2591
+ self.OperationProcessId = params.get("OperationProcessId")
2592
+ if params.get("UserConfirmAvailable"):
2593
+ self.UserConfirmAvailable = params.get("UserConfirmAvailable")
2594
+
2595
+
2596
+ class DescribeModelConfigRequest(AbstractModel):
2597
+ """DescribeModelConfig请求参数结构体
2598
+ """
2599
+
2600
+ def __init__(self):
2601
+ r"""查询AI模型配置
2602
+ :param MaxResults: 单次调用可返回的最大条目数量. 传入返回的 NextToken 值可以获取剩余的其它条目. 这个值可以允许的范围是 5- 1000.
2603
+ 类型: Integer
2604
+ 是否必填:否
2605
+ :type PathPrefix: Int
2606
+ :param NextToken: 获取另一页返回结果的 token.
2607
+ 类型: String
2608
+ 是否必填:否
2609
+ :type PathPrefix: String
2610
+ :param ImageId: 镜像ID
2611
+ :type PathPrefix: String
2612
+ :param HostType: 实例类型
2613
+ :type PathPrefix: String
2614
+ :param GpuImageDriverId: gpu驱动ID
2615
+ :type PathPrefix: String
2616
+ """
2617
+ self.MaxResults = None
2618
+ self.NextToken = None
2619
+ self.ImageId = None
2620
+ self.HostType = None
2621
+ self.GpuImageDriverId = None
2622
+
2623
+ def _deserialize(self, params):
2624
+ if params.get("MaxResults"):
2625
+ self.MaxResults = params.get("MaxResults")
2626
+ if params.get("NextToken"):
2627
+ self.NextToken = params.get("NextToken")
2628
+ if params.get("ImageId"):
2629
+ self.ImageId = params.get("ImageId")
2630
+ if params.get("HostType"):
2631
+ self.HostType = params.get("HostType")
2632
+ if params.get("GpuImageDriverId"):
2633
+ self.GpuImageDriverId = params.get("GpuImageDriverId")
2634
+
2635
+
2636
+ class DescribeRoceEventRequest(AbstractModel):
2637
+ """DescribeRoceEvent请求参数结构体
2638
+ """
2639
+
2640
+ def __init__(self):
2641
+ r"""查询Roce事件告警
2642
+ :param MaxResults: 每页大小
2643
+ :type PathPrefix: Int
2644
+ :param NextToken: 第几条
2645
+ :type PathPrefix: String
2646
+ :param Filter.N:
2647
+ :type PathPrefix: Object
2648
+ :param HostId.N: 实例ID
2649
+ :type PathPrefix: String
2650
+ """
2651
+ self.MaxResults = None
2652
+ self.NextToken = None
2653
+ self.Filter_N = None
2654
+ self.HostId_N = None
2655
+
2656
+ def _deserialize(self, params):
2657
+ if params.get("MaxResults"):
2658
+ self.MaxResults = params.get("MaxResults")
2659
+ if params.get("NextToken"):
2660
+ self.NextToken = params.get("NextToken")
2661
+ if params.get("Filter.N"):
2662
+ self.Filter_N = params.get("Filter.N")
2663
+ if params.get("HostId.N"):
2664
+ self.HostId_N = params.get("HostId.N")
2665
+
2666
+
2667
+ class DescribeRoceEventDetailsRequest(AbstractModel):
2668
+ """DescribeRoceEventDetails请求参数结构体
2669
+ """
2670
+
2671
+ def __init__(self):
2672
+ r"""查询Roce事件告警历史
2673
+ :param EventId: 事件ID
2674
+ :type PathPrefix: String
2675
+ :param MaxResults: 单次调用可返回的最大条目数量
2676
+ :type PathPrefix: Int
2677
+ :param NextToken:
2678
+ 获取另一页返回结果的 token
2679
+ :type PathPrefix: String
2680
+ """
2681
+ self.EventId = None
2682
+ self.MaxResults = None
2683
+ self.NextToken = None
2684
+
2685
+ def _deserialize(self, params):
2686
+ if params.get("EventId"):
2687
+ self.EventId = params.get("EventId")
2688
+ if params.get("MaxResults"):
2689
+ self.MaxResults = params.get("MaxResults")
2690
+ if params.get("NextToken"):
2691
+ self.NextToken = params.get("NextToken")
2692
+
2693
+
2694
+ class BatchCreateProcessRequest(AbstractModel):
2695
+ """BatchCreateProcess请求参数结构体
2696
+ """
2697
+
2698
+ def __init__(self):
2699
+ r"""批量创建工单
2700
+ :param InstanceId: 发起工单的实例ID
2701
+
2702
+ :type PathPrefix: Filter
2703
+ :param AvailabilityZone: 可用区
2704
+ :type PathPrefix: String
2705
+ :param Attribute: 问题属性
2706
+ 默认值:Other
2707
+ 有效值:Move|DevicePort|Network|Disk|Memory|Cpu|Gpu|RaidCard|NetworkInterfaceCard|Other
2708
+ :type PathPrefix: String
2709
+ :param Content: 工单描述
2710
+ :type PathPrefix: String
2711
+ :param LogFileName: 需要客户提供的文件名,需要带文件格式,需要与LogFile.N共同使用
2712
+ 例如:test.csv、test.log
2713
+ :type PathPrefix: Filter
2714
+ :param LogFile: 工单日志文件,base64编码,需要与LogFileName.N共同使用
2715
+ E2LWQxOWU0ZWYwYjk2YSwwN2M4YThiZi0zMThmLTQxNjctYWVhNi1kMTllNGVmMGI5NmEsMjAyMC0wNS0xMiAyMTowNTo1NiwyMDIwLTA1LTEyIDIyOjU1OjQyLCJFUEPN0Lncv827p6Osv827p7j8u7u3/s7xxvfN+L+oo6zW2NDCyrax8E1BQ7Ki1tjG9Lf+zvHG96GjIiwsbnVsbCwsLCwKMjAwMDExNzcwMSwwMDkzNDU3UDIwMDdDMDAwNDIJLGNuLXNoYW5naGFpLTJhLM3QudxFUEO/zbuno6y4/Lu7zfi/qE1BQ7XY1re4/NDCsqLW2Mb0LLK7v8nS1NbYxvQszfi/qCwsLCwsLCw3OTg3YmVmOC0yNzY3LTRiZjktODdlMS01MjJkYjEwZTEyMGQs0tHN6rPJLDI1ZDk5ZDExLWQ0NTgtNDUyYy04ZWU5LTM1Yjk2MDIwNzcyNSwyNWQ5OWQxMS1kNDU4LTQ1MmMtOGVlOS0zNWI5NjAyMDc3MjUsMjAyMC0wNS0xMiAyMTowNTo1NiwyMDIwLTA1LTEyIDIyOjU1OjQyLCJFUEPN0Lncv827p6Osv827p7j8u7u3/s7xxvfN+L+oo6zW2NDCyrax8E1BQ7Ki1tjG9Lf+zvHG96GjIiwsbnVsbCwsLCwK大小:大小低于100MB
2716
+ :type PathPrefix: Filter
2717
+ :param LogUrl: 支持上传已授权给金山云的ks3的bucket的URL
2718
+ :type PathPrefix: Filter
2719
+ :param MachineCount: 服务器数量,数量需与实例id数量一致,单次最大支持50个
2720
+ 默认值:1
2721
+ :type PathPrefix: Int
2722
+ :param Title: 工单标题
2723
+ :type PathPrefix: String
2724
+ :param Type: 操作类型
2725
+ 有效值:fix
2726
+ :type PathPrefix: String
2727
+ :param Confirm: 确认是否重启
2728
+ 有效值:0禁止重启,1可以重启
2729
+ :type PathPrefix: String
2730
+ :param ProcessSource: 工单来源,0:客户自己提 1:售后代提
2731
+ 默认值:0
2732
+ :type PathPrefix: Int
2733
+ :param AutoNocCase: 是否自动发起NOC工单,0:不发起 1:发起
2734
+ 默认值:0
2735
+ :type PathPrefix: Int
2736
+ """
2737
+ self.InstanceId = None
2738
+ self.AvailabilityZone = None
2739
+ self.Attribute = None
2740
+ self.Content = None
2741
+ self.LogFileName = None
2742
+ self.LogFile = None
2743
+ self.LogUrl = None
2744
+ self.MachineCount = None
2745
+ self.Title = None
2746
+ self.Type = None
2747
+ self.Confirm = None
2748
+ self.ProcessSource = None
2749
+ self.AutoNocCase = None
2750
+
2751
+ def _deserialize(self, params):
2752
+ if params.get("InstanceId"):
2753
+ self.InstanceId = params.get("InstanceId")
2754
+ if params.get("AvailabilityZone"):
2755
+ self.AvailabilityZone = params.get("AvailabilityZone")
2756
+ if params.get("Attribute"):
2757
+ self.Attribute = params.get("Attribute")
2758
+ if params.get("Content"):
2759
+ self.Content = params.get("Content")
2760
+ if params.get("LogFileName"):
2761
+ self.LogFileName = params.get("LogFileName")
2762
+ if params.get("LogFile"):
2763
+ self.LogFile = params.get("LogFile")
2764
+ if params.get("LogUrl"):
2765
+ self.LogUrl = params.get("LogUrl")
2766
+ if params.get("MachineCount"):
2767
+ self.MachineCount = params.get("MachineCount")
2768
+ if params.get("Title"):
2769
+ self.Title = params.get("Title")
2770
+ if params.get("Type"):
2771
+ self.Type = params.get("Type")
2772
+ if params.get("Confirm"):
2773
+ self.Confirm = params.get("Confirm")
2774
+ if params.get("ProcessSource"):
2775
+ self.ProcessSource = params.get("ProcessSource")
2776
+ if params.get("AutoNocCase"):
2777
+ self.AutoNocCase = params.get("AutoNocCase")
2778
+
2779
+
2780
+ class CreateInspectHostRequest(AbstractModel):
2781
+ """CreateInspectHost请求参数结构体
2782
+ """
2783
+
2784
+ def __init__(self):
2785
+ r"""发起故障检测
2786
+ :param InspectType: 故障检测类型
2787
+ • 有效值:
2788
+ ◦ nccl:需要通过NCCL检查异常情况
2789
+ ◦ xid:需要通过XID检查异常情况
2790
+ :type PathPrefix: String
2791
+ :param InspectName: 故障检测名称
2792
+ :type PathPrefix: String
2793
+ :param HostId: 裸金属服务器资源ID,多个ID的实例信息,查看详细ID.N使用方式
2794
+ :type PathPrefix: Filter
2795
+ """
2796
+ self.InspectType = None
2797
+ self.InspectName = None
2798
+ self.HostId = None
2799
+
2800
+ def _deserialize(self, params):
2801
+ if params.get("InspectType"):
2802
+ self.InspectType = params.get("InspectType")
2803
+ if params.get("InspectName"):
2804
+ self.InspectName = params.get("InspectName")
2805
+ if params.get("HostId"):
2806
+ self.HostId = params.get("HostId")
2807
+
2808
+
2809
+ class DescribeInspectHostResultsRequest(AbstractModel):
2810
+ """DescribeInspectHostResults请求参数结构体
2811
+ """
2812
+
2813
+ def __init__(self):
2814
+ r"""查询故障检测结果
2815
+ :param InspectId: 故障检测工单ID,可查询多个ID的信息,查看详细ID.N使用方式
2816
+ :type PathPrefix: Filter
2817
+ :param MaxResults: 单次调用可返回的最大条目数量. 传入返回的 NextToken 值可以获取剩余的其它条目. 这个值可以允许的范围是 5- 1000.
2818
+ :type PathPrefix: Int
2819
+ :param NextToken: 获取另一页返回结果的 token.
2820
+ :type PathPrefix: String
2821
+ """
2822
+ self.InspectId = None
2823
+ self.MaxResults = None
2824
+ self.NextToken = None
2825
+
2826
+ def _deserialize(self, params):
2827
+ if params.get("InspectId"):
2828
+ self.InspectId = params.get("InspectId")
2829
+ if params.get("MaxResults"):
2830
+ self.MaxResults = params.get("MaxResults")
2831
+ if params.get("NextToken"):
2832
+ self.NextToken = params.get("NextToken")
2833
+
2834
+
2835
+ class DescribeXidDetailsRequest(AbstractModel):
2836
+ """DescribeXidDetails请求参数结构体
2837
+ """
2838
+
2839
+ def __init__(self):
2840
+ r"""查询Xid事件详情
2841
+ :param StartTime: 事件开始时间
2842
+ :type PathPrefix: String
2843
+ :param EndTime: 事件结束时间
2844
+ :type PathPrefix: String
2845
+ :param InstanceId: 实例id
2846
+ :type PathPrefix: String
2847
+ :param Name: 事件名称
2848
+ XidError
2849
+ SXidError
2850
+ 默认:
2851
+ XidError
2852
+ :type PathPrefix: String
2853
+ :param MaxResults: 每页条数
2854
+ :type PathPrefix: Int
2855
+ :param NextToken: 页码偏移量
2856
+ :type PathPrefix: String
2857
+ """
2858
+ self.StartTime = None
2859
+ self.EndTime = None
2860
+ self.InstanceId = None
2861
+ self.Name = None
2862
+ self.MaxResults = None
2863
+ self.NextToken = None
2864
+
2865
+ def _deserialize(self, params):
2866
+ if params.get("StartTime"):
2867
+ self.StartTime = params.get("StartTime")
2868
+ if params.get("EndTime"):
2869
+ self.EndTime = params.get("EndTime")
2870
+ if params.get("InstanceId"):
2871
+ self.InstanceId = params.get("InstanceId")
2872
+ if params.get("Name"):
2873
+ self.Name = params.get("Name")
2874
+ if params.get("MaxResults"):
2875
+ self.MaxResults = params.get("MaxResults")
2876
+ if params.get("NextToken"):
2877
+ self.NextToken = params.get("NextToken")
2878
+
2879
+
2880
+ class RunSoInstancesRequest(AbstractModel):
2881
+ """RunSoInstances请求参数结构体
2882
+ """
2883
+
2884
+ def __init__(self):
2885
+ r"""创建星海实例
2886
+ :param ImageId: 镜像ID
2887
+ :type PathPrefix: String
2888
+ :param InstanceName: 实例名称
2889
+ :type PathPrefix: String
2890
+ :param InstanceTypeId: 机型
2891
+ :type PathPrefix: String
2892
+ :param SecurityGroupId: 安全组
2893
+ :type PathPrefix: Filter
2894
+ :param SubnetId: 子网ID
2895
+ :type PathPrefix: String
2896
+ :param Volumes:
2897
+ :type PathPrefix: Object
2898
+ :param ZoneId: 可用区
2899
+ :type PathPrefix: String
2900
+ :param Description: 实例的描述,默认为空字符串。
2901
+ ◦ 必须以字母或中文开头。
2902
+ ◦ 只能包含中文、字母、数字、点号“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”
2903
+ ◦ 长度限制在255个字符以内。
2904
+ 示例值:用于测试的云服务器实例
2905
+ :type PathPrefix: String
2906
+ :param HostName: 实例主机名,即实例操作系统内部的计算机名。
2907
+ ◦ Linux实例:
2908
+ ◦ 允许使用字母、数字、点号“.”或中划线“-”。
2909
+ ◦ 不能以中划线、点号开头或结尾,且不能连续使用中划线和点号。
2910
+ ◦ Linux系统长度限制在2~63个字符之间。
2911
+ :type PathPrefix: String
2912
+ :param InstanceChargeType: 实例和云盘的计费类型,取值:
2913
+ ◦ 包年包月Monthly
2914
+ ◦ 按量付费(按日月结)Daily(默认)
2915
+ :type PathPrefix: String
2916
+ :param KeepImageCredential: 是否保留镜像设置,取值:
2917
+ ◦ true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。
2918
+ ◦ false(默认):不保留镜像设置。
2919
+ 说明
2920
+ ◦ 仅自定义镜像支持该功能。
2921
+ ◦ 该参数取值为true时,请勿传入PassWord和KeyPairName。
2922
+ 示例值:true
2923
+ :type PathPrefix: Boolean
2924
+ :param KeyPairName: 如需使用“SSH密钥”方式登录实例,请指定已创建密钥对的名称。
2925
+ 说明
2926
+ ◦ Windows实例不支持SSH密钥方式,即使传入了该参数,仍旧只生效密码Password。
2927
+ ◦ Linux实例支持密码或密钥对登录。调用该接口时如果同时设置了密钥对KeyPairName和密码Password,则仅生效密钥对KeyPairName。
2928
+ 示例值:kp-test-123
2929
+ :type PathPrefix: String
2930
+ :param Password: 如需使用“密码”方式登录实例,请通过该参数指定实例的管理员账号初始登录密码。其中Linux管理员账号为root,Windows管理员账号为Administrator。
2931
+ 密码复杂度要求如下:
2932
+ ◦ 长度限制在8~30之间。
2933
+ ◦ 密码只能由大写字母、小写字母、数字和特殊字符组成,且必须包含至少三项。
2934
+ ◦ 特殊字符可以使用:`~!@#$%^&*()_-+=|{}[]:;'<>,.?/
2935
+ ◦ 不能以“/”和“$6$”开头。
2936
+ 说明:登录凭证支持“密码”、“密钥对”、“保留镜像设置”三种方式,使用“密码”方式登录实例时,建议增加密码复杂度以提高安全性。
2937
+ :type PathPrefix: String
2938
+ :param Period: 购买资源的时长(月)。
2939
+ ◦ 取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60
2940
+ ◦ 默认值:1
2941
+ 说明:仅当参数InstanceChargeType取值为Monthly时,该参数生效且为必选值
2942
+ :type PathPrefix: Int
2943
+ :param SuffixIndex: 有序后缀的起始序号,取值:1~999,默认值为1。
2944
+ 示例值:1
2945
+ :type PathPrefix: Int
2946
+ :param UniqueSuffix: 表示当创建多台实例时,是否为Hostname和InstanceName自动添加有序后缀,取值:
2947
+ ◦ true:开启有序后缀。
2948
+ ◦ false(默认):关闭有序后缀。
2949
+ :type PathPrefix: Boolean
2950
+ :param InstallRunCommandAgent: 创建实例时是否安装云助手Agent,取值:
2951
+ ◦ true:创建时安装。
2952
+ ◦ false(默认):创建时不安装。
2953
+
2954
+ :type PathPrefix: Boolean
2955
+ :param Count: 创建数量,取值范围:1~100;传入0时,会默认为1。
2956
+ 示例值:1
2957
+ :type PathPrefix: Int
2958
+ :param SoZoneId: 星海专区
2959
+ :type PathPrefix: String
2960
+ :param UserData: 实例自定义数据。设置的自定义数据必须经过Base64编码,且Base64编码前的自定义数据大小不能超过16KB。
2961
+ 不填则默认为空。
2962
+ 示例值:ZWNobyBoZWxsbyBlY3Mh
2963
+ :type PathPrefix: String
2964
+ """
2965
+ self.ImageId = None
2966
+ self.InstanceName = None
2967
+ self.InstanceTypeId = None
2968
+ self.SecurityGroupId = None
2969
+ self.SubnetId = None
2970
+ self.Volumes = None
2971
+ self.ZoneId = None
2972
+ self.Description = None
2973
+ self.HostName = None
2974
+ self.InstanceChargeType = None
2975
+ self.KeepImageCredential = None
2976
+ self.KeyPairName = None
2977
+ self.Password = None
2978
+ self.Period = None
2979
+ self.SuffixIndex = None
2980
+ self.UniqueSuffix = None
2981
+ self.InstallRunCommandAgent = None
2982
+ self.Count = None
2983
+ self.SoZoneId = None
2984
+ self.UserData = None
2985
+
2986
+ def _deserialize(self, params):
2987
+ if params.get("ImageId"):
2988
+ self.ImageId = params.get("ImageId")
2989
+ if params.get("InstanceName"):
2990
+ self.InstanceName = params.get("InstanceName")
2991
+ if params.get("InstanceTypeId"):
2992
+ self.InstanceTypeId = params.get("InstanceTypeId")
2993
+ if params.get("SecurityGroupId"):
2994
+ self.SecurityGroupId = params.get("SecurityGroupId")
2995
+ if params.get("SubnetId"):
2996
+ self.SubnetId = params.get("SubnetId")
2997
+ if params.get("Volumes"):
2998
+ self.Volumes = params.get("Volumes")
2999
+ if params.get("ZoneId"):
3000
+ self.ZoneId = params.get("ZoneId")
3001
+ if params.get("Description"):
3002
+ self.Description = params.get("Description")
3003
+ if params.get("HostName"):
3004
+ self.HostName = params.get("HostName")
3005
+ if params.get("InstanceChargeType"):
3006
+ self.InstanceChargeType = params.get("InstanceChargeType")
3007
+ if params.get("KeepImageCredential"):
3008
+ self.KeepImageCredential = params.get("KeepImageCredential")
3009
+ if params.get("KeyPairName"):
3010
+ self.KeyPairName = params.get("KeyPairName")
3011
+ if params.get("Password"):
3012
+ self.Password = params.get("Password")
3013
+ if params.get("Period"):
3014
+ self.Period = params.get("Period")
3015
+ if params.get("SuffixIndex"):
3016
+ self.SuffixIndex = params.get("SuffixIndex")
3017
+ if params.get("UniqueSuffix"):
3018
+ self.UniqueSuffix = params.get("UniqueSuffix")
3019
+ if params.get("InstallRunCommandAgent"):
3020
+ self.InstallRunCommandAgent = params.get("InstallRunCommandAgent")
3021
+ if params.get("Count"):
3022
+ self.Count = params.get("Count")
3023
+ if params.get("SoZoneId"):
3024
+ self.SoZoneId = params.get("SoZoneId")
3025
+ if params.get("UserData"):
3026
+ self.UserData = params.get("UserData")
3027
+
3028
+
3029
+ class DescribeSoImagesRequest(AbstractModel):
3030
+ """DescribeSoImages请求参数结构体
3031
+ """
3032
+
3033
+ def __init__(self):
3034
+ r"""查询星海镜像
3035
+ :param ImageId: 镜像的ID,最多支持100个ID。
3036
+ • 参数 - N:表示镜像ID的序号。
3037
+ • 多个镜像ID之间用&分隔。
3038
+ :type PathPrefix: Filter
3039
+ :param ImageName: 镜像名称。
3040
+ :type PathPrefix: String
3041
+ :param IsSupportCloudInit: 镜像是否支持Cloud-init。取值:
3042
+ • true:支持
3043
+ • false:不支持
3044
+ :type PathPrefix: Boolean
3045
+ :param MaxResults: 分页查询时设置的每页行数。
3046
+ • 取值范围:1 ~ 100
3047
+ • 默认值:15
3048
+ :type PathPrefix: Int
3049
+ :param NextToken: 分页查询凭证,用于标记分页的位置,初次调用该接口时无需设置。下次查询时,取值为上一次API调用返回的NextToken参数值。
3050
+ :type PathPrefix: String
3051
+ :param OsType: 操作系统类型。取值:
3052
+ • Linux
3053
+ • Windows
3054
+ :type PathPrefix: String
3055
+ :param Platform: 镜像操作系统的发行版本。取值:
3056
+ • CentOS
3057
+ • Debian
3058
+ • Windows Server
3059
+ • Ubuntu
3060
+ :type PathPrefix: String
3061
+ :param Status: 镜像状态,最多支持10个。取值:
3062
+ • available(默认):可用
3063
+ • creating:创建中
3064
+ • error:错误
3065
+ 说明
3066
+ • 参数 - N:表示镜像状态的序号。
3067
+ • 多个镜像状态之间用&分隔。
3068
+ :type PathPrefix: Filter
3069
+ :param Visibility: 镜像的可见性。取值:
3070
+ • public:公共镜像
3071
+ • private:自定义镜像
3072
+ :type PathPrefix: String
3073
+ :param SoZoneId: 星海专区
3074
+ :type PathPrefix: String
3075
+ """
3076
+ self.ImageId = None
3077
+ self.ImageName = None
3078
+ self.IsSupportCloudInit = None
3079
+ self.MaxResults = None
3080
+ self.NextToken = None
3081
+ self.OsType = None
3082
+ self.Platform = None
3083
+ self.Status = None
3084
+ self.Visibility = None
3085
+ self.SoZoneId = None
3086
+
3087
+ def _deserialize(self, params):
3088
+ if params.get("ImageId"):
3089
+ self.ImageId = params.get("ImageId")
3090
+ if params.get("ImageName"):
3091
+ self.ImageName = params.get("ImageName")
3092
+ if params.get("IsSupportCloudInit"):
3093
+ self.IsSupportCloudInit = params.get("IsSupportCloudInit")
3094
+ if params.get("MaxResults"):
3095
+ self.MaxResults = params.get("MaxResults")
3096
+ if params.get("NextToken"):
3097
+ self.NextToken = params.get("NextToken")
3098
+ if params.get("OsType"):
3099
+ self.OsType = params.get("OsType")
3100
+ if params.get("Platform"):
3101
+ self.Platform = params.get("Platform")
3102
+ if params.get("Status"):
3103
+ self.Status = params.get("Status")
3104
+ if params.get("Visibility"):
3105
+ self.Visibility = params.get("Visibility")
3106
+ if params.get("SoZoneId"):
3107
+ self.SoZoneId = params.get("SoZoneId")
3108
+
3109
+
3110
+ class RebootSoInstanceRequest(AbstractModel):
3111
+ """RebootSoInstance请求参数结构体
3112
+ """
3113
+
3114
+ def __init__(self):
3115
+ r"""重启星海实例
3116
+ :param ForceStop: 重启实例前是否强制关机,取值:
3117
+ • true:强制关机。相当于典型的断电操作,所有未写入存储设备的缓存数据会丢失。
3118
+ • false(默认):正常关机。
3119
+ 说明
3120
+ 以下类型的实例,ForceStop无论取值为true还是false,实例均会执行强制关机。
3121
+ • 弹性裸金属实例。
3122
+ • 高性能计算GPU型ebmhpcpni2l 、ebmhpcpni2、ebmhpchfpni2实例。
3123
+ 示例值:false
3124
+
3125
+ :type PathPrefix: Boolean
3126
+ :param InstanceIds: 实例ID,最多支持100个ID。
3127
+ • 参数 - N:表示实例的序号。
3128
+ • 多个Instance ID之间用&分隔。
3129
+ 示例值:InstanceIds.1=8981d45e-b3dc-44c6-b02f-2d1969551316&InstanceIds.2=8981d45e-b3dc-44c6-b02f-2d1969551318
3130
+ :type PathPrefix: Filter
3131
+ :param SoZoneId: 星海专区
3132
+ :type PathPrefix: String
3133
+ """
3134
+ self.ForceStop = None
3135
+ self.InstanceIds = None
3136
+ self.SoZoneId = None
3137
+
3138
+ def _deserialize(self, params):
3139
+ if params.get("ForceStop"):
3140
+ self.ForceStop = params.get("ForceStop")
3141
+ if params.get("InstanceIds"):
3142
+ self.InstanceIds = params.get("InstanceIds")
3143
+ if params.get("SoZoneId"):
3144
+ self.SoZoneId = params.get("SoZoneId")
3145
+
3146
+
3147
+ class DeleteSoImagesRequest(AbstractModel):
3148
+ """DeleteSoImages请求参数结构体
3149
+ """
3150
+
3151
+ def __init__(self):
3152
+ r"""删除星海自定义镜像
3153
+ :param ImageIds: 自定义镜像ID,最多支持100个ID。
3154
+ • 参数 -N:表示镜像的序号。
3155
+ • 多个Image ID之间用&分隔。
3156
+ :type PathPrefix: Filter
3157
+ :param SoZoneId: 星海专区
3158
+ :type PathPrefix: String
3159
+ """
3160
+ self.ImageIds = None
3161
+ self.SoZoneId = None
3162
+
3163
+ def _deserialize(self, params):
3164
+ if params.get("ImageIds"):
3165
+ self.ImageIds = params.get("ImageIds")
3166
+ if params.get("SoZoneId"):
3167
+ self.SoZoneId = params.get("SoZoneId")
3168
+
3169
+
3170
+ class DeleteSoVpcRequest(AbstractModel):
3171
+ """DeleteSoVpc请求参数结构体
3172
+ """
3173
+
3174
+ def __init__(self):
3175
+ r"""删除星海私有网络
3176
+ :param VpcId: 待删除VPC的ID。
3177
+ :type PathPrefix: String
3178
+ :param SoZoneId: 星海专区
3179
+ :type PathPrefix: String
3180
+ """
3181
+ self.VpcId = None
3182
+ self.SoZoneId = None
3183
+
3184
+ def _deserialize(self, params):
3185
+ if params.get("VpcId"):
3186
+ self.VpcId = params.get("VpcId")
3187
+ if params.get("SoZoneId"):
3188
+ self.SoZoneId = params.get("SoZoneId")
3189
+
3190
+
3191
+ class DescribeSoAvailableResourceRequest(AbstractModel):
3192
+ """DescribeSoAvailableResource请求参数结构体
3193
+ """
3194
+
3195
+ def __init__(self):
3196
+ r"""查询可用区资源的库存信息
3197
+ :param InstanceChargeType: 资源的计费类型。取值:
3198
+ • 包年包月Monthly
3199
+ • 按日月结Daily
3200
+ • 试用Trial
3201
+ 示例值:Daily
3202
+
3203
+ :type PathPrefix: String
3204
+ :param InstanceTypeId: 指定一个要查询的实例规格。
3205
+ 示例值:SO-GM404-I
3206
+ :type PathPrefix: String
3207
+ :param ZoneId: 可用区ID。
3208
+ 说明:默认为空,表示返回当前地域(RegionId)下的所有可用区中所有符合条件的资源。
3209
+ 示例值:cn-beijing-6a
3210
+ :type PathPrefix: String
3211
+ :param SoZoneId: 星海专区
3212
+ :type PathPrefix: String
3213
+ """
3214
+ self.InstanceChargeType = None
3215
+ self.InstanceTypeId = None
3216
+ self.ZoneId = None
3217
+ self.SoZoneId = None
3218
+
3219
+ def _deserialize(self, params):
3220
+ if params.get("InstanceChargeType"):
3221
+ self.InstanceChargeType = params.get("InstanceChargeType")
3222
+ if params.get("InstanceTypeId"):
3223
+ self.InstanceTypeId = params.get("InstanceTypeId")
3224
+ if params.get("ZoneId"):
3225
+ self.ZoneId = params.get("ZoneId")
3226
+ if params.get("SoZoneId"):
3227
+ self.SoZoneId = params.get("SoZoneId")
3228
+
3229
+
3230
+ class DescribeSoInstancesRequest(AbstractModel):
3231
+ """DescribeSoInstances请求参数结构体
3232
+ """
3233
+
3234
+ def __init__(self):
3235
+ r"""获取星海实例信息
3236
+ :param InstanceChargeType: 实例的计费方式,取值:
3237
+ • PostPaid:按量计费
3238
+ • PrePaid:包年包月
3239
+ 示例值:PostPaid
3240
+ :type PathPrefix: String
3241
+ :param InstanceTypeId: 根据规格过滤实例,最多支持100个实例规格。
3242
+ • 参数 - N:表示实例的序号。
3243
+ undefined多个实例规格之间用&分隔
3244
+ :type PathPrefix: Filter
3245
+ :param KeyPairName: 密钥对的名称。
3246
+ :type PathPrefix: String
3247
+ :param MaxResults: 分页查询时设置的每页行数。
3248
+ :type PathPrefix: Int
3249
+ :param NextToken: 分页查询凭证。
3250
+ :type PathPrefix: String
3251
+ :param PrimaryIpAddress: 实例的私网IP地址,例如主网卡或辅助网卡IP地址。
3252
+ :type PathPrefix: String
3253
+ :param Status: 实例的状态,取值:
3254
+ • CREATING:创建中
3255
+ • RUNNING:运行中
3256
+ • STOPPING:停止中
3257
+ • STOPPED:已停止
3258
+ • REBOOTING: 重启中
3259
+ • STARTING:启动中
3260
+ • REBUILDING:重装中
3261
+ • RESIZING:更配中
3262
+ • ERROR:错误
3263
+ • DELETING:删除中
3264
+ :type PathPrefix: String
3265
+ :param VpcId: 私有网络ID。
3266
+ :type PathPrefix: String
3267
+ :param ZoneId: 实例所属可用区ID。
3268
+ :type PathPrefix: String
3269
+ :param InstanceIds: 实例ID,最多支持100个。
3270
+ • 参数 - N:表示实例的序号。
3271
+ • 多个Instance ID之间用&分隔。
3272
+ :type PathPrefix: Filter
3273
+ :param SoZoneId: 星海专区
3274
+ :type PathPrefix: String
3275
+ """
3276
+ self.InstanceChargeType = None
3277
+ self.InstanceTypeId = None
3278
+ self.KeyPairName = None
3279
+ self.MaxResults = None
3280
+ self.NextToken = None
3281
+ self.PrimaryIpAddress = None
3282
+ self.Status = None
3283
+ self.VpcId = None
3284
+ self.ZoneId = None
3285
+ self.InstanceIds = None
3286
+ self.SoZoneId = None
3287
+
3288
+ def _deserialize(self, params):
3289
+ if params.get("InstanceChargeType"):
3290
+ self.InstanceChargeType = params.get("InstanceChargeType")
3291
+ if params.get("InstanceTypeId"):
3292
+ self.InstanceTypeId = params.get("InstanceTypeId")
3293
+ if params.get("KeyPairName"):
3294
+ self.KeyPairName = params.get("KeyPairName")
3295
+ if params.get("MaxResults"):
3296
+ self.MaxResults = params.get("MaxResults")
3297
+ if params.get("NextToken"):
3298
+ self.NextToken = params.get("NextToken")
3299
+ if params.get("PrimaryIpAddress"):
3300
+ self.PrimaryIpAddress = params.get("PrimaryIpAddress")
3301
+ if params.get("Status"):
3302
+ self.Status = params.get("Status")
3303
+ if params.get("VpcId"):
3304
+ self.VpcId = params.get("VpcId")
3305
+ if params.get("ZoneId"):
3306
+ self.ZoneId = params.get("ZoneId")
3307
+ if params.get("InstanceIds"):
3308
+ self.InstanceIds = params.get("InstanceIds")
3309
+ if params.get("SoZoneId"):
3310
+ self.SoZoneId = params.get("SoZoneId")
3311
+
3312
+
3313
+ class DeleteSoInstanceRequest(AbstractModel):
3314
+ """DeleteSoInstance请求参数结构体
3315
+ """
3316
+
3317
+ def __init__(self):
3318
+ r"""删除星海实例
3319
+ :param InstanceIds: 实例ID,最多支持100个ID。
3320
+ • 参数 - N:表示实例的序号。
3321
+ • 多个Instance ID之间用&分隔。
3322
+ :type PathPrefix: Filter
3323
+ :param SoZoneId: 星海专区
3324
+ :type PathPrefix: String
3325
+ """
3326
+ self.InstanceIds = None
3327
+ self.SoZoneId = None
3328
+
3329
+ def _deserialize(self, params):
3330
+ if params.get("InstanceIds"):
3331
+ self.InstanceIds = params.get("InstanceIds")
3332
+ if params.get("SoZoneId"):
3333
+ self.SoZoneId = params.get("SoZoneId")
3334
+
3335
+
3336
+ class DescribeSoSecurityGroupsRequest(AbstractModel):
3337
+ """DescribeSoSecurityGroups请求参数结构体
3338
+ """
3339
+
3340
+ def __init__(self):
3341
+ r"""查询星海安全组信息
3342
+ :param VpcId: 安全组所属VPC的ID。
3343
+ :type PathPrefix: String
3344
+ :param SecurityGroupIds: 安全组的ID列表。
3345
+ • 参数 - N:表示安全组ID的序号,单次调用数量上限为100个。
3346
+ • 多个安全组用&分隔。
3347
+ :type PathPrefix: Filter
3348
+ :param NextToken: 分页查询凭证,用于标记分页的位置。
3349
+ • 不填则从头开始查询。
3350
+ • 传入之前调用本API返回的NextToken,则从该次API调用标记分页的位置往后开始查询。
3351
+ :type PathPrefix: String
3352
+ :param MaxResults: 查询的数量,默认为 10,最大为100。
3353
+ :type PathPrefix: Int
3354
+ :param SoZoneId: 星海专区
3355
+ :type PathPrefix: String
3356
+ """
3357
+ self.VpcId = None
3358
+ self.SecurityGroupIds = None
3359
+ self.NextToken = None
3360
+ self.MaxResults = None
3361
+ self.SoZoneId = None
3362
+
3363
+ def _deserialize(self, params):
3364
+ if params.get("VpcId"):
3365
+ self.VpcId = params.get("VpcId")
3366
+ if params.get("SecurityGroupIds"):
3367
+ self.SecurityGroupIds = params.get("SecurityGroupIds")
3368
+ if params.get("NextToken"):
3369
+ self.NextToken = params.get("NextToken")
3370
+ if params.get("MaxResults"):
3371
+ self.MaxResults = params.get("MaxResults")
3372
+ if params.get("SoZoneId"):
3373
+ self.SoZoneId = params.get("SoZoneId")
3374
+
3375
+
3376
+ class CreateSoVpcRequest(AbstractModel):
3377
+ """CreateSoVpc请求参数结构体
3378
+ """
3379
+
3380
+ def __init__(self):
3381
+ r"""创建星海私有网络
3382
+ :param VpcName: VPC的名称。
3383
+ :type PathPrefix: String
3384
+ :param Description: VPC的描述信息。
3385
+ :type PathPrefix: String
3386
+ :param CidrBlock: VPC的IPv4网段。可以使用以下网段或其子集作为VPC的IPv4网段:
3387
+ • 192.168.0.0/16 ~ 24
3388
+ • 10.0.0.0/8 ~ 24
3389
+ • 172.16.0.0/12 ~ 24
3390
+ :type PathPrefix: String
3391
+ :param DnsServers: VPC的DNS服务器地址。
3392
+ • 参数 - N:表示DNS服务器地址的序号,单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。
3393
+ • 多个IP之间用&分隔。
3394
+ • 不填则配置为默认DNS服务器地址。
3395
+ :type PathPrefix: Filter
3396
+ :param AttachVpcId: 关联的VPC ID
3397
+ :type PathPrefix: String
3398
+ :param SoZoneId: 星海专区
3399
+ :type PathPrefix: String
3400
+ """
3401
+ self.VpcName = None
3402
+ self.Description = None
3403
+ self.CidrBlock = None
3404
+ self.DnsServers = None
3405
+ self.AttachVpcId = None
3406
+ self.SoZoneId = None
3407
+
3408
+ def _deserialize(self, params):
3409
+ if params.get("VpcName"):
3410
+ self.VpcName = params.get("VpcName")
3411
+ if params.get("Description"):
3412
+ self.Description = params.get("Description")
3413
+ if params.get("CidrBlock"):
3414
+ self.CidrBlock = params.get("CidrBlock")
3415
+ if params.get("DnsServers"):
3416
+ self.DnsServers = params.get("DnsServers")
3417
+ if params.get("AttachVpcId"):
3418
+ self.AttachVpcId = params.get("AttachVpcId")
3419
+ if params.get("SoZoneId"):
3420
+ self.SoZoneId = params.get("SoZoneId")
3421
+
3422
+
3423
+ class DeleteSoSubnetRequest(AbstractModel):
3424
+ """DeleteSoSubnet请求参数结构体
3425
+ """
3426
+
3427
+ def __init__(self):
3428
+ r"""删除星海子网信息
3429
+ :param SubnetId: 待删除子网的ID。
3430
+ :type PathPrefix: String
3431
+ :param SoZoneId: 星海专区
3432
+ :type PathPrefix: String
3433
+ """
3434
+ self.SubnetId = None
3435
+ self.SoZoneId = None
3436
+
3437
+ def _deserialize(self, params):
3438
+ if params.get("SubnetId"):
3439
+ self.SubnetId = params.get("SubnetId")
3440
+ if params.get("SoZoneId"):
3441
+ self.SoZoneId = params.get("SoZoneId")
3442
+
3443
+
3444
+ class DescribeSoKeyPairsRequest(AbstractModel):
3445
+ """DescribeSoKeyPairs请求参数结构体
3446
+ """
3447
+
3448
+ def __init__(self):
3449
+ r"""查询星海密钥对
3450
+ :param FingerPrint: 密钥对的指纹。根据RFC4716定义的公钥指纹格式,采用MD5信息摘要算法。
3451
+ :type PathPrefix: String
3452
+ :param KeyPairIds: 密钥对ID,最多支持100个。
3453
+ • 参数 - N:表示密钥对ID的序号。
3454
+ • 多个密钥对ID之间用&分隔。
3455
+ 示例值:KeyPairIds.1=2c67be69-b508-48e4-a460-fe491e8d49ba
3456
+ :type PathPrefix: Filter
3457
+ :param KeyPairName: 密钥对名称,支持模糊搜索。
3458
+ :type PathPrefix: String
3459
+ :param KeyPairNames: 密钥对名称,最多支持100个。
3460
+ • 参数 - N:表示密钥对的序号。
3461
+ • 多个密钥对之间用&分隔。
3462
+ :type PathPrefix: Filter
3463
+ :param MaxResults: 分页查询时设置的每页行数。
3464
+ • 最大值:500
3465
+ • 默认值:10
3466
+ :type PathPrefix: Int
3467
+ :param NextToken: 分页查询凭证,用于标记分页的位置,初次调用该接口时无需设置。下次查询时,取值为上一次API调用返回的NextToken参数值。
3468
+ :type PathPrefix: String
3469
+ :param SoZoneId: 星海专区
3470
+ :type PathPrefix: String
3471
+ """
3472
+ self.FingerPrint = None
3473
+ self.KeyPairIds = None
3474
+ self.KeyPairName = None
3475
+ self.KeyPairNames = None
3476
+ self.MaxResults = None
3477
+ self.NextToken = None
3478
+ self.SoZoneId = None
3479
+
3480
+ def _deserialize(self, params):
3481
+ if params.get("FingerPrint"):
3482
+ self.FingerPrint = params.get("FingerPrint")
3483
+ if params.get("KeyPairIds"):
3484
+ self.KeyPairIds = params.get("KeyPairIds")
3485
+ if params.get("KeyPairName"):
3486
+ self.KeyPairName = params.get("KeyPairName")
3487
+ if params.get("KeyPairNames"):
3488
+ self.KeyPairNames = params.get("KeyPairNames")
3489
+ if params.get("MaxResults"):
3490
+ self.MaxResults = params.get("MaxResults")
3491
+ if params.get("NextToken"):
3492
+ self.NextToken = params.get("NextToken")
3493
+ if params.get("SoZoneId"):
3494
+ self.SoZoneId = params.get("SoZoneId")
3495
+
3496
+
3497
+ class StartSoInstanceRequest(AbstractModel):
3498
+ """StartSoInstance请求参数结构体
3499
+ """
3500
+
3501
+ def __init__(self):
3502
+ r"""启动星海实例
3503
+ :param InstanceIds: 实例ID。
3504
+ :type PathPrefix: Filter
3505
+ :param SoZoneId: 星海专区
3506
+ :type PathPrefix: String
3507
+ """
3508
+ self.InstanceIds = None
3509
+ self.SoZoneId = None
3510
+
3511
+ def _deserialize(self, params):
3512
+ if params.get("InstanceIds"):
3513
+ self.InstanceIds = params.get("InstanceIds")
3514
+ if params.get("SoZoneId"):
3515
+ self.SoZoneId = params.get("SoZoneId")
3516
+
3517
+
3518
+ class DescribeSoInstanceTypesRequest(AbstractModel):
3519
+ """DescribeSoInstanceTypes请求参数结构体
3520
+ """
3521
+
3522
+ def __init__(self):
3523
+ r"""获取实例规格信息
3524
+ :param ImageId: 镜像ID,查询该镜像可创建的实例规格
3525
+ :type PathPrefix: String
3526
+ :param InstanceTypeId: 指定查询的实例规格
3527
+ • 参数 - N:表示实例规格的序号,取值范围:1~100。N大于100时,仅前100个生效。
3528
+ • 多个InstanceTypeId 之间用&分隔。
3529
+ 说明:不传则默认查询所有实例规格的信息。
3530
+ :type PathPrefix: Filter
3531
+ :param SoZoneId: 星海专区
3532
+ :type PathPrefix: String
3533
+ """
3534
+ self.ImageId = None
3535
+ self.InstanceTypeId = None
3536
+ self.SoZoneId = None
3537
+
3538
+ def _deserialize(self, params):
3539
+ if params.get("ImageId"):
3540
+ self.ImageId = params.get("ImageId")
3541
+ if params.get("InstanceTypeId"):
3542
+ self.InstanceTypeId = params.get("InstanceTypeId")
3543
+ if params.get("SoZoneId"):
3544
+ self.SoZoneId = params.get("SoZoneId")
3545
+
3546
+
3547
+ class ModifySoSubnetAttributesRequest(AbstractModel):
3548
+ """ModifySoSubnetAttributes请求参数结构体
3549
+ """
3550
+
3551
+ def __init__(self):
3552
+ r"""修改星海指定子网信息
3553
+ :param SubnetId: 待修改信息的子网的ID。
3554
+ :type PathPrefix: String
3555
+ :param SubnetName: 子网的名称。
3556
+ :type PathPrefix: String
3557
+ :param Description: 子网的描述信息。
3558
+ :type PathPrefix: String
3559
+ :param SoZoneId: 星海专区
3560
+ :type PathPrefix: String
3561
+ """
3562
+ self.SubnetId = None
3563
+ self.SubnetName = None
3564
+ self.Description = None
3565
+ self.SoZoneId = None
3566
+
3567
+ def _deserialize(self, params):
3568
+ if params.get("SubnetId"):
3569
+ self.SubnetId = params.get("SubnetId")
3570
+ if params.get("SubnetName"):
3571
+ self.SubnetName = params.get("SubnetName")
3572
+ if params.get("Description"):
3573
+ self.Description = params.get("Description")
3574
+ if params.get("SoZoneId"):
3575
+ self.SoZoneId = params.get("SoZoneId")
3576
+
3577
+
3578
+ class DescribeSoSubnetRequest(AbstractModel):
3579
+ """DescribeSoSubnet请求参数结构体
3580
+ """
3581
+
3582
+ def __init__(self):
3583
+ r"""查询星海子网信息
3584
+ :param ZoneId: 子网所属可用区的ID。
3585
+ :type PathPrefix: String
3586
+ :param SubnetName: 子网的名称。
3587
+ :type PathPrefix: String
3588
+ :param VpcId: 子网所属VPC的ID。
3589
+ :type PathPrefix: String
3590
+ :param SubnetIds: 子网的ID。
3591
+ • 参数 - N:表示子网ID的序号,单次调用数量上限为100个。
3592
+ • 多个ID之间用&分隔。
3593
+ :type PathPrefix: Filter
3594
+ :param NextToken: 分页查询凭证,用于标记分页的位置。
3595
+ • 不填则从头开始查询。
3596
+ • 传入之前调用本API返回的NextToken,则从该次API调用标记分页的位置往后开始查询。
3597
+ :type PathPrefix: String
3598
+ :param MaxResults: 查询的数量,默认为 10,最大为100。
3599
+ :type PathPrefix: Int
3600
+ :param SoZoneId: 星海专区
3601
+ :type PathPrefix: String
3602
+ """
3603
+ self.ZoneId = None
3604
+ self.SubnetName = None
3605
+ self.VpcId = None
3606
+ self.SubnetIds = None
3607
+ self.NextToken = None
3608
+ self.MaxResults = None
3609
+ self.SoZoneId = None
3610
+
3611
+ def _deserialize(self, params):
3612
+ if params.get("ZoneId"):
3613
+ self.ZoneId = params.get("ZoneId")
3614
+ if params.get("SubnetName"):
3615
+ self.SubnetName = params.get("SubnetName")
3616
+ if params.get("VpcId"):
3617
+ self.VpcId = params.get("VpcId")
3618
+ if params.get("SubnetIds"):
3619
+ self.SubnetIds = params.get("SubnetIds")
3620
+ if params.get("NextToken"):
3621
+ self.NextToken = params.get("NextToken")
3622
+ if params.get("MaxResults"):
3623
+ self.MaxResults = params.get("MaxResults")
3624
+ if params.get("SoZoneId"):
3625
+ self.SoZoneId = params.get("SoZoneId")
3626
+
3627
+
3628
+ class ModifySoKeyPairAttributeRequest(AbstractModel):
3629
+ """ModifySoKeyPairAttribute请求参数结构体
3630
+ """
3631
+
3632
+ def __init__(self):
3633
+ r"""修改星海密钥对信息
3634
+ :param Description: 密钥对的描述,默认值为空字符串。
3635
+ • 必须以字母或中文开头。
3636
+ • 只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”
3637
+ • 长度限制在255个字符以内。
3638
+ • 传入空字符串时,将清空原有描述信息。
3639
+ :type PathPrefix: String
3640
+ :param KeyPairId: 密钥对唯一ID。
3641
+ • KeyPairName与KeyPairId不允许同时为空。
3642
+ • 如果同时设置了KeyPairName与KeyPairId,则优先生效KeyPairId。
3643
+ :type PathPrefix: String
3644
+ :param KeyPairName: 密钥对名称。
3645
+ • KeyPairName与KeyPairId不允许同时为空。
3646
+ • 如果同时设置了KeyPairName与KeyPairId,则优先生效KeyPairId。
3647
+ :type PathPrefix: String
3648
+ :param SoZoneId: 星海专区
3649
+ :type PathPrefix: String
3650
+ """
3651
+ self.Description = None
3652
+ self.KeyPairId = None
3653
+ self.KeyPairName = None
3654
+ self.SoZoneId = None
3655
+
3656
+ def _deserialize(self, params):
3657
+ if params.get("Description"):
3658
+ self.Description = params.get("Description")
3659
+ if params.get("KeyPairId"):
3660
+ self.KeyPairId = params.get("KeyPairId")
3661
+ if params.get("KeyPairName"):
3662
+ self.KeyPairName = params.get("KeyPairName")
3663
+ if params.get("SoZoneId"):
3664
+ self.SoZoneId = params.get("SoZoneId")
3665
+
3666
+
3667
+ class ModifySoImageAttributeRequest(AbstractModel):
3668
+ """ModifySoImageAttribute请求参数结构体
3669
+ """
3670
+
3671
+ def __init__(self):
3672
+ r"""修改星海镜像信息
3673
+ :param BootMode: 镜像的启动模式,不填则保持原有配置。取值:
3674
+ • BIOS:BIOS启动模式
3675
+ • UEFI:UEFI启动模式
3676
+ :type PathPrefix: String
3677
+ :param Description: 镜像描述
3678
+ :type PathPrefix: String
3679
+ :param ImageId: 自定义镜像ID。
3680
+ :type PathPrefix: String
3681
+ :param ImageName: 镜像名称。
3682
+ :type PathPrefix: String
3683
+ :param SoZoneId: 星海专区
3684
+ :type PathPrefix: String
3685
+ """
3686
+ self.BootMode = None
3687
+ self.Description = None
3688
+ self.ImageId = None
3689
+ self.ImageName = None
3690
+ self.SoZoneId = None
3691
+
3692
+ def _deserialize(self, params):
3693
+ if params.get("BootMode"):
3694
+ self.BootMode = params.get("BootMode")
3695
+ if params.get("Description"):
3696
+ self.Description = params.get("Description")
3697
+ if params.get("ImageId"):
3698
+ self.ImageId = params.get("ImageId")
3699
+ if params.get("ImageName"):
3700
+ self.ImageName = params.get("ImageName")
3701
+ if params.get("SoZoneId"):
3702
+ self.SoZoneId = params.get("SoZoneId")
3703
+
3704
+
3705
+ class ModifySoVpcAttributesRequest(AbstractModel):
3706
+ """ModifySoVpcAttributes请求参数结构体
3707
+ """
3708
+
3709
+ def __init__(self):
3710
+ r"""修改星海私有网络
3711
+ :param VpcId: 待修改信息的VPC的ID。
3712
+ :type PathPrefix: String
3713
+ :param Description: VPC的描述信息。
3714
+ :type PathPrefix: String
3715
+ :param DnsServers: VPC的DNS服务器地址。
3716
+ • 参数 - N:表示DNS服务器地址的序号,单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。
3717
+ • 多个IP之间用&分隔。
3718
+ • 不填则配置为默认DNS服务器地址。
3719
+ :type PathPrefix: Filter
3720
+ :param VpcName: VPC的名称。
3721
+ :type PathPrefix: String
3722
+ :param SoZoneId: 星海专区
3723
+ :type PathPrefix: String
3724
+ """
3725
+ self.VpcId = None
3726
+ self.Description = None
3727
+ self.DnsServers = None
3728
+ self.VpcName = None
3729
+ self.SoZoneId = None
3730
+
3731
+ def _deserialize(self, params):
3732
+ if params.get("VpcId"):
3733
+ self.VpcId = params.get("VpcId")
3734
+ if params.get("Description"):
3735
+ self.Description = params.get("Description")
3736
+ if params.get("DnsServers"):
3737
+ self.DnsServers = params.get("DnsServers")
3738
+ if params.get("VpcName"):
3739
+ self.VpcName = params.get("VpcName")
3740
+ if params.get("SoZoneId"):
3741
+ self.SoZoneId = params.get("SoZoneId")
3742
+
3743
+
3744
+ class ReplaceSoSystemVolumeRequest(AbstractModel):
3745
+ """ReplaceSoSystemVolume请求参数结构体
3746
+ """
3747
+
3748
+ def __init__(self):
3749
+ r"""星海更换操作系统
3750
+ :param ImageId: 更换操作系统时使用的镜像ID。
3751
+ :type PathPrefix: String
3752
+ :param InstanceId: 实例ID。
3753
+ :type PathPrefix: String
3754
+ :param KeepImageCredential: 使用镜像预设密码/密钥对登录实例。取值:
3755
+ • true:使用镜像预设密码/密钥对登录。
3756
+ • false(默认):不使用镜像预设密码/密钥对登录。
3757
+ 说明
3758
+ • 仅自定义镜像支持使用该功能。
3759
+ • 该参数为true时,请勿传入PassWord和KeyPairName。
3760
+ :type PathPrefix: Boolean
3761
+ :param KeyPairName: 重置密钥对。
3762
+ 说明
3763
+ • 仅对Linux操作系统的实例生效。
3764
+ • KeepImageCredential为false时,本参数与Password不能同时为空。
3765
+ • 若同时设置了密钥对KeyPairName和密码Password,则仅生效密钥对KeyPairName。
3766
+ :type PathPrefix: String
3767
+ :param Password: 重置密码
3768
+ :type PathPrefix: String
3769
+ :param SoZoneId: 星海专区
3770
+ :type PathPrefix: String
3771
+ """
3772
+ self.ImageId = None
3773
+ self.InstanceId = None
3774
+ self.KeepImageCredential = None
3775
+ self.KeyPairName = None
3776
+ self.Password = None
3777
+ self.SoZoneId = None
3778
+
3779
+ def _deserialize(self, params):
3780
+ if params.get("ImageId"):
3781
+ self.ImageId = params.get("ImageId")
3782
+ if params.get("InstanceId"):
3783
+ self.InstanceId = params.get("InstanceId")
3784
+ if params.get("KeepImageCredential"):
3785
+ self.KeepImageCredential = params.get("KeepImageCredential")
3786
+ if params.get("KeyPairName"):
3787
+ self.KeyPairName = params.get("KeyPairName")
3788
+ if params.get("Password"):
3789
+ self.Password = params.get("Password")
3790
+ if params.get("SoZoneId"):
3791
+ self.SoZoneId = params.get("SoZoneId")
3792
+
3793
+
3794
+ class CreateSoSubnetRequest(AbstractModel):
3795
+ """CreateSoSubnet请求参数结构体
3796
+ """
3797
+
3798
+ def __init__(self):
3799
+ r"""创建星海子网
3800
+ :param VpcId: 要创建的子网所属VPC的ID。
3801
+ :type PathPrefix: String
3802
+ :param ZoneId: 要创建的子网所属的可用区ID
3803
+ :type PathPrefix: String
3804
+ :param SubnetName: 子网的名称。
3805
+ :type PathPrefix: String
3806
+ :param Description: 子网的描述信息。
3807
+ :type PathPrefix: String
3808
+ :param CidrBlock: 子网的网段。
3809
+ • 子网的网段必须从属于子网所属VPC的网段。
3810
+ • 子网网段不能与所属VPC路由条目的目标网段相同,但可以是目标网段的子集。
3811
+ • 子网网段的掩码长度与VPC网段相关,具体如下:
3812
+ ◦ 10.XX.XX.XX网段掩码范围:8 ~ 29
3813
+ ◦ 172.16.XX.XX网段掩码范围:12 ~ 29
3814
+ ◦ 192.168.XX.XX网段掩码范围:16 ~ 29
3815
+ :type PathPrefix: String
3816
+ :param SoZoneId: 星海专区
3817
+ :type PathPrefix: String
3818
+ """
3819
+ self.VpcId = None
3820
+ self.ZoneId = None
3821
+ self.SubnetName = None
3822
+ self.Description = None
3823
+ self.CidrBlock = None
3824
+ self.SoZoneId = None
3825
+
3826
+ def _deserialize(self, params):
3827
+ if params.get("VpcId"):
3828
+ self.VpcId = params.get("VpcId")
3829
+ if params.get("ZoneId"):
3830
+ self.ZoneId = params.get("ZoneId")
3831
+ if params.get("SubnetName"):
3832
+ self.SubnetName = params.get("SubnetName")
3833
+ if params.get("Description"):
3834
+ self.Description = params.get("Description")
3835
+ if params.get("CidrBlock"):
3836
+ self.CidrBlock = params.get("CidrBlock")
3837
+ if params.get("SoZoneId"):
3838
+ self.SoZoneId = params.get("SoZoneId")
3839
+
3840
+
3841
+ class DescribeSoVpcsRequest(AbstractModel):
3842
+ """DescribeSoVpcs请求参数结构体
3843
+ """
3844
+
3845
+ def __init__(self):
3846
+ r"""查询星海私有网络
3847
+ :param VpcName: VPC的名称。
3848
+ :type PathPrefix: String
3849
+ :param VpcIds: VPC的ID。
3850
+ • 参数 - N:表示VPC ID的序号,单次调用数量上限为100个。
3851
+ • 多个VPC ID之间用&分隔。
3852
+ :type PathPrefix: Filter
3853
+ :param NextToken: 分页查询凭证,用于标记分页的位置。
3854
+ • 不填则从头开始查询。
3855
+ • 传入之前调用本API返回的NextToken,则从该次API调用标记分页的位置往后开始查询。
3856
+ :type PathPrefix: String
3857
+ :param MaxResults:
3858
+ :type PathPrefix: Int
3859
+ :param SoZoneId: 星海专区
3860
+ :type PathPrefix: String
3861
+ """
3862
+ self.VpcName = None
3863
+ self.VpcIds = None
3864
+ self.NextToken = None
3865
+ self.MaxResults = None
3866
+ self.SoZoneId = None
3867
+
3868
+ def _deserialize(self, params):
3869
+ if params.get("VpcName"):
3870
+ self.VpcName = params.get("VpcName")
3871
+ if params.get("VpcIds"):
3872
+ self.VpcIds = params.get("VpcIds")
3873
+ if params.get("NextToken"):
3874
+ self.NextToken = params.get("NextToken")
3875
+ if params.get("MaxResults"):
3876
+ self.MaxResults = params.get("MaxResults")
3877
+ if params.get("SoZoneId"):
3878
+ self.SoZoneId = params.get("SoZoneId")
3879
+
3880
+
3881
+ class StopSoInstanceRequest(AbstractModel):
3882
+ """StopSoInstance请求参数结构体
3883
+ """
3884
+
3885
+ def __init__(self):
3886
+ r"""停止星海实例
3887
+ :param ForceStop: 是否强制关机,取值:
3888
+ • true:强制关机。相当于典型的断电操作,所有未写入存储设备的缓存数据会丢失。
3889
+ • false(默认):正常关机。
3890
+ 说明
3891
+ 以下类型的实例,ForceStop无论取值为true还是false,实例均会执行强制关机。
3892
+ • 弹性裸金属实例。
3893
+ • 高性能计算GPU型ebmhpcpni2l 、ebmhpcpni2、ebmhpchfpni2实例。该类实例正在邀测中,如需试用,请联系客户经理申请。
3894
+ 示例值:false
3895
+ :type PathPrefix: Boolean
3896
+ :param InstanceIds: 实例ID,最多支持100个。
3897
+ • 参数 - N:表示实例的序号。
3898
+ • 多个Instance ID之间用&分隔。
3899
+ :type PathPrefix: Filter
3900
+ :param SoZoneId: 星海专区
3901
+ :type PathPrefix: String
3902
+ """
3903
+ self.ForceStop = None
3904
+ self.InstanceIds = None
3905
+ self.SoZoneId = None
3906
+
3907
+ def _deserialize(self, params):
3908
+ if params.get("ForceStop"):
3909
+ self.ForceStop = params.get("ForceStop")
3910
+ if params.get("InstanceIds"):
3911
+ self.InstanceIds = params.get("InstanceIds")
3912
+ if params.get("SoZoneId"):
3913
+ self.SoZoneId = params.get("SoZoneId")
3914
+
3915
+
3916
+ class DeleteSoKeyPairsRequest(AbstractModel):
3917
+ """DeleteSoKeyPairs请求参数结构体
3918
+ """
3919
+
3920
+ def __init__(self):
3921
+ r"""删除星海密钥对
3922
+ :param KeyPairNames: 密钥对名称,最多支持100个。
3923
+ • 参数 - N:表示密钥对的序号。
3924
+ • 多个密钥对之间用&分隔。
3925
+ :type PathPrefix: Filter
3926
+ :param SoZoneId: 星海专区
3927
+ :type PathPrefix: String
3928
+ """
3929
+ self.KeyPairNames = None
3930
+ self.SoZoneId = None
3931
+
3932
+ def _deserialize(self, params):
3933
+ if params.get("KeyPairNames"):
3934
+ self.KeyPairNames = params.get("KeyPairNames")
3935
+ if params.get("SoZoneId"):
3936
+ self.SoZoneId = params.get("SoZoneId")
3937
+
3938
+
3939
+ class CreateSoImageRequest(AbstractModel):
3940
+ """CreateSoImage请求参数结构体
3941
+ """
3942
+
3943
+ def __init__(self):
3944
+ r"""创建星海自定义镜像
3945
+ :param ForceStop: 重启实例前是否强制关机,取值:
3946
+ • true:强制关机。相当于典型的断电操作,所有未写入存储设备的缓存数据会丢失。
3947
+ • false(默认):正常关机。
3948
+ 说明
3949
+ 以下类型的实例,ForceStop无论取值为true还是false,实例均会执行强制关机。
3950
+ • 弹性裸金属实例。
3951
+ • 高性能计算GPU型ebmhpcpni2l 、ebmhpcpni2、ebmhpchfpni2实例。
3952
+ 示例值:false
3953
+
3954
+ :type PathPrefix: Boolean
3955
+ :param InstanceIds: 实例ID,最多支持100个ID。
3956
+ • 参数 - N:表示实例的序号。
3957
+ • 多个Instance ID之间用&分隔。
3958
+ 示例值:InstanceIds.1=8981d45e-b3dc-44c6-b02f-2d1969551316&InstanceIds.2=8981d45e-b3dc-44c6-b02f-2d1969551318
3959
+ :type PathPrefix: Filter
3960
+ :param SoZoneId: 星海专区
3961
+ :type PathPrefix: String
3962
+ """
3963
+ self.ForceStop = None
3964
+ self.InstanceIds = None
3965
+ self.SoZoneId = None
3966
+
3967
+ def _deserialize(self, params):
3968
+ if params.get("ForceStop"):
3969
+ self.ForceStop = params.get("ForceStop")
3970
+ if params.get("InstanceIds"):
3971
+ self.InstanceIds = params.get("InstanceIds")
3972
+ if params.get("SoZoneId"):
3973
+ self.SoZoneId = params.get("SoZoneId")
3974
+
3975
+
3976
+ class ModifySoInstanceAttributeRequest(AbstractModel):
3977
+ """ModifySoInstanceAttribute请求参数结构体
3978
+ """
3979
+
3980
+ def __init__(self):
3981
+ r"""修改指定实例的信息
3982
+ :param DeletionProtection: 实例删除保护属性,指定是否支持通过控制台或API删除实例。取值:
3983
+ • true:开启实例删除保护。
3984
+ • false:关闭实例删除保护。
3985
+ 示例值:true
3986
+ :type PathPrefix: String
3987
+ :param Description: 实例的描述。
3988
+ • 必须以字母或中文开头。
3989
+ • 只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”
3990
+ • 长度限制在255个字符以内。
3991
+ 说明 传入空字符串时,将清空原有描述信息。
3992
+ 示例值:ECS instance for testing.
3993
+ :type PathPrefix: String
3994
+ :param Hostname: 实例主机名,即实例操作系统内部的计算机名。
3995
+ • Linux实例:
3996
+ ◦ 允许使用字母、数字、点号“.”或中划线“-”。
3997
+ ◦ 不能以中划线、点号开头或结尾,且不能连续使用中划线和点号。
3998
+ ◦ Linux系统长度限制在2~63个字符之间。
3999
+ • Windows实例:
4000
+ ◦ 允许使用字母、数字或中划线“-”,不能完全是数字。
4001
+ ◦ 不能以中划线开头或结尾,且不能连续使用中划线。
4002
+ ◦ Windows系统长度限制在2~15个字符之间。
4003
+ 示例值:instance-host-name
4004
+ :type PathPrefix: String
4005
+ :param InstanceId: 实例ID。
4006
+ 示例值:4f35e8f7-f549-5c55-9531-5f43ca78****
4007
+ :type PathPrefix: String
4008
+ :param InstanceName: 实例的名称。
4009
+ • 以字母或中文开头。
4010
+ • 只能包含中文、字母、数字、下划线“_”、中划线“-”和点号“.”。
4011
+ • 长度限制为1~128个字符。
4012
+ 示例值:instance-test
4013
+ :type PathPrefix: String
4014
+ :param Password: 示例值:password@123
4015
+ 使用“密码”方式登录实例时,请设置实例的登录密码。
4016
+ • 长度限制在8~30之间。
4017
+ • 密码只能由大写字母、小写字母、数字和特殊字符组成,且必须包含至少三项。
4018
+ • 特殊字符可以使用:`~!@#$%^&*()_-+=|{}[]:;'<>,.?/
4019
+ • 不能以“/”和“$6$”开头。
4020
+ :type PathPrefix: String
4021
+ :param SoZoneId: 星海专区
4022
+ :type PathPrefix: String
4023
+ :param UserData: 实例自定义数据,提供一种自定义实例启动行为及传入数据的功能。
4024
+ • 传入数据时,设置的自定义数据必须经过Base64编码,且Base64编码前的自定义数据大小不能超过16KB。
4025
+ • 传入空字符串时,将清空自定义数据。
4026
+ 示例值:IyEvYmluL2Jhc2gKdG91Y2ggL3RtcC91c2VyZG******
4027
+
4028
+ :type PathPrefix: String
4029
+ """
4030
+ self.DeletionProtection = None
4031
+ self.Description = None
4032
+ self.Hostname = None
4033
+ self.InstanceId = None
4034
+ self.InstanceName = None
4035
+ self.Password = None
4036
+ self.SoZoneId = None
4037
+ self.UserData = None
4038
+
4039
+ def _deserialize(self, params):
4040
+ if params.get("DeletionProtection"):
4041
+ self.DeletionProtection = params.get("DeletionProtection")
4042
+ if params.get("Description"):
4043
+ self.Description = params.get("Description")
4044
+ if params.get("Hostname"):
4045
+ self.Hostname = params.get("Hostname")
4046
+ if params.get("InstanceId"):
4047
+ self.InstanceId = params.get("InstanceId")
4048
+ if params.get("InstanceName"):
4049
+ self.InstanceName = params.get("InstanceName")
4050
+ if params.get("Password"):
4051
+ self.Password = params.get("Password")
4052
+ if params.get("SoZoneId"):
4053
+ self.SoZoneId = params.get("SoZoneId")
4054
+ if params.get("UserData"):
4055
+ self.UserData = params.get("UserData")
4056
+
4057
+
4058
+ class CreateSoKeyPairRequest(AbstractModel):
4059
+ """CreateSoKeyPair请求参数结构体
4060
+ """
4061
+
4062
+ def __init__(self):
4063
+ r"""创建星海密钥对
4064
+ :param KeyPairName: 密钥对名称。
4065
+ • 不可与已有名称重复。
4066
+ • 长度限制在 2~64 个字符之间。
4067
+ • 允许使用点号“.”分隔字符成多段,每段允许使用大小写字母、数字或连字符“-”。
4068
+ • 不能以“-”和“.”开头或结尾,不能连续使用“-”或者“.”。
4069
+ :type PathPrefix: String
4070
+ :param Description: 密钥对的描述,默认值为空字符串。
4071
+ • 必须以字母或中文开头。
4072
+ • 只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”
4073
+ • 长度限制在255个字符以内。
4074
+ :type PathPrefix: String
4075
+ :param SoZoneId: 星海专区
4076
+ :type PathPrefix: String
4077
+ """
4078
+ self.KeyPairName = None
4079
+ self.Description = None
4080
+ self.SoZoneId = None
4081
+
4082
+ def _deserialize(self, params):
4083
+ if params.get("KeyPairName"):
4084
+ self.KeyPairName = params.get("KeyPairName")
4085
+ if params.get("Description"):
4086
+ self.Description = params.get("Description")
4087
+ if params.get("SoZoneId"):
4088
+ self.SoZoneId = params.get("SoZoneId")
4089
+
4090
+
4091
+ class InstallAgentRequest(AbstractModel):
4092
+ """InstallAgent请求参数结构体
4093
+ """
4094
+
4095
+ def __init__(self):
4096
+ r"""安装agent
4097
+ :param HostId: 实例ID
4098
+ :type PathPrefix: String
4099
+ :param AgentId: 安装agentID
4100
+ :type PathPrefix: String
4101
+ :param Username: 用户名
4102
+ :type PathPrefix: String
4103
+ :param Password: 密码
4104
+ :type PathPrefix: String
4105
+ :param Key: 密钥
4106
+ :type PathPrefix: String
4107
+ """
4108
+ self.HostId = None
4109
+ self.AgentId = None
4110
+ self.Username = None
4111
+ self.Password = None
4112
+ self.Key = None
4113
+
4114
+ def _deserialize(self, params):
4115
+ if params.get("HostId"):
4116
+ self.HostId = params.get("HostId")
4117
+ if params.get("AgentId"):
4118
+ self.AgentId = params.get("AgentId")
4119
+ if params.get("Username"):
4120
+ self.Username = params.get("Username")
4121
+ if params.get("Password"):
4122
+ self.Password = params.get("Password")
4123
+ if params.get("Key"):
4124
+ self.Key = params.get("Key")
4125
+
4126
+
4127
+ class DescribeAgentRequest(AbstractModel):
4128
+ """DescribeAgent请求参数结构体
4129
+ """
4130
+
4131
+ def __init__(self):
4132
+ r"""查询agent
4133
+ :param AgentName: Agent名称
4134
+ :type PathPrefix: String
4135
+ :param AgentId: Agent的ID
4136
+ :type PathPrefix: String
4137
+ :param AgentType: Agent类型
4138
+ CloudMoniter 云监控
4139
+ Container 容器
4140
+ :type PathPrefix: String
4141
+ """
4142
+ self.AgentName = None
4143
+ self.AgentId = None
4144
+ self.AgentType = None
4145
+
4146
+ def _deserialize(self, params):
4147
+ if params.get("AgentName"):
4148
+ self.AgentName = params.get("AgentName")
4149
+ if params.get("AgentId"):
4150
+ self.AgentId = params.get("AgentId")
4151
+ if params.get("AgentType"):
4152
+ self.AgentType = params.get("AgentType")
4153
+
4154
+
4155
+ class DescribeAgentInstallStatusRequest(AbstractModel):
4156
+ """DescribeAgentInstallStatus请求参数结构体
4157
+ """
4158
+
4159
+ def __init__(self):
4160
+ r"""查询实例Agent的安装状态
4161
+ :param HostId: 实例ID,最多支持100个ID。
4162
+ • 参数 - N:表示实例的序号。
4163
+ • 多个Host ID之间用&分隔。
4164
+ :type PathPrefix: Filter
4165
+ :param AgentId: Agent的ID
4166
+ :type PathPrefix: String
4167
+ :param Status: Agent状态。取值:
4168
+ • Installing:安装中
4169
+ • InstallFinished:安装完成
4170
+ • InstallFailed:安装失败
4171
+ :type PathPrefix: String
4172
+ :param NextToken: 当前页码。
4173
+ • 起始值:1。
4174
+ • 默认值:1。
4175
+ :type PathPrefix: String
4176
+ :param MaxResults: 分页查询时设置的每页行数。
4177
+ • 取值范围:1~100。
4178
+ • 默认值:10。
4179
+ :type PathPrefix: Int
4180
+ """
4181
+ self.HostId = None
4182
+ self.AgentId = None
4183
+ self.Status = None
4184
+ self.NextToken = None
4185
+ self.MaxResults = None
4186
+
4187
+ def _deserialize(self, params):
4188
+ if params.get("HostId"):
4189
+ self.HostId = params.get("HostId")
4190
+ if params.get("AgentId"):
4191
+ self.AgentId = params.get("AgentId")
4192
+ if params.get("Status"):
4193
+ self.Status = params.get("Status")
4194
+ if params.get("NextToken"):
4195
+ self.NextToken = params.get("NextToken")
4196
+ if params.get("MaxResults"):
4197
+ self.MaxResults = params.get("MaxResults")
4198
+
4199
+
4200
+ class DescribeSoUserDataRequest(AbstractModel):
4201
+ """DescribeSoUserData请求参数结构体
4202
+ """
4203
+
4204
+ def __init__(self):
4205
+ r"""查询自定义数据
4206
+ :param InstanceId: 实例ID
4207
+ :type PathPrefix: String
4208
+ """
4209
+ self.InstanceId = None
4210
+
4211
+ def _deserialize(self, params):
4212
+ if params.get("InstanceId"):
4213
+ self.InstanceId = params.get("InstanceId")
4214
+
4215
+
4216
+ class DescribeUserDataRequest(AbstractModel):
4217
+ """DescribeUserData请求参数结构体
4218
+ """
4219
+
4220
+ def __init__(self):
4221
+ r"""查询自定义脚本
4222
+ :param HostId: 实例ID
4223
+ :type PathPrefix: String
4224
+ """
4225
+ self.HostId = None
4226
+
4227
+ def _deserialize(self, params):
4228
+ if params.get("HostId"):
4229
+ self.HostId = params.get("HostId")
4230
+
4231
+