@alicloud/hologram20220601 1.1.0 → 1.3.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 (433) hide show
  1. package/dist/client.d.ts +709 -1039
  2. package/dist/client.js +1525 -1622
  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/CreateUserRequest.d.ts +23 -0
  32. package/dist/models/CreateUserRequest.js +60 -0
  33. package/dist/models/CreateUserRequest.js.map +1 -0
  34. package/dist/models/CreateUserResponse.d.ts +19 -0
  35. package/dist/models/CreateUserResponse.js +69 -0
  36. package/dist/models/CreateUserResponse.js.map +1 -0
  37. package/dist/models/CreateUserResponseBody.d.ts +46 -0
  38. package/dist/models/CreateUserResponseBody.js +68 -0
  39. package/dist/models/CreateUserResponseBody.js.map +1 -0
  40. package/dist/models/DeleteHoloWarehouseRequest.d.ts +23 -0
  41. package/dist/models/DeleteHoloWarehouseRequest.js +58 -0
  42. package/dist/models/DeleteHoloWarehouseRequest.js.map +1 -0
  43. package/dist/models/DeleteHoloWarehouseResponse.d.ts +19 -0
  44. package/dist/models/DeleteHoloWarehouseResponse.js +69 -0
  45. package/dist/models/DeleteHoloWarehouseResponse.js.map +1 -0
  46. package/dist/models/DeleteHoloWarehouseResponseBody.d.ts +29 -0
  47. package/dist/models/DeleteHoloWarehouseResponseBody.js +60 -0
  48. package/dist/models/DeleteHoloWarehouseResponseBody.js.map +1 -0
  49. package/dist/models/DeleteInstanceRequest.d.ts +21 -0
  50. package/dist/models/DeleteInstanceRequest.js +58 -0
  51. package/dist/models/DeleteInstanceRequest.js.map +1 -0
  52. package/dist/models/DeleteInstanceResponse.d.ts +19 -0
  53. package/dist/models/DeleteInstanceResponse.js +69 -0
  54. package/dist/models/DeleteInstanceResponse.js.map +1 -0
  55. package/dist/models/DeleteInstanceResponseBody.d.ts +79 -0
  56. package/dist/models/DeleteInstanceResponseBody.js +68 -0
  57. package/dist/models/DeleteInstanceResponseBody.js.map +1 -0
  58. package/dist/models/DisableHiveAccessRequest.d.ts +21 -0
  59. package/dist/models/DisableHiveAccessRequest.js +58 -0
  60. package/dist/models/DisableHiveAccessRequest.js.map +1 -0
  61. package/dist/models/DisableHiveAccessResponse.d.ts +19 -0
  62. package/dist/models/DisableHiveAccessResponse.js +69 -0
  63. package/dist/models/DisableHiveAccessResponse.js.map +1 -0
  64. package/dist/models/DisableHiveAccessResponseBody.d.ts +97 -0
  65. package/dist/models/DisableHiveAccessResponseBody.js +68 -0
  66. package/dist/models/DisableHiveAccessResponseBody.js.map +1 -0
  67. package/dist/models/DisableSslresponse.d.ts +19 -0
  68. package/dist/models/DisableSslresponse.js +69 -0
  69. package/dist/models/DisableSslresponse.js.map +1 -0
  70. package/dist/models/DisableSslresponseBody.d.ts +43 -0
  71. package/dist/models/DisableSslresponseBody.js +68 -0
  72. package/dist/models/DisableSslresponseBody.js.map +1 -0
  73. package/dist/models/DropUserRequest.d.ts +23 -0
  74. package/dist/models/DropUserRequest.js +60 -0
  75. package/dist/models/DropUserRequest.js.map +1 -0
  76. package/dist/models/DropUserResponse.d.ts +19 -0
  77. package/dist/models/DropUserResponse.js +69 -0
  78. package/dist/models/DropUserResponse.js.map +1 -0
  79. package/dist/models/DropUserResponseBody.d.ts +46 -0
  80. package/dist/models/DropUserResponseBody.js +68 -0
  81. package/dist/models/DropUserResponseBody.js.map +1 -0
  82. package/dist/models/EnableHiveAccessRequest.d.ts +21 -0
  83. package/dist/models/EnableHiveAccessRequest.js +58 -0
  84. package/dist/models/EnableHiveAccessRequest.js.map +1 -0
  85. package/dist/models/EnableHiveAccessResponse.d.ts +19 -0
  86. package/dist/models/EnableHiveAccessResponse.js +69 -0
  87. package/dist/models/EnableHiveAccessResponse.js.map +1 -0
  88. package/dist/models/EnableHiveAccessResponseBody.d.ts +79 -0
  89. package/dist/models/EnableHiveAccessResponseBody.js +68 -0
  90. package/dist/models/EnableHiveAccessResponseBody.js.map +1 -0
  91. package/dist/models/EnableSslresponse.d.ts +19 -0
  92. package/dist/models/EnableSslresponse.js +69 -0
  93. package/dist/models/EnableSslresponse.js.map +1 -0
  94. package/dist/models/EnableSslresponseBody.d.ts +43 -0
  95. package/dist/models/EnableSslresponseBody.js +68 -0
  96. package/dist/models/EnableSslresponseBody.js.map +1 -0
  97. package/dist/models/GetCertificateAttributeResponse.d.ts +19 -0
  98. package/dist/models/GetCertificateAttributeResponse.js +69 -0
  99. package/dist/models/GetCertificateAttributeResponse.js.map +1 -0
  100. package/dist/models/GetCertificateAttributeResponseBody.d.ts +66 -0
  101. package/dist/models/GetCertificateAttributeResponseBody.js +94 -0
  102. package/dist/models/GetCertificateAttributeResponseBody.js.map +1 -0
  103. package/dist/models/GetInstanceResponse.d.ts +19 -0
  104. package/dist/models/GetInstanceResponse.js +69 -0
  105. package/dist/models/GetInstanceResponse.js.map +1 -0
  106. package/dist/models/GetInstanceResponseBody.d.ts +747 -0
  107. package/dist/models/GetInstanceResponseBody.js +208 -0
  108. package/dist/models/GetInstanceResponseBody.js.map +1 -0
  109. package/dist/models/GetRootCertificateResponse.d.ts +19 -0
  110. package/dist/models/GetRootCertificateResponse.js +69 -0
  111. package/dist/models/GetRootCertificateResponse.js.map +1 -0
  112. package/dist/models/GetRootCertificateResponseBody.d.ts +43 -0
  113. package/dist/models/GetRootCertificateResponseBody.js +68 -0
  114. package/dist/models/GetRootCertificateResponseBody.js.map +1 -0
  115. package/dist/models/GetWarehouseDetailResponse.d.ts +19 -0
  116. package/dist/models/GetWarehouseDetailResponse.js +69 -0
  117. package/dist/models/GetWarehouseDetailResponse.js.map +1 -0
  118. package/dist/models/GetWarehouseDetailResponseBody.d.ts +196 -0
  119. package/dist/models/GetWarehouseDetailResponseBody.js +140 -0
  120. package/dist/models/GetWarehouseDetailResponseBody.js.map +1 -0
  121. package/dist/models/GrantDatabasePermissionRequest.d.ts +24 -0
  122. package/dist/models/GrantDatabasePermissionRequest.js +65 -0
  123. package/dist/models/GrantDatabasePermissionRequest.js.map +1 -0
  124. package/dist/models/GrantDatabasePermissionResponse.d.ts +19 -0
  125. package/dist/models/GrantDatabasePermissionResponse.js +69 -0
  126. package/dist/models/GrantDatabasePermissionResponse.js.map +1 -0
  127. package/dist/models/GrantDatabasePermissionResponseBody.d.ts +46 -0
  128. package/dist/models/GrantDatabasePermissionResponseBody.js +68 -0
  129. package/dist/models/GrantDatabasePermissionResponseBody.js.map +1 -0
  130. package/dist/models/GrantSchemaPermissionRequest.d.ts +29 -0
  131. package/dist/models/GrantSchemaPermissionRequest.js +67 -0
  132. package/dist/models/GrantSchemaPermissionRequest.js.map +1 -0
  133. package/dist/models/GrantSchemaPermissionResponse.d.ts +19 -0
  134. package/dist/models/GrantSchemaPermissionResponse.js +69 -0
  135. package/dist/models/GrantSchemaPermissionResponse.js.map +1 -0
  136. package/dist/models/GrantSchemaPermissionResponseBody.d.ts +46 -0
  137. package/dist/models/GrantSchemaPermissionResponseBody.js +68 -0
  138. package/dist/models/GrantSchemaPermissionResponseBody.js.map +1 -0
  139. package/dist/models/GrantTablePermissionRequest.d.ts +39 -0
  140. package/dist/models/GrantTablePermissionRequest.js +71 -0
  141. package/dist/models/GrantTablePermissionRequest.js.map +1 -0
  142. package/dist/models/GrantTablePermissionResponse.d.ts +19 -0
  143. package/dist/models/GrantTablePermissionResponse.js +69 -0
  144. package/dist/models/GrantTablePermissionResponse.js.map +1 -0
  145. package/dist/models/GrantTablePermissionResponseBody.d.ts +46 -0
  146. package/dist/models/GrantTablePermissionResponseBody.js +68 -0
  147. package/dist/models/GrantTablePermissionResponseBody.js.map +1 -0
  148. package/dist/models/ListBackupDataRequest.d.ts +38 -0
  149. package/dist/models/ListBackupDataRequest.js +60 -0
  150. package/dist/models/ListBackupDataRequest.js.map +1 -0
  151. package/dist/models/ListBackupDataResponse.d.ts +19 -0
  152. package/dist/models/ListBackupDataResponse.js +69 -0
  153. package/dist/models/ListBackupDataResponse.js.map +1 -0
  154. package/dist/models/ListBackupDataResponseBody.d.ts +202 -0
  155. package/dist/models/ListBackupDataResponseBody.js +116 -0
  156. package/dist/models/ListBackupDataResponseBody.js.map +1 -0
  157. package/dist/models/ListDatabasesRequest.d.ts +18 -0
  158. package/dist/models/ListDatabasesRequest.js +58 -0
  159. package/dist/models/ListDatabasesRequest.js.map +1 -0
  160. package/dist/models/ListDatabasesResponse.d.ts +19 -0
  161. package/dist/models/ListDatabasesResponse.js +69 -0
  162. package/dist/models/ListDatabasesResponse.js.map +1 -0
  163. package/dist/models/ListDatabasesResponseBody.d.ts +74 -0
  164. package/dist/models/ListDatabasesResponseBody.js +96 -0
  165. package/dist/models/ListDatabasesResponseBody.js.map +1 -0
  166. package/dist/models/ListInstancesRequest.d.ts +59 -0
  167. package/dist/models/ListInstancesRequest.js +86 -0
  168. package/dist/models/ListInstancesRequest.js.map +1 -0
  169. package/dist/models/ListInstancesResponse.d.ts +19 -0
  170. package/dist/models/ListInstancesResponse.js +69 -0
  171. package/dist/models/ListInstancesResponse.js.map +1 -0
  172. package/dist/models/ListInstancesResponseBody.d.ts +468 -0
  173. package/dist/models/ListInstancesResponseBody.js +182 -0
  174. package/dist/models/ListInstancesResponseBody.js.map +1 -0
  175. package/dist/models/ListWarehousesResponse.d.ts +19 -0
  176. package/dist/models/ListWarehousesResponse.js +69 -0
  177. package/dist/models/ListWarehousesResponse.js.map +1 -0
  178. package/dist/models/ListWarehousesResponseBody.d.ts +128 -0
  179. package/dist/models/ListWarehousesResponseBody.js +92 -0
  180. package/dist/models/ListWarehousesResponseBody.js.map +1 -0
  181. package/dist/models/RebalanceHoloWarehouseRequest.d.ts +23 -0
  182. package/dist/models/RebalanceHoloWarehouseRequest.js +58 -0
  183. package/dist/models/RebalanceHoloWarehouseRequest.js.map +1 -0
  184. package/dist/models/RebalanceHoloWarehouseResponse.d.ts +19 -0
  185. package/dist/models/RebalanceHoloWarehouseResponse.js +69 -0
  186. package/dist/models/RebalanceHoloWarehouseResponse.js.map +1 -0
  187. package/dist/models/RebalanceHoloWarehouseResponseBody.d.ts +29 -0
  188. package/dist/models/RebalanceHoloWarehouseResponseBody.js +60 -0
  189. package/dist/models/RebalanceHoloWarehouseResponseBody.js.map +1 -0
  190. package/dist/models/RenameHoloWarehouseRequest.d.ts +33 -0
  191. package/dist/models/RenameHoloWarehouseRequest.js +60 -0
  192. package/dist/models/RenameHoloWarehouseRequest.js.map +1 -0
  193. package/dist/models/RenameHoloWarehouseResponse.d.ts +19 -0
  194. package/dist/models/RenameHoloWarehouseResponse.js +69 -0
  195. package/dist/models/RenameHoloWarehouseResponse.js.map +1 -0
  196. package/dist/models/RenameHoloWarehouseResponseBody.d.ts +29 -0
  197. package/dist/models/RenameHoloWarehouseResponseBody.js +60 -0
  198. package/dist/models/RenameHoloWarehouseResponseBody.js.map +1 -0
  199. package/dist/models/RenewInstanceRequest.d.ts +36 -0
  200. package/dist/models/RenewInstanceRequest.js +60 -0
  201. package/dist/models/RenewInstanceRequest.js.map +1 -0
  202. package/dist/models/RenewInstanceResponse.d.ts +19 -0
  203. package/dist/models/RenewInstanceResponse.js +69 -0
  204. package/dist/models/RenewInstanceResponse.js.map +1 -0
  205. package/dist/models/RenewInstanceResponseBody.d.ts +105 -0
  206. package/dist/models/RenewInstanceResponseBody.js +96 -0
  207. package/dist/models/RenewInstanceResponseBody.js.map +1 -0
  208. package/dist/models/RenewSslcertificateResponse.d.ts +19 -0
  209. package/dist/models/RenewSslcertificateResponse.js +69 -0
  210. package/dist/models/RenewSslcertificateResponse.js.map +1 -0
  211. package/dist/models/RenewSslcertificateResponseBody.d.ts +43 -0
  212. package/dist/models/RenewSslcertificateResponseBody.js +68 -0
  213. package/dist/models/RenewSslcertificateResponseBody.js.map +1 -0
  214. package/dist/models/RestartHoloWarehouseRequest.d.ts +23 -0
  215. package/dist/models/RestartHoloWarehouseRequest.js +58 -0
  216. package/dist/models/RestartHoloWarehouseRequest.js.map +1 -0
  217. package/dist/models/RestartHoloWarehouseResponse.d.ts +19 -0
  218. package/dist/models/RestartHoloWarehouseResponse.js +69 -0
  219. package/dist/models/RestartHoloWarehouseResponse.js.map +1 -0
  220. package/dist/models/RestartHoloWarehouseResponseBody.d.ts +29 -0
  221. package/dist/models/RestartHoloWarehouseResponseBody.js +60 -0
  222. package/dist/models/RestartHoloWarehouseResponseBody.js.map +1 -0
  223. package/dist/models/RestartInstanceResponse.d.ts +19 -0
  224. package/dist/models/RestartInstanceResponse.js +69 -0
  225. package/dist/models/RestartInstanceResponse.js.map +1 -0
  226. package/dist/models/RestartInstanceResponseBody.d.ts +79 -0
  227. package/dist/models/RestartInstanceResponseBody.js +68 -0
  228. package/dist/models/RestartInstanceResponseBody.js.map +1 -0
  229. package/dist/models/ResumeHoloWarehouseRequest.d.ts +23 -0
  230. package/dist/models/ResumeHoloWarehouseRequest.js +58 -0
  231. package/dist/models/ResumeHoloWarehouseRequest.js.map +1 -0
  232. package/dist/models/ResumeHoloWarehouseResponse.d.ts +19 -0
  233. package/dist/models/ResumeHoloWarehouseResponse.js +69 -0
  234. package/dist/models/ResumeHoloWarehouseResponse.js.map +1 -0
  235. package/dist/models/ResumeHoloWarehouseResponseBody.d.ts +29 -0
  236. package/dist/models/ResumeHoloWarehouseResponseBody.js +60 -0
  237. package/dist/models/ResumeHoloWarehouseResponseBody.js.map +1 -0
  238. package/dist/models/ResumeInstanceResponse.d.ts +19 -0
  239. package/dist/models/ResumeInstanceResponse.js +69 -0
  240. package/dist/models/ResumeInstanceResponse.js.map +1 -0
  241. package/dist/models/ResumeInstanceResponseBody.d.ts +61 -0
  242. package/dist/models/ResumeInstanceResponseBody.js +68 -0
  243. package/dist/models/ResumeInstanceResponseBody.js.map +1 -0
  244. package/dist/models/RevokeDatabasePermissionRequest.d.ts +24 -0
  245. package/dist/models/RevokeDatabasePermissionRequest.js +65 -0
  246. package/dist/models/RevokeDatabasePermissionRequest.js.map +1 -0
  247. package/dist/models/RevokeDatabasePermissionResponse.d.ts +19 -0
  248. package/dist/models/RevokeDatabasePermissionResponse.js +69 -0
  249. package/dist/models/RevokeDatabasePermissionResponse.js.map +1 -0
  250. package/dist/models/RevokeDatabasePermissionResponseBody.d.ts +26 -0
  251. package/dist/models/RevokeDatabasePermissionResponseBody.js +60 -0
  252. package/dist/models/RevokeDatabasePermissionResponseBody.js.map +1 -0
  253. package/dist/models/RevokeSchemaPermissionRequest.d.ts +29 -0
  254. package/dist/models/RevokeSchemaPermissionRequest.js +67 -0
  255. package/dist/models/RevokeSchemaPermissionRequest.js.map +1 -0
  256. package/dist/models/RevokeSchemaPermissionResponse.d.ts +19 -0
  257. package/dist/models/RevokeSchemaPermissionResponse.js +69 -0
  258. package/dist/models/RevokeSchemaPermissionResponse.js.map +1 -0
  259. package/dist/models/RevokeSchemaPermissionResponseBody.d.ts +26 -0
  260. package/dist/models/RevokeSchemaPermissionResponseBody.js +60 -0
  261. package/dist/models/RevokeSchemaPermissionResponseBody.js.map +1 -0
  262. package/dist/models/RevokeTablePermissionRequest.d.ts +39 -0
  263. package/dist/models/RevokeTablePermissionRequest.js +71 -0
  264. package/dist/models/RevokeTablePermissionRequest.js.map +1 -0
  265. package/dist/models/RevokeTablePermissionResponse.d.ts +19 -0
  266. package/dist/models/RevokeTablePermissionResponse.js +69 -0
  267. package/dist/models/RevokeTablePermissionResponse.js.map +1 -0
  268. package/dist/models/RevokeTablePermissionResponseBody.d.ts +26 -0
  269. package/dist/models/RevokeTablePermissionResponseBody.js +60 -0
  270. package/dist/models/RevokeTablePermissionResponseBody.js.map +1 -0
  271. package/dist/models/ScaleHoloWarehouseRequest.d.ts +38 -0
  272. package/dist/models/ScaleHoloWarehouseRequest.js +62 -0
  273. package/dist/models/ScaleHoloWarehouseRequest.js.map +1 -0
  274. package/dist/models/ScaleHoloWarehouseResponse.d.ts +19 -0
  275. package/dist/models/ScaleHoloWarehouseResponse.js +69 -0
  276. package/dist/models/ScaleHoloWarehouseResponse.js.map +1 -0
  277. package/dist/models/ScaleHoloWarehouseResponseBody.d.ts +29 -0
  278. package/dist/models/ScaleHoloWarehouseResponseBody.js +60 -0
  279. package/dist/models/ScaleHoloWarehouseResponseBody.js.map +1 -0
  280. package/dist/models/ScaleInstanceRequest.d.ts +96 -0
  281. package/dist/models/ScaleInstanceRequest.js +68 -0
  282. package/dist/models/ScaleInstanceRequest.js.map +1 -0
  283. package/dist/models/ScaleInstanceResponse.d.ts +19 -0
  284. package/dist/models/ScaleInstanceResponse.js +69 -0
  285. package/dist/models/ScaleInstanceResponse.js.map +1 -0
  286. package/dist/models/ScaleInstanceResponseBody.d.ts +112 -0
  287. package/dist/models/ScaleInstanceResponseBody.js +94 -0
  288. package/dist/models/ScaleInstanceResponseBody.js.map +1 -0
  289. package/dist/models/StopInstanceResponse.d.ts +19 -0
  290. package/dist/models/StopInstanceResponse.js +69 -0
  291. package/dist/models/StopInstanceResponse.js.map +1 -0
  292. package/dist/models/StopInstanceResponseBody.d.ts +97 -0
  293. package/dist/models/StopInstanceResponseBody.js +68 -0
  294. package/dist/models/StopInstanceResponseBody.js.map +1 -0
  295. package/dist/models/SuspendHoloWarehouseRequest.d.ts +23 -0
  296. package/dist/models/SuspendHoloWarehouseRequest.js +58 -0
  297. package/dist/models/SuspendHoloWarehouseRequest.js.map +1 -0
  298. package/dist/models/SuspendHoloWarehouseResponse.d.ts +19 -0
  299. package/dist/models/SuspendHoloWarehouseResponse.js +69 -0
  300. package/dist/models/SuspendHoloWarehouseResponse.js.map +1 -0
  301. package/dist/models/SuspendHoloWarehouseResponseBody.d.ts +29 -0
  302. package/dist/models/SuspendHoloWarehouseResponseBody.js +60 -0
  303. package/dist/models/SuspendHoloWarehouseResponseBody.js.map +1 -0
  304. package/dist/models/UpdateInstanceNameRequest.d.ts +21 -0
  305. package/dist/models/UpdateInstanceNameRequest.js +58 -0
  306. package/dist/models/UpdateInstanceNameRequest.js.map +1 -0
  307. package/dist/models/UpdateInstanceNameResponse.d.ts +19 -0
  308. package/dist/models/UpdateInstanceNameResponse.js +69 -0
  309. package/dist/models/UpdateInstanceNameResponse.js.map +1 -0
  310. package/dist/models/UpdateInstanceNameResponseBody.d.ts +97 -0
  311. package/dist/models/UpdateInstanceNameResponseBody.js +68 -0
  312. package/dist/models/UpdateInstanceNameResponseBody.js.map +1 -0
  313. package/dist/models/UpdateInstanceNetworkTypeRequest.d.ts +73 -0
  314. package/dist/models/UpdateInstanceNetworkTypeRequest.js +68 -0
  315. package/dist/models/UpdateInstanceNetworkTypeRequest.js.map +1 -0
  316. package/dist/models/UpdateInstanceNetworkTypeResponse.d.ts +19 -0
  317. package/dist/models/UpdateInstanceNetworkTypeResponse.js +69 -0
  318. package/dist/models/UpdateInstanceNetworkTypeResponse.js.map +1 -0
  319. package/dist/models/UpdateInstanceNetworkTypeResponseBody.d.ts +84 -0
  320. package/dist/models/UpdateInstanceNetworkTypeResponseBody.js +68 -0
  321. package/dist/models/UpdateInstanceNetworkTypeResponseBody.js.map +1 -0
  322. package/dist/models/model.d.ts +122 -0
  323. package/dist/models/model.js +250 -0
  324. package/dist/models/model.js.map +1 -0
  325. package/package.json +6 -9
  326. package/src/client.ts +1525 -1915
  327. package/src/models/ChangeResourceGroupRequest.ts +44 -0
  328. package/src/models/ChangeResourceGroupResponse.ts +40 -0
  329. package/src/models/ChangeResourceGroupResponseBody.ts +62 -0
  330. package/src/models/CreateHoloWarehouseRequest.ts +55 -0
  331. package/src/models/CreateHoloWarehouseResponse.ts +40 -0
  332. package/src/models/CreateHoloWarehouseResponseBody.ts +44 -0
  333. package/src/models/CreateInstanceRequest.ts +302 -0
  334. package/src/models/CreateInstanceResponse.ts +40 -0
  335. package/src/models/CreateInstanceResponseBody.ts +149 -0
  336. package/src/models/CreateUserRequest.ts +38 -0
  337. package/src/models/CreateUserResponse.ts +40 -0
  338. package/src/models/CreateUserResponseBody.ts +69 -0
  339. package/src/models/DeleteHoloWarehouseRequest.ts +36 -0
  340. package/src/models/DeleteHoloWarehouseResponse.ts +40 -0
  341. package/src/models/DeleteHoloWarehouseResponseBody.ts +44 -0
  342. package/src/models/DeleteInstanceRequest.ts +34 -0
  343. package/src/models/DeleteInstanceResponse.ts +40 -0
  344. package/src/models/DeleteInstanceResponseBody.ts +102 -0
  345. package/src/models/DisableHiveAccessRequest.ts +34 -0
  346. package/src/models/DisableHiveAccessResponse.ts +40 -0
  347. package/src/models/DisableHiveAccessResponseBody.ts +120 -0
  348. package/src/models/DisableSslresponse.ts +40 -0
  349. package/src/models/DisableSslresponseBody.ts +66 -0
  350. package/src/models/DropUserRequest.ts +38 -0
  351. package/src/models/DropUserResponse.ts +40 -0
  352. package/src/models/DropUserResponseBody.ts +69 -0
  353. package/src/models/EnableHiveAccessRequest.ts +34 -0
  354. package/src/models/EnableHiveAccessResponse.ts +40 -0
  355. package/src/models/EnableHiveAccessResponseBody.ts +102 -0
  356. package/src/models/EnableSslresponse.ts +40 -0
  357. package/src/models/EnableSslresponseBody.ts +66 -0
  358. package/src/models/GetCertificateAttributeResponse.ts +40 -0
  359. package/src/models/GetCertificateAttributeResponseBody.ts +106 -0
  360. package/src/models/GetInstanceResponse.ts +40 -0
  361. package/src/models/GetInstanceResponseBody.ts +883 -0
  362. package/src/models/GetRootCertificateResponse.ts +40 -0
  363. package/src/models/GetRootCertificateResponseBody.ts +66 -0
  364. package/src/models/GetWarehouseDetailResponse.ts +40 -0
  365. package/src/models/GetWarehouseDetailResponseBody.ts +273 -0
  366. package/src/models/GrantDatabasePermissionRequest.ts +44 -0
  367. package/src/models/GrantDatabasePermissionResponse.ts +40 -0
  368. package/src/models/GrantDatabasePermissionResponseBody.ts +69 -0
  369. package/src/models/GrantSchemaPermissionRequest.ts +51 -0
  370. package/src/models/GrantSchemaPermissionResponse.ts +40 -0
  371. package/src/models/GrantSchemaPermissionResponseBody.ts +69 -0
  372. package/src/models/GrantTablePermissionRequest.ts +65 -0
  373. package/src/models/GrantTablePermissionResponse.ts +40 -0
  374. package/src/models/GrantTablePermissionResponseBody.ts +69 -0
  375. package/src/models/ListBackupDataRequest.ts +53 -0
  376. package/src/models/ListBackupDataResponse.ts +40 -0
  377. package/src/models/ListBackupDataResponseBody.ts +264 -0
  378. package/src/models/ListDatabasesRequest.ts +31 -0
  379. package/src/models/ListDatabasesResponse.ts +40 -0
  380. package/src/models/ListDatabasesResponseBody.ts +116 -0
  381. package/src/models/ListInstancesRequest.ts +91 -0
  382. package/src/models/ListInstancesResponse.ts +40 -0
  383. package/src/models/ListInstancesResponseBody.ts +578 -0
  384. package/src/models/ListWarehousesResponse.ts +40 -0
  385. package/src/models/ListWarehousesResponseBody.ts +166 -0
  386. package/src/models/RebalanceHoloWarehouseRequest.ts +36 -0
  387. package/src/models/RebalanceHoloWarehouseResponse.ts +40 -0
  388. package/src/models/RebalanceHoloWarehouseResponseBody.ts +44 -0
  389. package/src/models/RenameHoloWarehouseRequest.ts +48 -0
  390. package/src/models/RenameHoloWarehouseResponse.ts +40 -0
  391. package/src/models/RenameHoloWarehouseResponseBody.ts +44 -0
  392. package/src/models/RenewInstanceRequest.ts +51 -0
  393. package/src/models/RenewInstanceResponse.ts +40 -0
  394. package/src/models/RenewInstanceResponseBody.ts +147 -0
  395. package/src/models/RenewSslcertificateResponse.ts +40 -0
  396. package/src/models/RenewSslcertificateResponseBody.ts +66 -0
  397. package/src/models/RestartHoloWarehouseRequest.ts +36 -0
  398. package/src/models/RestartHoloWarehouseResponse.ts +40 -0
  399. package/src/models/RestartHoloWarehouseResponseBody.ts +44 -0
  400. package/src/models/RestartInstanceResponse.ts +40 -0
  401. package/src/models/RestartInstanceResponseBody.ts +102 -0
  402. package/src/models/ResumeHoloWarehouseRequest.ts +36 -0
  403. package/src/models/ResumeHoloWarehouseResponse.ts +40 -0
  404. package/src/models/ResumeHoloWarehouseResponseBody.ts +44 -0
  405. package/src/models/ResumeInstanceResponse.ts +40 -0
  406. package/src/models/ResumeInstanceResponseBody.ts +84 -0
  407. package/src/models/RevokeDatabasePermissionRequest.ts +44 -0
  408. package/src/models/RevokeDatabasePermissionResponse.ts +40 -0
  409. package/src/models/RevokeDatabasePermissionResponseBody.ts +41 -0
  410. package/src/models/RevokeSchemaPermissionRequest.ts +51 -0
  411. package/src/models/RevokeSchemaPermissionResponse.ts +40 -0
  412. package/src/models/RevokeSchemaPermissionResponseBody.ts +41 -0
  413. package/src/models/RevokeTablePermissionRequest.ts +65 -0
  414. package/src/models/RevokeTablePermissionResponse.ts +40 -0
  415. package/src/models/RevokeTablePermissionResponseBody.ts +41 -0
  416. package/src/models/ScaleHoloWarehouseRequest.ts +55 -0
  417. package/src/models/ScaleHoloWarehouseResponse.ts +40 -0
  418. package/src/models/ScaleHoloWarehouseResponseBody.ts +44 -0
  419. package/src/models/ScaleInstanceRequest.ts +119 -0
  420. package/src/models/ScaleInstanceResponse.ts +40 -0
  421. package/src/models/ScaleInstanceResponseBody.ts +152 -0
  422. package/src/models/StopInstanceResponse.ts +40 -0
  423. package/src/models/StopInstanceResponseBody.ts +120 -0
  424. package/src/models/SuspendHoloWarehouseRequest.ts +36 -0
  425. package/src/models/SuspendHoloWarehouseResponse.ts +40 -0
  426. package/src/models/SuspendHoloWarehouseResponseBody.ts +44 -0
  427. package/src/models/UpdateInstanceNameRequest.ts +34 -0
  428. package/src/models/UpdateInstanceNameResponse.ts +40 -0
  429. package/src/models/UpdateInstanceNameResponseBody.ts +120 -0
  430. package/src/models/UpdateInstanceNetworkTypeRequest.ts +96 -0
  431. package/src/models/UpdateInstanceNetworkTypeResponse.ts +40 -0
  432. package/src/models/UpdateInstanceNetworkTypeResponseBody.ts +107 -0
  433. package/src/models/model.ts +122 -0
package/dist/client.d.ts CHANGED
@@ -1,1084 +1,754 @@
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(): {
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: {
567
9
  [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(): {
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: {
579
20
  [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(): {
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: {
596
38
  [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?: {
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: {
607
77
  [key: string]: string;
608
- };
609
- statusCode?: number;
610
- body?: UpdateInstanceNameResponseBody;
611
- 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
+ * 添加用户
109
+ *
110
+ * @param request - CreateUserRequest
111
+ * @param headers - map
112
+ * @param runtime - runtime options for this request RuntimeOptions
113
+ * @returns CreateUserResponse
114
+ */
115
+ createUserWithOptions(instanceId: string, request: $_model.CreateUserRequest, headers: {
612
116
  [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(): {
117
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserResponse>;
118
+ /**
119
+ * 添加用户
120
+ *
121
+ * @param request - CreateUserRequest
122
+ * @returns CreateUserResponse
123
+ */
124
+ createUser(instanceId: string, request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
125
+ /**
126
+ * Deletes a virtual warehouse.
127
+ *
128
+ * @param request - DeleteHoloWarehouseRequest
129
+ * @param headers - map
130
+ * @param runtime - runtime options for this request RuntimeOptions
131
+ * @returns DeleteHoloWarehouseResponse
132
+ */
133
+ deleteHoloWarehouseWithOptions(instanceId: string, request: $_model.DeleteHoloWarehouseRequest, headers: {
629
134
  [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(): {
135
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHoloWarehouseResponse>;
136
+ /**
137
+ * Deletes a virtual warehouse.
138
+ *
139
+ * @param request - DeleteHoloWarehouseRequest
140
+ * @returns DeleteHoloWarehouseResponse
141
+ */
142
+ deleteHoloWarehouse(instanceId: string, request: $_model.DeleteHoloWarehouseRequest): Promise<$_model.DeleteHoloWarehouseResponse>;
143
+ /**
144
+ * Deletes a Hologres instance.
145
+ *
146
+ * @remarks
147
+ * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
148
+ * * 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).
149
+ * * You can delete only pay-as-you-go instances.
150
+ *
151
+ * @param request - DeleteInstanceRequest
152
+ * @param headers - map
153
+ * @param runtime - runtime options for this request RuntimeOptions
154
+ * @returns DeleteInstanceResponse
155
+ */
156
+ deleteInstanceWithOptions(instanceId: string, request: $_model.DeleteInstanceRequest, headers: {
646
157
  [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?: {
158
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteInstanceResponse>;
159
+ /**
160
+ * Deletes a Hologres instance.
161
+ *
162
+ * @remarks
163
+ * > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
164
+ * * 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).
165
+ * * You can delete only pay-as-you-go instances.
166
+ *
167
+ * @param request - DeleteInstanceRequest
168
+ * @returns DeleteInstanceResponse
169
+ */
170
+ deleteInstance(instanceId: string, request: $_model.DeleteInstanceRequest): Promise<$_model.DeleteInstanceResponse>;
171
+ /**
172
+ * Disables data lake acceleration.
173
+ *
174
+ * @param request - DisableHiveAccessRequest
175
+ * @param headers - map
176
+ * @param runtime - runtime options for this request RuntimeOptions
177
+ * @returns DisableHiveAccessResponse
178
+ */
179
+ disableHiveAccessWithOptions(instanceId: string, request: $_model.DisableHiveAccessRequest, headers: {
657
180
  [key: string]: string;
658
- };
659
- statusCode?: number;
660
- body?: UpdateInstanceNetworkTypeResponseBody;
661
- static names(): {
181
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableHiveAccessResponse>;
182
+ /**
183
+ * Disables data lake acceleration.
184
+ *
185
+ * @param request - DisableHiveAccessRequest
186
+ * @returns DisableHiveAccessResponse
187
+ */
188
+ disableHiveAccess(instanceId: string, request: $_model.DisableHiveAccessRequest): Promise<$_model.DisableHiveAccessResponse>;
189
+ /**
190
+ * 关闭SSL
191
+ *
192
+ * @param headers - map
193
+ * @param runtime - runtime options for this request RuntimeOptions
194
+ * @returns DisableSSLResponse
195
+ */
196
+ disableSSLWithOptions(instanceId: string, headers: {
662
197
  [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(): {
198
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableSSLResponse>;
199
+ /**
200
+ * 关闭SSL
201
+ * @returns DisableSSLResponse
202
+ */
203
+ disableSSL(instanceId: string): Promise<$_model.DisableSSLResponse>;
204
+ /**
205
+ * 删除用户
206
+ *
207
+ * @param request - DropUserRequest
208
+ * @param headers - map
209
+ * @param runtime - runtime options for this request RuntimeOptions
210
+ * @returns DropUserResponse
211
+ */
212
+ dropUserWithOptions(instanceId: string, request: $_model.DropUserRequest, headers: {
678
213
  [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(): {
214
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DropUserResponse>;
215
+ /**
216
+ * 删除用户
217
+ *
218
+ * @param request - DropUserRequest
219
+ * @returns DropUserResponse
220
+ */
221
+ dropUser(instanceId: string, request: $_model.DropUserRequest): Promise<$_model.DropUserResponse>;
222
+ /**
223
+ * Enables data lake acceleration.
224
+ *
225
+ * @param request - EnableHiveAccessRequest
226
+ * @param headers - map
227
+ * @param runtime - runtime options for this request RuntimeOptions
228
+ * @returns EnableHiveAccessResponse
229
+ */
230
+ enableHiveAccessWithOptions(instanceId: string, request: $_model.EnableHiveAccessRequest, headers: {
696
231
  [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(): {
232
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableHiveAccessResponse>;
233
+ /**
234
+ * Enables data lake acceleration.
235
+ *
236
+ * @param request - EnableHiveAccessRequest
237
+ * @returns EnableHiveAccessResponse
238
+ */
239
+ enableHiveAccess(instanceId: string, request: $_model.EnableHiveAccessRequest): Promise<$_model.EnableHiveAccessResponse>;
240
+ /**
241
+ * 打开SSL
242
+ *
243
+ * @param headers - map
244
+ * @param runtime - runtime options for this request RuntimeOptions
245
+ * @returns EnableSSLResponse
246
+ */
247
+ enableSSLWithOptions(instanceId: string, headers: {
709
248
  [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(): {
249
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableSSLResponse>;
250
+ /**
251
+ * 打开SSL
252
+ * @returns EnableSSLResponse
253
+ */
254
+ enableSSL(instanceId: string): Promise<$_model.EnableSSLResponse>;
255
+ /**
256
+ * 获得证书信息
257
+ *
258
+ * @param headers - map
259
+ * @param runtime - runtime options for this request RuntimeOptions
260
+ * @returns GetCertificateAttributeResponse
261
+ */
262
+ getCertificateAttributeWithOptions(instanceId: string, headers: {
749
263
  [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(): {
264
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCertificateAttributeResponse>;
265
+ /**
266
+ * 获得证书信息
267
+ * @returns GetCertificateAttributeResponse
268
+ */
269
+ getCertificateAttribute(instanceId: string): Promise<$_model.GetCertificateAttributeResponse>;
270
+ /**
271
+ * Obtains the details of an instance.
272
+ *
273
+ * @param headers - map
274
+ * @param runtime - runtime options for this request RuntimeOptions
275
+ * @returns GetInstanceResponse
276
+ */
277
+ getInstanceWithOptions(instanceId: string, headers: {
766
278
  [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(): {
279
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceResponse>;
280
+ /**
281
+ * Obtains the details of an instance.
282
+ * @returns GetInstanceResponse
283
+ */
284
+ getInstance(instanceId: string): Promise<$_model.GetInstanceResponse>;
285
+ /**
286
+ * 获得根证书
287
+ *
288
+ * @param headers - map
289
+ * @param runtime - runtime options for this request RuntimeOptions
290
+ * @returns GetRootCertificateResponse
291
+ */
292
+ getRootCertificateWithOptions(instanceId: string, headers: {
780
293
  [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(): {
294
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRootCertificateResponse>;
295
+ /**
296
+ * 获得根证书
297
+ * @returns GetRootCertificateResponse
298
+ */
299
+ getRootCertificate(instanceId: string): Promise<$_model.GetRootCertificateResponse>;
300
+ /**
301
+ * Queries details of a virtual warehouse instance.
302
+ *
303
+ * @param headers - map
304
+ * @param runtime - runtime options for this request RuntimeOptions
305
+ * @returns GetWarehouseDetailResponse
306
+ */
307
+ getWarehouseDetailWithOptions(instanceId: string, headers: {
793
308
  [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(): {
309
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWarehouseDetailResponse>;
310
+ /**
311
+ * Queries details of a virtual warehouse instance.
312
+ * @returns GetWarehouseDetailResponse
313
+ */
314
+ getWarehouseDetail(instanceId: string): Promise<$_model.GetWarehouseDetailResponse>;
315
+ /**
316
+ * DB授权
317
+ *
318
+ * @param request - GrantDatabasePermissionRequest
319
+ * @param headers - map
320
+ * @param runtime - runtime options for this request RuntimeOptions
321
+ * @returns GrantDatabasePermissionResponse
322
+ */
323
+ grantDatabasePermissionWithOptions(instanceId: string, request: $_model.GrantDatabasePermissionRequest, headers: {
810
324
  [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(): {
325
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantDatabasePermissionResponse>;
326
+ /**
327
+ * DB授权
328
+ *
329
+ * @param request - GrantDatabasePermissionRequest
330
+ * @returns GrantDatabasePermissionResponse
331
+ */
332
+ grantDatabasePermission(instanceId: string, request: $_model.GrantDatabasePermissionRequest): Promise<$_model.GrantDatabasePermissionResponse>;
333
+ /**
334
+ * DB授权
335
+ *
336
+ * @param request - GrantSchemaPermissionRequest
337
+ * @param headers - map
338
+ * @param runtime - runtime options for this request RuntimeOptions
339
+ * @returns GrantSchemaPermissionResponse
340
+ */
341
+ grantSchemaPermissionWithOptions(instanceId: string, request: $_model.GrantSchemaPermissionRequest, headers: {
823
342
  [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(): {
343
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantSchemaPermissionResponse>;
344
+ /**
345
+ * DB授权
346
+ *
347
+ * @param request - GrantSchemaPermissionRequest
348
+ * @returns GrantSchemaPermissionResponse
349
+ */
350
+ grantSchemaPermission(instanceId: string, request: $_model.GrantSchemaPermissionRequest): Promise<$_model.GrantSchemaPermissionResponse>;
351
+ /**
352
+ * DB授权
353
+ *
354
+ * @param request - GrantTablePermissionRequest
355
+ * @param headers - map
356
+ * @param runtime - runtime options for this request RuntimeOptions
357
+ * @returns GrantTablePermissionResponse
358
+ */
359
+ grantTablePermissionWithOptions(instanceId: string, request: $_model.GrantTablePermissionRequest, headers: {
851
360
  [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(): {
361
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GrantTablePermissionResponse>;
362
+ /**
363
+ * DB授权
364
+ *
365
+ * @param request - GrantTablePermissionRequest
366
+ * @returns GrantTablePermissionResponse
367
+ */
368
+ grantTablePermission(instanceId: string, request: $_model.GrantTablePermissionRequest): Promise<$_model.GrantTablePermissionResponse>;
369
+ /**
370
+ * 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.
371
+ *
372
+ * @param request - ListBackupDataRequest
373
+ * @param headers - map
374
+ * @param runtime - runtime options for this request RuntimeOptions
375
+ * @returns ListBackupDataResponse
376
+ */
377
+ listBackupDataWithOptions(request: $_model.ListBackupDataRequest, headers: {
868
378
  [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(): {
379
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListBackupDataResponse>;
380
+ /**
381
+ * 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.
382
+ *
383
+ * @param request - ListBackupDataRequest
384
+ * @returns ListBackupDataResponse
385
+ */
386
+ listBackupData(request: $_model.ListBackupDataRequest): Promise<$_model.ListBackupDataResponse>;
387
+ /**
388
+ * 获取DB列表
389
+ *
390
+ * @param request - ListDatabasesRequest
391
+ * @param headers - map
392
+ * @param runtime - runtime options for this request RuntimeOptions
393
+ * @returns ListDatabasesResponse
394
+ */
395
+ listDatabasesWithOptions(instanceId: string, request: $_model.ListDatabasesRequest, headers: {
883
396
  [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(): {
397
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListDatabasesResponse>;
398
+ /**
399
+ * 获取DB列表
400
+ *
401
+ * @param request - ListDatabasesRequest
402
+ * @returns ListDatabasesResponse
403
+ */
404
+ listDatabases(instanceId: string, request: $_model.ListDatabasesRequest): Promise<$_model.ListDatabasesResponse>;
405
+ /**
406
+ * Queries a list of instances.
407
+ *
408
+ * @param request - ListInstancesRequest
409
+ * @param headers - map
410
+ * @param runtime - runtime options for this request RuntimeOptions
411
+ * @returns ListInstancesResponse
412
+ */
413
+ listInstancesWithOptions(request: $_model.ListInstancesRequest, headers: {
898
414
  [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: {
415
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstancesResponse>;
416
+ /**
417
+ * Queries a list of instances.
418
+ *
419
+ * @param request - ListInstancesRequest
420
+ * @returns ListInstancesResponse
421
+ */
422
+ listInstances(request: $_model.ListInstancesRequest): Promise<$_model.ListInstancesResponse>;
423
+ /**
424
+ * Queries the list of virtual warehouse instances.
425
+ *
426
+ * @param headers - map
427
+ * @param runtime - runtime options for this request RuntimeOptions
428
+ * @returns ListWarehousesResponse
429
+ */
430
+ listWarehousesWithOptions(instanceId: string, headers: {
910
431
  [key: string]: string;
911
- }, endpoint: string): string;
912
- changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, headers: {
432
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWarehousesResponse>;
433
+ /**
434
+ * Queries the list of virtual warehouse instances.
435
+ * @returns ListWarehousesResponse
436
+ */
437
+ listWarehouses(instanceId: string): Promise<$_model.ListWarehousesResponse>;
438
+ /**
439
+ * Triggers shard rebalancing for a virtual warehouse.
440
+ *
441
+ * @param request - RebalanceHoloWarehouseRequest
442
+ * @param headers - map
443
+ * @param runtime - runtime options for this request RuntimeOptions
444
+ * @returns RebalanceHoloWarehouseResponse
445
+ */
446
+ rebalanceHoloWarehouseWithOptions(instanceId: string, request: $_model.RebalanceHoloWarehouseRequest, headers: {
913
447
  [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: {
448
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RebalanceHoloWarehouseResponse>;
449
+ /**
450
+ * Triggers shard rebalancing for a virtual warehouse.
451
+ *
452
+ * @param request - RebalanceHoloWarehouseRequest
453
+ * @returns RebalanceHoloWarehouseResponse
454
+ */
455
+ rebalanceHoloWarehouse(instanceId: string, request: $_model.RebalanceHoloWarehouseRequest): Promise<$_model.RebalanceHoloWarehouseResponse>;
456
+ /**
457
+ * Renames a virtual warehouse.
458
+ *
459
+ * @param request - RenameHoloWarehouseRequest
460
+ * @param headers - map
461
+ * @param runtime - runtime options for this request RuntimeOptions
462
+ * @returns RenameHoloWarehouseResponse
463
+ */
464
+ renameHoloWarehouseWithOptions(instanceId: string, request: $_model.RenameHoloWarehouseRequest, headers: {
943
465
  [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: {
466
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenameHoloWarehouseResponse>;
467
+ /**
468
+ * Renames a virtual warehouse.
469
+ *
470
+ * @param request - RenameHoloWarehouseRequest
471
+ * @returns RenameHoloWarehouseResponse
472
+ */
473
+ renameHoloWarehouse(instanceId: string, request: $_model.RenameHoloWarehouseRequest): Promise<$_model.RenameHoloWarehouseResponse>;
474
+ /**
475
+ * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
476
+ *
477
+ * @remarks
478
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
479
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
480
+ * * 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).
481
+ * * You can renew only subscription instances.
482
+ *
483
+ * @param request - RenewInstanceRequest
484
+ * @param headers - map
485
+ * @param runtime - runtime options for this request RuntimeOptions
486
+ * @returns RenewInstanceResponse
487
+ */
488
+ renewInstanceWithOptions(instanceId: string, request: $_model.RenewInstanceRequest, headers: {
982
489
  [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: {
490
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenewInstanceResponse>;
491
+ /**
492
+ * Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
493
+ *
494
+ * @remarks
495
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
496
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
497
+ * * 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).
498
+ * * You can renew only subscription instances.
499
+ *
500
+ * @param request - RenewInstanceRequest
501
+ * @returns RenewInstanceResponse
502
+ */
503
+ renewInstance(instanceId: string, request: $_model.RenewInstanceRequest): Promise<$_model.RenewInstanceResponse>;
504
+ /**
505
+ * 更新证书
506
+ *
507
+ * @param headers - map
508
+ * @param runtime - runtime options for this request RuntimeOptions
509
+ * @returns RenewSSLCertificateResponse
510
+ */
511
+ renewSSLCertificateWithOptions(instanceId: string, headers: {
995
512
  [key: string]: string;
996
- }, runtime: $Util.RuntimeOptions): Promise<DisableHiveAccessResponse>;
997
- disableHiveAccess(instanceId: string, request: DisableHiveAccessRequest): Promise<DisableHiveAccessResponse>;
998
- enableHiveAccessWithOptions(instanceId: string, request: EnableHiveAccessRequest, headers: {
513
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RenewSSLCertificateResponse>;
514
+ /**
515
+ * 更新证书
516
+ * @returns RenewSSLCertificateResponse
517
+ */
518
+ renewSSLCertificate(instanceId: string): Promise<$_model.RenewSSLCertificateResponse>;
519
+ /**
520
+ * Restarts a virtual warehouse.
521
+ *
522
+ * @param request - RestartHoloWarehouseRequest
523
+ * @param headers - map
524
+ * @param runtime - runtime options for this request RuntimeOptions
525
+ * @returns RestartHoloWarehouseResponse
526
+ */
527
+ restartHoloWarehouseWithOptions(instanceId: string, request: $_model.RestartHoloWarehouseRequest, headers: {
999
528
  [key: string]: string;
1000
- }, runtime: $Util.RuntimeOptions): Promise<EnableHiveAccessResponse>;
1001
- enableHiveAccess(instanceId: string, request: EnableHiveAccessRequest): Promise<EnableHiveAccessResponse>;
1002
- getInstanceWithOptions(instanceId: string, headers: {
529
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RestartHoloWarehouseResponse>;
530
+ /**
531
+ * Restarts a virtual warehouse.
532
+ *
533
+ * @param request - RestartHoloWarehouseRequest
534
+ * @returns RestartHoloWarehouseResponse
535
+ */
536
+ restartHoloWarehouse(instanceId: string, request: $_model.RestartHoloWarehouseRequest): Promise<$_model.RestartHoloWarehouseResponse>;
537
+ /**
538
+ * Restarts an instance.
539
+ *
540
+ * @param headers - map
541
+ * @param runtime - runtime options for this request RuntimeOptions
542
+ * @returns RestartInstanceResponse
543
+ */
544
+ restartInstanceWithOptions(instanceId: string, headers: {
1003
545
  [key: string]: string;
1004
- }, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
1005
- getInstance(instanceId: string): Promise<GetInstanceResponse>;
1006
- getWarehouseDetailWithOptions(instanceId: string, headers: {
546
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RestartInstanceResponse>;
547
+ /**
548
+ * Restarts an instance.
549
+ * @returns RestartInstanceResponse
550
+ */
551
+ restartInstance(instanceId: string): Promise<$_model.RestartInstanceResponse>;
552
+ /**
553
+ * Resumes a virtual warehouse.
554
+ *
555
+ * @param request - ResumeHoloWarehouseRequest
556
+ * @param headers - map
557
+ * @param runtime - runtime options for this request RuntimeOptions
558
+ * @returns ResumeHoloWarehouseResponse
559
+ */
560
+ resumeHoloWarehouseWithOptions(instanceId: string, request: $_model.ResumeHoloWarehouseRequest, headers: {
1007
561
  [key: string]: string;
1008
- }, runtime: $Util.RuntimeOptions): Promise<GetWarehouseDetailResponse>;
1009
- getWarehouseDetail(instanceId: string): Promise<GetWarehouseDetailResponse>;
1010
- listInstancesWithOptions(request: ListInstancesRequest, headers: {
562
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeHoloWarehouseResponse>;
563
+ /**
564
+ * Resumes a virtual warehouse.
565
+ *
566
+ * @param request - ResumeHoloWarehouseRequest
567
+ * @returns ResumeHoloWarehouseResponse
568
+ */
569
+ resumeHoloWarehouse(instanceId: string, request: $_model.ResumeHoloWarehouseRequest): Promise<$_model.ResumeHoloWarehouseResponse>;
570
+ /**
571
+ * Resumes an instance.
572
+ *
573
+ * @param headers - map
574
+ * @param runtime - runtime options for this request RuntimeOptions
575
+ * @returns ResumeInstanceResponse
576
+ */
577
+ resumeInstanceWithOptions(instanceId: string, headers: {
1011
578
  [key: string]: string;
1012
- }, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
1013
- listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
1014
- listWarehousesWithOptions(instanceId: string, headers: {
579
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeInstanceResponse>;
580
+ /**
581
+ * Resumes an instance.
582
+ * @returns ResumeInstanceResponse
583
+ */
584
+ resumeInstance(instanceId: string): Promise<$_model.ResumeInstanceResponse>;
585
+ /**
586
+ * 取消DB授权
587
+ *
588
+ * @param request - RevokeDatabasePermissionRequest
589
+ * @param headers - map
590
+ * @param runtime - runtime options for this request RuntimeOptions
591
+ * @returns RevokeDatabasePermissionResponse
592
+ */
593
+ revokeDatabasePermissionWithOptions(instanceId: string, request: $_model.RevokeDatabasePermissionRequest, headers: {
1015
594
  [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: {
595
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeDatabasePermissionResponse>;
596
+ /**
597
+ * 取消DB授权
598
+ *
599
+ * @param request - RevokeDatabasePermissionRequest
600
+ * @returns RevokeDatabasePermissionResponse
601
+ */
602
+ revokeDatabasePermission(instanceId: string, request: $_model.RevokeDatabasePermissionRequest): Promise<$_model.RevokeDatabasePermissionResponse>;
603
+ /**
604
+ * 取消Schema授权
605
+ *
606
+ * @param request - RevokeSchemaPermissionRequest
607
+ * @param headers - map
608
+ * @param runtime - runtime options for this request RuntimeOptions
609
+ * @returns RevokeSchemaPermissionResponse
610
+ */
611
+ revokeSchemaPermissionWithOptions(instanceId: string, request: $_model.RevokeSchemaPermissionRequest, headers: {
1030
612
  [key: string]: string;
1031
- }, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
613
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeSchemaPermissionResponse>;
1032
614
  /**
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
615
+ * 取消Schema授权
616
+ *
617
+ * @param request - RevokeSchemaPermissionRequest
618
+ * @returns RevokeSchemaPermissionResponse
1040
619
  */
1041
- renewInstance(instanceId: string, request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
1042
- restartInstanceWithOptions(instanceId: string, headers: {
620
+ revokeSchemaPermission(instanceId: string, request: $_model.RevokeSchemaPermissionRequest): Promise<$_model.RevokeSchemaPermissionResponse>;
621
+ /**
622
+ * 取消表授权
623
+ *
624
+ * @param request - RevokeTablePermissionRequest
625
+ * @param headers - map
626
+ * @param runtime - runtime options for this request RuntimeOptions
627
+ * @returns RevokeTablePermissionResponse
628
+ */
629
+ revokeTablePermissionWithOptions(instanceId: string, request: $_model.RevokeTablePermissionRequest, headers: {
1043
630
  [key: string]: string;
1044
- }, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
1045
- restartInstance(instanceId: string): Promise<RestartInstanceResponse>;
1046
- resumeInstanceWithOptions(instanceId: string, headers: {
631
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeTablePermissionResponse>;
632
+ /**
633
+ * 取消表授权
634
+ *
635
+ * @param request - RevokeTablePermissionRequest
636
+ * @returns RevokeTablePermissionResponse
637
+ */
638
+ revokeTablePermission(instanceId: string, request: $_model.RevokeTablePermissionRequest): Promise<$_model.RevokeTablePermissionResponse>;
639
+ /**
640
+ * Scales in or out a virtual warehouse.
641
+ *
642
+ * @param request - ScaleHoloWarehouseRequest
643
+ * @param headers - map
644
+ * @param runtime - runtime options for this request RuntimeOptions
645
+ * @returns ScaleHoloWarehouseResponse
646
+ */
647
+ scaleHoloWarehouseWithOptions(instanceId: string, request: $_model.ScaleHoloWarehouseRequest, headers: {
1047
648
  [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: {
649
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleHoloWarehouseResponse>;
650
+ /**
651
+ * Scales in or out a virtual warehouse.
652
+ *
653
+ * @param request - ScaleHoloWarehouseRequest
654
+ * @returns ScaleHoloWarehouseResponse
655
+ */
656
+ scaleHoloWarehouse(instanceId: string, request: $_model.ScaleHoloWarehouseRequest): Promise<$_model.ScaleHoloWarehouseResponse>;
657
+ /**
658
+ * Changes the specifications and storage space of a Hologres instance.
659
+ *
660
+ * @remarks
661
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
662
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
663
+ * * 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).
664
+ *
665
+ * @param request - ScaleInstanceRequest
666
+ * @param headers - map
667
+ * @param runtime - runtime options for this request RuntimeOptions
668
+ * @returns ScaleInstanceResponse
669
+ */
670
+ scaleInstanceWithOptions(instanceId: string, request: $_model.ScaleInstanceRequest, headers: {
1061
671
  [key: string]: string;
1062
- }, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
672
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleInstanceResponse>;
1063
673
  /**
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
674
+ * Changes the specifications and storage space of a Hologres instance.
675
+ *
676
+ * @remarks
677
+ * > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
678
+ * * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
679
+ * * 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).
680
+ *
681
+ * @param request - ScaleInstanceRequest
682
+ * @returns ScaleInstanceResponse
683
+ */
684
+ scaleInstance(instanceId: string, request: $_model.ScaleInstanceRequest): Promise<$_model.ScaleInstanceResponse>;
685
+ /**
686
+ * Stops an instance.
687
+ *
688
+ * @param headers - map
689
+ * @param runtime - runtime options for this request RuntimeOptions
690
+ * @returns StopInstanceResponse
1070
691
  */
1071
- scaleInstance(instanceId: string, request: ScaleInstanceRequest): Promise<ScaleInstanceResponse>;
1072
692
  stopInstanceWithOptions(instanceId: string, headers: {
1073
693
  [key: string]: string;
1074
- }, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
1075
- stopInstance(instanceId: string): Promise<StopInstanceResponse>;
1076
- updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
694
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.StopInstanceResponse>;
695
+ /**
696
+ * Stops an instance.
697
+ * @returns StopInstanceResponse
698
+ */
699
+ stopInstance(instanceId: string): Promise<$_model.StopInstanceResponse>;
700
+ /**
701
+ * Suspends a virtual warehouse.
702
+ *
703
+ * @param request - SuspendHoloWarehouseRequest
704
+ * @param headers - map
705
+ * @param runtime - runtime options for this request RuntimeOptions
706
+ * @returns SuspendHoloWarehouseResponse
707
+ */
708
+ suspendHoloWarehouseWithOptions(instanceId: string, request: $_model.SuspendHoloWarehouseRequest, headers: {
1077
709
  [key: string]: string;
1078
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
1079
- updateInstanceName(instanceId: string, request: UpdateInstanceNameRequest): Promise<UpdateInstanceNameResponse>;
1080
- updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
710
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SuspendHoloWarehouseResponse>;
711
+ /**
712
+ * Suspends a virtual warehouse.
713
+ *
714
+ * @param request - SuspendHoloWarehouseRequest
715
+ * @returns SuspendHoloWarehouseResponse
716
+ */
717
+ suspendHoloWarehouse(instanceId: string, request: $_model.SuspendHoloWarehouseRequest): Promise<$_model.SuspendHoloWarehouseResponse>;
718
+ /**
719
+ * Changes the name of an instance.
720
+ *
721
+ * @param request - UpdateInstanceNameRequest
722
+ * @param headers - map
723
+ * @param runtime - runtime options for this request RuntimeOptions
724
+ * @returns UpdateInstanceNameResponse
725
+ */
726
+ updateInstanceNameWithOptions(instanceId: string, request: $_model.UpdateInstanceNameRequest, headers: {
727
+ [key: string]: string;
728
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNameResponse>;
729
+ /**
730
+ * Changes the name of an instance.
731
+ *
732
+ * @param request - UpdateInstanceNameRequest
733
+ * @returns UpdateInstanceNameResponse
734
+ */
735
+ updateInstanceName(instanceId: string, request: $_model.UpdateInstanceNameRequest): Promise<$_model.UpdateInstanceNameResponse>;
736
+ /**
737
+ * Modifies the network configuration of an instance.
738
+ *
739
+ * @param request - UpdateInstanceNetworkTypeRequest
740
+ * @param headers - map
741
+ * @param runtime - runtime options for this request RuntimeOptions
742
+ * @returns UpdateInstanceNetworkTypeResponse
743
+ */
744
+ updateInstanceNetworkTypeWithOptions(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest, headers: {
1081
745
  [key: string]: string;
1082
- }, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
1083
- updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
746
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
747
+ /**
748
+ * Modifies the network configuration of an instance.
749
+ *
750
+ * @param request - UpdateInstanceNetworkTypeRequest
751
+ * @returns UpdateInstanceNetworkTypeResponse
752
+ */
753
+ updateInstanceNetworkType(instanceId: string, request: $_model.UpdateInstanceNetworkTypeRequest): Promise<$_model.UpdateInstanceNetworkTypeResponse>;
1084
754
  }