@alicloud/hologram20220601 1.0.6 → 1.2.0

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 (409) hide show
  1. package/dist/client.d.ts +431 -3266
  2. package/dist/client.js +1287 -1670
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChangeResourceGroupRequest.d.ts +29 -0
  5. package/dist/models/ChangeResourceGroupRequest.js +60 -0
  6. package/dist/models/ChangeResourceGroupRequest.js.map +1 -0
  7. package/dist/models/ChangeResourceGroupResponse.d.ts +19 -0
  8. package/dist/models/ChangeResourceGroupResponse.js +69 -0
  9. package/dist/models/ChangeResourceGroupResponse.js.map +1 -0
  10. package/dist/models/ChangeResourceGroupResponseBody.d.ts +47 -0
  11. package/dist/models/ChangeResourceGroupResponseBody.js +60 -0
  12. package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -0
  13. package/dist/models/CreateHoloWarehouseRequest.d.ts +38 -0
  14. package/dist/models/CreateHoloWarehouseRequest.js +62 -0
  15. package/dist/models/CreateHoloWarehouseRequest.js.map +1 -0
  16. package/dist/models/CreateHoloWarehouseResponse.d.ts +19 -0
  17. package/dist/models/CreateHoloWarehouseResponse.js +69 -0
  18. package/dist/models/CreateHoloWarehouseResponse.js.map +1 -0
  19. package/dist/models/CreateHoloWarehouseResponseBody.d.ts +29 -0
  20. package/dist/models/CreateHoloWarehouseResponseBody.js +60 -0
  21. package/dist/models/CreateHoloWarehouseResponseBody.js.map +1 -0
  22. package/dist/models/CreateInstanceRequest.d.ts +251 -0
  23. package/dist/models/CreateInstanceRequest.js +96 -0
  24. package/dist/models/CreateInstanceRequest.js.map +1 -0
  25. package/dist/models/CreateInstanceResponse.d.ts +19 -0
  26. package/dist/models/CreateInstanceResponse.js +69 -0
  27. package/dist/models/CreateInstanceResponse.js.map +1 -0
  28. package/dist/models/CreateInstanceResponseBody.d.ts +107 -0
  29. package/dist/models/CreateInstanceResponseBody.js +98 -0
  30. package/dist/models/CreateInstanceResponseBody.js.map +1 -0
  31. package/dist/models/DeleteHoloWarehouseRequest.d.ts +23 -0
  32. package/dist/models/DeleteHoloWarehouseRequest.js +58 -0
  33. package/dist/models/DeleteHoloWarehouseRequest.js.map +1 -0
  34. package/dist/models/DeleteHoloWarehouseResponse.d.ts +19 -0
  35. package/dist/models/DeleteHoloWarehouseResponse.js +69 -0
  36. package/dist/models/DeleteHoloWarehouseResponse.js.map +1 -0
  37. package/dist/models/DeleteHoloWarehouseResponseBody.d.ts +29 -0
  38. package/dist/models/DeleteHoloWarehouseResponseBody.js +60 -0
  39. package/dist/models/DeleteHoloWarehouseResponseBody.js.map +1 -0
  40. package/dist/models/DeleteInstanceRequest.d.ts +21 -0
  41. package/dist/models/DeleteInstanceRequest.js +58 -0
  42. package/dist/models/DeleteInstanceRequest.js.map +1 -0
  43. package/dist/models/DeleteInstanceResponse.d.ts +19 -0
  44. package/dist/models/DeleteInstanceResponse.js +69 -0
  45. package/dist/models/DeleteInstanceResponse.js.map +1 -0
  46. package/dist/models/DeleteInstanceResponseBody.d.ts +79 -0
  47. package/dist/models/DeleteInstanceResponseBody.js +68 -0
  48. package/dist/models/DeleteInstanceResponseBody.js.map +1 -0
  49. package/dist/models/DisableHiveAccessRequest.d.ts +21 -0
  50. package/dist/models/DisableHiveAccessRequest.js +58 -0
  51. package/dist/models/DisableHiveAccessRequest.js.map +1 -0
  52. package/dist/models/DisableHiveAccessResponse.d.ts +19 -0
  53. package/dist/models/DisableHiveAccessResponse.js +69 -0
  54. package/dist/models/DisableHiveAccessResponse.js.map +1 -0
  55. package/dist/models/DisableHiveAccessResponseBody.d.ts +97 -0
  56. package/dist/models/DisableHiveAccessResponseBody.js +68 -0
  57. package/dist/models/DisableHiveAccessResponseBody.js.map +1 -0
  58. package/dist/models/DisableSslresponse.d.ts +19 -0
  59. package/dist/models/DisableSslresponse.js +69 -0
  60. package/dist/models/DisableSslresponse.js.map +1 -0
  61. package/dist/models/DisableSslresponseBody.d.ts +43 -0
  62. package/dist/models/DisableSslresponseBody.js +68 -0
  63. package/dist/models/DisableSslresponseBody.js.map +1 -0
  64. package/dist/models/EnableHiveAccessRequest.d.ts +21 -0
  65. package/dist/models/EnableHiveAccessRequest.js +58 -0
  66. package/dist/models/EnableHiveAccessRequest.js.map +1 -0
  67. package/dist/models/EnableHiveAccessResponse.d.ts +19 -0
  68. package/dist/models/EnableHiveAccessResponse.js +69 -0
  69. package/dist/models/EnableHiveAccessResponse.js.map +1 -0
  70. package/dist/models/EnableHiveAccessResponseBody.d.ts +79 -0
  71. package/dist/models/EnableHiveAccessResponseBody.js +68 -0
  72. package/dist/models/EnableHiveAccessResponseBody.js.map +1 -0
  73. package/dist/models/EnableSslresponse.d.ts +19 -0
  74. package/dist/models/EnableSslresponse.js +69 -0
  75. package/dist/models/EnableSslresponse.js.map +1 -0
  76. package/dist/models/EnableSslresponseBody.d.ts +43 -0
  77. package/dist/models/EnableSslresponseBody.js +68 -0
  78. package/dist/models/EnableSslresponseBody.js.map +1 -0
  79. package/dist/models/GetCertificateAttributeResponse.d.ts +19 -0
  80. package/dist/models/GetCertificateAttributeResponse.js +69 -0
  81. package/dist/models/GetCertificateAttributeResponse.js.map +1 -0
  82. package/dist/models/GetCertificateAttributeResponseBody.d.ts +66 -0
  83. package/dist/models/GetCertificateAttributeResponseBody.js +94 -0
  84. package/dist/models/GetCertificateAttributeResponseBody.js.map +1 -0
  85. package/dist/models/GetInstanceResponse.d.ts +19 -0
  86. package/dist/models/GetInstanceResponse.js +69 -0
  87. package/dist/models/GetInstanceResponse.js.map +1 -0
  88. package/dist/models/GetInstanceResponseBody.d.ts +747 -0
  89. package/dist/models/GetInstanceResponseBody.js +208 -0
  90. package/dist/models/GetInstanceResponseBody.js.map +1 -0
  91. package/dist/models/GetRootCertificateResponse.d.ts +19 -0
  92. package/dist/models/GetRootCertificateResponse.js +69 -0
  93. package/dist/models/GetRootCertificateResponse.js.map +1 -0
  94. package/dist/models/GetRootCertificateResponseBody.d.ts +43 -0
  95. package/dist/models/GetRootCertificateResponseBody.js +68 -0
  96. package/dist/models/GetRootCertificateResponseBody.js.map +1 -0
  97. package/dist/models/GetWarehouseDetailResponse.d.ts +19 -0
  98. package/dist/models/GetWarehouseDetailResponse.js +69 -0
  99. package/dist/models/GetWarehouseDetailResponse.js.map +1 -0
  100. package/dist/models/GetWarehouseDetailResponseBody.d.ts +196 -0
  101. package/dist/models/GetWarehouseDetailResponseBody.js +140 -0
  102. package/dist/models/GetWarehouseDetailResponseBody.js.map +1 -0
  103. package/dist/models/GrantDatabasePermissionRequest.d.ts +24 -0
  104. package/dist/models/GrantDatabasePermissionRequest.js +65 -0
  105. package/dist/models/GrantDatabasePermissionRequest.js.map +1 -0
  106. package/dist/models/GrantDatabasePermissionResponse.d.ts +19 -0
  107. package/dist/models/GrantDatabasePermissionResponse.js +69 -0
  108. package/dist/models/GrantDatabasePermissionResponse.js.map +1 -0
  109. package/dist/models/GrantDatabasePermissionResponseBody.d.ts +46 -0
  110. package/dist/models/GrantDatabasePermissionResponseBody.js +68 -0
  111. package/dist/models/GrantDatabasePermissionResponseBody.js.map +1 -0
  112. package/dist/models/GrantSchemaPermissionRequest.d.ts +29 -0
  113. package/dist/models/GrantSchemaPermissionRequest.js +67 -0
  114. package/dist/models/GrantSchemaPermissionRequest.js.map +1 -0
  115. package/dist/models/GrantSchemaPermissionResponse.d.ts +19 -0
  116. package/dist/models/GrantSchemaPermissionResponse.js +69 -0
  117. package/dist/models/GrantSchemaPermissionResponse.js.map +1 -0
  118. package/dist/models/GrantSchemaPermissionResponseBody.d.ts +46 -0
  119. package/dist/models/GrantSchemaPermissionResponseBody.js +68 -0
  120. package/dist/models/GrantSchemaPermissionResponseBody.js.map +1 -0
  121. package/dist/models/GrantTablePermissionRequest.d.ts +39 -0
  122. package/dist/models/GrantTablePermissionRequest.js +71 -0
  123. package/dist/models/GrantTablePermissionRequest.js.map +1 -0
  124. package/dist/models/GrantTablePermissionResponse.d.ts +19 -0
  125. package/dist/models/GrantTablePermissionResponse.js +69 -0
  126. package/dist/models/GrantTablePermissionResponse.js.map +1 -0
  127. package/dist/models/GrantTablePermissionResponseBody.d.ts +46 -0
  128. package/dist/models/GrantTablePermissionResponseBody.js +68 -0
  129. package/dist/models/GrantTablePermissionResponseBody.js.map +1 -0
  130. package/dist/models/ListBackupDataRequest.d.ts +38 -0
  131. package/dist/models/ListBackupDataRequest.js +60 -0
  132. package/dist/models/ListBackupDataRequest.js.map +1 -0
  133. package/dist/models/ListBackupDataResponse.d.ts +19 -0
  134. package/dist/models/ListBackupDataResponse.js +69 -0
  135. package/dist/models/ListBackupDataResponse.js.map +1 -0
  136. package/dist/models/ListBackupDataResponseBody.d.ts +202 -0
  137. package/dist/models/ListBackupDataResponseBody.js +116 -0
  138. package/dist/models/ListBackupDataResponseBody.js.map +1 -0
  139. package/dist/models/ListDatabasesRequest.d.ts +18 -0
  140. package/dist/models/ListDatabasesRequest.js +58 -0
  141. package/dist/models/ListDatabasesRequest.js.map +1 -0
  142. package/dist/models/ListDatabasesResponse.d.ts +19 -0
  143. package/dist/models/ListDatabasesResponse.js +69 -0
  144. package/dist/models/ListDatabasesResponse.js.map +1 -0
  145. package/dist/models/ListDatabasesResponseBody.d.ts +74 -0
  146. package/dist/models/ListDatabasesResponseBody.js +96 -0
  147. package/dist/models/ListDatabasesResponseBody.js.map +1 -0
  148. package/dist/models/ListInstancesRequest.d.ts +59 -0
  149. package/dist/models/ListInstancesRequest.js +86 -0
  150. package/dist/models/ListInstancesRequest.js.map +1 -0
  151. package/dist/models/ListInstancesResponse.d.ts +19 -0
  152. package/dist/models/ListInstancesResponse.js +69 -0
  153. package/dist/models/ListInstancesResponse.js.map +1 -0
  154. package/dist/models/ListInstancesResponseBody.d.ts +468 -0
  155. package/dist/models/ListInstancesResponseBody.js +182 -0
  156. package/dist/models/ListInstancesResponseBody.js.map +1 -0
  157. package/dist/models/ListWarehousesResponse.d.ts +19 -0
  158. package/dist/models/ListWarehousesResponse.js +69 -0
  159. package/dist/models/ListWarehousesResponse.js.map +1 -0
  160. package/dist/models/ListWarehousesResponseBody.d.ts +128 -0
  161. package/dist/models/ListWarehousesResponseBody.js +92 -0
  162. package/dist/models/ListWarehousesResponseBody.js.map +1 -0
  163. package/dist/models/RebalanceHoloWarehouseRequest.d.ts +23 -0
  164. package/dist/models/RebalanceHoloWarehouseRequest.js +58 -0
  165. package/dist/models/RebalanceHoloWarehouseRequest.js.map +1 -0
  166. package/dist/models/RebalanceHoloWarehouseResponse.d.ts +19 -0
  167. package/dist/models/RebalanceHoloWarehouseResponse.js +69 -0
  168. package/dist/models/RebalanceHoloWarehouseResponse.js.map +1 -0
  169. package/dist/models/RebalanceHoloWarehouseResponseBody.d.ts +29 -0
  170. package/dist/models/RebalanceHoloWarehouseResponseBody.js +60 -0
  171. package/dist/models/RebalanceHoloWarehouseResponseBody.js.map +1 -0
  172. package/dist/models/RenameHoloWarehouseRequest.d.ts +33 -0
  173. package/dist/models/RenameHoloWarehouseRequest.js +60 -0
  174. package/dist/models/RenameHoloWarehouseRequest.js.map +1 -0
  175. package/dist/models/RenameHoloWarehouseResponse.d.ts +19 -0
  176. package/dist/models/RenameHoloWarehouseResponse.js +69 -0
  177. package/dist/models/RenameHoloWarehouseResponse.js.map +1 -0
  178. package/dist/models/RenameHoloWarehouseResponseBody.d.ts +29 -0
  179. package/dist/models/RenameHoloWarehouseResponseBody.js +60 -0
  180. package/dist/models/RenameHoloWarehouseResponseBody.js.map +1 -0
  181. package/dist/models/RenewInstanceRequest.d.ts +36 -0
  182. package/dist/models/RenewInstanceRequest.js +60 -0
  183. package/dist/models/RenewInstanceRequest.js.map +1 -0
  184. package/dist/models/RenewInstanceResponse.d.ts +19 -0
  185. package/dist/models/RenewInstanceResponse.js +69 -0
  186. package/dist/models/RenewInstanceResponse.js.map +1 -0
  187. package/dist/models/RenewInstanceResponseBody.d.ts +105 -0
  188. package/dist/models/RenewInstanceResponseBody.js +96 -0
  189. package/dist/models/RenewInstanceResponseBody.js.map +1 -0
  190. package/dist/models/RenewSslcertificateResponse.d.ts +19 -0
  191. package/dist/models/RenewSslcertificateResponse.js +69 -0
  192. package/dist/models/RenewSslcertificateResponse.js.map +1 -0
  193. package/dist/models/RenewSslcertificateResponseBody.d.ts +43 -0
  194. package/dist/models/RenewSslcertificateResponseBody.js +68 -0
  195. package/dist/models/RenewSslcertificateResponseBody.js.map +1 -0
  196. package/dist/models/RestartHoloWarehouseRequest.d.ts +23 -0
  197. package/dist/models/RestartHoloWarehouseRequest.js +58 -0
  198. package/dist/models/RestartHoloWarehouseRequest.js.map +1 -0
  199. package/dist/models/RestartHoloWarehouseResponse.d.ts +19 -0
  200. package/dist/models/RestartHoloWarehouseResponse.js +69 -0
  201. package/dist/models/RestartHoloWarehouseResponse.js.map +1 -0
  202. package/dist/models/RestartHoloWarehouseResponseBody.d.ts +29 -0
  203. package/dist/models/RestartHoloWarehouseResponseBody.js +60 -0
  204. package/dist/models/RestartHoloWarehouseResponseBody.js.map +1 -0
  205. package/dist/models/RestartInstanceResponse.d.ts +19 -0
  206. package/dist/models/RestartInstanceResponse.js +69 -0
  207. package/dist/models/RestartInstanceResponse.js.map +1 -0
  208. package/dist/models/RestartInstanceResponseBody.d.ts +79 -0
  209. package/dist/models/RestartInstanceResponseBody.js +68 -0
  210. package/dist/models/RestartInstanceResponseBody.js.map +1 -0
  211. package/dist/models/ResumeHoloWarehouseRequest.d.ts +23 -0
  212. package/dist/models/ResumeHoloWarehouseRequest.js +58 -0
  213. package/dist/models/ResumeHoloWarehouseRequest.js.map +1 -0
  214. package/dist/models/ResumeHoloWarehouseResponse.d.ts +19 -0
  215. package/dist/models/ResumeHoloWarehouseResponse.js +69 -0
  216. package/dist/models/ResumeHoloWarehouseResponse.js.map +1 -0
  217. package/dist/models/ResumeHoloWarehouseResponseBody.d.ts +29 -0
  218. package/dist/models/ResumeHoloWarehouseResponseBody.js +60 -0
  219. package/dist/models/ResumeHoloWarehouseResponseBody.js.map +1 -0
  220. package/dist/models/ResumeInstanceResponse.d.ts +19 -0
  221. package/dist/models/ResumeInstanceResponse.js +69 -0
  222. package/dist/models/ResumeInstanceResponse.js.map +1 -0
  223. package/dist/models/ResumeInstanceResponseBody.d.ts +61 -0
  224. package/dist/models/ResumeInstanceResponseBody.js +68 -0
  225. package/dist/models/ResumeInstanceResponseBody.js.map +1 -0
  226. package/dist/models/RevokeDatabasePermissionRequest.d.ts +24 -0
  227. package/dist/models/RevokeDatabasePermissionRequest.js +65 -0
  228. package/dist/models/RevokeDatabasePermissionRequest.js.map +1 -0
  229. package/dist/models/RevokeDatabasePermissionResponse.d.ts +19 -0
  230. package/dist/models/RevokeDatabasePermissionResponse.js +69 -0
  231. package/dist/models/RevokeDatabasePermissionResponse.js.map +1 -0
  232. package/dist/models/RevokeDatabasePermissionResponseBody.d.ts +26 -0
  233. package/dist/models/RevokeDatabasePermissionResponseBody.js +60 -0
  234. package/dist/models/RevokeDatabasePermissionResponseBody.js.map +1 -0
  235. package/dist/models/RevokeSchemaPermissionRequest.d.ts +29 -0
  236. package/dist/models/RevokeSchemaPermissionRequest.js +67 -0
  237. package/dist/models/RevokeSchemaPermissionRequest.js.map +1 -0
  238. package/dist/models/RevokeSchemaPermissionResponse.d.ts +19 -0
  239. package/dist/models/RevokeSchemaPermissionResponse.js +69 -0
  240. package/dist/models/RevokeSchemaPermissionResponse.js.map +1 -0
  241. package/dist/models/RevokeSchemaPermissionResponseBody.d.ts +26 -0
  242. package/dist/models/RevokeSchemaPermissionResponseBody.js +60 -0
  243. package/dist/models/RevokeSchemaPermissionResponseBody.js.map +1 -0
  244. package/dist/models/RevokeTablePermissionRequest.d.ts +39 -0
  245. package/dist/models/RevokeTablePermissionRequest.js +71 -0
  246. package/dist/models/RevokeTablePermissionRequest.js.map +1 -0
  247. package/dist/models/RevokeTablePermissionResponse.d.ts +19 -0
  248. package/dist/models/RevokeTablePermissionResponse.js +69 -0
  249. package/dist/models/RevokeTablePermissionResponse.js.map +1 -0
  250. package/dist/models/RevokeTablePermissionResponseBody.d.ts +26 -0
  251. package/dist/models/RevokeTablePermissionResponseBody.js +60 -0
  252. package/dist/models/RevokeTablePermissionResponseBody.js.map +1 -0
  253. package/dist/models/ScaleHoloWarehouseRequest.d.ts +38 -0
  254. package/dist/models/ScaleHoloWarehouseRequest.js +62 -0
  255. package/dist/models/ScaleHoloWarehouseRequest.js.map +1 -0
  256. package/dist/models/ScaleHoloWarehouseResponse.d.ts +19 -0
  257. package/dist/models/ScaleHoloWarehouseResponse.js +69 -0
  258. package/dist/models/ScaleHoloWarehouseResponse.js.map +1 -0
  259. package/dist/models/ScaleHoloWarehouseResponseBody.d.ts +29 -0
  260. package/dist/models/ScaleHoloWarehouseResponseBody.js +60 -0
  261. package/dist/models/ScaleHoloWarehouseResponseBody.js.map +1 -0
  262. package/dist/models/ScaleInstanceRequest.d.ts +96 -0
  263. package/dist/models/ScaleInstanceRequest.js +68 -0
  264. package/dist/models/ScaleInstanceRequest.js.map +1 -0
  265. package/dist/models/ScaleInstanceResponse.d.ts +19 -0
  266. package/dist/models/ScaleInstanceResponse.js +69 -0
  267. package/dist/models/ScaleInstanceResponse.js.map +1 -0
  268. package/dist/models/ScaleInstanceResponseBody.d.ts +112 -0
  269. package/dist/models/ScaleInstanceResponseBody.js +94 -0
  270. package/dist/models/ScaleInstanceResponseBody.js.map +1 -0
  271. package/dist/models/StopInstanceResponse.d.ts +19 -0
  272. package/dist/models/StopInstanceResponse.js +69 -0
  273. package/dist/models/StopInstanceResponse.js.map +1 -0
  274. package/dist/models/StopInstanceResponseBody.d.ts +97 -0
  275. package/dist/models/StopInstanceResponseBody.js +68 -0
  276. package/dist/models/StopInstanceResponseBody.js.map +1 -0
  277. package/dist/models/SuspendHoloWarehouseRequest.d.ts +23 -0
  278. package/dist/models/SuspendHoloWarehouseRequest.js +58 -0
  279. package/dist/models/SuspendHoloWarehouseRequest.js.map +1 -0
  280. package/dist/models/SuspendHoloWarehouseResponse.d.ts +19 -0
  281. package/dist/models/SuspendHoloWarehouseResponse.js +69 -0
  282. package/dist/models/SuspendHoloWarehouseResponse.js.map +1 -0
  283. package/dist/models/SuspendHoloWarehouseResponseBody.d.ts +29 -0
  284. package/dist/models/SuspendHoloWarehouseResponseBody.js +60 -0
  285. package/dist/models/SuspendHoloWarehouseResponseBody.js.map +1 -0
  286. package/dist/models/UpdateInstanceNameRequest.d.ts +21 -0
  287. package/dist/models/UpdateInstanceNameRequest.js +58 -0
  288. package/dist/models/UpdateInstanceNameRequest.js.map +1 -0
  289. package/dist/models/UpdateInstanceNameResponse.d.ts +19 -0
  290. package/dist/models/UpdateInstanceNameResponse.js +69 -0
  291. package/dist/models/UpdateInstanceNameResponse.js.map +1 -0
  292. package/dist/models/UpdateInstanceNameResponseBody.d.ts +97 -0
  293. package/dist/models/UpdateInstanceNameResponseBody.js +68 -0
  294. package/dist/models/UpdateInstanceNameResponseBody.js.map +1 -0
  295. package/dist/models/UpdateInstanceNetworkTypeRequest.d.ts +73 -0
  296. package/dist/models/UpdateInstanceNetworkTypeRequest.js +68 -0
  297. package/dist/models/UpdateInstanceNetworkTypeRequest.js.map +1 -0
  298. package/dist/models/UpdateInstanceNetworkTypeResponse.d.ts +19 -0
  299. package/dist/models/UpdateInstanceNetworkTypeResponse.js +69 -0
  300. package/dist/models/UpdateInstanceNetworkTypeResponse.js.map +1 -0
  301. package/dist/models/UpdateInstanceNetworkTypeResponseBody.d.ts +84 -0
  302. package/dist/models/UpdateInstanceNetworkTypeResponseBody.js +68 -0
  303. package/dist/models/UpdateInstanceNetworkTypeResponseBody.js.map +1 -0
  304. package/dist/models/model.d.ts +116 -0
  305. package/dist/models/model.js +238 -0
  306. package/dist/models/model.js.map +1 -0
  307. package/package.json +3 -6
  308. package/src/client.ts +1272 -4249
  309. package/src/models/ChangeResourceGroupRequest.ts +44 -0
  310. package/src/models/ChangeResourceGroupResponse.ts +40 -0
  311. package/src/models/ChangeResourceGroupResponseBody.ts +62 -0
  312. package/src/models/CreateHoloWarehouseRequest.ts +55 -0
  313. package/src/models/CreateHoloWarehouseResponse.ts +40 -0
  314. package/src/models/CreateHoloWarehouseResponseBody.ts +44 -0
  315. package/src/models/CreateInstanceRequest.ts +302 -0
  316. package/src/models/CreateInstanceResponse.ts +40 -0
  317. package/src/models/CreateInstanceResponseBody.ts +149 -0
  318. package/src/models/DeleteHoloWarehouseRequest.ts +36 -0
  319. package/src/models/DeleteHoloWarehouseResponse.ts +40 -0
  320. package/src/models/DeleteHoloWarehouseResponseBody.ts +44 -0
  321. package/src/models/DeleteInstanceRequest.ts +34 -0
  322. package/src/models/DeleteInstanceResponse.ts +40 -0
  323. package/src/models/DeleteInstanceResponseBody.ts +102 -0
  324. package/src/models/DisableHiveAccessRequest.ts +34 -0
  325. package/src/models/DisableHiveAccessResponse.ts +40 -0
  326. package/src/models/DisableHiveAccessResponseBody.ts +120 -0
  327. package/src/models/DisableSslresponse.ts +40 -0
  328. package/src/models/DisableSslresponseBody.ts +66 -0
  329. package/src/models/EnableHiveAccessRequest.ts +34 -0
  330. package/src/models/EnableHiveAccessResponse.ts +40 -0
  331. package/src/models/EnableHiveAccessResponseBody.ts +102 -0
  332. package/src/models/EnableSslresponse.ts +40 -0
  333. package/src/models/EnableSslresponseBody.ts +66 -0
  334. package/src/models/GetCertificateAttributeResponse.ts +40 -0
  335. package/src/models/GetCertificateAttributeResponseBody.ts +106 -0
  336. package/src/models/GetInstanceResponse.ts +40 -0
  337. package/src/models/GetInstanceResponseBody.ts +883 -0
  338. package/src/models/GetRootCertificateResponse.ts +40 -0
  339. package/src/models/GetRootCertificateResponseBody.ts +66 -0
  340. package/src/models/GetWarehouseDetailResponse.ts +40 -0
  341. package/src/models/GetWarehouseDetailResponseBody.ts +273 -0
  342. package/src/models/GrantDatabasePermissionRequest.ts +44 -0
  343. package/src/models/GrantDatabasePermissionResponse.ts +40 -0
  344. package/src/models/GrantDatabasePermissionResponseBody.ts +69 -0
  345. package/src/models/GrantSchemaPermissionRequest.ts +51 -0
  346. package/src/models/GrantSchemaPermissionResponse.ts +40 -0
  347. package/src/models/GrantSchemaPermissionResponseBody.ts +69 -0
  348. package/src/models/GrantTablePermissionRequest.ts +65 -0
  349. package/src/models/GrantTablePermissionResponse.ts +40 -0
  350. package/src/models/GrantTablePermissionResponseBody.ts +69 -0
  351. package/src/models/ListBackupDataRequest.ts +53 -0
  352. package/src/models/ListBackupDataResponse.ts +40 -0
  353. package/src/models/ListBackupDataResponseBody.ts +264 -0
  354. package/src/models/ListDatabasesRequest.ts +31 -0
  355. package/src/models/ListDatabasesResponse.ts +40 -0
  356. package/src/models/ListDatabasesResponseBody.ts +116 -0
  357. package/src/models/ListInstancesRequest.ts +91 -0
  358. package/src/models/ListInstancesResponse.ts +40 -0
  359. package/src/models/ListInstancesResponseBody.ts +578 -0
  360. package/src/models/ListWarehousesResponse.ts +40 -0
  361. package/src/models/ListWarehousesResponseBody.ts +166 -0
  362. package/src/models/RebalanceHoloWarehouseRequest.ts +36 -0
  363. package/src/models/RebalanceHoloWarehouseResponse.ts +40 -0
  364. package/src/models/RebalanceHoloWarehouseResponseBody.ts +44 -0
  365. package/src/models/RenameHoloWarehouseRequest.ts +48 -0
  366. package/src/models/RenameHoloWarehouseResponse.ts +40 -0
  367. package/src/models/RenameHoloWarehouseResponseBody.ts +44 -0
  368. package/src/models/RenewInstanceRequest.ts +51 -0
  369. package/src/models/RenewInstanceResponse.ts +40 -0
  370. package/src/models/RenewInstanceResponseBody.ts +147 -0
  371. package/src/models/RenewSslcertificateResponse.ts +40 -0
  372. package/src/models/RenewSslcertificateResponseBody.ts +66 -0
  373. package/src/models/RestartHoloWarehouseRequest.ts +36 -0
  374. package/src/models/RestartHoloWarehouseResponse.ts +40 -0
  375. package/src/models/RestartHoloWarehouseResponseBody.ts +44 -0
  376. package/src/models/RestartInstanceResponse.ts +40 -0
  377. package/src/models/RestartInstanceResponseBody.ts +102 -0
  378. package/src/models/ResumeHoloWarehouseRequest.ts +36 -0
  379. package/src/models/ResumeHoloWarehouseResponse.ts +40 -0
  380. package/src/models/ResumeHoloWarehouseResponseBody.ts +44 -0
  381. package/src/models/ResumeInstanceResponse.ts +40 -0
  382. package/src/models/ResumeInstanceResponseBody.ts +84 -0
  383. package/src/models/RevokeDatabasePermissionRequest.ts +44 -0
  384. package/src/models/RevokeDatabasePermissionResponse.ts +40 -0
  385. package/src/models/RevokeDatabasePermissionResponseBody.ts +41 -0
  386. package/src/models/RevokeSchemaPermissionRequest.ts +51 -0
  387. package/src/models/RevokeSchemaPermissionResponse.ts +40 -0
  388. package/src/models/RevokeSchemaPermissionResponseBody.ts +41 -0
  389. package/src/models/RevokeTablePermissionRequest.ts +65 -0
  390. package/src/models/RevokeTablePermissionResponse.ts +40 -0
  391. package/src/models/RevokeTablePermissionResponseBody.ts +41 -0
  392. package/src/models/ScaleHoloWarehouseRequest.ts +55 -0
  393. package/src/models/ScaleHoloWarehouseResponse.ts +40 -0
  394. package/src/models/ScaleHoloWarehouseResponseBody.ts +44 -0
  395. package/src/models/ScaleInstanceRequest.ts +119 -0
  396. package/src/models/ScaleInstanceResponse.ts +40 -0
  397. package/src/models/ScaleInstanceResponseBody.ts +152 -0
  398. package/src/models/StopInstanceResponse.ts +40 -0
  399. package/src/models/StopInstanceResponseBody.ts +120 -0
  400. package/src/models/SuspendHoloWarehouseRequest.ts +36 -0
  401. package/src/models/SuspendHoloWarehouseResponse.ts +40 -0
  402. package/src/models/SuspendHoloWarehouseResponseBody.ts +44 -0
  403. package/src/models/UpdateInstanceNameRequest.ts +34 -0
  404. package/src/models/UpdateInstanceNameResponse.ts +40 -0
  405. package/src/models/UpdateInstanceNameResponseBody.ts +120 -0
  406. package/src/models/UpdateInstanceNetworkTypeRequest.ts +96 -0
  407. package/src/models/UpdateInstanceNetworkTypeResponse.ts +40 -0
  408. package/src/models/UpdateInstanceNetworkTypeResponseBody.ts +107 -0
  409. package/src/models/model.ts +116 -0
package/dist/client.d.ts CHANGED
@@ -1,3227 +1,49 @@
1
- /**
2
- */
3
- import * as $Util from '@alicloud/tea-util';
4
- import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
- import * as $tea from '@alicloud/tea-typescript';
6
- export declare class ChangeResourceGroupRequest extends $tea.Model {
7
- /**
8
- * @example
9
- * hgprecn-cn-zvp25ysv3006
10
- */
11
- instanceId?: string;
12
- /**
13
- * @example
14
- * rg-acfmxwerqwerasfd
15
- */
16
- newResourceGroupId?: string;
17
- static names(): {
18
- [key: string]: string;
19
- };
20
- static types(): {
21
- [key: string]: any;
22
- };
23
- constructor(map?: {
24
- [key: string]: any;
25
- });
26
- }
27
- export declare class ChangeResourceGroupResponseBody extends $tea.Model {
28
- /**
29
- * @example
30
- * true
31
- */
32
- data?: boolean;
33
- /**
34
- * @remarks
35
- * Id of the request
36
- *
37
- * @example
38
- * AB71198A-2DB1-511B-AE4D-690BAA97F076
39
- */
40
- requestId?: string;
41
- static names(): {
42
- [key: string]: string;
43
- };
44
- static types(): {
45
- [key: string]: any;
46
- };
47
- constructor(map?: {
48
- [key: string]: any;
49
- });
50
- }
51
- export declare class ChangeResourceGroupResponse extends $tea.Model {
52
- headers?: {
53
- [key: string]: string;
54
- };
55
- statusCode?: number;
56
- body?: ChangeResourceGroupResponseBody;
57
- static names(): {
58
- [key: string]: string;
59
- };
60
- static types(): {
61
- [key: string]: any;
62
- };
63
- constructor(map?: {
64
- [key: string]: any;
65
- });
66
- }
67
- export declare class CreateInstanceRequest extends $tea.Model {
68
- /**
69
- * @remarks
70
- * Specifies whether to enable auto-payment. Default value: true. Valid values:
71
- *
72
- * * true
73
- * * false
74
- *
75
- * > The default value is true. If the balance of your account is insufficient, you can set this parameter to false. In this case, an unpaid order is generated. You can log on to the User Center to pay for the order.
76
- *
77
- * @example
78
- * true
79
- */
80
- autoPay?: boolean;
81
- /**
82
- * @remarks
83
- * Specifies whether to enable monthly auto-renewal. Default value: false. Valid values:
84
- *
85
- * * true
86
- * * false
87
- *
88
- * @example
89
- * false
90
- */
91
- autoRenew?: boolean;
92
- /**
93
- * @remarks
94
- * The billing method of the instance. Valid values:
95
- *
96
- * * PrePaid: subscription
97
- * * PostPaid: pay-as-you-go
98
- *
99
- * > This parameter is invalid for shared instances. Shared instances have fixed specifications and are pay-as-you-go instances.
100
- *
101
- * This parameter is required.
102
- *
103
- * @example
104
- * PostPaid
105
- */
106
- chargeType?: string;
107
- /**
108
- * @remarks
109
- * The infrequent access (IA) storage space of the instance. Unit: GB.
110
- *
111
- * > This parameter is invalid for pay-as-you-go instances.
112
- *
113
- * @example
114
- * 500
115
- */
116
- coldStorageSize?: number;
117
- /**
118
- * @remarks
119
- * The instance specifications. Valid values:
120
- *
121
- * * 8-core 32 GB (number of compute nodes: 1)
122
- * * 16-core 64 GB (number of compute nodes: 1)
123
- * * 32-core 128 GB (number of compute nodes: 2)
124
- * * 64-core 256 GB (number of compute nodes: 4)
125
- * * 96-core 384 GB (number of compute nodes: 6)
126
- * * 128-core 512 GB (number of compute nodes: 8)
127
- * * Others
128
- *
129
- * >
130
- *
131
- * * Set this parameter to the number of cores.
132
- *
133
- * * If you want to set this parameter to specifications with more than 1,024 compute units (CUs), you must submit a ticket.
134
- *
135
- * * If you want to purchase a shared instance, you do not need to configure this parameter.
136
- *
137
- * * The specifications of 8-core 32 GB (number of compute nodes: 1) are for trial use only and cannot be used for production.
138
- *
139
- * @example
140
- * 64
141
- */
142
- cpu?: number;
143
- /**
144
- * @remarks
145
- * The validity period of the instance that you want to purchase. For example, you can specify a validity period of two months.
146
- *
147
- * > You do not need to configure this parameter for pay-as-you-go instances.
148
- *
149
- * @example
150
- * 2
151
- */
152
- duration?: number;
153
- enableServerlessComputing?: boolean;
154
- /**
155
- * @remarks
156
- * The number of gateways. Valid values: 2 to 50.
157
- *
158
- * > This parameter is required only for virtual warehouse instances.
159
- *
160
- * @example
161
- * 4
162
- */
163
- gatewayCount?: number;
164
- initialDatabases?: string;
165
- /**
166
- * @remarks
167
- * The name of the Hologres instance that you want to purchase. The name must be 2 to 64 characters in length.
168
- *
169
- * This parameter is required.
170
- *
171
- * @example
172
- * my_holo
173
- */
174
- instanceName?: string;
175
- /**
176
- * @remarks
177
- * The type of the instance. Valid values:
178
- *
179
- * * Standard: general-purpose instance
180
- * * Follower: read-only secondary instance
181
- * * Warehouse: virtual warehouse instance
182
- * * Shared: shared instance
183
- *
184
- * This parameter is required.
185
- *
186
- * @example
187
- * Standard
188
- */
189
- instanceType?: string;
190
- /**
191
- * @remarks
192
- * The ID of the primary instance. This parameter is required for read-only secondary instances.
193
- *
194
- * > The primary instance and secondary instances must meet the following requirements:
195
- *
196
- * * The primary instance is in the Running state.
197
- *
198
- * * The primary instance and secondary instances are deployed in the same region.
199
- *
200
- * * The primary instance and secondary instances are deployed in the same zone.
201
- *
202
- * * Less than 10 secondary instances are associated with the primary instance.
203
- *
204
- * * The primary and secondary instances belong to the same Alibaba Cloud account.
205
- *
206
- * @example
207
- * hgpostcn-cn-lbj3aworq112
208
- */
209
- leaderInstanceId?: string;
210
- /**
211
- * @remarks
212
- * The billing cycle. Valid values:
213
- *
214
- * * Month
215
- * * Hour
216
- *
217
- * >
218
- *
219
- * * This parameter can only be set to Month for subscription instances.
220
- *
221
- * * This parameter can only be set to Hour for pay-as-you-go instances.
222
- *
223
- * * By default, this parameter is set to Hour for shared instances.
224
- *
225
- * @example
226
- * Month
227
- */
228
- pricingCycle?: string;
229
- /**
230
- * @remarks
231
- * The ID of the region. You can go to the [OpenAPI Explorer](https://api.aliyun.com/product/Hologram) or the Usage notes section to view the ID of the region.
232
- *
233
- * This parameter is required.
234
- *
235
- * @example
236
- * cn-hangzhou
237
- */
238
- regionId?: string;
239
- /**
240
- * @remarks
241
- * The resource group. If you do not specify this parameter, the default resource group of the account is used.
242
- *
243
- * @example
244
- * ""
245
- */
246
- resourceGroupId?: string;
247
- /**
248
- * @remarks
249
- * The standard storage space of the instance. Unit: GB.
250
- *
251
- * > This parameter is invalid for pay-as-you-go instances.
252
- *
253
- * @example
254
- * 500
255
- */
256
- storageSize?: number;
257
- /**
258
- * @remarks
259
- * The ID of the vSwitch. The zone in which the vSwitch resides must be the same as the zone in which the instance resides.
260
- *
261
- * This parameter is required.
262
- *
263
- * @example
264
- * vsw-2vccsiymtxxxxxx
265
- */
266
- vSwitchId?: string;
267
- /**
268
- * @remarks
269
- * The ID of the virtual private cloud (VPC). The region in which the VPC resides must be the same as the region in which the Hologres instance resides.
270
- *
271
- * This parameter is required.
272
- *
273
- * @example
274
- * vpc-t4netc3y5xxxx
275
- */
276
- vpcId?: string;
277
- /**
278
- * @remarks
279
- * The ID of the zone. For more information about how to obtain the ID of the zone, see the Usage notes section.
280
- *
281
- * This parameter is required.
282
- *
283
- * @example
284
- * cn-hangzhou-h
285
- */
286
- zoneId?: string;
287
- static names(): {
288
- [key: string]: string;
289
- };
290
- static types(): {
291
- [key: string]: any;
292
- };
293
- constructor(map?: {
294
- [key: string]: any;
295
- });
296
- }
297
- export declare class CreateInstanceResponseBody extends $tea.Model {
298
- /**
299
- * @remarks
300
- * The returned data.
301
- */
302
- data?: CreateInstanceResponseBodyData;
303
- /**
304
- * @remarks
305
- * The error code returned.
306
- *
307
- * @example
308
- * null
309
- */
310
- errorCode?: string;
311
- /**
312
- * @remarks
313
- * The error message returned.
314
- *
315
- * @example
316
- * null
317
- */
318
- errorMessage?: string;
319
- /**
320
- * @remarks
321
- * The HTTP status code.
322
- *
323
- * @example
324
- * 200
325
- */
326
- httpStatusCode?: string;
327
- /**
328
- * @remarks
329
- * The ID of the request.
330
- *
331
- * @example
332
- * 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
333
- */
334
- requestId?: string;
335
- static names(): {
336
- [key: string]: string;
337
- };
338
- static types(): {
339
- [key: string]: any;
340
- };
341
- constructor(map?: {
342
- [key: string]: any;
343
- });
344
- }
345
- export declare class CreateInstanceResponse extends $tea.Model {
346
- headers?: {
347
- [key: string]: string;
348
- };
349
- statusCode?: number;
350
- body?: CreateInstanceResponseBody;
351
- static names(): {
352
- [key: string]: string;
353
- };
354
- static types(): {
355
- [key: string]: any;
356
- };
357
- constructor(map?: {
358
- [key: string]: any;
359
- });
360
- }
361
- export declare class DeleteInstanceRequest extends $tea.Model {
362
- /**
363
- * @remarks
364
- * The ID of the region in which the Hologres instance resides.
365
- *
366
- * @example
367
- * cn-hangzhou
368
- */
369
- regionId?: string;
370
- static names(): {
371
- [key: string]: string;
372
- };
373
- static types(): {
374
- [key: string]: any;
375
- };
376
- constructor(map?: {
377
- [key: string]: any;
378
- });
379
- }
380
- export declare class DeleteInstanceResponseBody extends $tea.Model {
381
- /**
382
- * @remarks
383
- * The returned result, which indicates whether the request was successful.
384
- *
385
- * Valid values:
386
- *
387
- * * true
388
- *
389
- * <!-- -->
390
- *
391
- * <!-- -->
392
- *
393
- * <!-- -->
394
- *
395
- * * false
396
- *
397
- * <!-- -->
398
- *
399
- * <!-- -->
400
- *
401
- * <!-- -->
402
- *
403
- * @example
404
- * true
405
- */
406
- data?: boolean;
407
- /**
408
- * @remarks
409
- * The error code returned.
410
- *
411
- * @example
412
- * null
413
- */
414
- errorCode?: string;
415
- /**
416
- * @remarks
417
- * The error message returned.
418
- *
419
- * @example
420
- * null
421
- */
422
- errorMessage?: string;
423
- /**
424
- * @remarks
425
- * The HTTP status Code
426
- *
427
- * @example
428
- * 200
429
- */
430
- httpStatusCode?: string;
431
- /**
432
- * @remarks
433
- * The ID of the request.
434
- *
435
- * @example
436
- * CB13FFDD-2DF8-5396-A848-2D6A31245B6D
437
- */
438
- requestId?: string;
439
- /**
440
- * @remarks
441
- * Indicates whether the call was successful.
442
- *
443
- * @example
444
- * true
445
- */
446
- success?: boolean;
447
- static names(): {
448
- [key: string]: string;
449
- };
450
- static types(): {
451
- [key: string]: any;
452
- };
453
- constructor(map?: {
454
- [key: string]: any;
455
- });
456
- }
457
- export declare class DeleteInstanceResponse extends $tea.Model {
458
- headers?: {
459
- [key: string]: string;
460
- };
461
- statusCode?: number;
462
- body?: DeleteInstanceResponseBody;
463
- static names(): {
464
- [key: string]: string;
465
- };
466
- static types(): {
467
- [key: string]: any;
468
- };
469
- constructor(map?: {
470
- [key: string]: any;
471
- });
472
- }
473
- export declare class DisableHiveAccessRequest extends $tea.Model {
474
- /**
475
- * @example
476
- * cn-beijing
477
- */
478
- regionId?: string;
479
- static names(): {
480
- [key: string]: string;
481
- };
482
- static types(): {
483
- [key: string]: any;
484
- };
485
- constructor(map?: {
486
- [key: string]: any;
487
- });
488
- }
489
- export declare class DisableHiveAccessResponseBody extends $tea.Model {
490
- /**
491
- * @example
492
- * true
493
- */
494
- data?: boolean;
495
- /**
496
- * @example
497
- * 404
498
- */
499
- errorCode?: string;
500
- /**
501
- * @example
502
- * Internal server error.
503
- */
504
- errorMessage?: string;
505
- /**
506
- * @example
507
- * 200
508
- */
509
- httpStatusCode?: string;
510
- /**
511
- * @remarks
512
- * Id of the request
513
- *
514
- * @example
515
- * 82B7A554-4D00-50DF-95D9-B59E7B4D5489
516
- */
517
- requestId?: string;
518
- /**
519
- * @example
520
- * true
521
- */
522
- success?: boolean;
523
- static names(): {
524
- [key: string]: string;
525
- };
526
- static types(): {
527
- [key: string]: any;
528
- };
529
- constructor(map?: {
530
- [key: string]: any;
531
- });
532
- }
533
- export declare class DisableHiveAccessResponse extends $tea.Model {
534
- headers?: {
535
- [key: string]: string;
536
- };
537
- statusCode?: number;
538
- body?: DisableHiveAccessResponseBody;
539
- static names(): {
540
- [key: string]: string;
541
- };
542
- static types(): {
543
- [key: string]: any;
544
- };
545
- constructor(map?: {
546
- [key: string]: any;
547
- });
548
- }
549
- export declare class EnableHiveAccessRequest extends $tea.Model {
550
- /**
551
- * @example
552
- * cn-hangzhou
553
- */
554
- regionId?: string;
555
- static names(): {
556
- [key: string]: string;
557
- };
558
- static types(): {
559
- [key: string]: any;
560
- };
561
- constructor(map?: {
562
- [key: string]: any;
563
- });
564
- }
565
- export declare class EnableHiveAccessResponseBody extends $tea.Model {
566
- /**
567
- * @example
568
- * true
569
- */
570
- data?: boolean;
571
- /**
572
- * @example
573
- * 404
574
- */
575
- errorCode?: string;
576
- /**
577
- * @example
578
- * Internal server error.
579
- */
580
- errorMessage?: string;
581
- /**
582
- * @example
583
- * 200
584
- */
585
- httpStatusCode?: string;
586
- /**
587
- * @remarks
588
- * Id of the request
589
- *
590
- * @example
591
- * EA8F0084-5831-5907-BB31-BD05D2617844
592
- */
593
- requestId?: string;
594
- /**
595
- * @example
596
- * true
597
- */
598
- success?: boolean;
599
- static names(): {
600
- [key: string]: string;
601
- };
602
- static types(): {
603
- [key: string]: any;
604
- };
605
- constructor(map?: {
606
- [key: string]: any;
607
- });
608
- }
609
- export declare class EnableHiveAccessResponse extends $tea.Model {
610
- headers?: {
611
- [key: string]: string;
612
- };
613
- statusCode?: number;
614
- body?: EnableHiveAccessResponseBody;
615
- static names(): {
616
- [key: string]: string;
617
- };
618
- static types(): {
619
- [key: string]: any;
620
- };
621
- constructor(map?: {
622
- [key: string]: any;
623
- });
624
- }
625
- export declare class GetInstanceResponseBody extends $tea.Model {
626
- /**
627
- * @remarks
628
- * The error code that is returned if the request failed.
629
- *
630
- * @example
631
- * 404
632
- */
633
- errorCode?: string;
634
- /**
635
- * @remarks
636
- * The error message.
637
- *
638
- * @example
639
- * Internal server error.
640
- */
641
- errorMessage?: string;
642
- /**
643
- * @remarks
644
- * The HTTP status code returned.
645
- *
646
- * @example
647
- * 200
648
- */
649
- httpStatusCode?: string;
650
- /**
651
- * @remarks
652
- * The information about the instance.
653
- */
654
- instance?: GetInstanceResponseBodyInstance;
655
- /**
656
- * @remarks
657
- * The request ID.
658
- *
659
- * @example
660
- * 865A02C2-B374-5DD4-9B34-0CA15DA1AEBD
661
- */
662
- requestId?: string;
663
- /**
664
- * @remarks
665
- * The request result, which indicates whether the request was successful.
666
- *
667
- * @example
668
- * true
669
- */
670
- success?: boolean;
671
- static names(): {
672
- [key: string]: string;
673
- };
674
- static types(): {
675
- [key: string]: any;
676
- };
677
- constructor(map?: {
678
- [key: string]: any;
679
- });
680
- }
681
- export declare class GetInstanceResponse extends $tea.Model {
682
- headers?: {
683
- [key: string]: string;
684
- };
685
- statusCode?: number;
686
- body?: GetInstanceResponseBody;
687
- static names(): {
688
- [key: string]: string;
689
- };
690
- static types(): {
691
- [key: string]: any;
692
- };
693
- constructor(map?: {
694
- [key: string]: any;
695
- });
696
- }
697
- export declare class GetWarehouseDetailResponseBody extends $tea.Model {
698
- /**
699
- * @remarks
700
- * The request ID.
701
- *
702
- * @example
703
- * D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
704
- */
705
- requestId?: string;
706
- /**
707
- * @remarks
708
- * The values returned.
709
- */
710
- warehouseDetail?: GetWarehouseDetailResponseBodyWarehouseDetail;
711
- static names(): {
712
- [key: string]: string;
713
- };
714
- static types(): {
715
- [key: string]: any;
716
- };
717
- constructor(map?: {
718
- [key: string]: any;
719
- });
720
- }
721
- export declare class GetWarehouseDetailResponse extends $tea.Model {
722
- headers?: {
723
- [key: string]: string;
724
- };
725
- statusCode?: number;
726
- body?: GetWarehouseDetailResponseBody;
727
- static names(): {
728
- [key: string]: string;
729
- };
730
- static types(): {
731
- [key: string]: any;
732
- };
733
- constructor(map?: {
734
- [key: string]: any;
735
- });
736
- }
737
- export declare class ListInstancesRequest extends $tea.Model {
738
- cmsInstanceType?: string;
739
- /**
740
- * @remarks
741
- * The ID of the resource group.
742
- *
743
- * @example
744
- * rg-acfmvscak73zmby
745
- */
746
- resourceGroupId?: string;
747
- /**
748
- * @remarks
749
- * The tags to add to the resource.
750
- */
751
- tag?: ListInstancesRequestTag[];
752
- static names(): {
753
- [key: string]: string;
754
- };
755
- static types(): {
756
- [key: string]: any;
757
- };
758
- constructor(map?: {
759
- [key: string]: any;
760
- });
761
- }
762
- export declare class ListInstancesResponseBody extends $tea.Model {
763
- /**
764
- * @remarks
765
- * The error code returned if the request failed.
766
- *
767
- * @example
768
- * 404
769
- */
770
- errorCode?: string;
771
- /**
772
- * @remarks
773
- * The error message returned if the request failed.
774
- *
775
- * @example
776
- * Internal server error.
777
- */
778
- errorMessage?: string;
779
- /**
780
- * @remarks
781
- * The HTTP status code.
782
- *
783
- * @example
784
- * 200
785
- */
786
- httpStatusCode?: string;
787
- /**
788
- * @remarks
789
- * The list of queried instances.
790
- */
791
- instanceList?: ListInstancesResponseBodyInstanceList[];
792
- /**
793
- * @remarks
794
- * The request ID.
795
- *
796
- * @example
797
- * D1303CD4-AA70-5998-8025-F55B22C50840
798
- */
799
- requestId?: string;
800
- /**
801
- * @remarks
802
- * Indicates whether the request was successful.
803
- *
804
- * @example
805
- * true
806
- */
807
- success?: string;
808
- static names(): {
809
- [key: string]: string;
810
- };
811
- static types(): {
812
- [key: string]: any;
813
- };
814
- constructor(map?: {
815
- [key: string]: any;
816
- });
817
- }
818
- export declare class ListInstancesResponse extends $tea.Model {
819
- headers?: {
820
- [key: string]: string;
821
- };
822
- statusCode?: number;
823
- body?: ListInstancesResponseBody;
824
- static names(): {
825
- [key: string]: string;
826
- };
827
- static types(): {
828
- [key: string]: any;
829
- };
830
- constructor(map?: {
831
- [key: string]: any;
832
- });
833
- }
834
- export declare class ListWarehousesResponseBody extends $tea.Model {
835
- /**
836
- * @remarks
837
- * The list of virtual warehouse instances.
838
- */
839
- warehouseList?: ListWarehousesResponseBodyWarehouseList[];
840
- /**
841
- * @remarks
842
- * The request ID.
843
- *
844
- * @example
845
- * 819A7F0F-2951-540F-BD94-6A41ECF0281F
846
- */
847
- requestId?: string;
848
- static names(): {
849
- [key: string]: string;
850
- };
851
- static types(): {
852
- [key: string]: any;
853
- };
854
- constructor(map?: {
855
- [key: string]: any;
856
- });
857
- }
858
- export declare class ListWarehousesResponse extends $tea.Model {
859
- headers?: {
860
- [key: string]: string;
861
- };
862
- statusCode?: number;
863
- body?: ListWarehousesResponseBody;
864
- static names(): {
865
- [key: string]: string;
866
- };
867
- static types(): {
868
- [key: string]: any;
869
- };
870
- constructor(map?: {
871
- [key: string]: any;
872
- });
873
- }
874
- export declare class RenewInstanceRequest extends $tea.Model {
875
- /**
876
- * @remarks
877
- * Specifies whether to enable monthly auto-renewal. The default value is false. Valid values:
878
- *
879
- * * true
880
- * * false
881
- *
882
- * > If you enable auto-renewal for an instance for which auto-renewal is enabled, an error is reported.
883
- *
884
- * @example
885
- * true
886
- */
887
- autoRenew?: boolean;
888
- /**
889
- * @remarks
890
- * The renewal duration. Unit: month.
891
- *
892
- * This parameter is required.
893
- *
894
- * @example
895
- * 2
896
- */
897
- duration?: number;
898
- static names(): {
899
- [key: string]: string;
900
- };
901
- static types(): {
902
- [key: string]: any;
903
- };
904
- constructor(map?: {
905
- [key: string]: any;
906
- });
907
- }
908
- export declare class RenewInstanceResponseBody extends $tea.Model {
909
- /**
910
- * @remarks
911
- * The returned data.
912
- */
913
- data?: RenewInstanceResponseBodyData;
914
- /**
915
- * @remarks
916
- * The error code returned.
917
- *
918
- * @example
919
- * null
920
- */
921
- errorCode?: string;
922
- /**
923
- * @remarks
924
- * The error message returned.
925
- *
926
- * @example
927
- * null
928
- */
929
- errorMessage?: string;
930
- /**
931
- * @remarks
932
- * The HTTP status code.
933
- *
934
- * @example
935
- * 200
936
- */
937
- httpStatusCode?: string;
938
- /**
939
- * @remarks
940
- * The ID of the request.
941
- *
942
- * @example
943
- * D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
944
- */
945
- requestId?: string;
946
- /**
947
- * @remarks
948
- * The request result, which indicates whether the request was successful.
949
- *
950
- * @example
951
- * false
952
- */
953
- success?: string;
954
- static names(): {
955
- [key: string]: string;
956
- };
957
- static types(): {
958
- [key: string]: any;
959
- };
960
- constructor(map?: {
961
- [key: string]: any;
962
- });
963
- }
964
- export declare class RenewInstanceResponse extends $tea.Model {
965
- headers?: {
966
- [key: string]: string;
967
- };
968
- statusCode?: number;
969
- body?: RenewInstanceResponseBody;
970
- static names(): {
971
- [key: string]: string;
972
- };
973
- static types(): {
974
- [key: string]: any;
975
- };
976
- constructor(map?: {
977
- [key: string]: any;
978
- });
979
- }
980
- export declare class RestartInstanceResponseBody extends $tea.Model {
981
- /**
982
- * @remarks
983
- * Indicates whether the operation was successful.
984
- *
985
- * Valid values:
986
- *
987
- * * true
988
- *
989
- * <!-- -->
990
- *
991
- * <!-- -->
992
- *
993
- * <!-- -->
994
- *
995
- * * false
996
- *
997
- * <!-- -->
998
- *
999
- * <!-- -->
1000
- *
1001
- * <!-- -->
1002
- *
1003
- * @example
1004
- * true
1005
- */
1006
- data?: boolean;
1007
- /**
1008
- * @remarks
1009
- * The error code returned if the request failed.
1010
- *
1011
- * @example
1012
- * 404
1013
- */
1014
- errorCode?: string;
1015
- /**
1016
- * @remarks
1017
- * The error message returned if the request failed.
1018
- *
1019
- * @example
1020
- * Internal server error.
1021
- */
1022
- errorMessage?: string;
1023
- /**
1024
- * @remarks
1025
- * The HTTP status code.
1026
- *
1027
- * @example
1028
- * 200
1029
- */
1030
- httpStatusCode?: string;
1031
- /**
1032
- * @remarks
1033
- * The request ID.
1034
- *
1035
- * @example
1036
- * 36291497-CDB0-53DC-8CD7-762E054F57A6
1037
- */
1038
- requestId?: string;
1039
- /**
1040
- * @remarks
1041
- * The request result, which indicates whether the request was successful.
1042
- *
1043
- * @example
1044
- * true
1045
- */
1046
- success?: boolean;
1047
- static names(): {
1048
- [key: string]: string;
1049
- };
1050
- static types(): {
1051
- [key: string]: any;
1052
- };
1053
- constructor(map?: {
1054
- [key: string]: any;
1055
- });
1056
- }
1057
- export declare class RestartInstanceResponse extends $tea.Model {
1058
- headers?: {
1059
- [key: string]: string;
1060
- };
1061
- statusCode?: number;
1062
- body?: RestartInstanceResponseBody;
1063
- static names(): {
1064
- [key: string]: string;
1065
- };
1066
- static types(): {
1067
- [key: string]: any;
1068
- };
1069
- constructor(map?: {
1070
- [key: string]: any;
1071
- });
1072
- }
1073
- export declare class ResumeInstanceResponseBody extends $tea.Model {
1074
- /**
1075
- * @remarks
1076
- * The returned result, which indicates whether the operation was successful.
1077
- *
1078
- * @example
1079
- * true
1080
- */
1081
- data?: boolean;
1082
- /**
1083
- * @remarks
1084
- * The error code returned if the request failed.
1085
- *
1086
- * @example
1087
- * 404
1088
- */
1089
- errorCode?: string;
1090
- /**
1091
- * @remarks
1092
- * The error message returned if the request failed.
1093
- *
1094
- * @example
1095
- * Internal server error.
1096
- */
1097
- errorMessage?: string;
1098
- /**
1099
- * @remarks
1100
- * The HTTP status code.
1101
- *
1102
- * @example
1103
- * 200
1104
- */
1105
- httpStatusCode?: string;
1106
- /**
1107
- * @remarks
1108
- * The request ID.
1109
- *
1110
- * @example
1111
- * D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
1112
- */
1113
- requestId?: string;
1114
- /**
1115
- * @remarks
1116
- * The request result, which indicates whether the request was successful.
1117
- *
1118
- * @example
1119
- * true
1120
- */
1121
- success?: boolean;
1122
- static names(): {
1123
- [key: string]: string;
1124
- };
1125
- static types(): {
1126
- [key: string]: any;
1127
- };
1128
- constructor(map?: {
1129
- [key: string]: any;
1130
- });
1131
- }
1132
- export declare class ResumeInstanceResponse extends $tea.Model {
1133
- headers?: {
1134
- [key: string]: string;
1135
- };
1136
- statusCode?: number;
1137
- body?: ResumeInstanceResponseBody;
1138
- static names(): {
1139
- [key: string]: string;
1140
- };
1141
- static types(): {
1142
- [key: string]: any;
1143
- };
1144
- constructor(map?: {
1145
- [key: string]: any;
1146
- });
1147
- }
1148
- export declare class ScaleInstanceRequest extends $tea.Model {
1149
- /**
1150
- * @remarks
1151
- * The infrequent access (IA) storage space of the instance. Unit: GB.
1152
- *
1153
- * > Ignore this parameter for pay-as-you-go instances.
1154
- *
1155
- * @example
1156
- * 1000G
1157
- */
1158
- coldStorageSize?: number;
1159
- /**
1160
- * @remarks
1161
- * The specifications of the instance. Valid values:
1162
- *
1163
- * * 8-core 32GB (number of compute nodes: 1)
1164
- * * 16-core 64GB (number of compute nodes: 1)
1165
- * * 32-core 128GB (number of compute nodes: 2)
1166
- * * 64-core 256GB (number of compute nodes: 4)
1167
- * * 96-core 384GB (number of compute nodes: 6)
1168
- * * 128-core 512GB (number of compute nodes: 8)
1169
- * * Others
1170
- *
1171
- * >
1172
- *
1173
- * * Set this parameter to the number of cores.
1174
- *
1175
- * * If you want to set this parameter to specifications with more than 1,024 compute units (CUs), you must submit a ticket.
1176
- *
1177
- * * This parameter is invalid for Hologres Shared Cluster instances.
1178
- *
1179
- * * The specifications of 8-core 32GB (number of compute nodes: 1) are for trial use only and cannot be used for production.
1180
- *
1181
- * @example
1182
- * 128
1183
- */
1184
- cpu?: number;
1185
- enableServerlessComputing?: boolean;
1186
- /**
1187
- * @remarks
1188
- * The number of gateways. Valid values: 2 to 50.
1189
- *
1190
- * > This parameter is required only for virtual warehouse instances.
1191
- *
1192
- * @example
1193
- * 4
1194
- */
1195
- gatewayCount?: number;
1196
- /**
1197
- * @remarks
1198
- * The specification change type. Valid values:
1199
- *
1200
- * * UPGRADE
1201
- * * DOWNGRADE
1202
- *
1203
- * >
1204
- *
1205
- * * If you set this parameter to UPGRADE, the new specifications must be higher than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.
1206
- *
1207
- * * If you set this parameter to DOWNGRADE, the new specifications must be lower than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.
1208
- *
1209
- * This parameter is required.
1210
- *
1211
- * @example
1212
- * UPGRADE
1213
- */
1214
- scaleType?: string;
1215
- /**
1216
- * @remarks
1217
- * The standard storage space of the instance. Unit: GB.
1218
- *
1219
- * > Ignore this parameter for pay-as-you-go instances.
1220
- *
1221
- * @example
1222
- * 1000G
1223
- */
1224
- storageSize?: number;
1225
- static names(): {
1226
- [key: string]: string;
1227
- };
1228
- static types(): {
1229
- [key: string]: any;
1230
- };
1231
- constructor(map?: {
1232
- [key: string]: any;
1233
- });
1234
- }
1235
- export declare class ScaleInstanceResponseBody extends $tea.Model {
1236
- /**
1237
- * @remarks
1238
- * The returned data.
1239
- */
1240
- data?: ScaleInstanceResponseBodyData;
1241
- /**
1242
- * @remarks
1243
- * The error code returned.
1244
- *
1245
- * @example
1246
- * null
1247
- */
1248
- errorCode?: string;
1249
- /**
1250
- * @remarks
1251
- * The error message returned.
1252
- *
1253
- * @example
1254
- * null
1255
- */
1256
- errorMessage?: string;
1257
- /**
1258
- * @remarks
1259
- * The HTTP status code.
1260
- *
1261
- * @example
1262
- * 200
1263
- */
1264
- httpStatusCode?: string;
1265
- /**
1266
- * @remarks
1267
- * The ID of the request.
1268
- *
1269
- * @example
1270
- * D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
1271
- */
1272
- requestId?: string;
1273
- static names(): {
1274
- [key: string]: string;
1275
- };
1276
- static types(): {
1277
- [key: string]: any;
1278
- };
1279
- constructor(map?: {
1280
- [key: string]: any;
1281
- });
1282
- }
1283
- export declare class ScaleInstanceResponse extends $tea.Model {
1284
- headers?: {
1285
- [key: string]: string;
1286
- };
1287
- statusCode?: number;
1288
- body?: ScaleInstanceResponseBody;
1289
- static names(): {
1290
- [key: string]: string;
1291
- };
1292
- static types(): {
1293
- [key: string]: any;
1294
- };
1295
- constructor(map?: {
1296
- [key: string]: any;
1297
- });
1298
- }
1299
- export declare class StopInstanceResponseBody extends $tea.Model {
1300
- /**
1301
- * @remarks
1302
- * The returned result, which indicates whether the operation was successful.
1303
- *
1304
- * Valid values:
1305
- *
1306
- * * true
1307
- *
1308
- * <!-- -->
1309
- *
1310
- * <!-- -->
1311
- *
1312
- * <!-- -->
1313
- *
1314
- * * false
1315
- *
1316
- * <!-- -->
1317
- *
1318
- * <!-- -->
1319
- *
1320
- * <!-- -->
1321
- *
1322
- * @example
1323
- * true
1324
- */
1325
- data?: boolean;
1326
- /**
1327
- * @remarks
1328
- * The error code returned if the request failed.
1329
- *
1330
- * @example
1331
- * 404
1332
- */
1333
- errorCode?: string;
1334
- /**
1335
- * @remarks
1336
- * The error message returned if the request failed.
1337
- *
1338
- * @example
1339
- * Internal server error.
1340
- */
1341
- errorMessage?: string;
1342
- /**
1343
- * @remarks
1344
- * The HTTP status code.
1345
- *
1346
- * @example
1347
- * 200
1348
- */
1349
- httpStatusCode?: string;
1350
- /**
1351
- * @remarks
1352
- * The request ID.
1353
- *
1354
- * @example
1355
- * 2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A
1356
- */
1357
- requestId?: string;
1358
- /**
1359
- * @remarks
1360
- * The request result, which indicates whether the request was successful.
1361
- *
1362
- * Valid values:
1363
- *
1364
- * * true
1365
- *
1366
- * <!-- -->
1367
- *
1368
- * <!-- -->
1369
- *
1370
- * <!-- -->
1371
- *
1372
- * * false
1373
- *
1374
- * <!-- -->
1375
- *
1376
- * <!-- -->
1377
- *
1378
- * <!-- -->
1379
- *
1380
- * @example
1381
- * true
1382
- */
1383
- success?: boolean;
1384
- static names(): {
1385
- [key: string]: string;
1386
- };
1387
- static types(): {
1388
- [key: string]: any;
1389
- };
1390
- constructor(map?: {
1391
- [key: string]: any;
1392
- });
1393
- }
1394
- export declare class StopInstanceResponse extends $tea.Model {
1395
- headers?: {
1396
- [key: string]: string;
1397
- };
1398
- statusCode?: number;
1399
- body?: StopInstanceResponseBody;
1400
- static names(): {
1401
- [key: string]: string;
1402
- };
1403
- static types(): {
1404
- [key: string]: any;
1405
- };
1406
- constructor(map?: {
1407
- [key: string]: any;
1408
- });
1409
- }
1410
- export declare class UpdateInstanceNameRequest extends $tea.Model {
1411
- /**
1412
- * @remarks
1413
- * The new name of the instance.
1414
- *
1415
- * @example
1416
- * new_name
1417
- */
1418
- instanceName?: string;
1419
- static names(): {
1420
- [key: string]: string;
1421
- };
1422
- static types(): {
1423
- [key: string]: any;
1424
- };
1425
- constructor(map?: {
1426
- [key: string]: any;
1427
- });
1428
- }
1429
- export declare class UpdateInstanceNameResponseBody extends $tea.Model {
1430
- /**
1431
- * @remarks
1432
- * The returned result, which indicates whether the operation was successful.
1433
- *
1434
- * Valid values:
1435
- *
1436
- * * true
1437
- *
1438
- * <!-- -->
1439
- *
1440
- * <!-- -->
1441
- *
1442
- * <!-- -->
1443
- *
1444
- * * false
1445
- *
1446
- * <!-- -->
1447
- *
1448
- * <!-- -->
1449
- *
1450
- * <!-- -->
1451
- *
1452
- * @example
1453
- * true
1454
- */
1455
- data?: boolean;
1456
- /**
1457
- * @remarks
1458
- * The error code returned if the request failed.
1459
- *
1460
- * @example
1461
- * 404
1462
- */
1463
- errorCode?: string;
1464
- /**
1465
- * @remarks
1466
- * The error message returned if the request failed.
1467
- *
1468
- * @example
1469
- * Internal server error.
1470
- */
1471
- errorMessage?: string;
1472
- /**
1473
- * @remarks
1474
- * The HTTP status code.
1475
- *
1476
- * @example
1477
- * 200
1478
- */
1479
- httpStatusCode?: string;
1480
- /**
1481
- * @remarks
1482
- * The request ID.
1483
- *
1484
- * @example
1485
- * C6B55032-D41A-5FE0-9C07-8BD81C88422E
1486
- */
1487
- requestId?: string;
1488
- /**
1489
- * @remarks
1490
- * The request result, which indicates whether the request was successful.
1491
- *
1492
- * Valid values:
1493
- *
1494
- * * true
1495
- *
1496
- * <!-- -->
1497
- *
1498
- * <!-- -->
1499
- *
1500
- * <!-- -->
1501
- *
1502
- * * false
1503
- *
1504
- * <!-- -->
1505
- *
1506
- * <!-- -->
1507
- *
1508
- * <!-- -->
1509
- *
1510
- * @example
1511
- * true
1512
- */
1513
- success?: boolean;
1514
- static names(): {
1515
- [key: string]: string;
1516
- };
1517
- static types(): {
1518
- [key: string]: any;
1519
- };
1520
- constructor(map?: {
1521
- [key: string]: any;
1522
- });
1523
- }
1524
- export declare class UpdateInstanceNameResponse extends $tea.Model {
1525
- headers?: {
1526
- [key: string]: string;
1527
- };
1528
- statusCode?: number;
1529
- body?: UpdateInstanceNameResponseBody;
1530
- static names(): {
1531
- [key: string]: string;
1532
- };
1533
- static types(): {
1534
- [key: string]: any;
1535
- };
1536
- constructor(map?: {
1537
- [key: string]: any;
1538
- });
1539
- }
1540
- export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
1541
- /**
1542
- * @remarks
1543
- * Specifies whether to change the network type from AnyTunnel to SingleTunnel. This parameter is invalid for new instances. For new instances, this parameter is set to null by default.
1544
- *
1545
- * Valid values:
1546
- *
1547
- * * others/null
1548
- *
1549
- * <!-- -->
1550
- *
1551
- * <!-- -->
1552
- *
1553
- * <!-- -->
1554
- *
1555
- * * true
1556
- *
1557
- * <!-- -->
1558
- *
1559
- * <!-- -->
1560
- *
1561
- * <!-- -->
1562
- *
1563
- * @example
1564
- * true
1565
- */
1566
- anyTunnelToSingleTunnel?: string;
1567
- /**
1568
- * @remarks
1569
- * A list of network types that you want to enable. The list of enabled network types is randomly ordered. For example, the Internet, internal network, and VPCSingleTunnel network types are enabled. If you want to disable the Internet type, set this parameter to Intranet,VPCSingleTunnel.
1570
- *
1571
- * @example
1572
- * Internet,VPCSingleTunnel
1573
- */
1574
- networkTypes?: string;
1575
- /**
1576
- * @remarks
1577
- * The vSwitch ID.
1578
- *
1579
- * @example
1580
- * vsw-2vccsiymtqr9aavew0vo3
1581
- */
1582
- vSwitchId?: string;
1583
- /**
1584
- * @remarks
1585
- * The ID of the VPC to which the instance belongs.
1586
- *
1587
- * @example
1588
- * vpc-t4netc3y5etlondfb5ra7
1589
- */
1590
- vpcId?: string;
1591
- /**
1592
- * @remarks
1593
- * The owner ID of the VPC, which is the ID of the Alibaba Cloud account.
1594
- *
1595
- * @example
1596
- * 1999365732646672
1597
- */
1598
- vpcOwnerId?: string;
1599
- /**
1600
- * @remarks
1601
- * The region ID of the VPC.
1602
- *
1603
- * @example
1604
- * cn-hangzhou
1605
- */
1606
- vpcRegionId?: string;
1607
- static names(): {
1608
- [key: string]: string;
1609
- };
1610
- static types(): {
1611
- [key: string]: any;
1612
- };
1613
- constructor(map?: {
1614
- [key: string]: any;
1615
- });
1616
- }
1617
- export declare class UpdateInstanceNetworkTypeResponseBody extends $tea.Model {
1618
- /**
1619
- * @remarks
1620
- * The returned result, which indicates whether the operation was successful.
1621
- *
1622
- * Valid values:
1623
- *
1624
- * * true
1625
- *
1626
- * <!-- -->
1627
- *
1628
- * <!-- -->
1629
- *
1630
- * <!-- -->
1631
- *
1632
- * * false
1633
- *
1634
- * <!-- -->
1635
- *
1636
- * <!-- -->
1637
- *
1638
- * <!-- -->
1639
- *
1640
- * @example
1641
- * true
1642
- */
1643
- data?: string;
1644
- /**
1645
- * @remarks
1646
- * The error code returned if the request failed.
1647
- *
1648
- * @example
1649
- * 404
1650
- */
1651
- errorCode?: string;
1652
- /**
1653
- * @remarks
1654
- * The error message returned if the request failed.
1655
- *
1656
- * @example
1657
- * Internal server error.
1658
- */
1659
- errorMessage?: string;
1660
- /**
1661
- * @remarks
1662
- * The HTTP status code.
1663
- *
1664
- * @example
1665
- * 200
1666
- */
1667
- httpStatusCode?: string;
1668
- /**
1669
- * @remarks
1670
- * The request ID.
1671
- *
1672
- * @example
1673
- * 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
1674
- */
1675
- requestId?: string;
1676
- /**
1677
- * @remarks
1678
- * Indicates whether the request was successful.
1679
- *
1680
- * Valid values:
1681
- *
1682
- * * true
1683
- *
1684
- * <!-- -->
1685
- *
1686
- * <!-- -->
1687
- *
1688
- * <!-- -->
1689
- *
1690
- * * false
1691
- *
1692
- * <!-- -->
1693
- *
1694
- * <!-- -->
1695
- *
1696
- * <!-- -->
1697
- *
1698
- * @example
1699
- * true
1700
- */
1701
- success?: boolean;
1702
- static names(): {
1703
- [key: string]: string;
1704
- };
1705
- static types(): {
1706
- [key: string]: any;
1707
- };
1708
- constructor(map?: {
1709
- [key: string]: any;
1710
- });
1711
- }
1712
- export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
1713
- headers?: {
1714
- [key: string]: string;
1715
- };
1716
- statusCode?: number;
1717
- body?: UpdateInstanceNetworkTypeResponseBody;
1718
- static names(): {
1719
- [key: string]: string;
1720
- };
1721
- static types(): {
1722
- [key: string]: any;
1723
- };
1724
- constructor(map?: {
1725
- [key: string]: any;
1726
- });
1727
- }
1728
- export declare class CreateInstanceResponseBodyData extends $tea.Model {
1729
- /**
1730
- * @remarks
1731
- * The error code returned.
1732
- *
1733
- * @example
1734
- * InvalidVpcOrVSwitch.NotAvailable
1735
- */
1736
- code?: string;
1737
- /**
1738
- * @remarks
1739
- * The instance ID.
1740
- *
1741
- * @example
1742
- * hgpostcn-cn-xxxxxx
1743
- */
1744
- instanceId?: string;
1745
- /**
1746
- * @remarks
1747
- * The error details.
1748
- */
1749
- message?: string;
1750
- /**
1751
- * @remarks
1752
- * The order ID.
1753
- *
1754
- * @example
1755
- * 217523224780172
1756
- */
1757
- orderId?: string;
1758
- /**
1759
- * @remarks
1760
- * Indicates whether the instance was created.
1761
- *
1762
- * * true
1763
- * * false
1764
- *
1765
- * @example
1766
- * true
1767
- */
1768
- success?: string;
1769
- static names(): {
1770
- [key: string]: string;
1771
- };
1772
- static types(): {
1773
- [key: string]: any;
1774
- };
1775
- constructor(map?: {
1776
- [key: string]: any;
1777
- });
1778
- }
1779
- export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model {
1780
- /**
1781
- * @remarks
1782
- * The endpoint. This parameter is returned if both the AnyTunnel and SingleTunnel modes are enabled for an instance, and the instance is switched from the AnyTunnel mode to the SingleTunnel mode. In this case, two endpoints are returned.
1783
- *
1784
- * @example
1785
- * hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80
1786
- */
1787
- alternativeEndpoints?: string;
1788
- /**
1789
- * @remarks
1790
- * Indicates whether the network is enabled.
1791
- *
1792
- * Valid values:
1793
- *
1794
- * * true
1795
- *
1796
- * <!-- -->
1797
- *
1798
- * <!-- -->
1799
- *
1800
- * <!-- -->
1801
- *
1802
- * * false
1803
- *
1804
- * <!-- -->
1805
- *
1806
- * <!-- -->
1807
- *
1808
- * <!-- -->
1809
- *
1810
- * @example
1811
- * true
1812
- */
1813
- enabled?: boolean;
1814
- /**
1815
- * @remarks
1816
- * The endpoint.
1817
- *
1818
- * @example
1819
- * hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80
1820
- */
1821
- endpoint?: string;
1822
- /**
1823
- * @remarks
1824
- * The network type.
1825
- *
1826
- * Valid values:
1827
- *
1828
- * * VPCSingleTunnel
1829
- *
1830
- * <!-- -->
1831
- *
1832
- * :
1833
- *
1834
- * <!-- -->
1835
- *
1836
- * virtual private cloud (VPC)
1837
- *
1838
- * <!-- -->
1839
- *
1840
- * .
1841
- *
1842
- * * Intranet
1843
- *
1844
- * <!-- -->
1845
- *
1846
- * :
1847
- *
1848
- * <!-- -->
1849
- *
1850
- * internal network
1851
- *
1852
- * <!-- -->
1853
- *
1854
- * .
1855
- *
1856
- * * VPCAnyTunnel
1857
- *
1858
- * <!-- -->
1859
- *
1860
- * :
1861
- *
1862
- * <!-- -->
1863
- *
1864
- * not supported by new instances
1865
- *
1866
- * <!-- -->
1867
- *
1868
- * * Internet
1869
- *
1870
- * <!-- -->
1871
- *
1872
- * :
1873
- *
1874
- * <!-- -->
1875
- *
1876
- * Internet
1877
- *
1878
- * <!-- -->
1879
- *
1880
- * .
1881
- *
1882
- * @example
1883
- * Internet
1884
- */
1885
- type?: string;
1886
- /**
1887
- * @remarks
1888
- * The ID of the vSwitch.
1889
- *
1890
- * @example
1891
- * vsw-bp1jqwp2ys6kp7tc9t983
1892
- */
1893
- vSwitchId?: string;
1894
- /**
1895
- * @remarks
1896
- * The ID of the VPC to which the instance belongs.
1897
- *
1898
- * @example
1899
- * vpc-uf66jjber3hgvwhki3wna
1900
- */
1901
- vpcId?: string;
1902
- /**
1903
- * @remarks
1904
- * The ID of the instance that is deployed in the VPC.
1905
- *
1906
- * @example
1907
- * hgprecn-cn-uqm362o1b001-frontend-st
1908
- */
1909
- vpcInstanceId?: string;
1910
- static names(): {
1911
- [key: string]: string;
1912
- };
1913
- static types(): {
1914
- [key: string]: any;
1915
- };
1916
- constructor(map?: {
1917
- [key: string]: any;
1918
- });
1919
- }
1920
- export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
1921
- /**
1922
- * @remarks
1923
- * The key of tag N.
1924
- *
1925
- * @example
1926
- * tag
1927
- */
1928
- key?: string;
1929
- /**
1930
- * @remarks
1931
- * The value of tag N.
1932
- *
1933
- * @example
1934
- * value
1935
- */
1936
- value?: string;
1937
- static names(): {
1938
- [key: string]: string;
1939
- };
1940
- static types(): {
1941
- [key: string]: any;
1942
- };
1943
- constructor(map?: {
1944
- [key: string]: any;
1945
- });
1946
- }
1947
- export declare class GetInstanceResponseBodyInstance extends $tea.Model {
1948
- /**
1949
- * @remarks
1950
- * Indicates whether auto-renewal is enabled.
1951
- *
1952
- * Valid values:
1953
- *
1954
- * * true
1955
- *
1956
- * <!-- -->
1957
- *
1958
- * <!-- -->
1959
- *
1960
- * <!-- -->
1961
- *
1962
- * * false
1963
- *
1964
- * <!-- -->
1965
- *
1966
- * <!-- -->
1967
- *
1968
- * <!-- -->
1969
- *
1970
- * @example
1971
- * true
1972
- */
1973
- autoRenewal?: string;
1974
- /**
1975
- * @remarks
1976
- * The cold storage capacity of the instance. Unit: GB. Standard SSD is used for hot storage, and HDD is used for cold storage.
1977
- *
1978
- * @example
1979
- * 800
1980
- */
1981
- coldStorage?: number;
1982
- /**
1983
- * @remarks
1984
- * The commodity code.
1985
- *
1986
- * Valid values:
1987
- *
1988
- * * hologram_maxcomputeAccelerate_public_cn
1989
- *
1990
- * <!-- -->
1991
- *
1992
- * :
1993
- *
1994
- * <!-- -->
1995
- *
1996
- * China site/Lakehouse Acceleration Edition
1997
- *
1998
- * <!-- -->
1999
- *
2000
- * .
2001
- *
2002
- * * hologram_combo_public_cn
2003
- *
2004
- * <!-- -->
2005
- *
2006
- * :
2007
- *
2008
- * <!-- -->
2009
- *
2010
- * China site/Subscription
2011
- *
2012
- * <!-- -->
2013
- *
2014
- * .
2015
- *
2016
- * * hologram_prepay_public_intl
2017
- *
2018
- * <!-- -->
2019
- *
2020
- * :
2021
- *
2022
- * <!-- -->
2023
- *
2024
- * International site/Subscription
2025
- *
2026
- * <!-- -->
2027
- *
2028
- * .
2029
- *
2030
- * * hologram_storage_dp_cn
2031
- *
2032
- * <!-- -->
2033
- *
2034
- * :
2035
- *
2036
- * <!-- -->
2037
- *
2038
- * China site/Storage plan
2039
- *
2040
- * <!-- -->
2041
- *
2042
- * .
2043
- *
2044
- * * hologram_postpay_public_cn
2045
- *
2046
- * <!-- -->
2047
- *
2048
- * :
2049
- *
2050
- * <!-- -->
2051
- *
2052
- * China site/Pay-as-you-go
2053
- *
2054
- * <!-- -->
2055
- *
2056
- * .
2057
- *
2058
- * * hologram_postpay_public_intl
2059
- *
2060
- * <!-- -->
2061
- *
2062
- * :
2063
- *
2064
- * <!-- -->
2065
- *
2066
- * International site/Pay-as-you-go
2067
- *
2068
- * <!-- -->
2069
- *
2070
- * * hologram_maxcomputeAccelerate_public_intl
2071
- *
2072
- * <!-- -->
2073
- *
2074
- * :
2075
- *
2076
- * <!-- -->
2077
- *
2078
- * International site/Lakehouse Acceleration Edition
2079
- *
2080
- * <!-- -->
2081
- *
2082
- * .
2083
- *
2084
- * * hologram_cu_dp_cn
2085
- *
2086
- * <!-- -->
2087
- *
2088
- * :
2089
- *
2090
- * <!-- -->
2091
- *
2092
- * China site/Compute plan
2093
- *
2094
- * <!-- -->
2095
- *
2096
- * @example
2097
- * hologram_combo_public_cn
2098
- */
2099
- commodityCode?: string;
2100
- /**
2101
- * @remarks
2102
- * The number of compute nodes. In a typical configuration, a node has 16 CPU cores and 32 GB of memory.
2103
- *
2104
- * @example
2105
- * 2
2106
- */
2107
- computeNodeCount?: number;
2108
- /**
2109
- * @remarks
2110
- * The number of CPU cores.
2111
- *
2112
- * @example
2113
- * 32
2114
- */
2115
- cpu?: number;
2116
- /**
2117
- * @remarks
2118
- * The time when the instance was created.
2119
- *
2120
- * @example
2121
- * 2021-02-03T13:06:06Z
2122
- */
2123
- creationTime?: string;
2124
- /**
2125
- * @remarks
2126
- * The amount of data that can be stored in the disk of the Standard storage class. Unit: GB.
2127
- *
2128
- * @example
2129
- * 500
2130
- */
2131
- disk?: string;
2132
- /**
2133
- * @remarks
2134
- * Indicates whether data lake acceleration is enabled.
2135
- *
2136
- * @example
2137
- * true
2138
- */
2139
- enableHiveAccess?: string;
2140
- enableServerless?: boolean;
2141
- /**
2142
- * @remarks
2143
- * The list of endpoints.
2144
- */
2145
- endpoints?: GetInstanceResponseBodyInstanceEndpoints[];
2146
- /**
2147
- * @remarks
2148
- * The expiration time. This parameter is invalid for pay-as-you-go instances.
2149
- *
2150
- * @example
2151
- * 2021-02-03T13:06:06Z
2152
- */
2153
- expirationTime?: string;
2154
- /**
2155
- * @remarks
2156
- * The number of gateway nodes.
2157
- *
2158
- * @example
2159
- * 2
2160
- */
2161
- gatewayCount?: number;
2162
- /**
2163
- * @remarks
2164
- * The number of CPU cores of the gateway. Unit: core.
2165
- *
2166
- * @example
2167
- * 4
2168
- */
2169
- gatewayCpu?: number;
2170
- /**
2171
- * @remarks
2172
- * The size of memory resources of the gateway. Unit: GB.
2173
- *
2174
- * @example
2175
- * 16
2176
- */
2177
- gatewayMemory?: number;
2178
- /**
2179
- * @remarks
2180
- * The billing method of the instance.
2181
- *
2182
- * Valid values:
2183
- *
2184
- * * PostPaid
2185
- *
2186
- * <!-- -->
2187
- *
2188
- * :
2189
- *
2190
- * <!-- -->
2191
- *
2192
- * pay-as-you-go
2193
- *
2194
- * <!-- -->
2195
- *
2196
- * .
2197
- *
2198
- * * PrePaid
2199
- *
2200
- * <!-- -->
2201
- *
2202
- * :
2203
- *
2204
- * <!-- -->
2205
- *
2206
- * subscription
2207
- *
2208
- * <!-- -->
2209
- *
2210
- * .
2211
- *
2212
- * @example
2213
- * PrePaid
2214
- */
2215
- instanceChargeType?: string;
2216
- /**
2217
- * @remarks
2218
- * The instance ID.
2219
- *
2220
- * @example
2221
- * hgpostcn-cn-tl32s6cgw00b
2222
- */
2223
- instanceId?: string;
2224
- /**
2225
- * @remarks
2226
- * The instance name. The instance name must be 2 to 64 characters in length.
2227
- *
2228
- * @example
2229
- * test
2230
- */
2231
- instanceName?: string;
2232
- /**
2233
- * @remarks
2234
- * The owner of the instance.
2235
- *
2236
- * @example
2237
- * 12345678900000
2238
- */
2239
- instanceOwner?: string;
2240
- /**
2241
- * @remarks
2242
- * The status of the instance.
2243
- *
2244
- * Valid values:
2245
- *
2246
- * * Creating
2247
- *
2248
- * <!-- -->
2249
- *
2250
- * <!-- -->
2251
- *
2252
- * <!-- -->
2253
- *
2254
- * * Running
2255
- *
2256
- * <!-- -->
2257
- *
2258
- * <!-- -->
2259
- *
2260
- * <!-- -->
2261
- *
2262
- * * Suspended
2263
- *
2264
- * <!-- -->
2265
- *
2266
- * <!-- -->
2267
- *
2268
- * <!-- -->
2269
- *
2270
- * * Allocating
2271
- *
2272
- * <!-- -->
2273
- *
2274
- * <!-- -->
2275
- *
2276
- * <!-- -->
2277
- *
2278
- * @example
2279
- * Running
2280
- */
2281
- instanceStatus?: string;
2282
- /**
2283
- * @remarks
2284
- * The type of the instance.
2285
- *
2286
- * Valid values:
2287
- *
2288
- * * Follower
2289
- *
2290
- * <!-- -->
2291
- *
2292
- * :
2293
- *
2294
- * <!-- -->
2295
- *
2296
- * read-only secondary instance
2297
- *
2298
- * <!-- -->
2299
- *
2300
- * .
2301
- *
2302
- * * Standard
2303
- *
2304
- * <!-- -->
2305
- *
2306
- * :
2307
- *
2308
- * <!-- -->
2309
- *
2310
- * normal instance
2311
- *
2312
- * <!-- -->
2313
- *
2314
- * .
2315
- *
2316
- * @example
2317
- * Standard
2318
- */
2319
- instanceType?: string;
2320
- /**
2321
- * @remarks
2322
- * The ID of the primary instance.
2323
- *
2324
- * @example
2325
- * hgpostcn-cn-i7m2ncd6w002
2326
- */
2327
- leaderInstanceId?: string;
2328
- /**
2329
- * @remarks
2330
- * The memory size. Unit: GB.
2331
- *
2332
- * @example
2333
- * 128
2334
- */
2335
- memory?: number;
2336
- /**
2337
- * @remarks
2338
- * The ID of the region in which the instance resides.
2339
- *
2340
- * @example
2341
- * cn-hangzhou
2342
- */
2343
- regionId?: string;
2344
- replicaRole?: string;
2345
- /**
2346
- * @remarks
2347
- * The ID of the resource group.
2348
- *
2349
- * @example
2350
- * rg-aekzuq7hpybze2i
2351
- */
2352
- resourceGroupId?: string;
2353
- /**
2354
- * @remarks
2355
- * The reason for the suspension.
2356
- *
2357
- * Valid values:
2358
- *
2359
- * * Indebet
2360
- *
2361
- * <!-- -->
2362
- *
2363
- * :
2364
- *
2365
- * <!-- -->
2366
- *
2367
- * The instance has an overdue payment
2368
- *
2369
- * <!-- -->
2370
- *
2371
- * .
2372
- *
2373
- * * Manual
2374
- *
2375
- * <!-- -->
2376
- *
2377
- * :
2378
- *
2379
- * <!-- -->
2380
- *
2381
- * The instance is manually suspended
2382
- *
2383
- * <!-- -->
2384
- *
2385
- * .
2386
- *
2387
- * * Overdue
2388
- *
2389
- * <!-- -->
2390
- *
2391
- * :
2392
- *
2393
- * <!-- -->
2394
- *
2395
- * The instance has expired
2396
- *
2397
- * <!-- -->
2398
- *
2399
- * .
2400
- *
2401
- * @example
2402
- * Manual
2403
- */
2404
- suspendReason?: string;
2405
- /**
2406
- * @remarks
2407
- * The instance tag.
2408
- */
2409
- tags?: GetInstanceResponseBodyInstanceTags[];
2410
- /**
2411
- * @remarks
2412
- * The instance version.
2413
- *
2414
- * @example
2415
- * r1.3.37
2416
- */
2417
- version?: string;
2418
- /**
2419
- * @remarks
2420
- * The ID of the zone where the instance resides.
2421
- *
2422
- * @example
2423
- * cn-hangzhou-h
2424
- */
2425
- zoneId?: string;
2426
- static names(): {
2427
- [key: string]: string;
2428
- };
2429
- static types(): {
2430
- [key: string]: any;
2431
- };
2432
- constructor(map?: {
2433
- [key: string]: any;
2434
- });
2435
- }
2436
- export declare class GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList extends $tea.Model {
2437
- /**
2438
- * @remarks
2439
- * The number of CPU cores.
2440
- *
2441
- * @example
2442
- * 32
2443
- */
2444
- cpu?: number;
2445
- defaultWarehouse?: boolean;
2446
- elasticCpu?: number;
2447
- /**
2448
- * @remarks
2449
- * The ID.
2450
- *
2451
- * @example
2452
- * 2
2453
- */
2454
- id?: number;
2455
- /**
2456
- * @remarks
2457
- * The memory capacity.
2458
- *
2459
- * @example
2460
- * 128
2461
- */
2462
- mem?: number;
2463
- /**
2464
- * @remarks
2465
- * The name of the virtual warehouse instance.
2466
- *
2467
- * @example
2468
- * MyWarehouse
2469
- */
2470
- name?: string;
2471
- /**
2472
- * @remarks
2473
- * The number of compute nodes.
2474
- *
2475
- * @example
2476
- * 2
2477
- */
2478
- nodeCount?: number;
2479
- rebalanceStatus?: string;
2480
- /**
2481
- * @remarks
2482
- * The status.
2483
- *
2484
- * Valid values:
2485
- *
2486
- * * kRunning
2487
- *
2488
- * <!-- -->
2489
- *
2490
- * <!-- -->
2491
- *
2492
- * <!-- -->
2493
- *
2494
- * * kSuspended
2495
- *
2496
- * <!-- -->
2497
- *
2498
- * <!-- -->
2499
- *
2500
- * <!-- -->
2501
- *
2502
- * * kInit
2503
- *
2504
- * <!-- -->
2505
- *
2506
- * <!-- -->
2507
- *
2508
- * <!-- -->
2509
- *
2510
- * * kFailed
2511
- *
2512
- * <!-- -->
2513
- *
2514
- * <!-- -->
2515
- *
2516
- * <!-- -->
2517
- *
2518
- * * kAllocating
2519
- *
2520
- * <!-- -->
2521
- *
2522
- * <!-- -->
2523
- *
2524
- * <!-- -->
2525
- *
2526
- * @example
2527
- * kRunning
2528
- */
2529
- status?: string;
2530
- static names(): {
2531
- [key: string]: string;
2532
- };
2533
- static types(): {
2534
- [key: string]: any;
2535
- };
2536
- constructor(map?: {
2537
- [key: string]: any;
2538
- });
2539
- }
2540
- export declare class GetWarehouseDetailResponseBodyWarehouseDetail extends $tea.Model {
2541
- /**
2542
- * @remarks
2543
- * The remaining unallocated computing resources of the virtual warehouse instance.
2544
- *
2545
- * @example
2546
- * 32
2547
- */
2548
- remainingCpu?: string;
2549
- /**
2550
- * @remarks
2551
- * The reserved computing resources. The amount of computing resources in all running virtual warehouses in an instance cannot exceed the amount of reserved computing resources in the virtual warehouses.
2552
- *
2553
- * @example
2554
- * 64
2555
- */
2556
- reservedCpu?: string;
2557
- timedElasticCpu?: string;
2558
- /**
2559
- * @remarks
2560
- * The list of virtual warehouses.
2561
- */
2562
- warehouseList?: GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList[];
2563
- static names(): {
2564
- [key: string]: string;
2565
- };
2566
- static types(): {
2567
- [key: string]: any;
2568
- };
2569
- constructor(map?: {
2570
- [key: string]: any;
2571
- });
2572
- }
2573
- export declare class ListInstancesRequestTag extends $tea.Model {
2574
- /**
2575
- * @remarks
2576
- * The tag key.
2577
- *
2578
- * @example
2579
- * mytag
2580
- */
2581
- key?: string;
2582
- /**
2583
- * @remarks
2584
- * The tag value.
2585
- *
2586
- * @example
2587
- * value
2588
- */
2589
- value?: string;
2590
- static names(): {
2591
- [key: string]: string;
2592
- };
2593
- static types(): {
2594
- [key: string]: any;
2595
- };
2596
- constructor(map?: {
2597
- [key: string]: any;
2598
- });
2599
- }
2600
- export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea.Model {
2601
- /**
2602
- * @remarks
2603
- * Indicates whether the endpoint is enabled.
2604
- *
2605
- * Valid values:
2606
- *
2607
- * * true
2608
- *
2609
- * <!-- -->
2610
- *
2611
- * <!-- -->
2612
- *
2613
- * <!-- -->
2614
- *
2615
- * * false
2616
- *
2617
- * <!-- -->
2618
- *
2619
- * <!-- -->
2620
- *
2621
- * <!-- -->
2622
- *
2623
- * @example
2624
- * true
2625
- */
2626
- enabled?: boolean;
2627
- /**
2628
- * @remarks
2629
- * The endpoint.
2630
- *
2631
- * @example
2632
- * hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80
2633
- */
2634
- endpoint?: string;
2635
- /**
2636
- * @remarks
2637
- * The network type.
2638
- *
2639
- * Valid values:
2640
- *
2641
- * * VPCSingleTunnel
2642
- *
2643
- * <!-- -->
2644
- *
2645
- * :
2646
- *
2647
- * <!-- -->
2648
- *
2649
- * virtual private cloud (VPC)
2650
- *
2651
- * <!-- -->
2652
- *
2653
- * .
2654
- *
2655
- * * Intranet
2656
- *
2657
- * <!-- -->
2658
- *
2659
- * :
2660
- *
2661
- * <!-- -->
2662
- *
2663
- * internal network
2664
- *
2665
- * <!-- -->
2666
- *
2667
- * * VPCAnyTunnel
2668
- *
2669
- * <!-- -->
2670
- *
2671
- * : This value is not supported by new instances
2672
- *
2673
- * <!-- -->
2674
- *
2675
- * <!-- -->
2676
- *
2677
- * .
2678
- *
2679
- * * Internet
2680
- *
2681
- * <!-- -->
2682
- *
2683
- * :
2684
- *
2685
- * <!-- -->
2686
- *
2687
- * Internet
2688
- *
2689
- * <!-- -->
2690
- *
2691
- * .
2692
- *
2693
- * @example
2694
- * Internet
2695
- */
2696
- type?: string;
2697
- /**
2698
- * @remarks
2699
- * The vSwitch ID.
2700
- *
2701
- * @example
2702
- * vsw-wz9oap28raidjevhuszg4
2703
- */
2704
- vSwitchId?: string;
2705
- /**
2706
- * @remarks
2707
- * The VPC ID.
2708
- *
2709
- * @example
2710
- * vpc-uf6mrahzyu7uorlqqpz5f
2711
- */
2712
- vpcId?: string;
2713
- /**
2714
- * @remarks
2715
- * The ID of the VPC to which the instance belongs.
2716
- *
2717
- * @example
2718
- * hgpostcn-cn-wwo3665tx004-frontend-st
2719
- */
2720
- vpcInstanceId?: string;
2721
- static names(): {
2722
- [key: string]: string;
2723
- };
2724
- static types(): {
2725
- [key: string]: any;
2726
- };
2727
- constructor(map?: {
2728
- [key: string]: any;
2729
- });
2730
- }
2731
- export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Model {
2732
- /**
2733
- * @remarks
2734
- * The tag key.
2735
- *
2736
- * @example
2737
- * tag
2738
- */
2739
- key?: string;
2740
- /**
2741
- * @remarks
2742
- * The tag value.
2743
- *
2744
- * @example
2745
- * value
2746
- */
2747
- value?: string;
2748
- static names(): {
2749
- [key: string]: string;
2750
- };
2751
- static types(): {
2752
- [key: string]: any;
2753
- };
2754
- constructor(map?: {
2755
- [key: string]: any;
2756
- });
2757
- }
2758
- export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
2759
- /**
2760
- * @remarks
2761
- * The commodity code, which is the same as that on the Billing Management page.
2762
- *
2763
- * @example
2764
- * hologram_postpay_public_cn
2765
- */
2766
- commodityCode?: string;
2767
- /**
2768
- * @remarks
2769
- * The time when the cluster was created.
2770
- *
2771
- * @example
2772
- * 2022-12-16T02:24:05Z
2773
- */
2774
- creationTime?: string;
2775
- /**
2776
- * @remarks
2777
- * Indicates whether lakehouse acceleration is enabled.
2778
- *
2779
- * Valid values:
2780
- *
2781
- * * true
2782
- *
2783
- * <!-- -->
2784
- *
2785
- * <!-- -->
2786
- *
2787
- * <!-- -->
2788
- *
2789
- * * false
2790
- *
2791
- * <!-- -->
2792
- *
2793
- * <!-- -->
2794
- *
2795
- * <!-- -->
2796
- *
2797
- * @example
2798
- * true
2799
- */
2800
- enableHiveAccess?: string;
2801
- /**
2802
- * @remarks
2803
- * The list of endpoints.
2804
- */
2805
- endpoints?: ListInstancesResponseBodyInstanceListEndpoints[];
2806
- /**
2807
- * @remarks
2808
- * The time when the cluster expires.
2809
- *
2810
- * @example
2811
- * 2023-05-04T16:00:00.000Z
2812
- */
2813
- expirationTime?: string;
2814
- /**
2815
- * @remarks
2816
- * The billing method of the instance. Valid values:
2817
- *
2818
- * Valid values:
2819
- *
2820
- * * PostPaid
2821
- *
2822
- * <!-- -->
2823
- *
2824
- * :
2825
- *
2826
- * <!-- -->
2827
- *
2828
- * pay-as-you-go
2829
- *
2830
- * <!-- -->
2831
- *
2832
- * .
2833
- *
2834
- * * PrePaid
2835
- *
2836
- * <!-- -->
2837
- *
2838
- * :
2839
- *
2840
- * <!-- -->
2841
- *
2842
- * subscription
2843
- *
2844
- * <!-- -->
2845
- *
2846
- * .
2847
- *
2848
- * @example
2849
- * PrePaid
2850
- */
2851
- instanceChargeType?: string;
2852
- /**
2853
- * @remarks
2854
- * The instance ID.
2855
- *
2856
- * @example
2857
- * hgpostcn-cn-aaab9ad2d8fb
2858
- */
2859
- instanceId?: string;
2860
- /**
2861
- * @remarks
2862
- * The name of the instance.
2863
- *
2864
- * @example
2865
- * test_instance
2866
- */
2867
- instanceName?: string;
2868
- /**
2869
- * @remarks
2870
- * The status of the instance.
2871
- *
2872
- * Valid values:
2873
- *
2874
- * * Creating
2875
- *
2876
- * <!-- -->
2877
- *
2878
- * <!-- -->
2879
- *
2880
- * <!-- -->
2881
- *
2882
- * * Running
2883
- *
2884
- * <!-- -->
2885
- *
2886
- * <!-- -->
2887
- *
2888
- * <!-- -->
2889
- *
2890
- * * Suspended
2891
- *
2892
- * <!-- -->
2893
- *
2894
- * <!-- -->
2895
- *
2896
- * <!-- -->
2897
- *
2898
- * * Allocating
2899
- *
2900
- * <!-- -->
2901
- *
2902
- * <!-- -->
2903
- *
2904
- * <!-- -->
2905
- *
2906
- * @example
2907
- * Running
2908
- */
2909
- instanceStatus?: string;
2910
- /**
2911
- * @remarks
2912
- * The type of the instance.
2913
- *
2914
- * Valid values:
2915
- *
2916
- * * Follower
2917
- *
2918
- * <!-- -->
2919
- *
2920
- * :
2921
- *
2922
- * <!-- -->
2923
- *
2924
- * read-only secondary instance
2925
- *
2926
- * <!-- -->
2927
- *
2928
- * .
2929
- *
2930
- * * Standard
2931
- *
2932
- * <!-- -->
2933
- *
2934
- * :
2935
- *
2936
- * <!-- -->
2937
- *
2938
- * normal instance
2939
- *
2940
- * <!-- -->
2941
- *
2942
- * .
2943
- *
2944
- * @example
2945
- * Standard
2946
- */
2947
- instanceType?: string;
2948
- /**
2949
- * @remarks
2950
- * The ID of the primary instance.
2951
- *
2952
- * @example
2953
- * hgprecn-cn-2r42sqvxm006
2954
- */
2955
- leaderInstanceId?: string;
2956
- regionId?: string;
2957
- /**
2958
- * @remarks
2959
- * The ID of the resource group.
2960
- *
2961
- * @example
2962
- * rg-acfmvscak73zmby
2963
- */
2964
- resourceGroupId?: string;
2965
- /**
2966
- * @remarks
2967
- * The reason for the suspension.
2968
- *
2969
- * @example
2970
- * Manual
2971
- */
2972
- suspendReason?: string;
2973
- /**
2974
- * @remarks
2975
- * The tags that are added to the resource.
2976
- */
2977
- tags?: ListInstancesResponseBodyInstanceListTags[];
2978
- /**
2979
- * @remarks
2980
- * The version of the cluster.
2981
- *
2982
- * @example
2983
- * 1.3.37
2984
- */
2985
- version?: string;
2986
- zoneId?: string;
2987
- static names(): {
2988
- [key: string]: string;
2989
- };
2990
- static types(): {
2991
- [key: string]: any;
2992
- };
2993
- constructor(map?: {
2994
- [key: string]: any;
2995
- });
2996
- }
2997
- export declare class ListWarehousesResponseBodyWarehouseList extends $tea.Model {
2998
- /**
2999
- * @remarks
3000
- * The number of CPU cores.
3001
- *
3002
- * @example
3003
- * 32
3004
- */
3005
- cpu?: number;
3006
- /**
3007
- * @remarks
3008
- * The ID.
3009
- *
3010
- * @example
3011
- * 3
3012
- */
3013
- id?: number;
3014
- /**
3015
- * @remarks
3016
- * The memory capacity.
3017
- *
3018
- * @example
3019
- * 128
3020
- */
3021
- mem?: number;
3022
- /**
3023
- * @remarks
3024
- * The name of the virtual warehouse instance.
3025
- *
3026
- * @example
3027
- * MyWarehouse
3028
- */
3029
- name?: string;
3030
- /**
3031
- * @remarks
3032
- * The number of compute nodes.
3033
- *
3034
- * @example
3035
- * 2
3036
- */
3037
- nodeCount?: number;
3038
- /**
3039
- * @remarks
3040
- * The status.
3041
- *
3042
- * Valid values:
3043
- *
3044
- * * kRunning
3045
- *
3046
- * <!-- -->
3047
- *
3048
- * <!-- -->
3049
- *
3050
- * <!-- -->
3051
- *
3052
- * * kSuspended
3053
- *
3054
- * <!-- -->
3055
- *
3056
- * <!-- -->
3057
- *
3058
- * <!-- -->
3059
- *
3060
- * * kInit
3061
- *
3062
- * <!-- -->
3063
- *
3064
- * <!-- -->
3065
- *
3066
- * <!-- -->
3067
- *
3068
- * * kFailed
3069
- *
3070
- * <!-- -->
3071
- *
3072
- * <!-- -->
3073
- *
3074
- * <!-- -->
3075
- *
3076
- * * kAllocating
3077
- *
3078
- * <!-- -->
3079
- *
3080
- * <!-- -->
3081
- *
3082
- * <!-- -->
3083
- *
3084
- * @example
3085
- * kRunning
3086
- */
3087
- status?: string;
3088
- static names(): {
3089
- [key: string]: string;
3090
- };
3091
- static types(): {
3092
- [key: string]: any;
3093
- };
3094
- constructor(map?: {
3095
- [key: string]: any;
3096
- });
3097
- }
3098
- export declare class RenewInstanceResponseBodyData extends $tea.Model {
3099
- /**
3100
- * @remarks
3101
- * The error code returned.
3102
- *
3103
- * @example
3104
- * InvalidChargeType.UnRenewable
3105
- */
3106
- code?: string;
3107
- /**
3108
- * @remarks
3109
- * The error details.
3110
- */
3111
- message?: string;
3112
- /**
3113
- * @remarks
3114
- * The ID of the order.
3115
- *
3116
- * @example
3117
- * 221625608580893
3118
- */
3119
- orderId?: string;
3120
- /**
3121
- * @remarks
3122
- * Indicates whether the renewal was successful.
3123
- *
3124
- * * true
3125
- * * false
3126
- *
3127
- * @example
3128
- * true
3129
- */
3130
- success?: boolean;
3131
- static names(): {
3132
- [key: string]: string;
3133
- };
3134
- static types(): {
3135
- [key: string]: any;
3136
- };
3137
- constructor(map?: {
3138
- [key: string]: any;
3139
- });
3140
- }
3141
- export declare class ScaleInstanceResponseBodyData extends $tea.Model {
3142
- /**
3143
- * @remarks
3144
- * The error code returned.
3145
- *
3146
- * @example
3147
- * InvalidScaleType.Unsupported
3148
- */
3149
- code?: string;
3150
- /**
3151
- * @remarks
3152
- * The error details.
3153
- *
3154
- * @example
3155
- * null
3156
- */
3157
- message?: string;
3158
- /**
3159
- * @remarks
3160
- * The ID of the order.
3161
- *
3162
- * @example
3163
- * 219183853450000
3164
- */
3165
- orderId?: string;
3166
- /**
3167
- * @remarks
3168
- * Indicates whether the change to specifications was successful.
3169
- *
3170
- * Valid values:
3171
- *
3172
- * * true
3173
- *
3174
- * <!-- -->
3175
- *
3176
- * <!-- -->
3177
- *
3178
- * <!-- -->
3179
- *
3180
- * * false
3181
- *
3182
- * <!-- -->
3183
- *
3184
- * <!-- -->
3185
- *
3186
- * <!-- -->
3187
- *
3188
- * @example
3189
- * true
3190
- */
3191
- success?: boolean;
3192
- static names(): {
3193
- [key: string]: string;
3194
- };
3195
- static types(): {
3196
- [key: string]: any;
3197
- };
3198
- constructor(map?: {
3199
- [key: string]: any;
3200
- });
3201
- }
1
+ import * as $dara from '@darabonba/typescript';
2
+ import OpenApi from '@alicloud/openapi-core';
3
+ import { $OpenApiUtil } from '@alicloud/openapi-core';
4
+ import * as $_model from './models/model';
5
+ export * from './models/model';
3202
6
  export default class Client extends OpenApi {
3203
- constructor(config: $OpenApi.Config);
7
+ constructor(config: $OpenApiUtil.Config);
3204
8
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
3205
9
  [key: string]: string;
3206
10
  }, endpoint: string): string;
3207
11
  /**
3208
- * 更改资源组
12
+ * Updates a resource group.
3209
13
  *
3210
14
  * @param request - ChangeResourceGroupRequest
3211
15
  * @param headers - map
3212
16
  * @param runtime - runtime options for this request RuntimeOptions
3213
17
  * @returns ChangeResourceGroupResponse
3214
18
  */
3215
- changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, headers: {
19
+ changeResourceGroupWithOptions(request: $_model.ChangeResourceGroupRequest, headers: {
3216
20
  [key: string]: string;
3217
- }, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
21
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ChangeResourceGroupResponse>;
3218
22
  /**
3219
- * 更改资源组
23
+ * Updates a resource group.
3220
24
  *
3221
25
  * @param request - ChangeResourceGroupRequest
3222
26
  * @returns ChangeResourceGroupResponse
3223
27
  */
3224
- changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
28
+ changeResourceGroup(request: $_model.ChangeResourceGroupRequest): Promise<$_model.ChangeResourceGroupResponse>;
29
+ /**
30
+ * Creates a virtual warehouse.
31
+ *
32
+ * @param request - CreateHoloWarehouseRequest
33
+ * @param headers - map
34
+ * @param runtime - runtime options for this request RuntimeOptions
35
+ * @returns CreateHoloWarehouseResponse
36
+ */
37
+ createHoloWarehouseWithOptions(instanceId: string, request: $_model.CreateHoloWarehouseRequest, headers: {
38
+ [key: string]: string;
39
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHoloWarehouseResponse>;
40
+ /**
41
+ * Creates a virtual warehouse.
42
+ *
43
+ * @param request - CreateHoloWarehouseRequest
44
+ * @returns CreateHoloWarehouseResponse
45
+ */
46
+ createHoloWarehouse(instanceId: string, request: $_model.CreateHoloWarehouseRequest): Promise<$_model.CreateHoloWarehouseResponse>;
3225
47
  /**
3226
48
  * Creates a Hologres instance.
3227
49
  *
@@ -3251,9 +73,9 @@ export default class Client extends OpenApi {
3251
73
  * @param runtime - runtime options for this request RuntimeOptions
3252
74
  * @returns CreateInstanceResponse
3253
75
  */
3254
- createInstanceWithOptions(request: CreateInstanceRequest, headers: {
76
+ createInstanceWithOptions(request: $_model.CreateInstanceRequest, headers: {
3255
77
  [key: string]: string;
3256
- }, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
78
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInstanceResponse>;
3257
79
  /**
3258
80
  * Creates a Hologres instance.
3259
81
  *
@@ -3281,73 +103,134 @@ export default class Client extends OpenApi {
3281
103
  * @param request - CreateInstanceRequest
3282
104
  * @returns CreateInstanceResponse
3283
105
  */
3284
- createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
106
+ createInstance(request: $_model.CreateInstanceRequest): Promise<$_model.CreateInstanceResponse>;
107
+ /**
108
+ * Deletes a virtual warehouse.
109
+ *
110
+ * @param request - DeleteHoloWarehouseRequest
111
+ * @param headers - map
112
+ * @param runtime - runtime options for this request RuntimeOptions
113
+ * @returns DeleteHoloWarehouseResponse
114
+ */
115
+ deleteHoloWarehouseWithOptions(instanceId: string, request: $_model.DeleteHoloWarehouseRequest, headers: {
116
+ [key: string]: string;
117
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHoloWarehouseResponse>;
118
+ /**
119
+ * Deletes a virtual warehouse.
120
+ *
121
+ * @param request - DeleteHoloWarehouseRequest
122
+ * @returns DeleteHoloWarehouseResponse
123
+ */
124
+ deleteHoloWarehouse(instanceId: string, request: $_model.DeleteHoloWarehouseRequest): Promise<$_model.DeleteHoloWarehouseResponse>;
3285
125
  /**
3286
126
  * Deletes a Hologres instance.
3287
127
  *
3288
128
  * @remarks
3289
129
  * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
3290
- * * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview#section-h6a-x58-jc0).
130
+ * * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview?spm=a2c63.p38356.0.0.efc33b87i5pDl7).
3291
131
  * * You can delete only pay-as-you-go instances.
3292
- * * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
3293
132
  *
3294
133
  * @param request - DeleteInstanceRequest
3295
134
  * @param headers - map
3296
135
  * @param runtime - runtime options for this request RuntimeOptions
3297
136
  * @returns DeleteInstanceResponse
3298
137
  */
3299
- deleteInstanceWithOptions(instanceId: string, request: DeleteInstanceRequest, headers: {
138
+ deleteInstanceWithOptions(instanceId: string, request: $_model.DeleteInstanceRequest, headers: {
3300
139
  [key: string]: string;
3301
- }, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
140
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteInstanceResponse>;
3302
141
  /**
3303
142
  * Deletes a Hologres instance.
3304
143
  *
3305
144
  * @remarks
3306
145
  * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
3307
- * * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview#section-h6a-x58-jc0).
146
+ * * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview?spm=a2c63.p38356.0.0.efc33b87i5pDl7).
3308
147
  * * You can delete only pay-as-you-go instances.
3309
- * * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
3310
148
  *
3311
149
  * @param request - DeleteInstanceRequest
3312
150
  * @returns DeleteInstanceResponse
3313
151
  */
3314
- deleteInstance(instanceId: string, request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
152
+ deleteInstance(instanceId: string, request: $_model.DeleteInstanceRequest): Promise<$_model.DeleteInstanceResponse>;
3315
153
  /**
3316
- * 关闭数据湖加速
154
+ * Disables data lake acceleration.
3317
155
  *
3318
156
  * @param request - DisableHiveAccessRequest
3319
157
  * @param headers - map
3320
158
  * @param runtime - runtime options for this request RuntimeOptions
3321
159
  * @returns DisableHiveAccessResponse
3322
160
  */
3323
- disableHiveAccessWithOptions(instanceId: string, request: DisableHiveAccessRequest, headers: {
161
+ disableHiveAccessWithOptions(instanceId: string, request: $_model.DisableHiveAccessRequest, headers: {
3324
162
  [key: string]: string;
3325
- }, runtime: $Util.RuntimeOptions): Promise<DisableHiveAccessResponse>;
163
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableHiveAccessResponse>;
3326
164
  /**
3327
- * 关闭数据湖加速
165
+ * Disables data lake acceleration.
3328
166
  *
3329
167
  * @param request - DisableHiveAccessRequest
3330
168
  * @returns DisableHiveAccessResponse
3331
169
  */
3332
- disableHiveAccess(instanceId: string, request: DisableHiveAccessRequest): Promise<DisableHiveAccessResponse>;
170
+ disableHiveAccess(instanceId: string, request: $_model.DisableHiveAccessRequest): Promise<$_model.DisableHiveAccessResponse>;
171
+ /**
172
+ * 关闭SSL
173
+ *
174
+ * @param headers - map
175
+ * @param runtime - runtime options for this request RuntimeOptions
176
+ * @returns DisableSSLResponse
177
+ */
178
+ disableSSLWithOptions(instanceId: string, headers: {
179
+ [key: string]: string;
180
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableSSLResponse>;
181
+ /**
182
+ * 关闭SSL
183
+ * @returns DisableSSLResponse
184
+ */
185
+ disableSSL(instanceId: string): Promise<$_model.DisableSSLResponse>;
3333
186
  /**
3334
- * 打开数据湖加速
187
+ * Enables data lake acceleration.
3335
188
  *
3336
189
  * @param request - EnableHiveAccessRequest
3337
190
  * @param headers - map
3338
191
  * @param runtime - runtime options for this request RuntimeOptions
3339
192
  * @returns EnableHiveAccessResponse
3340
193
  */
3341
- enableHiveAccessWithOptions(instanceId: string, request: EnableHiveAccessRequest, headers: {
194
+ enableHiveAccessWithOptions(instanceId: string, request: $_model.EnableHiveAccessRequest, headers: {
3342
195
  [key: string]: string;
3343
- }, runtime: $Util.RuntimeOptions): Promise<EnableHiveAccessResponse>;
196
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableHiveAccessResponse>;
3344
197
  /**
3345
- * 打开数据湖加速
198
+ * Enables data lake acceleration.
3346
199
  *
3347
200
  * @param request - EnableHiveAccessRequest
3348
201
  * @returns EnableHiveAccessResponse
3349
202
  */
3350
- enableHiveAccess(instanceId: string, request: EnableHiveAccessRequest): Promise<EnableHiveAccessResponse>;
203
+ enableHiveAccess(instanceId: string, request: $_model.EnableHiveAccessRequest): Promise<$_model.EnableHiveAccessResponse>;
204
+ /**
205
+ * 打开SSL
206
+ *
207
+ * @param headers - map
208
+ * @param runtime - runtime options for this request RuntimeOptions
209
+ * @returns EnableSSLResponse
210
+ */
211
+ enableSSLWithOptions(instanceId: string, headers: {
212
+ [key: string]: string;
213
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableSSLResponse>;
214
+ /**
215
+ * 打开SSL
216
+ * @returns EnableSSLResponse
217
+ */
218
+ enableSSL(instanceId: string): Promise<$_model.EnableSSLResponse>;
219
+ /**
220
+ * 获得证书信息
221
+ *
222
+ * @param headers - map
223
+ * @param runtime - runtime options for this request RuntimeOptions
224
+ * @returns GetCertificateAttributeResponse
225
+ */
226
+ getCertificateAttributeWithOptions(instanceId: string, headers: {
227
+ [key: string]: string;
228
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCertificateAttributeResponse>;
229
+ /**
230
+ * 获得证书信息
231
+ * @returns GetCertificateAttributeResponse
232
+ */
233
+ getCertificateAttribute(instanceId: string): Promise<$_model.GetCertificateAttributeResponse>;
3351
234
  /**
3352
235
  * Obtains the details of an instance.
3353
236
  *
@@ -3357,12 +240,27 @@ export default class Client extends OpenApi {
3357
240
  */
3358
241
  getInstanceWithOptions(instanceId: string, headers: {
3359
242
  [key: string]: string;
3360
- }, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
243
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceResponse>;
3361
244
  /**
3362
245
  * Obtains the details of an instance.
3363
246
  * @returns GetInstanceResponse
3364
247
  */
3365
- getInstance(instanceId: string): Promise<GetInstanceResponse>;
248
+ getInstance(instanceId: string): Promise<$_model.GetInstanceResponse>;
249
+ /**
250
+ * 获得根证书
251
+ *
252
+ * @param headers - map
253
+ * @param runtime - runtime options for this request RuntimeOptions
254
+ * @returns GetRootCertificateResponse
255
+ */
256
+ getRootCertificateWithOptions(instanceId: string, headers: {
257
+ [key: string]: string;
258
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRootCertificateResponse>;
259
+ /**
260
+ * 获得根证书
261
+ * @returns GetRootCertificateResponse
262
+ */
263
+ getRootCertificate(instanceId: string): Promise<$_model.GetRootCertificateResponse>;
3366
264
  /**
3367
265
  * Queries details of a virtual warehouse instance.
3368
266
  *
@@ -3372,12 +270,102 @@ export default class Client extends OpenApi {
3372
270
  */
3373
271
  getWarehouseDetailWithOptions(instanceId: string, headers: {
3374
272
  [key: string]: string;
3375
- }, runtime: $Util.RuntimeOptions): Promise<GetWarehouseDetailResponse>;
273
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWarehouseDetailResponse>;
3376
274
  /**
3377
275
  * Queries details of a virtual warehouse instance.
3378
276
  * @returns GetWarehouseDetailResponse
3379
277
  */
3380
- getWarehouseDetail(instanceId: string): Promise<GetWarehouseDetailResponse>;
278
+ getWarehouseDetail(instanceId: string): Promise<$_model.GetWarehouseDetailResponse>;
279
+ /**
280
+ * DB授权
281
+ *
282
+ * @param request - GrantDatabasePermissionRequest
283
+ * @param headers - map
284
+ * @param runtime - runtime options for this request RuntimeOptions
285
+ * @returns GrantDatabasePermissionResponse
286
+ */
287
+ grantDatabasePermissionWithOptions(instanceId: string, request: $_model.GrantDatabasePermissionRequest, headers: {
288
+ [key: string]: string;
289
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantDatabasePermissionResponse>;
290
+ /**
291
+ * DB授权
292
+ *
293
+ * @param request - GrantDatabasePermissionRequest
294
+ * @returns GrantDatabasePermissionResponse
295
+ */
296
+ grantDatabasePermission(instanceId: string, request: $_model.GrantDatabasePermissionRequest): Promise<$_model.GrantDatabasePermissionResponse>;
297
+ /**
298
+ * DB授权
299
+ *
300
+ * @param request - GrantSchemaPermissionRequest
301
+ * @param headers - map
302
+ * @param runtime - runtime options for this request RuntimeOptions
303
+ * @returns GrantSchemaPermissionResponse
304
+ */
305
+ grantSchemaPermissionWithOptions(instanceId: string, request: $_model.GrantSchemaPermissionRequest, headers: {
306
+ [key: string]: string;
307
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantSchemaPermissionResponse>;
308
+ /**
309
+ * DB授权
310
+ *
311
+ * @param request - GrantSchemaPermissionRequest
312
+ * @returns GrantSchemaPermissionResponse
313
+ */
314
+ grantSchemaPermission(instanceId: string, request: $_model.GrantSchemaPermissionRequest): Promise<$_model.GrantSchemaPermissionResponse>;
315
+ /**
316
+ * DB授权
317
+ *
318
+ * @param request - GrantTablePermissionRequest
319
+ * @param headers - map
320
+ * @param runtime - runtime options for this request RuntimeOptions
321
+ * @returns GrantTablePermissionResponse
322
+ */
323
+ grantTablePermissionWithOptions(instanceId: string, request: $_model.GrantTablePermissionRequest, headers: {
324
+ [key: string]: string;
325
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantTablePermissionResponse>;
326
+ /**
327
+ * DB授权
328
+ *
329
+ * @param request - GrantTablePermissionRequest
330
+ * @returns GrantTablePermissionResponse
331
+ */
332
+ grantTablePermission(instanceId: string, request: $_model.GrantTablePermissionRequest): Promise<$_model.GrantTablePermissionResponse>;
333
+ /**
334
+ * Queries a list of backups. A backup is a full data snapshot of an instance at the end of the snapshot time. You can purchase another instance to completely restore the original data.
335
+ *
336
+ * @param request - ListBackupDataRequest
337
+ * @param headers - map
338
+ * @param runtime - runtime options for this request RuntimeOptions
339
+ * @returns ListBackupDataResponse
340
+ */
341
+ listBackupDataWithOptions(request: $_model.ListBackupDataRequest, headers: {
342
+ [key: string]: string;
343
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListBackupDataResponse>;
344
+ /**
345
+ * Queries a list of backups. A backup is a full data snapshot of an instance at the end of the snapshot time. You can purchase another instance to completely restore the original data.
346
+ *
347
+ * @param request - ListBackupDataRequest
348
+ * @returns ListBackupDataResponse
349
+ */
350
+ listBackupData(request: $_model.ListBackupDataRequest): Promise<$_model.ListBackupDataResponse>;
351
+ /**
352
+ * 获取DB列表
353
+ *
354
+ * @param request - ListDatabasesRequest
355
+ * @param headers - map
356
+ * @param runtime - runtime options for this request RuntimeOptions
357
+ * @returns ListDatabasesResponse
358
+ */
359
+ listDatabasesWithOptions(instanceId: string, request: $_model.ListDatabasesRequest, headers: {
360
+ [key: string]: string;
361
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListDatabasesResponse>;
362
+ /**
363
+ * 获取DB列表
364
+ *
365
+ * @param request - ListDatabasesRequest
366
+ * @returns ListDatabasesResponse
367
+ */
368
+ listDatabases(instanceId: string, request: $_model.ListDatabasesRequest): Promise<$_model.ListDatabasesResponse>;
3381
369
  /**
3382
370
  * Queries a list of instances.
3383
371
  *
@@ -3386,16 +374,16 @@ export default class Client extends OpenApi {
3386
374
  * @param runtime - runtime options for this request RuntimeOptions
3387
375
  * @returns ListInstancesResponse
3388
376
  */
3389
- listInstancesWithOptions(request: ListInstancesRequest, headers: {
377
+ listInstancesWithOptions(request: $_model.ListInstancesRequest, headers: {
3390
378
  [key: string]: string;
3391
- }, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
379
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstancesResponse>;
3392
380
  /**
3393
381
  * Queries a list of instances.
3394
382
  *
3395
383
  * @param request - ListInstancesRequest
3396
384
  * @returns ListInstancesResponse
3397
385
  */
3398
- listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
386
+ listInstances(request: $_model.ListInstancesRequest): Promise<$_model.ListInstancesResponse>;
3399
387
  /**
3400
388
  * Queries the list of virtual warehouse instances.
3401
389
  *
@@ -3405,19 +393,55 @@ export default class Client extends OpenApi {
3405
393
  */
3406
394
  listWarehousesWithOptions(instanceId: string, headers: {
3407
395
  [key: string]: string;
3408
- }, runtime: $Util.RuntimeOptions): Promise<ListWarehousesResponse>;
396
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWarehousesResponse>;
3409
397
  /**
3410
398
  * Queries the list of virtual warehouse instances.
3411
399
  * @returns ListWarehousesResponse
3412
400
  */
3413
- listWarehouses(instanceId: string): Promise<ListWarehousesResponse>;
401
+ listWarehouses(instanceId: string): Promise<$_model.ListWarehousesResponse>;
402
+ /**
403
+ * Triggers shard rebalancing for a virtual warehouse.
404
+ *
405
+ * @param request - RebalanceHoloWarehouseRequest
406
+ * @param headers - map
407
+ * @param runtime - runtime options for this request RuntimeOptions
408
+ * @returns RebalanceHoloWarehouseResponse
409
+ */
410
+ rebalanceHoloWarehouseWithOptions(instanceId: string, request: $_model.RebalanceHoloWarehouseRequest, headers: {
411
+ [key: string]: string;
412
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RebalanceHoloWarehouseResponse>;
413
+ /**
414
+ * Triggers shard rebalancing for a virtual warehouse.
415
+ *
416
+ * @param request - RebalanceHoloWarehouseRequest
417
+ * @returns RebalanceHoloWarehouseResponse
418
+ */
419
+ rebalanceHoloWarehouse(instanceId: string, request: $_model.RebalanceHoloWarehouseRequest): Promise<$_model.RebalanceHoloWarehouseResponse>;
420
+ /**
421
+ * Renames a virtual warehouse.
422
+ *
423
+ * @param request - RenameHoloWarehouseRequest
424
+ * @param headers - map
425
+ * @param runtime - runtime options for this request RuntimeOptions
426
+ * @returns RenameHoloWarehouseResponse
427
+ */
428
+ renameHoloWarehouseWithOptions(instanceId: string, request: $_model.RenameHoloWarehouseRequest, headers: {
429
+ [key: string]: string;
430
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenameHoloWarehouseResponse>;
431
+ /**
432
+ * Renames a virtual warehouse.
433
+ *
434
+ * @param request - RenameHoloWarehouseRequest
435
+ * @returns RenameHoloWarehouseResponse
436
+ */
437
+ renameHoloWarehouse(instanceId: string, request: $_model.RenameHoloWarehouseRequest): Promise<$_model.RenameHoloWarehouseResponse>;
3414
438
  /**
3415
439
  * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
3416
440
  *
3417
441
  * @remarks
3418
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
3419
- * * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
3420
- * * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/en/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.73f27c8d1Q0FUi).
442
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
443
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
444
+ * * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/zh/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.38e731c9VAwtDP).
3421
445
  * * You can renew only subscription instances.
3422
446
  *
3423
447
  * @param request - RenewInstanceRequest
@@ -3425,24 +449,57 @@ export default class Client extends OpenApi {
3425
449
  * @param runtime - runtime options for this request RuntimeOptions
3426
450
  * @returns RenewInstanceResponse
3427
451
  */
3428
- renewInstanceWithOptions(instanceId: string, request: RenewInstanceRequest, headers: {
452
+ renewInstanceWithOptions(instanceId: string, request: $_model.RenewInstanceRequest, headers: {
3429
453
  [key: string]: string;
3430
- }, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
454
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenewInstanceResponse>;
3431
455
  /**
3432
456
  * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
3433
457
  *
3434
458
  * @remarks
3435
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
3436
- * * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
3437
- * * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/en/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.73f27c8d1Q0FUi).
459
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
460
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
461
+ * * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/zh/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.38e731c9VAwtDP).
3438
462
  * * You can renew only subscription instances.
3439
463
  *
3440
464
  * @param request - RenewInstanceRequest
3441
465
  * @returns RenewInstanceResponse
3442
466
  */
3443
- renewInstance(instanceId: string, request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
467
+ renewInstance(instanceId: string, request: $_model.RenewInstanceRequest): Promise<$_model.RenewInstanceResponse>;
468
+ /**
469
+ * 更新证书
470
+ *
471
+ * @param headers - map
472
+ * @param runtime - runtime options for this request RuntimeOptions
473
+ * @returns RenewSSLCertificateResponse
474
+ */
475
+ renewSSLCertificateWithOptions(instanceId: string, headers: {
476
+ [key: string]: string;
477
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenewSSLCertificateResponse>;
478
+ /**
479
+ * 更新证书
480
+ * @returns RenewSSLCertificateResponse
481
+ */
482
+ renewSSLCertificate(instanceId: string): Promise<$_model.RenewSSLCertificateResponse>;
483
+ /**
484
+ * Restarts a virtual warehouse.
485
+ *
486
+ * @param request - RestartHoloWarehouseRequest
487
+ * @param headers - map
488
+ * @param runtime - runtime options for this request RuntimeOptions
489
+ * @returns RestartHoloWarehouseResponse
490
+ */
491
+ restartHoloWarehouseWithOptions(instanceId: string, request: $_model.RestartHoloWarehouseRequest, headers: {
492
+ [key: string]: string;
493
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RestartHoloWarehouseResponse>;
494
+ /**
495
+ * Restarts a virtual warehouse.
496
+ *
497
+ * @param request - RestartHoloWarehouseRequest
498
+ * @returns RestartHoloWarehouseResponse
499
+ */
500
+ restartHoloWarehouse(instanceId: string, request: $_model.RestartHoloWarehouseRequest): Promise<$_model.RestartHoloWarehouseResponse>;
3444
501
  /**
3445
- * 重启实例
502
+ * Restarts an instance.
3446
503
  *
3447
504
  * @param headers - map
3448
505
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3450,14 +507,32 @@ export default class Client extends OpenApi {
3450
507
  */
3451
508
  restartInstanceWithOptions(instanceId: string, headers: {
3452
509
  [key: string]: string;
3453
- }, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
510
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RestartInstanceResponse>;
3454
511
  /**
3455
- * 重启实例
512
+ * Restarts an instance.
3456
513
  * @returns RestartInstanceResponse
3457
514
  */
3458
- restartInstance(instanceId: string): Promise<RestartInstanceResponse>;
515
+ restartInstance(instanceId: string): Promise<$_model.RestartInstanceResponse>;
516
+ /**
517
+ * Resumes a virtual warehouse.
518
+ *
519
+ * @param request - ResumeHoloWarehouseRequest
520
+ * @param headers - map
521
+ * @param runtime - runtime options for this request RuntimeOptions
522
+ * @returns ResumeHoloWarehouseResponse
523
+ */
524
+ resumeHoloWarehouseWithOptions(instanceId: string, request: $_model.ResumeHoloWarehouseRequest, headers: {
525
+ [key: string]: string;
526
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeHoloWarehouseResponse>;
527
+ /**
528
+ * Resumes a virtual warehouse.
529
+ *
530
+ * @param request - ResumeHoloWarehouseRequest
531
+ * @returns ResumeHoloWarehouseResponse
532
+ */
533
+ resumeHoloWarehouse(instanceId: string, request: $_model.ResumeHoloWarehouseRequest): Promise<$_model.ResumeHoloWarehouseResponse>;
3459
534
  /**
3460
- * Resumes a suspended instance.
535
+ * Resumes an instance.
3461
536
  *
3462
537
  * @param headers - map
3463
538
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3465,12 +540,84 @@ export default class Client extends OpenApi {
3465
540
  */
3466
541
  resumeInstanceWithOptions(instanceId: string, headers: {
3467
542
  [key: string]: string;
3468
- }, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceResponse>;
543
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeInstanceResponse>;
3469
544
  /**
3470
- * Resumes a suspended instance.
545
+ * Resumes an instance.
3471
546
  * @returns ResumeInstanceResponse
3472
547
  */
3473
- resumeInstance(instanceId: string): Promise<ResumeInstanceResponse>;
548
+ resumeInstance(instanceId: string): Promise<$_model.ResumeInstanceResponse>;
549
+ /**
550
+ * 取消DB授权
551
+ *
552
+ * @param request - RevokeDatabasePermissionRequest
553
+ * @param headers - map
554
+ * @param runtime - runtime options for this request RuntimeOptions
555
+ * @returns RevokeDatabasePermissionResponse
556
+ */
557
+ revokeDatabasePermissionWithOptions(instanceId: string, request: $_model.RevokeDatabasePermissionRequest, headers: {
558
+ [key: string]: string;
559
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeDatabasePermissionResponse>;
560
+ /**
561
+ * 取消DB授权
562
+ *
563
+ * @param request - RevokeDatabasePermissionRequest
564
+ * @returns RevokeDatabasePermissionResponse
565
+ */
566
+ revokeDatabasePermission(instanceId: string, request: $_model.RevokeDatabasePermissionRequest): Promise<$_model.RevokeDatabasePermissionResponse>;
567
+ /**
568
+ * 取消Schema授权
569
+ *
570
+ * @param request - RevokeSchemaPermissionRequest
571
+ * @param headers - map
572
+ * @param runtime - runtime options for this request RuntimeOptions
573
+ * @returns RevokeSchemaPermissionResponse
574
+ */
575
+ revokeSchemaPermissionWithOptions(instanceId: string, request: $_model.RevokeSchemaPermissionRequest, headers: {
576
+ [key: string]: string;
577
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeSchemaPermissionResponse>;
578
+ /**
579
+ * 取消Schema授权
580
+ *
581
+ * @param request - RevokeSchemaPermissionRequest
582
+ * @returns RevokeSchemaPermissionResponse
583
+ */
584
+ revokeSchemaPermission(instanceId: string, request: $_model.RevokeSchemaPermissionRequest): Promise<$_model.RevokeSchemaPermissionResponse>;
585
+ /**
586
+ * 取消表授权
587
+ *
588
+ * @param request - RevokeTablePermissionRequest
589
+ * @param headers - map
590
+ * @param runtime - runtime options for this request RuntimeOptions
591
+ * @returns RevokeTablePermissionResponse
592
+ */
593
+ revokeTablePermissionWithOptions(instanceId: string, request: $_model.RevokeTablePermissionRequest, headers: {
594
+ [key: string]: string;
595
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeTablePermissionResponse>;
596
+ /**
597
+ * 取消表授权
598
+ *
599
+ * @param request - RevokeTablePermissionRequest
600
+ * @returns RevokeTablePermissionResponse
601
+ */
602
+ revokeTablePermission(instanceId: string, request: $_model.RevokeTablePermissionRequest): Promise<$_model.RevokeTablePermissionResponse>;
603
+ /**
604
+ * Scales in or out a virtual warehouse.
605
+ *
606
+ * @param request - ScaleHoloWarehouseRequest
607
+ * @param headers - map
608
+ * @param runtime - runtime options for this request RuntimeOptions
609
+ * @returns ScaleHoloWarehouseResponse
610
+ */
611
+ scaleHoloWarehouseWithOptions(instanceId: string, request: $_model.ScaleHoloWarehouseRequest, headers: {
612
+ [key: string]: string;
613
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleHoloWarehouseResponse>;
614
+ /**
615
+ * Scales in or out a virtual warehouse.
616
+ *
617
+ * @param request - ScaleHoloWarehouseRequest
618
+ * @returns ScaleHoloWarehouseResponse
619
+ */
620
+ scaleHoloWarehouse(instanceId: string, request: $_model.ScaleHoloWarehouseRequest): Promise<$_model.ScaleHoloWarehouseResponse>;
3474
621
  /**
3475
622
  * Changes the specifications and storage space of a Hologres instance.
3476
623
  *
@@ -3484,9 +631,9 @@ export default class Client extends OpenApi {
3484
631
  * @param runtime - runtime options for this request RuntimeOptions
3485
632
  * @returns ScaleInstanceResponse
3486
633
  */
3487
- scaleInstanceWithOptions(instanceId: string, request: ScaleInstanceRequest, headers: {
634
+ scaleInstanceWithOptions(instanceId: string, request: $_model.ScaleInstanceRequest, headers: {
3488
635
  [key: string]: string;
3489
- }, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
636
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleInstanceResponse>;
3490
637
  /**
3491
638
  * Changes the specifications and storage space of a Hologres instance.
3492
639
  *
@@ -3498,9 +645,9 @@ export default class Client extends OpenApi {
3498
645
  * @param request - ScaleInstanceRequest
3499
646
  * @returns ScaleInstanceResponse
3500
647
  */
3501
- scaleInstance(instanceId: string, request: ScaleInstanceRequest): Promise<ScaleInstanceResponse>;
648
+ scaleInstance(instanceId: string, request: $_model.ScaleInstanceRequest): Promise<$_model.ScaleInstanceResponse>;
3502
649
  /**
3503
- * 暂停实例
650
+ * Stops an instance.
3504
651
  *
3505
652
  * @param headers - map
3506
653
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3508,12 +655,30 @@ export default class Client extends OpenApi {
3508
655
  */
3509
656
  stopInstanceWithOptions(instanceId: string, headers: {
3510
657
  [key: string]: string;
3511
- }, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
658
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.StopInstanceResponse>;
3512
659
  /**
3513
- * 暂停实例
660
+ * Stops an instance.
3514
661
  * @returns StopInstanceResponse
3515
662
  */
3516
- stopInstance(instanceId: string): Promise<StopInstanceResponse>;
663
+ stopInstance(instanceId: string): Promise<$_model.StopInstanceResponse>;
664
+ /**
665
+ * Suspends a virtual warehouse.
666
+ *
667
+ * @param request - SuspendHoloWarehouseRequest
668
+ * @param headers - map
669
+ * @param runtime - runtime options for this request RuntimeOptions
670
+ * @returns SuspendHoloWarehouseResponse
671
+ */
672
+ suspendHoloWarehouseWithOptions(instanceId: string, request: $_model.SuspendHoloWarehouseRequest, headers: {
673
+ [key: string]: string;
674
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SuspendHoloWarehouseResponse>;
675
+ /**
676
+ * Suspends a virtual warehouse.
677
+ *
678
+ * @param request - SuspendHoloWarehouseRequest
679
+ * @returns SuspendHoloWarehouseResponse
680
+ */
681
+ suspendHoloWarehouse(instanceId: string, request: $_model.SuspendHoloWarehouseRequest): Promise<$_model.SuspendHoloWarehouseResponse>;
3517
682
  /**
3518
683
  * Changes the name of an instance.
3519
684
  *
@@ -3522,16 +687,16 @@ export default class Client extends OpenApi {
3522
687
  * @param runtime - runtime options for this request RuntimeOptions
3523
688
  * @returns UpdateInstanceNameResponse
3524
689
  */
3525
- updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
690
+ updateInstanceNameWithOptions(instanceId: string, request: $_model.UpdateInstanceNameRequest, headers: {
3526
691
  [key: string]: string;
3527
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
692
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNameResponse>;
3528
693
  /**
3529
694
  * Changes the name of an instance.
3530
695
  *
3531
696
  * @param request - UpdateInstanceNameRequest
3532
697
  * @returns UpdateInstanceNameResponse
3533
698
  */
3534
- updateInstanceName(instanceId: string, request: UpdateInstanceNameRequest): Promise<UpdateInstanceNameResponse>;
699
+ updateInstanceName(instanceId: string, request: $_model.UpdateInstanceNameRequest): Promise<$_model.UpdateInstanceNameResponse>;
3535
700
  /**
3536
701
  * Modifies the network configuration of an instance.
3537
702
  *
@@ -3540,14 +705,14 @@ export default class Client extends OpenApi {
3540
705
  * @param runtime - runtime options for this request RuntimeOptions
3541
706
  * @returns UpdateInstanceNetworkTypeResponse
3542
707
  */
3543
- updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
708
+ updateInstanceNetworkTypeWithOptions(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest, headers: {
3544
709
  [key: string]: string;
3545
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
710
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
3546
711
  /**
3547
712
  * Modifies the network configuration of an instance.
3548
713
  *
3549
714
  * @param request - UpdateInstanceNetworkTypeRequest
3550
715
  * @returns UpdateInstanceNetworkTypeResponse
3551
716
  */
3552
- updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
717
+ updateInstanceNetworkType(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
3553
718
  }