kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.44__py2.py3-none-any.whl

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