@alicloud/hologram20220601 1.1.0 → 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 +675 -1041
  2. package/dist/client.js +1439 -1626
  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 +6 -9
  308. package/src/client.ts +1439 -1927
  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,1084 +1,718 @@
1
- /**
2
- *
3
- */
4
- import * as $Util from '@alicloud/tea-util';
5
- import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
- import * as $tea from '@alicloud/tea-typescript';
7
- export declare class ChangeResourceGroupRequest extends $tea.Model {
8
- instanceId?: string;
9
- newResourceGroupId?: string;
10
- static names(): {
11
- [key: string]: string;
12
- };
13
- static types(): {
14
- [key: string]: any;
15
- };
16
- constructor(map?: {
17
- [key: string]: any;
18
- });
19
- }
20
- export declare class ChangeResourceGroupResponseBody extends $tea.Model {
21
- data?: boolean;
22
- requestId?: string;
23
- static names(): {
24
- [key: string]: string;
25
- };
26
- static types(): {
27
- [key: string]: any;
28
- };
29
- constructor(map?: {
30
- [key: string]: any;
31
- });
32
- }
33
- export declare class ChangeResourceGroupResponse extends $tea.Model {
34
- headers?: {
35
- [key: string]: string;
36
- };
37
- statusCode?: number;
38
- body?: ChangeResourceGroupResponseBody;
39
- static names(): {
40
- [key: string]: string;
41
- };
42
- static types(): {
43
- [key: string]: any;
44
- };
45
- constructor(map?: {
46
- [key: string]: any;
47
- });
48
- }
49
- export declare class CreateInstanceRequest extends $tea.Model {
50
- autoPay?: boolean;
51
- autoRenew?: boolean;
52
- chargeType?: string;
53
- coldStorageSize?: number;
54
- cpu?: number;
55
- duration?: number;
56
- gatewayCount?: number;
57
- initialDatabases?: string;
58
- instanceName?: string;
59
- instanceType?: string;
60
- leaderInstanceId?: string;
61
- pricingCycle?: string;
62
- regionId?: string;
63
- resourceGroupId?: string;
64
- storageSize?: number;
65
- vSwitchId?: string;
66
- vpcId?: string;
67
- zoneId?: string;
68
- static names(): {
69
- [key: string]: string;
70
- };
71
- static types(): {
72
- [key: string]: any;
73
- };
74
- constructor(map?: {
75
- [key: string]: any;
76
- });
77
- }
78
- export declare class CreateInstanceResponseBody extends $tea.Model {
79
- data?: CreateInstanceResponseBodyData;
80
- errorCode?: string;
81
- errorMessage?: string;
82
- httpStatusCode?: string;
83
- requestId?: string;
84
- static names(): {
85
- [key: string]: string;
86
- };
87
- static types(): {
88
- [key: string]: any;
89
- };
90
- constructor(map?: {
91
- [key: string]: any;
92
- });
93
- }
94
- export declare class CreateInstanceResponse extends $tea.Model {
95
- headers?: {
96
- [key: string]: string;
97
- };
98
- statusCode?: number;
99
- body?: CreateInstanceResponseBody;
100
- static names(): {
101
- [key: string]: string;
102
- };
103
- static types(): {
104
- [key: string]: any;
105
- };
106
- constructor(map?: {
107
- [key: string]: any;
108
- });
109
- }
110
- export declare class DeleteInstanceRequest extends $tea.Model {
111
- regionId?: string;
112
- static names(): {
113
- [key: string]: string;
114
- };
115
- static types(): {
116
- [key: string]: any;
117
- };
118
- constructor(map?: {
119
- [key: string]: any;
120
- });
121
- }
122
- export declare class DeleteInstanceResponseBody extends $tea.Model {
123
- data?: boolean;
124
- errorCode?: string;
125
- errorMessage?: string;
126
- httpStatusCode?: string;
127
- requestId?: string;
128
- success?: boolean;
129
- static names(): {
130
- [key: string]: string;
131
- };
132
- static types(): {
133
- [key: string]: any;
134
- };
135
- constructor(map?: {
136
- [key: string]: any;
137
- });
138
- }
139
- export declare class DeleteInstanceResponse extends $tea.Model {
140
- headers?: {
141
- [key: string]: string;
142
- };
143
- statusCode?: number;
144
- body?: DeleteInstanceResponseBody;
145
- static names(): {
146
- [key: string]: string;
147
- };
148
- static types(): {
149
- [key: string]: any;
150
- };
151
- constructor(map?: {
152
- [key: string]: any;
153
- });
154
- }
155
- export declare class DisableHiveAccessRequest extends $tea.Model {
156
- regionId?: string;
157
- static names(): {
158
- [key: string]: string;
159
- };
160
- static types(): {
161
- [key: string]: any;
162
- };
163
- constructor(map?: {
164
- [key: string]: any;
165
- });
166
- }
167
- export declare class DisableHiveAccessResponseBody extends $tea.Model {
168
- data?: boolean;
169
- errorCode?: string;
170
- errorMessage?: string;
171
- httpStatusCode?: string;
172
- requestId?: string;
173
- success?: boolean;
174
- static names(): {
175
- [key: string]: string;
176
- };
177
- static types(): {
178
- [key: string]: any;
179
- };
180
- constructor(map?: {
181
- [key: string]: any;
182
- });
183
- }
184
- export declare class DisableHiveAccessResponse extends $tea.Model {
185
- headers?: {
186
- [key: string]: string;
187
- };
188
- statusCode?: number;
189
- body?: DisableHiveAccessResponseBody;
190
- static names(): {
191
- [key: string]: string;
192
- };
193
- static types(): {
194
- [key: string]: any;
195
- };
196
- constructor(map?: {
197
- [key: string]: any;
198
- });
199
- }
200
- export declare class EnableHiveAccessRequest extends $tea.Model {
201
- regionId?: string;
202
- static names(): {
203
- [key: string]: string;
204
- };
205
- static types(): {
206
- [key: string]: any;
207
- };
208
- constructor(map?: {
209
- [key: string]: any;
210
- });
211
- }
212
- export declare class EnableHiveAccessResponseBody extends $tea.Model {
213
- data?: boolean;
214
- errorCode?: string;
215
- errorMessage?: string;
216
- httpStatusCode?: string;
217
- requestId?: string;
218
- success?: boolean;
219
- static names(): {
220
- [key: string]: string;
221
- };
222
- static types(): {
223
- [key: string]: any;
224
- };
225
- constructor(map?: {
226
- [key: string]: any;
227
- });
228
- }
229
- export declare class EnableHiveAccessResponse extends $tea.Model {
230
- headers?: {
231
- [key: string]: string;
232
- };
233
- statusCode?: number;
234
- body?: EnableHiveAccessResponseBody;
235
- static names(): {
236
- [key: string]: string;
237
- };
238
- static types(): {
239
- [key: string]: any;
240
- };
241
- constructor(map?: {
242
- [key: string]: any;
243
- });
244
- }
245
- export declare class GetInstanceResponseBody extends $tea.Model {
246
- errorCode?: string;
247
- errorMessage?: string;
248
- httpStatusCode?: string;
249
- instance?: GetInstanceResponseBodyInstance;
250
- requestId?: string;
251
- success?: boolean;
252
- static names(): {
253
- [key: string]: string;
254
- };
255
- static types(): {
256
- [key: string]: any;
257
- };
258
- constructor(map?: {
259
- [key: string]: any;
260
- });
261
- }
262
- export declare class GetInstanceResponse extends $tea.Model {
263
- headers?: {
264
- [key: string]: string;
265
- };
266
- statusCode?: number;
267
- body?: GetInstanceResponseBody;
268
- static names(): {
269
- [key: string]: string;
270
- };
271
- static types(): {
272
- [key: string]: any;
273
- };
274
- constructor(map?: {
275
- [key: string]: any;
276
- });
277
- }
278
- export declare class GetWarehouseDetailResponseBody extends $tea.Model {
279
- requestId?: string;
280
- warehouseDetail?: GetWarehouseDetailResponseBodyWarehouseDetail;
281
- static names(): {
282
- [key: string]: string;
283
- };
284
- static types(): {
285
- [key: string]: any;
286
- };
287
- constructor(map?: {
288
- [key: string]: any;
289
- });
290
- }
291
- export declare class GetWarehouseDetailResponse extends $tea.Model {
292
- headers?: {
293
- [key: string]: string;
294
- };
295
- statusCode?: number;
296
- body?: GetWarehouseDetailResponseBody;
297
- static names(): {
298
- [key: string]: string;
299
- };
300
- static types(): {
301
- [key: string]: any;
302
- };
303
- constructor(map?: {
304
- [key: string]: any;
305
- });
306
- }
307
- export declare class ListInstancesRequest extends $tea.Model {
308
- cmsInstanceType?: string;
309
- resourceGroupId?: string;
310
- tag?: ListInstancesRequestTag[];
311
- static names(): {
312
- [key: string]: string;
313
- };
314
- static types(): {
315
- [key: string]: any;
316
- };
317
- constructor(map?: {
318
- [key: string]: any;
319
- });
320
- }
321
- export declare class ListInstancesResponseBody extends $tea.Model {
322
- errorCode?: string;
323
- errorMessage?: string;
324
- httpStatusCode?: string;
325
- instanceList?: ListInstancesResponseBodyInstanceList[];
326
- requestId?: string;
327
- success?: string;
328
- static names(): {
329
- [key: string]: string;
330
- };
331
- static types(): {
332
- [key: string]: any;
333
- };
334
- constructor(map?: {
335
- [key: string]: any;
336
- });
337
- }
338
- export declare class ListInstancesResponse extends $tea.Model {
339
- headers?: {
340
- [key: string]: string;
341
- };
342
- statusCode?: number;
343
- body?: ListInstancesResponseBody;
344
- static names(): {
345
- [key: string]: string;
346
- };
347
- static types(): {
348
- [key: string]: any;
349
- };
350
- constructor(map?: {
351
- [key: string]: any;
352
- });
353
- }
354
- export declare class ListWarehousesResponseBody extends $tea.Model {
355
- warehouseList?: ListWarehousesResponseBodyWarehouseList[];
356
- requestId?: string;
357
- static names(): {
358
- [key: string]: string;
359
- };
360
- static types(): {
361
- [key: string]: any;
362
- };
363
- constructor(map?: {
364
- [key: string]: any;
365
- });
366
- }
367
- export declare class ListWarehousesResponse extends $tea.Model {
368
- headers?: {
369
- [key: string]: string;
370
- };
371
- statusCode?: number;
372
- body?: ListWarehousesResponseBody;
373
- static names(): {
374
- [key: string]: string;
375
- };
376
- static types(): {
377
- [key: string]: any;
378
- };
379
- constructor(map?: {
380
- [key: string]: any;
381
- });
382
- }
383
- export declare class RenewInstanceRequest extends $tea.Model {
384
- autoRenew?: boolean;
385
- duration?: number;
386
- static names(): {
387
- [key: string]: string;
388
- };
389
- static types(): {
390
- [key: string]: any;
391
- };
392
- constructor(map?: {
393
- [key: string]: any;
394
- });
395
- }
396
- export declare class RenewInstanceResponseBody extends $tea.Model {
397
- data?: RenewInstanceResponseBodyData;
398
- errorCode?: string;
399
- errorMessage?: string;
400
- httpStatusCode?: string;
401
- requestId?: string;
402
- success?: string;
403
- static names(): {
404
- [key: string]: string;
405
- };
406
- static types(): {
407
- [key: string]: any;
408
- };
409
- constructor(map?: {
410
- [key: string]: any;
411
- });
412
- }
413
- export declare class RenewInstanceResponse extends $tea.Model {
414
- headers?: {
415
- [key: string]: string;
416
- };
417
- statusCode?: number;
418
- body?: RenewInstanceResponseBody;
419
- static names(): {
420
- [key: string]: string;
421
- };
422
- static types(): {
423
- [key: string]: any;
424
- };
425
- constructor(map?: {
426
- [key: string]: any;
427
- });
428
- }
429
- export declare class RestartInstanceResponseBody extends $tea.Model {
430
- data?: boolean;
431
- errorCode?: string;
432
- errorMessage?: string;
433
- httpStatusCode?: string;
434
- requestId?: string;
435
- success?: boolean;
436
- static names(): {
437
- [key: string]: string;
438
- };
439
- static types(): {
440
- [key: string]: any;
441
- };
442
- constructor(map?: {
443
- [key: string]: any;
444
- });
445
- }
446
- export declare class RestartInstanceResponse extends $tea.Model {
447
- headers?: {
448
- [key: string]: string;
449
- };
450
- statusCode?: number;
451
- body?: RestartInstanceResponseBody;
452
- static names(): {
453
- [key: string]: string;
454
- };
455
- static types(): {
456
- [key: string]: any;
457
- };
458
- constructor(map?: {
459
- [key: string]: any;
460
- });
461
- }
462
- export declare class ResumeInstanceResponseBody extends $tea.Model {
463
- data?: boolean;
464
- errorCode?: string;
465
- errorMessage?: string;
466
- httpStatusCode?: string;
467
- requestId?: string;
468
- success?: boolean;
469
- static names(): {
470
- [key: string]: string;
471
- };
472
- static types(): {
473
- [key: string]: any;
474
- };
475
- constructor(map?: {
476
- [key: string]: any;
477
- });
478
- }
479
- export declare class ResumeInstanceResponse extends $tea.Model {
480
- headers?: {
481
- [key: string]: string;
482
- };
483
- statusCode?: number;
484
- body?: ResumeInstanceResponseBody;
485
- static names(): {
486
- [key: string]: string;
487
- };
488
- static types(): {
489
- [key: string]: any;
490
- };
491
- constructor(map?: {
492
- [key: string]: any;
493
- });
494
- }
495
- export declare class ScaleInstanceRequest extends $tea.Model {
496
- coldStorageSize?: number;
497
- cpu?: number;
498
- gatewayCount?: number;
499
- scaleType?: string;
500
- storageSize?: number;
501
- static names(): {
502
- [key: string]: string;
503
- };
504
- static types(): {
505
- [key: string]: any;
506
- };
507
- constructor(map?: {
508
- [key: string]: any;
509
- });
510
- }
511
- export declare class ScaleInstanceResponseBody extends $tea.Model {
512
- data?: ScaleInstanceResponseBodyData;
513
- errorCode?: string;
514
- errorMessage?: string;
515
- httpStatusCode?: string;
516
- requestId?: string;
517
- static names(): {
518
- [key: string]: string;
519
- };
520
- static types(): {
521
- [key: string]: any;
522
- };
523
- constructor(map?: {
524
- [key: string]: any;
525
- });
526
- }
527
- export declare class ScaleInstanceResponse extends $tea.Model {
528
- headers?: {
529
- [key: string]: string;
530
- };
531
- statusCode?: number;
532
- body?: ScaleInstanceResponseBody;
533
- static names(): {
534
- [key: string]: string;
535
- };
536
- static types(): {
537
- [key: string]: any;
538
- };
539
- constructor(map?: {
540
- [key: string]: any;
541
- });
542
- }
543
- export declare class StopInstanceResponseBody extends $tea.Model {
544
- data?: boolean;
545
- errorCode?: string;
546
- errorMessage?: string;
547
- httpStatusCode?: string;
548
- requestId?: string;
549
- success?: boolean;
550
- static names(): {
551
- [key: string]: string;
552
- };
553
- static types(): {
554
- [key: string]: any;
555
- };
556
- constructor(map?: {
557
- [key: string]: any;
558
- });
559
- }
560
- export declare class StopInstanceResponse extends $tea.Model {
561
- headers?: {
562
- [key: string]: string;
563
- };
564
- statusCode?: number;
565
- body?: StopInstanceResponseBody;
566
- static names(): {
567
- [key: string]: string;
568
- };
569
- static types(): {
570
- [key: string]: any;
571
- };
572
- constructor(map?: {
573
- [key: string]: any;
574
- });
575
- }
576
- export declare class UpdateInstanceNameRequest extends $tea.Model {
577
- instanceName?: string;
578
- static names(): {
579
- [key: string]: string;
580
- };
581
- static types(): {
582
- [key: string]: any;
583
- };
584
- constructor(map?: {
585
- [key: string]: any;
586
- });
587
- }
588
- export declare class UpdateInstanceNameResponseBody extends $tea.Model {
589
- data?: boolean;
590
- errorCode?: string;
591
- errorMessage?: string;
592
- httpStatusCode?: string;
593
- requestId?: string;
594
- success?: boolean;
595
- static names(): {
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';
6
+ export default class Client extends OpenApi {
7
+ constructor(config: $OpenApiUtil.Config);
8
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
596
9
  [key: string]: string;
597
- };
598
- static types(): {
599
- [key: string]: any;
600
- };
601
- constructor(map?: {
602
- [key: string]: any;
603
- });
604
- }
605
- export declare class UpdateInstanceNameResponse extends $tea.Model {
606
- headers?: {
10
+ }, endpoint: string): string;
11
+ /**
12
+ * Updates a resource group.
13
+ *
14
+ * @param request - ChangeResourceGroupRequest
15
+ * @param headers - map
16
+ * @param runtime - runtime options for this request RuntimeOptions
17
+ * @returns ChangeResourceGroupResponse
18
+ */
19
+ changeResourceGroupWithOptions(request: $_model.ChangeResourceGroupRequest, headers: {
607
20
  [key: string]: string;
608
- };
609
- statusCode?: number;
610
- body?: UpdateInstanceNameResponseBody;
611
- static names(): {
21
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ChangeResourceGroupResponse>;
22
+ /**
23
+ * Updates a resource group.
24
+ *
25
+ * @param request - ChangeResourceGroupRequest
26
+ * @returns ChangeResourceGroupResponse
27
+ */
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: {
612
38
  [key: string]: string;
613
- };
614
- static types(): {
615
- [key: string]: any;
616
- };
617
- constructor(map?: {
618
- [key: string]: any;
619
- });
620
- }
621
- export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
622
- anyTunnelToSingleTunnel?: string;
623
- networkTypes?: string;
624
- vSwitchId?: string;
625
- vpcId?: string;
626
- vpcOwnerId?: string;
627
- vpcRegionId?: string;
628
- static names(): {
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>;
47
+ /**
48
+ * Creates a Hologres instance.
49
+ *
50
+ * @remarks
51
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
52
+ * * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
53
+ * * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
54
+ * <!---->
55
+ * cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
56
+ * cn-shanghai: cn-shanghai-e, cn-shanghai-f
57
+ * cn-beijing: cn-beijing-i, cn-beijing-g
58
+ * cn-zhangjiakou: cn-zhangjiakou-b
59
+ * cn-shenzhen: cn-shenzhen-e
60
+ * cn-hongkong: cn-hongkong-b
61
+ * cn-shanghai-finance-1: cn-shanghai-finance-1z
62
+ * ap-northeast-1: ap-northeast-1a
63
+ * ap-southeast-1: ap-southeast-1c
64
+ * ap-southeast-3: ap-southeast-3b
65
+ * ap-southeast-5: ap-southeast-5b
66
+ * ap-south-1: ap-south-1b
67
+ * eu-central-1: eu-central-1a
68
+ * us-east-1: us-east-1a
69
+ * us-west-1: us-west-1b
70
+ *
71
+ * @param request - CreateInstanceRequest
72
+ * @param headers - map
73
+ * @param runtime - runtime options for this request RuntimeOptions
74
+ * @returns CreateInstanceResponse
75
+ */
76
+ createInstanceWithOptions(request: $_model.CreateInstanceRequest, headers: {
629
77
  [key: string]: string;
630
- };
631
- static types(): {
632
- [key: string]: any;
633
- };
634
- constructor(map?: {
635
- [key: string]: any;
636
- });
637
- }
638
- export declare class UpdateInstanceNetworkTypeResponseBody extends $tea.Model {
639
- data?: string;
640
- errorCode?: string;
641
- errorMessage?: string;
642
- httpStatusCode?: string;
643
- requestId?: string;
644
- success?: boolean;
645
- static names(): {
78
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInstanceResponse>;
79
+ /**
80
+ * Creates a Hologres instance.
81
+ *
82
+ * @remarks
83
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
84
+ * * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
85
+ * * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
86
+ * <!---->
87
+ * cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
88
+ * cn-shanghai: cn-shanghai-e, cn-shanghai-f
89
+ * cn-beijing: cn-beijing-i, cn-beijing-g
90
+ * cn-zhangjiakou: cn-zhangjiakou-b
91
+ * cn-shenzhen: cn-shenzhen-e
92
+ * cn-hongkong: cn-hongkong-b
93
+ * cn-shanghai-finance-1: cn-shanghai-finance-1z
94
+ * ap-northeast-1: ap-northeast-1a
95
+ * ap-southeast-1: ap-southeast-1c
96
+ * ap-southeast-3: ap-southeast-3b
97
+ * ap-southeast-5: ap-southeast-5b
98
+ * ap-south-1: ap-south-1b
99
+ * eu-central-1: eu-central-1a
100
+ * us-east-1: us-east-1a
101
+ * us-west-1: us-west-1b
102
+ *
103
+ * @param request - CreateInstanceRequest
104
+ * @returns CreateInstanceResponse
105
+ */
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: {
646
116
  [key: string]: string;
647
- };
648
- static types(): {
649
- [key: string]: any;
650
- };
651
- constructor(map?: {
652
- [key: string]: any;
653
- });
654
- }
655
- export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
656
- headers?: {
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>;
125
+ /**
126
+ * Deletes a Hologres instance.
127
+ *
128
+ * @remarks
129
+ * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
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).
131
+ * * You can delete only pay-as-you-go instances.
132
+ *
133
+ * @param request - DeleteInstanceRequest
134
+ * @param headers - map
135
+ * @param runtime - runtime options for this request RuntimeOptions
136
+ * @returns DeleteInstanceResponse
137
+ */
138
+ deleteInstanceWithOptions(instanceId: string, request: $_model.DeleteInstanceRequest, headers: {
657
139
  [key: string]: string;
658
- };
659
- statusCode?: number;
660
- body?: UpdateInstanceNetworkTypeResponseBody;
661
- static names(): {
140
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteInstanceResponse>;
141
+ /**
142
+ * Deletes a Hologres instance.
143
+ *
144
+ * @remarks
145
+ * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
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).
147
+ * * You can delete only pay-as-you-go instances.
148
+ *
149
+ * @param request - DeleteInstanceRequest
150
+ * @returns DeleteInstanceResponse
151
+ */
152
+ deleteInstance(instanceId: string, request: $_model.DeleteInstanceRequest): Promise<$_model.DeleteInstanceResponse>;
153
+ /**
154
+ * Disables data lake acceleration.
155
+ *
156
+ * @param request - DisableHiveAccessRequest
157
+ * @param headers - map
158
+ * @param runtime - runtime options for this request RuntimeOptions
159
+ * @returns DisableHiveAccessResponse
160
+ */
161
+ disableHiveAccessWithOptions(instanceId: string, request: $_model.DisableHiveAccessRequest, headers: {
662
162
  [key: string]: string;
663
- };
664
- static types(): {
665
- [key: string]: any;
666
- };
667
- constructor(map?: {
668
- [key: string]: any;
669
- });
670
- }
671
- export declare class CreateInstanceResponseBodyData extends $tea.Model {
672
- code?: string;
673
- instanceId?: string;
674
- message?: string;
675
- orderId?: string;
676
- success?: string;
677
- static names(): {
163
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableHiveAccessResponse>;
164
+ /**
165
+ * Disables data lake acceleration.
166
+ *
167
+ * @param request - DisableHiveAccessRequest
168
+ * @returns DisableHiveAccessResponse
169
+ */
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: {
678
179
  [key: string]: string;
679
- };
680
- static types(): {
681
- [key: string]: any;
682
- };
683
- constructor(map?: {
684
- [key: string]: any;
685
- });
686
- }
687
- export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model {
688
- alternativeEndpoints?: string;
689
- enabled?: boolean;
690
- endpoint?: string;
691
- type?: string;
692
- vSwitchId?: string;
693
- vpcId?: string;
694
- vpcInstanceId?: string;
695
- static names(): {
180
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableSSLResponse>;
181
+ /**
182
+ * 关闭SSL
183
+ * @returns DisableSSLResponse
184
+ */
185
+ disableSSL(instanceId: string): Promise<$_model.DisableSSLResponse>;
186
+ /**
187
+ * Enables data lake acceleration.
188
+ *
189
+ * @param request - EnableHiveAccessRequest
190
+ * @param headers - map
191
+ * @param runtime - runtime options for this request RuntimeOptions
192
+ * @returns EnableHiveAccessResponse
193
+ */
194
+ enableHiveAccessWithOptions(instanceId: string, request: $_model.EnableHiveAccessRequest, headers: {
696
195
  [key: string]: string;
697
- };
698
- static types(): {
699
- [key: string]: any;
700
- };
701
- constructor(map?: {
702
- [key: string]: any;
703
- });
704
- }
705
- export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
706
- key?: string;
707
- value?: string;
708
- static names(): {
196
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableHiveAccessResponse>;
197
+ /**
198
+ * Enables data lake acceleration.
199
+ *
200
+ * @param request - EnableHiveAccessRequest
201
+ * @returns EnableHiveAccessResponse
202
+ */
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: {
709
212
  [key: string]: string;
710
- };
711
- static types(): {
712
- [key: string]: any;
713
- };
714
- constructor(map?: {
715
- [key: string]: any;
716
- });
717
- }
718
- export declare class GetInstanceResponseBodyInstance extends $tea.Model {
719
- autoRenewal?: string;
720
- coldStorage?: number;
721
- commodityCode?: string;
722
- computeNodeCount?: number;
723
- cpu?: number;
724
- creationTime?: string;
725
- disk?: string;
726
- enableHiveAccess?: string;
727
- enableServerless?: boolean;
728
- endpoints?: GetInstanceResponseBodyInstanceEndpoints[];
729
- expirationTime?: string;
730
- gatewayCount?: number;
731
- gatewayCpu?: number;
732
- gatewayMemory?: number;
733
- instanceChargeType?: string;
734
- instanceId?: string;
735
- instanceName?: string;
736
- instanceOwner?: string;
737
- instanceStatus?: string;
738
- instanceType?: string;
739
- leaderInstanceId?: string;
740
- memory?: number;
741
- regionId?: string;
742
- replicaRole?: string;
743
- resourceGroupId?: string;
744
- suspendReason?: string;
745
- tags?: GetInstanceResponseBodyInstanceTags[];
746
- version?: string;
747
- zoneId?: string;
748
- static names(): {
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: {
749
227
  [key: string]: string;
750
- };
751
- static types(): {
752
- [key: string]: any;
753
- };
754
- constructor(map?: {
755
- [key: string]: any;
756
- });
757
- }
758
- export declare class GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList extends $tea.Model {
759
- cpu?: number;
760
- id?: number;
761
- mem?: number;
762
- name?: string;
763
- nodeCount?: number;
764
- status?: string;
765
- static names(): {
228
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCertificateAttributeResponse>;
229
+ /**
230
+ * 获得证书信息
231
+ * @returns GetCertificateAttributeResponse
232
+ */
233
+ getCertificateAttribute(instanceId: string): Promise<$_model.GetCertificateAttributeResponse>;
234
+ /**
235
+ * Obtains the details of an instance.
236
+ *
237
+ * @param headers - map
238
+ * @param runtime - runtime options for this request RuntimeOptions
239
+ * @returns GetInstanceResponse
240
+ */
241
+ getInstanceWithOptions(instanceId: string, headers: {
766
242
  [key: string]: string;
767
- };
768
- static types(): {
769
- [key: string]: any;
770
- };
771
- constructor(map?: {
772
- [key: string]: any;
773
- });
774
- }
775
- export declare class GetWarehouseDetailResponseBodyWarehouseDetail extends $tea.Model {
776
- remainingCpu?: string;
777
- reservedCpu?: string;
778
- warehouseList?: GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList[];
779
- static names(): {
243
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceResponse>;
244
+ /**
245
+ * Obtains the details of an instance.
246
+ * @returns GetInstanceResponse
247
+ */
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: {
780
257
  [key: string]: string;
781
- };
782
- static types(): {
783
- [key: string]: any;
784
- };
785
- constructor(map?: {
786
- [key: string]: any;
787
- });
788
- }
789
- export declare class ListInstancesRequestTag extends $tea.Model {
790
- key?: string;
791
- value?: string;
792
- static names(): {
258
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRootCertificateResponse>;
259
+ /**
260
+ * 获得根证书
261
+ * @returns GetRootCertificateResponse
262
+ */
263
+ getRootCertificate(instanceId: string): Promise<$_model.GetRootCertificateResponse>;
264
+ /**
265
+ * Queries details of a virtual warehouse instance.
266
+ *
267
+ * @param headers - map
268
+ * @param runtime - runtime options for this request RuntimeOptions
269
+ * @returns GetWarehouseDetailResponse
270
+ */
271
+ getWarehouseDetailWithOptions(instanceId: string, headers: {
793
272
  [key: string]: string;
794
- };
795
- static types(): {
796
- [key: string]: any;
797
- };
798
- constructor(map?: {
799
- [key: string]: any;
800
- });
801
- }
802
- export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea.Model {
803
- enabled?: boolean;
804
- endpoint?: string;
805
- type?: string;
806
- vSwitchId?: string;
807
- vpcId?: string;
808
- vpcInstanceId?: string;
809
- static names(): {
273
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWarehouseDetailResponse>;
274
+ /**
275
+ * Queries details of a virtual warehouse instance.
276
+ * @returns GetWarehouseDetailResponse
277
+ */
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: {
810
288
  [key: string]: string;
811
- };
812
- static types(): {
813
- [key: string]: any;
814
- };
815
- constructor(map?: {
816
- [key: string]: any;
817
- });
818
- }
819
- export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Model {
820
- key?: string;
821
- value?: string;
822
- static names(): {
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: {
823
306
  [key: string]: string;
824
- };
825
- static types(): {
826
- [key: string]: any;
827
- };
828
- constructor(map?: {
829
- [key: string]: any;
830
- });
831
- }
832
- export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
833
- commodityCode?: string;
834
- creationTime?: string;
835
- enableHiveAccess?: string;
836
- endpoints?: ListInstancesResponseBodyInstanceListEndpoints[];
837
- expirationTime?: string;
838
- instanceChargeType?: string;
839
- instanceId?: string;
840
- instanceName?: string;
841
- instanceStatus?: string;
842
- instanceType?: string;
843
- leaderInstanceId?: string;
844
- regionId?: string;
845
- resourceGroupId?: string;
846
- suspendReason?: string;
847
- tags?: ListInstancesResponseBodyInstanceListTags[];
848
- version?: string;
849
- zoneId?: string;
850
- static names(): {
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: {
851
324
  [key: string]: string;
852
- };
853
- static types(): {
854
- [key: string]: any;
855
- };
856
- constructor(map?: {
857
- [key: string]: any;
858
- });
859
- }
860
- export declare class ListWarehousesResponseBodyWarehouseList extends $tea.Model {
861
- cpu?: number;
862
- id?: number;
863
- mem?: number;
864
- name?: string;
865
- nodeCount?: number;
866
- status?: string;
867
- static names(): {
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: {
868
342
  [key: string]: string;
869
- };
870
- static types(): {
871
- [key: string]: any;
872
- };
873
- constructor(map?: {
874
- [key: string]: any;
875
- });
876
- }
877
- export declare class RenewInstanceResponseBodyData extends $tea.Model {
878
- code?: string;
879
- message?: string;
880
- orderId?: string;
881
- success?: boolean;
882
- static names(): {
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: {
883
360
  [key: string]: string;
884
- };
885
- static types(): {
886
- [key: string]: any;
887
- };
888
- constructor(map?: {
889
- [key: string]: any;
890
- });
891
- }
892
- export declare class ScaleInstanceResponseBodyData extends $tea.Model {
893
- code?: string;
894
- message?: string;
895
- orderId?: string;
896
- success?: boolean;
897
- static names(): {
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>;
369
+ /**
370
+ * Queries a list of instances.
371
+ *
372
+ * @param request - ListInstancesRequest
373
+ * @param headers - map
374
+ * @param runtime - runtime options for this request RuntimeOptions
375
+ * @returns ListInstancesResponse
376
+ */
377
+ listInstancesWithOptions(request: $_model.ListInstancesRequest, headers: {
898
378
  [key: string]: string;
899
- };
900
- static types(): {
901
- [key: string]: any;
902
- };
903
- constructor(map?: {
904
- [key: string]: any;
905
- });
906
- }
907
- export default class Client extends OpenApi {
908
- constructor(config: $OpenApi.Config);
909
- getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
379
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstancesResponse>;
380
+ /**
381
+ * Queries a list of instances.
382
+ *
383
+ * @param request - ListInstancesRequest
384
+ * @returns ListInstancesResponse
385
+ */
386
+ listInstances(request: $_model.ListInstancesRequest): Promise<$_model.ListInstancesResponse>;
387
+ /**
388
+ * Queries the list of virtual warehouse instances.
389
+ *
390
+ * @param headers - map
391
+ * @param runtime - runtime options for this request RuntimeOptions
392
+ * @returns ListWarehousesResponse
393
+ */
394
+ listWarehousesWithOptions(instanceId: string, headers: {
910
395
  [key: string]: string;
911
- }, endpoint: string): string;
912
- changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, headers: {
396
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWarehousesResponse>;
397
+ /**
398
+ * Queries the list of virtual warehouse instances.
399
+ * @returns ListWarehousesResponse
400
+ */
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: {
913
411
  [key: string]: string;
914
- }, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
915
- changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
916
- /**
917
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
918
- * * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
919
- * * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
920
- * <!---->
921
- * cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
922
- * cn-shanghai: cn-shanghai-e, cn-shanghai-f
923
- * cn-beijing: cn-beijing-i, cn-beijing-g
924
- * cn-zhangjiakou: cn-zhangjiakou-b
925
- * cn-shenzhen: cn-shenzhen-e
926
- * cn-hongkong: cn-hongkong-b
927
- * cn-shanghai-finance-1: cn-shanghai-finance-1z
928
- * ap-northeast-1: ap-northeast-1a
929
- * ap-southeast-1: ap-southeast-1c
930
- * ap-southeast-3: ap-southeast-3b
931
- * ap-southeast-5: ap-southeast-5b
932
- * ap-south-1: ap-south-1b
933
- * eu-central-1: eu-central-1a
934
- * us-east-1: us-east-1a
935
- * us-west-1: us-west-1b
936
- *
937
- * @param request CreateInstanceRequest
938
- * @param headers map
939
- * @param runtime runtime options for this request RuntimeOptions
940
- * @return CreateInstanceResponse
941
- */
942
- createInstanceWithOptions(request: CreateInstanceRequest, headers: {
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: {
943
429
  [key: string]: string;
944
- }, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
945
- /**
946
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
947
- * * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
948
- * * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
949
- * <!---->
950
- * cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
951
- * cn-shanghai: cn-shanghai-e, cn-shanghai-f
952
- * cn-beijing: cn-beijing-i, cn-beijing-g
953
- * cn-zhangjiakou: cn-zhangjiakou-b
954
- * cn-shenzhen: cn-shenzhen-e
955
- * cn-hongkong: cn-hongkong-b
956
- * cn-shanghai-finance-1: cn-shanghai-finance-1z
957
- * ap-northeast-1: ap-northeast-1a
958
- * ap-southeast-1: ap-southeast-1c
959
- * ap-southeast-3: ap-southeast-3b
960
- * ap-southeast-5: ap-southeast-5b
961
- * ap-south-1: ap-south-1b
962
- * eu-central-1: eu-central-1a
963
- * us-east-1: us-east-1a
964
- * us-west-1: us-west-1b
965
- *
966
- * @param request CreateInstanceRequest
967
- * @return CreateInstanceResponse
968
- */
969
- createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
970
- /**
971
- * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
972
- * * 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).
973
- * * You can delete only pay-as-you-go instances.
974
- * * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
975
- *
976
- * @param request DeleteInstanceRequest
977
- * @param headers map
978
- * @param runtime runtime options for this request RuntimeOptions
979
- * @return DeleteInstanceResponse
980
- */
981
- deleteInstanceWithOptions(instanceId: string, request: DeleteInstanceRequest, headers: {
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>;
438
+ /**
439
+ * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
440
+ *
441
+ * @remarks
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).
445
+ * * You can renew only subscription instances.
446
+ *
447
+ * @param request - RenewInstanceRequest
448
+ * @param headers - map
449
+ * @param runtime - runtime options for this request RuntimeOptions
450
+ * @returns RenewInstanceResponse
451
+ */
452
+ renewInstanceWithOptions(instanceId: string, request: $_model.RenewInstanceRequest, headers: {
982
453
  [key: string]: string;
983
- }, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
984
- /**
985
- * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
986
- * * 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).
987
- * * You can delete only pay-as-you-go instances.
988
- * * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
989
- *
990
- * @param request DeleteInstanceRequest
991
- * @return DeleteInstanceResponse
992
- */
993
- deleteInstance(instanceId: string, request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
994
- disableHiveAccessWithOptions(instanceId: string, request: DisableHiveAccessRequest, headers: {
454
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenewInstanceResponse>;
455
+ /**
456
+ * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
457
+ *
458
+ * @remarks
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).
462
+ * * You can renew only subscription instances.
463
+ *
464
+ * @param request - RenewInstanceRequest
465
+ * @returns RenewInstanceResponse
466
+ */
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: {
995
476
  [key: string]: string;
996
- }, runtime: $Util.RuntimeOptions): Promise<DisableHiveAccessResponse>;
997
- disableHiveAccess(instanceId: string, request: DisableHiveAccessRequest): Promise<DisableHiveAccessResponse>;
998
- enableHiveAccessWithOptions(instanceId: string, request: EnableHiveAccessRequest, headers: {
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: {
999
492
  [key: string]: string;
1000
- }, runtime: $Util.RuntimeOptions): Promise<EnableHiveAccessResponse>;
1001
- enableHiveAccess(instanceId: string, request: EnableHiveAccessRequest): Promise<EnableHiveAccessResponse>;
1002
- getInstanceWithOptions(instanceId: string, headers: {
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>;
501
+ /**
502
+ * Restarts an instance.
503
+ *
504
+ * @param headers - map
505
+ * @param runtime - runtime options for this request RuntimeOptions
506
+ * @returns RestartInstanceResponse
507
+ */
508
+ restartInstanceWithOptions(instanceId: string, headers: {
1003
509
  [key: string]: string;
1004
- }, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
1005
- getInstance(instanceId: string): Promise<GetInstanceResponse>;
1006
- getWarehouseDetailWithOptions(instanceId: string, headers: {
510
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RestartInstanceResponse>;
511
+ /**
512
+ * Restarts an instance.
513
+ * @returns RestartInstanceResponse
514
+ */
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: {
1007
525
  [key: string]: string;
1008
- }, runtime: $Util.RuntimeOptions): Promise<GetWarehouseDetailResponse>;
1009
- getWarehouseDetail(instanceId: string): Promise<GetWarehouseDetailResponse>;
1010
- listInstancesWithOptions(request: ListInstancesRequest, headers: {
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>;
534
+ /**
535
+ * Resumes an instance.
536
+ *
537
+ * @param headers - map
538
+ * @param runtime - runtime options for this request RuntimeOptions
539
+ * @returns ResumeInstanceResponse
540
+ */
541
+ resumeInstanceWithOptions(instanceId: string, headers: {
1011
542
  [key: string]: string;
1012
- }, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
1013
- listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
1014
- listWarehousesWithOptions(instanceId: string, headers: {
543
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeInstanceResponse>;
544
+ /**
545
+ * Resumes an instance.
546
+ * @returns ResumeInstanceResponse
547
+ */
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: {
1015
558
  [key: string]: string;
1016
- }, runtime: $Util.RuntimeOptions): Promise<ListWarehousesResponse>;
1017
- listWarehouses(instanceId: string): Promise<ListWarehousesResponse>;
1018
- /**
1019
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
1020
- * * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
1021
- * * 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).
1022
- * * You can renew only subscription instances.
1023
- *
1024
- * @param request RenewInstanceRequest
1025
- * @param headers map
1026
- * @param runtime runtime options for this request RuntimeOptions
1027
- * @return RenewInstanceResponse
1028
- */
1029
- renewInstanceWithOptions(instanceId: string, request: RenewInstanceRequest, headers: {
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: {
1030
576
  [key: string]: string;
1031
- }, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
577
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeSchemaPermissionResponse>;
1032
578
  /**
1033
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
1034
- * * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
1035
- * * 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).
1036
- * * You can renew only subscription instances.
1037
- *
1038
- * @param request RenewInstanceRequest
1039
- * @return RenewInstanceResponse
579
+ * 取消Schema授权
580
+ *
581
+ * @param request - RevokeSchemaPermissionRequest
582
+ * @returns RevokeSchemaPermissionResponse
1040
583
  */
1041
- renewInstance(instanceId: string, request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
1042
- restartInstanceWithOptions(instanceId: string, headers: {
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: {
1043
594
  [key: string]: string;
1044
- }, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
1045
- restartInstance(instanceId: string): Promise<RestartInstanceResponse>;
1046
- resumeInstanceWithOptions(instanceId: string, headers: {
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: {
1047
612
  [key: string]: string;
1048
- }, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceResponse>;
1049
- resumeInstance(instanceId: string): Promise<ResumeInstanceResponse>;
1050
- /**
1051
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
1052
- * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
1053
- * * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
1054
- *
1055
- * @param request ScaleInstanceRequest
1056
- * @param headers map
1057
- * @param runtime runtime options for this request RuntimeOptions
1058
- * @return ScaleInstanceResponse
1059
- */
1060
- scaleInstanceWithOptions(instanceId: string, request: ScaleInstanceRequest, headers: {
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>;
621
+ /**
622
+ * Changes the specifications and storage space of a Hologres instance.
623
+ *
624
+ * @remarks
625
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
626
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
627
+ * * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
628
+ *
629
+ * @param request - ScaleInstanceRequest
630
+ * @param headers - map
631
+ * @param runtime - runtime options for this request RuntimeOptions
632
+ * @returns ScaleInstanceResponse
633
+ */
634
+ scaleInstanceWithOptions(instanceId: string, request: $_model.ScaleInstanceRequest, headers: {
1061
635
  [key: string]: string;
1062
- }, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
636
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleInstanceResponse>;
1063
637
  /**
1064
- * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
1065
- * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
1066
- * * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
1067
- *
1068
- * @param request ScaleInstanceRequest
1069
- * @return ScaleInstanceResponse
638
+ * Changes the specifications and storage space of a Hologres instance.
639
+ *
640
+ * @remarks
641
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
642
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
643
+ * * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
644
+ *
645
+ * @param request - ScaleInstanceRequest
646
+ * @returns ScaleInstanceResponse
647
+ */
648
+ scaleInstance(instanceId: string, request: $_model.ScaleInstanceRequest): Promise<$_model.ScaleInstanceResponse>;
649
+ /**
650
+ * Stops an instance.
651
+ *
652
+ * @param headers - map
653
+ * @param runtime - runtime options for this request RuntimeOptions
654
+ * @returns StopInstanceResponse
1070
655
  */
1071
- scaleInstance(instanceId: string, request: ScaleInstanceRequest): Promise<ScaleInstanceResponse>;
1072
656
  stopInstanceWithOptions(instanceId: string, headers: {
1073
657
  [key: string]: string;
1074
- }, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
1075
- stopInstance(instanceId: string): Promise<StopInstanceResponse>;
1076
- updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
658
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.StopInstanceResponse>;
659
+ /**
660
+ * Stops an instance.
661
+ * @returns StopInstanceResponse
662
+ */
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>;
682
+ /**
683
+ * Changes the name of an instance.
684
+ *
685
+ * @param request - UpdateInstanceNameRequest
686
+ * @param headers - map
687
+ * @param runtime - runtime options for this request RuntimeOptions
688
+ * @returns UpdateInstanceNameResponse
689
+ */
690
+ updateInstanceNameWithOptions(instanceId: string, request: $_model.UpdateInstanceNameRequest, headers: {
1077
691
  [key: string]: string;
1078
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
1079
- updateInstanceName(instanceId: string, request: UpdateInstanceNameRequest): Promise<UpdateInstanceNameResponse>;
1080
- updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
692
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNameResponse>;
693
+ /**
694
+ * Changes the name of an instance.
695
+ *
696
+ * @param request - UpdateInstanceNameRequest
697
+ * @returns UpdateInstanceNameResponse
698
+ */
699
+ updateInstanceName(instanceId: string, request: $_model.UpdateInstanceNameRequest): Promise<$_model.UpdateInstanceNameResponse>;
700
+ /**
701
+ * Modifies the network configuration of an instance.
702
+ *
703
+ * @param request - UpdateInstanceNetworkTypeRequest
704
+ * @param headers - map
705
+ * @param runtime - runtime options for this request RuntimeOptions
706
+ * @returns UpdateInstanceNetworkTypeResponse
707
+ */
708
+ updateInstanceNetworkTypeWithOptions(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest, headers: {
1081
709
  [key: string]: string;
1082
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
1083
- updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
710
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
711
+ /**
712
+ * Modifies the network configuration of an instance.
713
+ *
714
+ * @param request - UpdateInstanceNetworkTypeRequest
715
+ * @returns UpdateInstanceNetworkTypeResponse
716
+ */
717
+ updateInstanceNetworkType(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
1084
718
  }