@huaweicloud/huaweicloud-sdk-cbh 3.1.69 → 3.1.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/huaweicloud-sdk-cbh.d.ts +1 -0
  2. package/huaweicloud-sdk-cbh.d.ts.map +1 -1
  3. package/huaweicloud-sdk-cbh.js +2 -1
  4. package/huaweicloud-sdk-cbh.js.map +1 -1
  5. package/package.json +2 -2
  6. package/v1/CbhClient.d.ts +12 -12
  7. package/v1/CbhClient.d.ts.map +1 -1
  8. package/v1/CbhClient.js +30 -30
  9. package/v1/CbhClient.js.map +1 -1
  10. package/v1/CbhRegion.d.ts +4 -0
  11. package/v1/CbhRegion.d.ts.map +1 -1
  12. package/v1/CbhRegion.js +9 -1
  13. package/v1/CbhRegion.js.map +1 -1
  14. package/v1/model/CreateCbhRequest.d.ts +7 -0
  15. package/v1/model/CreateCbhRequest.d.ts.map +1 -0
  16. package/v1/model/CreateCbhRequest.js +13 -0
  17. package/v1/model/CreateCbhRequest.js.map +1 -0
  18. package/v1/model/{CreateInstanceResponse.d.ts → CreateCbhResponse.d.ts} +6 -6
  19. package/v1/model/CreateCbhResponse.d.ts.map +1 -0
  20. package/v1/model/{CreateInstanceResponse.js → CreateCbhResponse.js} +4 -4
  21. package/v1/model/CreateCbhResponse.js.map +1 -0
  22. package/v1/model/InstallCbhEipRequest.d.ts +11 -0
  23. package/v1/model/InstallCbhEipRequest.d.ts.map +1 -0
  24. package/v1/model/InstallCbhEipRequest.js +24 -0
  25. package/v1/model/InstallCbhEipRequest.js.map +1 -0
  26. package/v1/model/InstallCbhEipResponse.d.ts +5 -0
  27. package/v1/model/InstallCbhEipResponse.d.ts.map +1 -0
  28. package/v1/model/InstallCbhEipResponse.js +11 -0
  29. package/v1/model/InstallCbhEipResponse.js.map +1 -0
  30. package/v1/model/UninstallCbhEipRequest.d.ts +11 -0
  31. package/v1/model/UninstallCbhEipRequest.d.ts.map +1 -0
  32. package/v1/model/UninstallCbhEipRequest.js +24 -0
  33. package/v1/model/UninstallCbhEipRequest.js.map +1 -0
  34. package/v1/model/UninstallCbhEipResponse.d.ts +5 -0
  35. package/v1/model/UninstallCbhEipResponse.d.ts.map +1 -0
  36. package/v1/model/UninstallCbhEipResponse.js +11 -0
  37. package/v1/model/UninstallCbhEipResponse.js.map +1 -0
  38. package/v1/public-api.d.ts +6 -6
  39. package/v1/public-api.d.ts.map +1 -1
  40. package/v1/public-api.js +6 -6
  41. package/v1/public-api.js.map +1 -1
  42. package/v2/CbhClient.d.ts +773 -0
  43. package/v2/CbhClient.d.ts.map +1 -0
  44. package/v2/CbhClient.js +1454 -0
  45. package/v2/CbhClient.js.map +1 -0
  46. package/v2/CbhRegion.d.ts +16 -0
  47. package/v2/CbhRegion.d.ts.map +1 -0
  48. package/v2/CbhRegion.js +40 -0
  49. package/v2/CbhRegion.js.map +1 -0
  50. package/v2/model/AuthorizeCsmsAndKmsRequestBody.d.ts +6 -0
  51. package/v2/model/AuthorizeCsmsAndKmsRequestBody.d.ts.map +1 -0
  52. package/v2/model/AuthorizeCsmsAndKmsRequestBody.js +14 -0
  53. package/v2/model/AuthorizeCsmsAndKmsRequestBody.js.map +1 -0
  54. package/v2/model/AvailabilityZones.d.ts +18 -0
  55. package/v2/model/AvailabilityZones.d.ts.map +1 -0
  56. package/v2/model/AvailabilityZones.js +45 -0
  57. package/v2/model/AvailabilityZones.js.map +1 -0
  58. package/v2/model/BatchCreateInstanceTagRequest.d.ts +11 -0
  59. package/v2/model/BatchCreateInstanceTagRequest.d.ts.map +1 -0
  60. package/v2/model/BatchCreateInstanceTagRequest.js +24 -0
  61. package/v2/model/BatchCreateInstanceTagRequest.js.map +1 -0
  62. package/v2/model/BatchCreateInstanceTagResponse.d.ts +5 -0
  63. package/v2/model/BatchCreateInstanceTagResponse.d.ts.map +1 -0
  64. package/v2/model/BatchCreateInstanceTagResponse.js +11 -0
  65. package/v2/model/BatchCreateInstanceTagResponse.js.map +1 -0
  66. package/v2/model/CBHInstances.d.ts +59 -0
  67. package/v2/model/CBHInstances.d.ts.map +1 -0
  68. package/v2/model/CBHInstances.js +146 -0
  69. package/v2/model/CBHInstances.js.map +1 -0
  70. package/v2/model/CbsGetResourceIdTags.d.ts +13 -0
  71. package/v2/model/CbsGetResourceIdTags.d.ts.map +1 -0
  72. package/v2/model/CbsGetResourceIdTags.js +30 -0
  73. package/v2/model/CbsGetResourceIdTags.js.map +1 -0
  74. package/v2/model/CbsGetSpecInfo.d.ts +26 -0
  75. package/v2/model/CbsGetSpecInfo.d.ts.map +1 -0
  76. package/v2/model/CbsGetSpecInfo.js +67 -0
  77. package/v2/model/CbsGetSpecInfo.js.map +1 -0
  78. package/v2/model/ChangeInstanceRequestBody.d.ts +20 -0
  79. package/v2/model/ChangeInstanceRequestBody.d.ts.map +1 -0
  80. package/v2/model/ChangeInstanceRequestBody.js +50 -0
  81. package/v2/model/ChangeInstanceRequestBody.js.map +1 -0
  82. package/v2/model/ChangeInstanceSecurityGroups.d.ts +8 -0
  83. package/v2/model/ChangeInstanceSecurityGroups.d.ts.map +1 -0
  84. package/v2/model/ChangeInstanceSecurityGroups.js +20 -0
  85. package/v2/model/ChangeInstanceSecurityGroups.js.map +1 -0
  86. package/v2/model/CommonCbhRequestBody.d.ts +8 -0
  87. package/v2/model/CommonCbhRequestBody.d.ts.map +1 -0
  88. package/v2/model/CommonCbhRequestBody.js +20 -0
  89. package/v2/model/CommonCbhRequestBody.js.map +1 -0
  90. package/v2/model/CountInstancesByTagRequest.d.ts +7 -0
  91. package/v2/model/CountInstancesByTagRequest.d.ts.map +1 -0
  92. package/v2/model/CountInstancesByTagRequest.js +13 -0
  93. package/v2/model/CountInstancesByTagRequest.js.map +1 -0
  94. package/v2/model/CountInstancesByTagResponse.d.ts +9 -0
  95. package/v2/model/CountInstancesByTagResponse.d.ts.map +1 -0
  96. package/v2/model/CountInstancesByTagResponse.js +21 -0
  97. package/v2/model/CountInstancesByTagResponse.js.map +1 -0
  98. package/v2/model/CreateInstanceBody.d.ts +7 -0
  99. package/v2/model/CreateInstanceBody.d.ts.map +1 -0
  100. package/v2/model/CreateInstanceBody.js +14 -0
  101. package/v2/model/CreateInstanceBody.js.map +1 -0
  102. package/{v1 → v2}/model/CreateInstanceRequest.d.ts.map +1 -1
  103. package/{v1 → v2}/model/CreateInstanceRequest.js.map +1 -1
  104. package/v2/model/CreateInstanceResponse.d.ts +9 -0
  105. package/v2/model/CreateInstanceResponse.d.ts.map +1 -0
  106. package/v2/model/CreateInstanceResponse.js +21 -0
  107. package/v2/model/CreateInstanceResponse.js.map +1 -0
  108. package/v2/model/DeleteInstanceRequest.d.ts +8 -0
  109. package/v2/model/DeleteInstanceRequest.d.ts.map +1 -0
  110. package/v2/model/DeleteInstanceRequest.js +19 -0
  111. package/v2/model/DeleteInstanceRequest.js.map +1 -0
  112. package/v2/model/DeleteInstanceResponse.d.ts +5 -0
  113. package/v2/model/DeleteInstanceResponse.d.ts.map +1 -0
  114. package/v2/model/DeleteInstanceResponse.js +11 -0
  115. package/v2/model/DeleteInstanceResponse.js.map +1 -0
  116. package/{v1 → v2}/model/InstallInstanceEipRequest.d.ts.map +1 -1
  117. package/{v1 → v2}/model/InstallInstanceEipRequest.js.map +1 -1
  118. package/{v1 → v2}/model/InstallInstanceEipResponse.d.ts.map +1 -1
  119. package/{v1 → v2}/model/InstallInstanceEipResponse.js.map +1 -1
  120. package/v2/model/InstanceDetail.d.ts +81 -0
  121. package/v2/model/InstanceDetail.d.ts.map +1 -0
  122. package/v2/model/InstanceDetail.js +187 -0
  123. package/v2/model/InstanceDetail.js.map +1 -0
  124. package/v2/model/InstanceDetailAzInfo.d.ts +20 -0
  125. package/v2/model/InstanceDetailAzInfo.d.ts.map +1 -0
  126. package/v2/model/InstanceDetailAzInfo.js +50 -0
  127. package/v2/model/InstanceDetailAzInfo.js.map +1 -0
  128. package/v2/model/InstanceDetailHaInfo.d.ts +12 -0
  129. package/v2/model/InstanceDetailHaInfo.d.ts.map +1 -0
  130. package/v2/model/InstanceDetailHaInfo.js +31 -0
  131. package/v2/model/InstanceDetailHaInfo.js.map +1 -0
  132. package/v2/model/InstanceDetailNetwork.d.ts +34 -0
  133. package/v2/model/InstanceDetailNetwork.d.ts.map +1 -0
  134. package/v2/model/InstanceDetailNetwork.js +90 -0
  135. package/v2/model/InstanceDetailNetwork.js.map +1 -0
  136. package/v2/model/InstanceDetailResourceInfo.d.ts +22 -0
  137. package/v2/model/InstanceDetailResourceInfo.d.ts.map +1 -0
  138. package/v2/model/InstanceDetailResourceInfo.js +58 -0
  139. package/v2/model/InstanceDetailResourceInfo.js.map +1 -0
  140. package/v2/model/InstanceDetailStatusInfo.d.ts +26 -0
  141. package/v2/model/InstanceDetailStatusInfo.d.ts.map +1 -0
  142. package/v2/model/InstanceDetailStatusInfo.js +69 -0
  143. package/v2/model/InstanceDetailStatusInfo.js.map +1 -0
  144. package/v2/model/IsAutoPay.d.ts +4 -0
  145. package/v2/model/IsAutoPay.d.ts.map +1 -0
  146. package/v2/model/IsAutoPay.js +9 -0
  147. package/v2/model/IsAutoPay.js.map +1 -0
  148. package/v2/model/ListAvailableZonesRequest.d.ts +4 -0
  149. package/v2/model/ListAvailableZonesRequest.d.ts.map +1 -0
  150. package/v2/model/ListAvailableZonesRequest.js +9 -0
  151. package/v2/model/ListAvailableZonesRequest.js.map +1 -0
  152. package/v2/model/ListAvailableZonesResponse.d.ts +10 -0
  153. package/v2/model/ListAvailableZonesResponse.d.ts.map +1 -0
  154. package/v2/model/ListAvailableZonesResponse.js +21 -0
  155. package/v2/model/ListAvailableZonesResponse.js.map +1 -0
  156. package/v2/model/ListCBHByTagsRequestBody.d.ts +30 -0
  157. package/v2/model/ListCBHByTagsRequestBody.d.ts.map +1 -0
  158. package/v2/model/ListCBHByTagsRequestBody.js +67 -0
  159. package/v2/model/ListCBHByTagsRequestBody.js.map +1 -0
  160. package/v2/model/ListInstancesByTagRequest.d.ts +11 -0
  161. package/v2/model/ListInstancesByTagRequest.d.ts.map +1 -0
  162. package/v2/model/ListInstancesByTagRequest.js +21 -0
  163. package/v2/model/ListInstancesByTagRequest.js.map +1 -0
  164. package/v2/model/ListInstancesByTagResponse.d.ts +12 -0
  165. package/v2/model/ListInstancesByTagResponse.d.ts.map +1 -0
  166. package/v2/model/ListInstancesByTagResponse.js +25 -0
  167. package/v2/model/ListInstancesByTagResponse.js.map +1 -0
  168. package/v2/model/ListInstancesRequest.d.ts +8 -0
  169. package/v2/model/ListInstancesRequest.d.ts.map +1 -0
  170. package/v2/model/ListInstancesRequest.js +19 -0
  171. package/v2/model/ListInstancesRequest.js.map +1 -0
  172. package/v2/model/ListInstancesResponse.d.ts +10 -0
  173. package/v2/model/ListInstancesResponse.d.ts.map +1 -0
  174. package/v2/model/ListInstancesResponse.js +19 -0
  175. package/v2/model/ListInstancesResponse.js.map +1 -0
  176. package/v2/model/ListSpecificationsRequest.d.ts +10 -0
  177. package/v2/model/ListSpecificationsRequest.d.ts.map +1 -0
  178. package/v2/model/ListSpecificationsRequest.js +24 -0
  179. package/v2/model/ListSpecificationsRequest.js.map +1 -0
  180. package/v2/model/ListSpecificationsResponse.d.ts +8 -0
  181. package/v2/model/ListSpecificationsResponse.d.ts.map +1 -0
  182. package/v2/model/ListSpecificationsResponse.js +15 -0
  183. package/v2/model/ListSpecificationsResponse.js.map +1 -0
  184. package/v2/model/ListTagsRequest.d.ts +4 -0
  185. package/v2/model/ListTagsRequest.d.ts.map +1 -0
  186. package/v2/model/ListTagsRequest.js +9 -0
  187. package/v2/model/ListTagsRequest.js.map +1 -0
  188. package/v2/model/ListTagsResponse.d.ts +8 -0
  189. package/v2/model/ListTagsResponse.d.ts.map +1 -0
  190. package/v2/model/ListTagsResponse.js +15 -0
  191. package/v2/model/ListTagsResponse.js.map +1 -0
  192. package/v2/model/LoginInstanceRequest.d.ts +7 -0
  193. package/v2/model/LoginInstanceRequest.d.ts.map +1 -0
  194. package/v2/model/LoginInstanceRequest.js +13 -0
  195. package/v2/model/LoginInstanceRequest.js.map +1 -0
  196. package/v2/model/LoginInstanceResponse.d.ts +9 -0
  197. package/v2/model/LoginInstanceResponse.d.ts.map +1 -0
  198. package/v2/model/LoginInstanceResponse.js +21 -0
  199. package/v2/model/LoginInstanceResponse.js.map +1 -0
  200. package/v2/model/Match.d.ts +8 -0
  201. package/v2/model/Match.d.ts.map +1 -0
  202. package/v2/model/Match.js +19 -0
  203. package/v2/model/Match.js.map +1 -0
  204. package/v2/model/OperateEipRequestBody.d.ts +8 -0
  205. package/v2/model/OperateEipRequestBody.d.ts.map +1 -0
  206. package/v2/model/OperateEipRequestBody.js +20 -0
  207. package/v2/model/OperateEipRequestBody.js.map +1 -0
  208. package/v2/model/RebootCbhRequestBody.d.ts +12 -0
  209. package/v2/model/RebootCbhRequestBody.d.ts.map +1 -0
  210. package/v2/model/RebootCbhRequestBody.js +31 -0
  211. package/v2/model/RebootCbhRequestBody.js.map +1 -0
  212. package/v2/model/RebootInstanceRequest.d.ts +7 -0
  213. package/v2/model/RebootInstanceRequest.d.ts.map +1 -0
  214. package/v2/model/RebootInstanceRequest.js +13 -0
  215. package/v2/model/RebootInstanceRequest.js.map +1 -0
  216. package/v2/model/RebootInstanceResponse.d.ts +5 -0
  217. package/v2/model/RebootInstanceResponse.d.ts.map +1 -0
  218. package/v2/model/RebootInstanceResponse.js +11 -0
  219. package/v2/model/RebootInstanceResponse.js.map +1 -0
  220. package/v2/model/RegisterAuthorizationRequest.d.ts +7 -0
  221. package/v2/model/RegisterAuthorizationRequest.d.ts.map +1 -0
  222. package/v2/model/RegisterAuthorizationRequest.js +13 -0
  223. package/v2/model/RegisterAuthorizationRequest.js.map +1 -0
  224. package/v2/model/RegisterAuthorizationResponse.d.ts +5 -0
  225. package/v2/model/RegisterAuthorizationResponse.d.ts.map +1 -0
  226. package/v2/model/RegisterAuthorizationResponse.js +11 -0
  227. package/v2/model/RegisterAuthorizationResponse.js.map +1 -0
  228. package/v2/model/ResetInstanceLoginMethodRequest.d.ts +7 -0
  229. package/v2/model/ResetInstanceLoginMethodRequest.d.ts.map +1 -0
  230. package/v2/model/ResetInstanceLoginMethodRequest.js +13 -0
  231. package/v2/model/ResetInstanceLoginMethodRequest.js.map +1 -0
  232. package/v2/model/ResetInstanceLoginMethodResponse.d.ts +5 -0
  233. package/v2/model/ResetInstanceLoginMethodResponse.d.ts.map +1 -0
  234. package/v2/model/ResetInstanceLoginMethodResponse.js +11 -0
  235. package/v2/model/ResetInstanceLoginMethodResponse.js.map +1 -0
  236. package/v2/model/ResetInstancePasswordRequest.d.ts +7 -0
  237. package/v2/model/ResetInstancePasswordRequest.d.ts.map +1 -0
  238. package/v2/model/ResetInstancePasswordRequest.js +13 -0
  239. package/v2/model/ResetInstancePasswordRequest.js.map +1 -0
  240. package/v2/model/ResetInstancePasswordResponse.d.ts +5 -0
  241. package/v2/model/ResetInstancePasswordResponse.d.ts.map +1 -0
  242. package/v2/model/ResetInstancePasswordResponse.js +11 -0
  243. package/v2/model/ResetInstancePasswordResponse.js.map +1 -0
  244. package/v2/model/ResetPassword.d.ts +12 -0
  245. package/v2/model/ResetPassword.d.ts.map +1 -0
  246. package/v2/model/ResetPassword.js +31 -0
  247. package/v2/model/ResetPassword.js.map +1 -0
  248. package/v2/model/ResizeInstanceRequest.d.ts +7 -0
  249. package/v2/model/ResizeInstanceRequest.d.ts.map +1 -0
  250. package/v2/model/ResizeInstanceRequest.js +13 -0
  251. package/v2/model/ResizeInstanceRequest.js.map +1 -0
  252. package/v2/model/ResizeInstanceResponse.d.ts +9 -0
  253. package/v2/model/ResizeInstanceResponse.d.ts.map +1 -0
  254. package/v2/model/ResizeInstanceResponse.js +21 -0
  255. package/v2/model/ResizeInstanceResponse.js.map +1 -0
  256. package/v2/model/ResourceTag.d.ts +8 -0
  257. package/v2/model/ResourceTag.d.ts.map +1 -0
  258. package/v2/model/ResourceTag.js +19 -0
  259. package/v2/model/ResourceTag.js.map +1 -0
  260. package/v2/model/Resources.d.ts +23 -0
  261. package/v2/model/Resources.d.ts.map +1 -0
  262. package/v2/model/Resources.js +58 -0
  263. package/v2/model/Resources.js.map +1 -0
  264. package/v2/model/RollbackInstanceRequest.d.ts +7 -0
  265. package/v2/model/RollbackInstanceRequest.d.ts.map +1 -0
  266. package/v2/model/RollbackInstanceRequest.js +13 -0
  267. package/v2/model/RollbackInstanceRequest.js.map +1 -0
  268. package/v2/model/RollbackInstanceRequestBody.d.ts +8 -0
  269. package/v2/model/RollbackInstanceRequestBody.d.ts.map +1 -0
  270. package/v2/model/RollbackInstanceRequestBody.js +20 -0
  271. package/v2/model/RollbackInstanceRequestBody.js.map +1 -0
  272. package/v2/model/RollbackInstanceResponse.d.ts +5 -0
  273. package/v2/model/RollbackInstanceResponse.d.ts.map +1 -0
  274. package/v2/model/RollbackInstanceResponse.js +11 -0
  275. package/v2/model/RollbackInstanceResponse.js.map +1 -0
  276. package/v2/model/ShowAuthorizationRequest.d.ts +4 -0
  277. package/v2/model/ShowAuthorizationRequest.d.ts.map +1 -0
  278. package/v2/model/ShowAuthorizationRequest.js +9 -0
  279. package/v2/model/ShowAuthorizationRequest.js.map +1 -0
  280. package/v2/model/ShowAuthorizationResponse.d.ts +7 -0
  281. package/v2/model/ShowAuthorizationResponse.d.ts.map +1 -0
  282. package/v2/model/ShowAuthorizationResponse.js +15 -0
  283. package/v2/model/ShowAuthorizationResponse.js.map +1 -0
  284. package/v2/model/ShowEcsQuotaRequest.d.ts +12 -0
  285. package/v2/model/ShowEcsQuotaRequest.d.ts.map +1 -0
  286. package/v2/model/ShowEcsQuotaRequest.js +31 -0
  287. package/v2/model/ShowEcsQuotaRequest.js.map +1 -0
  288. package/v2/model/ShowEcsQuotaResponse.d.ts +11 -0
  289. package/v2/model/ShowEcsQuotaResponse.d.ts.map +1 -0
  290. package/v2/model/ShowEcsQuotaResponse.js +25 -0
  291. package/v2/model/ShowEcsQuotaResponse.js.map +1 -0
  292. package/v2/model/ShowInstanceStatusRequest.d.ts +8 -0
  293. package/v2/model/ShowInstanceStatusRequest.d.ts.map +1 -0
  294. package/v2/model/ShowInstanceStatusRequest.js +20 -0
  295. package/v2/model/ShowInstanceStatusRequest.js.map +1 -0
  296. package/v2/model/ShowInstanceStatusResponse.d.ts +13 -0
  297. package/v2/model/ShowInstanceStatusResponse.d.ts.map +1 -0
  298. package/v2/model/ShowInstanceStatusResponse.js +29 -0
  299. package/v2/model/ShowInstanceStatusResponse.js.map +1 -0
  300. package/v2/model/ShowInstanceTagsRequest.d.ts +8 -0
  301. package/v2/model/ShowInstanceTagsRequest.d.ts.map +1 -0
  302. package/v2/model/ShowInstanceTagsRequest.js +20 -0
  303. package/v2/model/ShowInstanceTagsRequest.js.map +1 -0
  304. package/v2/model/ShowInstanceTagsResponse.d.ts +8 -0
  305. package/v2/model/ShowInstanceTagsResponse.d.ts.map +1 -0
  306. package/v2/model/ShowInstanceTagsResponse.js +15 -0
  307. package/v2/model/ShowInstanceTagsResponse.js.map +1 -0
  308. package/v2/model/ShowOmUrlRequest.d.ts +16 -0
  309. package/v2/model/ShowOmUrlRequest.d.ts.map +1 -0
  310. package/v2/model/ShowOmUrlRequest.js +42 -0
  311. package/v2/model/ShowOmUrlRequest.js.map +1 -0
  312. package/v2/model/ShowOmUrlResponse.d.ts +27 -0
  313. package/v2/model/ShowOmUrlResponse.d.ts.map +1 -0
  314. package/v2/model/ShowOmUrlResponse.js +44 -0
  315. package/v2/model/ShowOmUrlResponse.js.map +1 -0
  316. package/v2/model/ShowQuotaRequest.d.ts +4 -0
  317. package/v2/model/ShowQuotaRequest.d.ts.map +1 -0
  318. package/v2/model/ShowQuotaRequest.js +9 -0
  319. package/v2/model/ShowQuotaRequest.js.map +1 -0
  320. package/v2/model/ShowQuotaResponse.d.ts +11 -0
  321. package/v2/model/ShowQuotaResponse.d.ts.map +1 -0
  322. package/v2/model/ShowQuotaResponse.js +25 -0
  323. package/v2/model/ShowQuotaResponse.js.map +1 -0
  324. package/v2/model/StartInstanceRequest.d.ts +7 -0
  325. package/v2/model/StartInstanceRequest.d.ts.map +1 -0
  326. package/v2/model/StartInstanceRequest.js +13 -0
  327. package/v2/model/StartInstanceRequest.js.map +1 -0
  328. package/v2/model/StartInstanceResponse.d.ts +5 -0
  329. package/v2/model/StartInstanceResponse.d.ts.map +1 -0
  330. package/v2/model/StartInstanceResponse.js +11 -0
  331. package/v2/model/StartInstanceResponse.js.map +1 -0
  332. package/v2/model/StopInstanceRequest.d.ts +7 -0
  333. package/v2/model/StopInstanceRequest.d.ts.map +1 -0
  334. package/v2/model/StopInstanceRequest.js +13 -0
  335. package/v2/model/StopInstanceRequest.js.map +1 -0
  336. package/v2/model/StopInstanceResponse.d.ts +5 -0
  337. package/v2/model/StopInstanceResponse.d.ts.map +1 -0
  338. package/v2/model/StopInstanceResponse.js +11 -0
  339. package/v2/model/StopInstanceResponse.js.map +1 -0
  340. package/v2/model/Tags.d.ts +8 -0
  341. package/v2/model/Tags.d.ts.map +1 -0
  342. package/v2/model/Tags.js +19 -0
  343. package/v2/model/Tags.js.map +1 -0
  344. package/{v1 → v2}/model/UninstallInstanceEipRequest.d.ts.map +1 -1
  345. package/{v1 → v2}/model/UninstallInstanceEipRequest.js.map +1 -1
  346. package/{v1 → v2}/model/UninstallInstanceEipResponse.d.ts.map +1 -1
  347. package/{v1 → v2}/model/UninstallInstanceEipResponse.js.map +1 -1
  348. package/v2/model/UpdateInstanceSecurityGroupRequest.d.ts +11 -0
  349. package/v2/model/UpdateInstanceSecurityGroupRequest.d.ts.map +1 -0
  350. package/v2/model/UpdateInstanceSecurityGroupRequest.js +24 -0
  351. package/v2/model/UpdateInstanceSecurityGroupRequest.js.map +1 -0
  352. package/v2/model/UpdateInstanceSecurityGroupResponse.d.ts +5 -0
  353. package/v2/model/UpdateInstanceSecurityGroupResponse.d.ts.map +1 -0
  354. package/v2/model/UpdateInstanceSecurityGroupResponse.js +11 -0
  355. package/v2/model/UpdateInstanceSecurityGroupResponse.js.map +1 -0
  356. package/v2/model/UpgradeCbhRequestBody.d.ts +14 -0
  357. package/v2/model/UpgradeCbhRequestBody.d.ts.map +1 -0
  358. package/v2/model/UpgradeCbhRequestBody.js +35 -0
  359. package/v2/model/UpgradeCbhRequestBody.js.map +1 -0
  360. package/v2/model/UpgradeInstanceRequest.d.ts +7 -0
  361. package/v2/model/UpgradeInstanceRequest.d.ts.map +1 -0
  362. package/v2/model/UpgradeInstanceRequest.js +13 -0
  363. package/v2/model/UpgradeInstanceRequest.js.map +1 -0
  364. package/v2/model/UpgradeInstanceResponse.d.ts +5 -0
  365. package/v2/model/UpgradeInstanceResponse.d.ts.map +1 -0
  366. package/v2/model/UpgradeInstanceResponse.js +11 -0
  367. package/v2/model/UpgradeInstanceResponse.js.map +1 -0
  368. package/v2/public-api.d.ts +85 -0
  369. package/v2/public-api.d.ts.map +1 -0
  370. package/v2/public-api.js +101 -0
  371. package/v2/public-api.js.map +1 -0
  372. package/v1/model/CreateInstanceResponse.d.ts.map +0 -1
  373. package/v1/model/CreateInstanceResponse.js.map +0 -1
  374. /package/{v1 → v2}/model/CreateInstanceRequest.d.ts +0 -0
  375. /package/{v1 → v2}/model/CreateInstanceRequest.js +0 -0
  376. /package/{v1 → v2}/model/InstallInstanceEipRequest.d.ts +0 -0
  377. /package/{v1 → v2}/model/InstallInstanceEipRequest.js +0 -0
  378. /package/{v1 → v2}/model/InstallInstanceEipResponse.d.ts +0 -0
  379. /package/{v1 → v2}/model/InstallInstanceEipResponse.js +0 -0
  380. /package/{v1 → v2}/model/UninstallInstanceEipRequest.d.ts +0 -0
  381. /package/{v1 → v2}/model/UninstallInstanceEipRequest.js +0 -0
  382. /package/{v1 → v2}/model/UninstallInstanceEipResponse.d.ts +0 -0
  383. /package/{v1 → v2}/model/UninstallInstanceEipResponse.js +0 -0
@@ -0,0 +1,773 @@
1
+ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
2
+ import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
+ import { BatchCreateInstanceTagRequest } from './model/BatchCreateInstanceTagRequest';
4
+ import { BatchCreateInstanceTagResponse } from './model/BatchCreateInstanceTagResponse';
5
+ import { CountInstancesByTagRequest } from './model/CountInstancesByTagRequest';
6
+ import { CountInstancesByTagResponse } from './model/CountInstancesByTagResponse';
7
+ import { CreateInstanceRequest } from './model/CreateInstanceRequest';
8
+ import { CreateInstanceResponse } from './model/CreateInstanceResponse';
9
+ import { DeleteInstanceRequest } from './model/DeleteInstanceRequest';
10
+ import { DeleteInstanceResponse } from './model/DeleteInstanceResponse';
11
+ import { InstallInstanceEipRequest } from './model/InstallInstanceEipRequest';
12
+ import { InstallInstanceEipResponse } from './model/InstallInstanceEipResponse';
13
+ import { ListAvailableZonesRequest } from './model/ListAvailableZonesRequest';
14
+ import { ListAvailableZonesResponse } from './model/ListAvailableZonesResponse';
15
+ import { ListInstancesByTagRequest } from './model/ListInstancesByTagRequest';
16
+ import { ListInstancesByTagResponse } from './model/ListInstancesByTagResponse';
17
+ import { ListInstancesRequest } from './model/ListInstancesRequest';
18
+ import { ListInstancesResponse } from './model/ListInstancesResponse';
19
+ import { ListSpecificationsRequest } from './model/ListSpecificationsRequest';
20
+ import { ListSpecificationsResponse } from './model/ListSpecificationsResponse';
21
+ import { ListTagsRequest } from './model/ListTagsRequest';
22
+ import { ListTagsResponse } from './model/ListTagsResponse';
23
+ import { LoginInstanceRequest } from './model/LoginInstanceRequest';
24
+ import { LoginInstanceResponse } from './model/LoginInstanceResponse';
25
+ import { RebootInstanceRequest } from './model/RebootInstanceRequest';
26
+ import { RebootInstanceResponse } from './model/RebootInstanceResponse';
27
+ import { RegisterAuthorizationRequest } from './model/RegisterAuthorizationRequest';
28
+ import { RegisterAuthorizationResponse } from './model/RegisterAuthorizationResponse';
29
+ import { ResetInstanceLoginMethodRequest } from './model/ResetInstanceLoginMethodRequest';
30
+ import { ResetInstanceLoginMethodResponse } from './model/ResetInstanceLoginMethodResponse';
31
+ import { ResetInstancePasswordRequest } from './model/ResetInstancePasswordRequest';
32
+ import { ResetInstancePasswordResponse } from './model/ResetInstancePasswordResponse';
33
+ import { ResizeInstanceRequest } from './model/ResizeInstanceRequest';
34
+ import { ResizeInstanceResponse } from './model/ResizeInstanceResponse';
35
+ import { RollbackInstanceRequest } from './model/RollbackInstanceRequest';
36
+ import { RollbackInstanceResponse } from './model/RollbackInstanceResponse';
37
+ import { ShowAuthorizationRequest } from './model/ShowAuthorizationRequest';
38
+ import { ShowAuthorizationResponse } from './model/ShowAuthorizationResponse';
39
+ import { ShowEcsQuotaRequest } from './model/ShowEcsQuotaRequest';
40
+ import { ShowEcsQuotaResponse } from './model/ShowEcsQuotaResponse';
41
+ import { ShowInstanceStatusRequest } from './model/ShowInstanceStatusRequest';
42
+ import { ShowInstanceStatusResponse } from './model/ShowInstanceStatusResponse';
43
+ import { ShowInstanceTagsRequest } from './model/ShowInstanceTagsRequest';
44
+ import { ShowInstanceTagsResponse } from './model/ShowInstanceTagsResponse';
45
+ import { ShowOmUrlRequest } from './model/ShowOmUrlRequest';
46
+ import { ShowOmUrlResponse } from './model/ShowOmUrlResponse';
47
+ import { ShowQuotaRequest } from './model/ShowQuotaRequest';
48
+ import { ShowQuotaResponse } from './model/ShowQuotaResponse';
49
+ import { StartInstanceRequest } from './model/StartInstanceRequest';
50
+ import { StartInstanceResponse } from './model/StartInstanceResponse';
51
+ import { StopInstanceRequest } from './model/StopInstanceRequest';
52
+ import { StopInstanceResponse } from './model/StopInstanceResponse';
53
+ import { UninstallInstanceEipRequest } from './model/UninstallInstanceEipRequest';
54
+ import { UninstallInstanceEipResponse } from './model/UninstallInstanceEipResponse';
55
+ import { UpdateInstanceSecurityGroupRequest } from './model/UpdateInstanceSecurityGroupRequest';
56
+ import { UpdateInstanceSecurityGroupResponse } from './model/UpdateInstanceSecurityGroupResponse';
57
+ import { UpgradeInstanceRequest } from './model/UpgradeInstanceRequest';
58
+ import { UpgradeInstanceResponse } from './model/UpgradeInstanceResponse';
59
+ export declare class CbhClient {
60
+ static newBuilder(): ClientBuilder<CbhClient>;
61
+ private hcClient;
62
+ constructor(client: HcClient);
63
+ getPath(): string;
64
+ /**
65
+ * 操作堡垒机实例资源标签。
66
+ *
67
+ * Please refer to HUAWEI cloud API Explorer for details.
68
+ *
69
+ * @summary 操作堡垒机实例资源标签
70
+ * @param {string} resourceId 资源ID。(list接口获取)
71
+ * @param {CbsGetResourceIdTags} batchCreateInstanceTagRequestBody BatchCreateInstanceTagRequestBody
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ batchCreateInstanceTag(batchCreateInstanceTagRequest?: BatchCreateInstanceTagRequest): Promise<BatchCreateInstanceTagResponse>;
76
+ /**
77
+ * 统计符合标签条件的实例数量。
78
+ *
79
+ * Please refer to HUAWEI cloud API Explorer for details.
80
+ *
81
+ * @summary 统计符合标签条件的实例数量
82
+ * @param {ListCBHByTagsRequestBody} countInstancesByTagRequestBody CountInstancesByTagRequestBody
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ countInstancesByTag(countInstancesByTagRequest?: CountInstancesByTagRequest): Promise<CountInstancesByTagResponse>;
87
+ /**
88
+ * 创建云堡垒机实例。
89
+ *
90
+ * Please refer to HUAWEI cloud API Explorer for details.
91
+ *
92
+ * @summary 创建堡垒机实例
93
+ * @param {CreateInstanceBody} createInstanceRequestBody CreateInstanceBody
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ createInstance(createInstanceRequest?: CreateInstanceRequest): Promise<CreateInstanceResponse>;
98
+ /**
99
+ * 删除云堡垒机故障实例。
100
+ *
101
+ * Please refer to HUAWEI cloud API Explorer for details.
102
+ *
103
+ * @summary 删除故障和按需云堡垒机实例
104
+ * @param {number} [instanceId] 删除故障云堡垒机实例id。
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ deleteInstance(deleteInstanceRequest?: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
109
+ /**
110
+ * 云堡垒机实例绑定弹性公网IP。
111
+ *
112
+ * Please refer to HUAWEI cloud API Explorer for details.
113
+ *
114
+ * @summary 堡垒机实例绑定弹性公网IP
115
+ * @param {string} serverId 云堡垒机实例ID,使用UUID格式表示。 [实例ID获取方式](https://support.huaweicloud.com/usermanual-cbh/cbh_02_1003.html)。
116
+ * @param {OperateEipRequestBody} installInstanceEipRequestBody InstallInstanceEipRequestBody
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ installInstanceEip(installInstanceEipRequest?: InstallInstanceEipRequest): Promise<InstallInstanceEipResponse>;
121
+ /**
122
+ * 获取云堡垒机服务可用区信息。
123
+ *
124
+ * Please refer to HUAWEI cloud API Explorer for details.
125
+ *
126
+ * @summary 获取服务可用区信息
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ listAvailableZones(listAvailableZonesRequest?: ListAvailableZonesRequest): Promise<ListAvailableZonesResponse>;
131
+ /**
132
+ * 获取当前租户下的堡垒机实例列表。
133
+ *
134
+ * Please refer to HUAWEI cloud API Explorer for details.
135
+ *
136
+ * @summary 获取堡垒机实例列表
137
+ * @param {number} [instanceId] 云堡垒机实例ID。(非必传,需要查询单个实例详情时传入)
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ listInstances(listInstancesRequest?: ListInstancesRequest): Promise<ListInstancesResponse>;
142
+ /**
143
+ * 使用标签过滤实例。
144
+ *
145
+ * Please refer to HUAWEI cloud API Explorer for details.
146
+ *
147
+ * @summary 使用标签过滤实例
148
+ * @param {ListCBHByTagsRequestBody} listInstancesByTagRequestBody ListInstancesByTagRequestBody
149
+ * @param {string} [limit] 查询记录数(action为count时无此参数)如果action为filter默认为1000,limit最多为1000,不能为负数,最小值为1。
150
+ * @param {string} [offset] 索引位置,偏移量(action为count时无此参数)从第一条数据偏移offset条数据后开始查询,如果action为filter默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ listInstancesByTag(listInstancesByTagRequest?: ListInstancesByTagRequest): Promise<ListInstancesByTagResponse>;
155
+ /**
156
+ * 查询云堡垒机规格信息。
157
+ *
158
+ * Please refer to HUAWEI cloud API Explorer for details.
159
+ *
160
+ * @summary 查询云堡垒机规格信息
161
+ * @param {string} action 查询云堡垒机规格当前动作。 - create:查询可创建云堡垒机规格信息 - update:查询可变更云堡垒机规格信息
162
+ * @param {string} [specCode] 云堡垒机规格信息,当action为update时此字段必填。
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ listSpecifications(listSpecificationsRequest?: ListSpecificationsRequest): Promise<ListSpecificationsResponse>;
167
+ /**
168
+ * 查询租户在项目中的资源标签集合。
169
+ *
170
+ * Please refer to HUAWEI cloud API Explorer for details.
171
+ *
172
+ * @summary 查询租户在项目中的资源标签集合
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ listTags(listTagsRequest?: ListTagsRequest): Promise<ListTagsResponse>;
177
+ /**
178
+ * IAM用户登录堡垒机实例console。
179
+ *
180
+ * Please refer to HUAWEI cloud API Explorer for details.
181
+ *
182
+ * @summary IAM用户登录堡垒机实例console
183
+ * @param {CommonCbhRequestBody} loginInstanceRequestBody LoginInstanceRequestBody
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ loginInstance(loginInstanceRequest?: LoginInstanceRequest): Promise<LoginInstanceResponse>;
188
+ /**
189
+ * 重启云堡垒机实例。
190
+ *
191
+ * Please refer to HUAWEI cloud API Explorer for details.
192
+ *
193
+ * @summary 重启堡垒机实例
194
+ * @param {RebootCbhRequestBody} rebootInstanceRequestBody RestartInstanceRequestBody
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ rebootInstance(rebootInstanceRequest?: RebootInstanceRequest): Promise<RebootInstanceResponse>;
199
+ /**
200
+ * 租户创建或取消云堡垒机服务的委托授权。
201
+ *
202
+ * Please refer to HUAWEI cloud API Explorer for details.
203
+ *
204
+ * @summary 租户创建或取消云堡垒机服务的委托授权
205
+ * @param {AuthorizeCsmsAndKmsRequestBody} registerAuthorizationRequestBody RegisterAuthorizationRequestBody
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ registerAuthorization(registerAuthorizationRequest?: RegisterAuthorizationRequest): Promise<RegisterAuthorizationResponse>;
210
+ /**
211
+ * 重置堡垒机实例admin用户登录方式。
212
+ *
213
+ * Please refer to HUAWEI cloud API Explorer for details.
214
+ *
215
+ * @summary 重置堡垒机实例admin登录方式
216
+ * @param {CommonCbhRequestBody} resetInstanceLoginMethodRequestBody ResetInstanceLoginMethodRequestBody
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ resetInstanceLoginMethod(resetInstanceLoginMethodRequest?: ResetInstanceLoginMethodRequest): Promise<ResetInstanceLoginMethodResponse>;
221
+ /**
222
+ * 重置云堡垒机实例web登录admin用户密码。
223
+ *
224
+ * Please refer to HUAWEI cloud API Explorer for details.
225
+ *
226
+ * @summary 重置堡垒机实例admin密码
227
+ * @param {ResetPassword} resetInstancePasswordRequestBody ResetInstancePasswordRequestBody
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ resetInstancePassword(resetInstancePasswordRequest?: ResetInstancePasswordRequest): Promise<ResetInstancePasswordResponse>;
232
+ /**
233
+ * 变更云堡垒机实例。
234
+ *
235
+ * Please refer to HUAWEI cloud API Explorer for details.
236
+ *
237
+ * @summary 变更堡垒机实例
238
+ * @param {ChangeInstanceRequestBody} resizeInstanceRequestBody ResizeInstanceRequestBody
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ resizeInstance(resizeInstanceRequest?: ResizeInstanceRequest): Promise<ResizeInstanceResponse>;
243
+ /**
244
+ * 回退升级的云堡垒机实例。
245
+ *
246
+ * Please refer to HUAWEI cloud API Explorer for details.
247
+ *
248
+ * @summary 回退升级的堡垒机实例
249
+ * @param {RollbackInstanceRequestBody} rollbackInstanceRequestBody 升级回退的请求体
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ rollbackInstance(rollbackInstanceRequest?: RollbackInstanceRequest): Promise<RollbackInstanceResponse>;
254
+ /**
255
+ * 获取租户给云堡垒机服务委托授权信息。
256
+ *
257
+ * Please refer to HUAWEI cloud API Explorer for details.
258
+ *
259
+ * @summary 获取租户给云堡垒机服务委托授权信息
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ showAuthorization(showAuthorizationRequest?: ShowAuthorizationRequest): Promise<ShowAuthorizationResponse>;
264
+ /**
265
+ * 获取当前租户所选择的可用分区里的堡垒机ECS规格是否可用。
266
+ *
267
+ * Please refer to HUAWEI cloud API Explorer for details.
268
+ *
269
+ * @summary 获取创建堡垒机实例所需ECS资源配额
270
+ * @param {string} availabilityZone 可用分区名称。 可参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)获取
271
+ * @param {string} resourceSpecCode 待创建云堡垒机规格ID,例如: - cbh.basic.10 10资产标准版 - cbh.enhance.10 10资产专业版 已上线的规格详情请参见《云堡垒机常见问题》的购买,[云堡垒机实例有哪些规格](https://support.huaweicloud.com/cbh_faq/cbh_03_0025.html)章节或调用接口[查询云堡垒机规格信息](https://support.huaweicloud.com/api-cbh/ShowSpecInfo.html)获取。
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ showEcsQuota(showEcsQuotaRequest?: ShowEcsQuotaRequest): Promise<ShowEcsQuotaResponse>;
276
+ /**
277
+ * 获取堡垒机实例状态信息(未删除实例)。
278
+ *
279
+ * Please refer to HUAWEI cloud API Explorer for details.
280
+ *
281
+ * @summary 获取堡垒机实例状态信息
282
+ * @param {string} serverId 云堡垒机实例ID,使用UUID格式表示。 [实例ID获取方式](https://support.huaweicloud.com/usermanual-cbh/cbh_02_1003.html)。
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ */
286
+ showInstanceStatus(showInstanceStatusRequest?: ShowInstanceStatusRequest): Promise<ShowInstanceStatusResponse>;
287
+ /**
288
+ * 查询堡垒机实例资源的标签信息。
289
+ *
290
+ * Please refer to HUAWEI cloud API Explorer for details.
291
+ *
292
+ * @summary 查询堡垒机实例资源的标签信息
293
+ * @param {string} resourceId 资源ID。(list接口获取)
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ showInstanceTags(showInstanceTagsRequest?: ShowInstanceTagsRequest): Promise<ShowInstanceTagsResponse>;
298
+ /**
299
+ * 获取运维链接
300
+ *
301
+ * Please refer to HUAWEI cloud API Explorer for details.
302
+ *
303
+ * @summary 获取运维链接
304
+ * @param {string} serverId 云堡垒机服务器ID
305
+ * @param {string} ipAddress 被纳管主机IP
306
+ * @param {string} hostAccountName 被纳管主机的账户
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ showOmUrl(showOmUrlRequest?: ShowOmUrlRequest): Promise<ShowOmUrlResponse>;
311
+ /**
312
+ * 获取堡垒机实例配额信息。
313
+ *
314
+ * Please refer to HUAWEI cloud API Explorer for details.
315
+ *
316
+ * @summary 获取堡垒机实例配额
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ showQuota(showQuotaRequest?: ShowQuotaRequest): Promise<ShowQuotaResponse>;
321
+ /**
322
+ * 启动云堡垒机实例。
323
+ *
324
+ * Please refer to HUAWEI cloud API Explorer for details.
325
+ *
326
+ * @summary 启动堡垒机实例
327
+ * @param {CommonCbhRequestBody} startInstanceRequestBody StarInstanceRequestBody
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ */
331
+ startInstance(startInstanceRequest?: StartInstanceRequest): Promise<StartInstanceResponse>;
332
+ /**
333
+ * 关闭云堡垒机实例。
334
+ *
335
+ * Please refer to HUAWEI cloud API Explorer for details.
336
+ *
337
+ * @summary 关闭堡垒机实例
338
+ * @param {CommonCbhRequestBody} stopInstanceRequestBody StopInstanceRequestBody
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ stopInstance(stopInstanceRequest?: StopInstanceRequest): Promise<StopInstanceResponse>;
343
+ /**
344
+ * 为云堡垒机实例解绑弹性公网IP。
345
+ *
346
+ * Please refer to HUAWEI cloud API Explorer for details.
347
+ *
348
+ * @summary 堡垒机实例解绑弹性公网IP
349
+ * @param {string} serverId 云堡垒机实例ID,使用UUID格式表示。 [实例ID获取方式](https://support.huaweicloud.com/usermanual-cbh/cbh_02_1003.html)。
350
+ * @param {OperateEipRequestBody} uninstallInstanceEipRequestBody UninstallInstanceEipRequestBody
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ */
354
+ uninstallInstanceEip(uninstallInstanceEipRequest?: UninstallInstanceEipRequest): Promise<UninstallInstanceEipResponse>;
355
+ /**
356
+ * 修改堡垒机实例安全组。
357
+ *
358
+ * Please refer to HUAWEI cloud API Explorer for details.
359
+ *
360
+ * @summary 修改堡垒机实例安全组
361
+ * @param {string} serverId 云堡垒机实例ID,使用UUID格式表示。 [实例ID获取方式](https://support.huaweicloud.com/usermanual-cbh/cbh_02_1003.html)。
362
+ * @param {ChangeInstanceSecurityGroups} updateInstanceSecurityGroupRequestBody UpdateInstanceSecurityGroupRequestBody
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ updateInstanceSecurityGroup(updateInstanceSecurityGroupRequest?: UpdateInstanceSecurityGroupRequest): Promise<UpdateInstanceSecurityGroupResponse>;
367
+ /**
368
+ * 升级云堡垒机实例。
369
+ *
370
+ * Please refer to HUAWEI cloud API Explorer for details.
371
+ *
372
+ * @summary 升级堡垒机实例
373
+ * @param {UpgradeCbhRequestBody} upgradeInstanceRequestBody UpgradeInstanceRequestBody
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ upgradeInstance(upgradeInstanceRequest?: UpgradeInstanceRequest): Promise<UpgradeInstanceResponse>;
378
+ }
379
+ export declare const ParamCreater: () => {
380
+ /**
381
+ * 操作堡垒机实例资源标签。
382
+ *
383
+ * Please refer to HUAWEI cloud API Explorer for details.
384
+ */
385
+ batchCreateInstanceTag(batchCreateInstanceTagRequest?: BatchCreateInstanceTagRequest): {
386
+ method: string;
387
+ url: string;
388
+ contentType: string;
389
+ queryParams: {};
390
+ pathParams: {};
391
+ headers: {};
392
+ data: {};
393
+ };
394
+ /**
395
+ * 统计符合标签条件的实例数量。
396
+ *
397
+ * Please refer to HUAWEI cloud API Explorer for details.
398
+ */
399
+ countInstancesByTag(countInstancesByTagRequest?: CountInstancesByTagRequest): {
400
+ method: string;
401
+ url: string;
402
+ contentType: string;
403
+ queryParams: {};
404
+ pathParams: {};
405
+ headers: {};
406
+ data: {};
407
+ };
408
+ /**
409
+ * 创建云堡垒机实例。
410
+ *
411
+ * Please refer to HUAWEI cloud API Explorer for details.
412
+ */
413
+ createInstance(createInstanceRequest?: CreateInstanceRequest): {
414
+ method: string;
415
+ url: string;
416
+ contentType: string;
417
+ queryParams: {};
418
+ pathParams: {};
419
+ headers: {};
420
+ data: {};
421
+ };
422
+ /**
423
+ * 删除云堡垒机故障实例。
424
+ *
425
+ * Please refer to HUAWEI cloud API Explorer for details.
426
+ */
427
+ deleteInstance(deleteInstanceRequest?: DeleteInstanceRequest): {
428
+ method: string;
429
+ url: string;
430
+ contentType: string;
431
+ queryParams: {};
432
+ pathParams: {};
433
+ headers: {};
434
+ };
435
+ /**
436
+ * 云堡垒机实例绑定弹性公网IP。
437
+ *
438
+ * Please refer to HUAWEI cloud API Explorer for details.
439
+ */
440
+ installInstanceEip(installInstanceEipRequest?: InstallInstanceEipRequest): {
441
+ method: string;
442
+ url: string;
443
+ contentType: string;
444
+ queryParams: {};
445
+ pathParams: {};
446
+ headers: {};
447
+ data: {};
448
+ };
449
+ /**
450
+ * 获取云堡垒机服务可用区信息。
451
+ *
452
+ * Please refer to HUAWEI cloud API Explorer for details.
453
+ */
454
+ listAvailableZones(): {
455
+ method: string;
456
+ url: string;
457
+ contentType: string;
458
+ queryParams: {};
459
+ pathParams: {};
460
+ headers: {};
461
+ };
462
+ /**
463
+ * 获取当前租户下的堡垒机实例列表。
464
+ *
465
+ * Please refer to HUAWEI cloud API Explorer for details.
466
+ */
467
+ listInstances(listInstancesRequest?: ListInstancesRequest): {
468
+ method: string;
469
+ url: string;
470
+ contentType: string;
471
+ queryParams: {};
472
+ pathParams: {};
473
+ headers: {};
474
+ };
475
+ /**
476
+ * 使用标签过滤实例。
477
+ *
478
+ * Please refer to HUAWEI cloud API Explorer for details.
479
+ */
480
+ listInstancesByTag(listInstancesByTagRequest?: ListInstancesByTagRequest): {
481
+ method: string;
482
+ url: string;
483
+ contentType: string;
484
+ queryParams: {};
485
+ pathParams: {};
486
+ headers: {};
487
+ data: {};
488
+ };
489
+ /**
490
+ * 查询云堡垒机规格信息。
491
+ *
492
+ * Please refer to HUAWEI cloud API Explorer for details.
493
+ */
494
+ listSpecifications(listSpecificationsRequest?: ListSpecificationsRequest): {
495
+ method: string;
496
+ url: string;
497
+ contentType: string;
498
+ queryParams: {};
499
+ pathParams: {};
500
+ headers: {};
501
+ };
502
+ /**
503
+ * 查询租户在项目中的资源标签集合。
504
+ *
505
+ * Please refer to HUAWEI cloud API Explorer for details.
506
+ */
507
+ listTags(): {
508
+ method: string;
509
+ url: string;
510
+ contentType: string;
511
+ queryParams: {};
512
+ pathParams: {};
513
+ headers: {};
514
+ };
515
+ /**
516
+ * IAM用户登录堡垒机实例console。
517
+ *
518
+ * Please refer to HUAWEI cloud API Explorer for details.
519
+ */
520
+ loginInstance(loginInstanceRequest?: LoginInstanceRequest): {
521
+ method: string;
522
+ url: string;
523
+ contentType: string;
524
+ queryParams: {};
525
+ pathParams: {};
526
+ headers: {};
527
+ data: {};
528
+ };
529
+ /**
530
+ * 重启云堡垒机实例。
531
+ *
532
+ * Please refer to HUAWEI cloud API Explorer for details.
533
+ */
534
+ rebootInstance(rebootInstanceRequest?: RebootInstanceRequest): {
535
+ method: string;
536
+ url: string;
537
+ contentType: string;
538
+ queryParams: {};
539
+ pathParams: {};
540
+ headers: {};
541
+ data: {};
542
+ };
543
+ /**
544
+ * 租户创建或取消云堡垒机服务的委托授权。
545
+ *
546
+ * Please refer to HUAWEI cloud API Explorer for details.
547
+ */
548
+ registerAuthorization(registerAuthorizationRequest?: RegisterAuthorizationRequest): {
549
+ method: string;
550
+ url: string;
551
+ contentType: string;
552
+ queryParams: {};
553
+ pathParams: {};
554
+ headers: {};
555
+ data: {};
556
+ };
557
+ /**
558
+ * 重置堡垒机实例admin用户登录方式。
559
+ *
560
+ * Please refer to HUAWEI cloud API Explorer for details.
561
+ */
562
+ resetInstanceLoginMethod(resetInstanceLoginMethodRequest?: ResetInstanceLoginMethodRequest): {
563
+ method: string;
564
+ url: string;
565
+ contentType: string;
566
+ queryParams: {};
567
+ pathParams: {};
568
+ headers: {};
569
+ data: {};
570
+ };
571
+ /**
572
+ * 重置云堡垒机实例web登录admin用户密码。
573
+ *
574
+ * Please refer to HUAWEI cloud API Explorer for details.
575
+ */
576
+ resetInstancePassword(resetInstancePasswordRequest?: ResetInstancePasswordRequest): {
577
+ method: string;
578
+ url: string;
579
+ contentType: string;
580
+ queryParams: {};
581
+ pathParams: {};
582
+ headers: {};
583
+ data: {};
584
+ };
585
+ /**
586
+ * 变更云堡垒机实例。
587
+ *
588
+ * Please refer to HUAWEI cloud API Explorer for details.
589
+ */
590
+ resizeInstance(resizeInstanceRequest?: ResizeInstanceRequest): {
591
+ method: string;
592
+ url: string;
593
+ contentType: string;
594
+ queryParams: {};
595
+ pathParams: {};
596
+ headers: {};
597
+ data: {};
598
+ };
599
+ /**
600
+ * 回退升级的云堡垒机实例。
601
+ *
602
+ * Please refer to HUAWEI cloud API Explorer for details.
603
+ */
604
+ rollbackInstance(rollbackInstanceRequest?: RollbackInstanceRequest): {
605
+ method: string;
606
+ url: string;
607
+ contentType: string;
608
+ queryParams: {};
609
+ pathParams: {};
610
+ headers: {};
611
+ data: {};
612
+ };
613
+ /**
614
+ * 获取租户给云堡垒机服务委托授权信息。
615
+ *
616
+ * Please refer to HUAWEI cloud API Explorer for details.
617
+ */
618
+ showAuthorization(): {
619
+ method: string;
620
+ url: string;
621
+ contentType: string;
622
+ queryParams: {};
623
+ pathParams: {};
624
+ headers: {};
625
+ };
626
+ /**
627
+ * 获取当前租户所选择的可用分区里的堡垒机ECS规格是否可用。
628
+ *
629
+ * Please refer to HUAWEI cloud API Explorer for details.
630
+ */
631
+ showEcsQuota(showEcsQuotaRequest?: ShowEcsQuotaRequest): {
632
+ method: string;
633
+ url: string;
634
+ contentType: string;
635
+ queryParams: {};
636
+ pathParams: {};
637
+ headers: {};
638
+ };
639
+ /**
640
+ * 获取堡垒机实例状态信息(未删除实例)。
641
+ *
642
+ * Please refer to HUAWEI cloud API Explorer for details.
643
+ */
644
+ showInstanceStatus(showInstanceStatusRequest?: ShowInstanceStatusRequest): {
645
+ method: string;
646
+ url: string;
647
+ contentType: string;
648
+ queryParams: {};
649
+ pathParams: {};
650
+ headers: {};
651
+ };
652
+ /**
653
+ * 查询堡垒机实例资源的标签信息。
654
+ *
655
+ * Please refer to HUAWEI cloud API Explorer for details.
656
+ */
657
+ showInstanceTags(showInstanceTagsRequest?: ShowInstanceTagsRequest): {
658
+ method: string;
659
+ url: string;
660
+ contentType: string;
661
+ queryParams: {};
662
+ pathParams: {};
663
+ headers: {};
664
+ };
665
+ /**
666
+ * 获取运维链接
667
+ *
668
+ * Please refer to HUAWEI cloud API Explorer for details.
669
+ */
670
+ showOmUrl(showOmUrlRequest?: ShowOmUrlRequest): {
671
+ method: string;
672
+ url: string;
673
+ contentType: string;
674
+ queryParams: {};
675
+ pathParams: {};
676
+ headers: {};
677
+ };
678
+ /**
679
+ * 获取堡垒机实例配额信息。
680
+ *
681
+ * Please refer to HUAWEI cloud API Explorer for details.
682
+ */
683
+ showQuota(): {
684
+ method: string;
685
+ url: string;
686
+ contentType: string;
687
+ queryParams: {};
688
+ pathParams: {};
689
+ headers: {};
690
+ };
691
+ /**
692
+ * 启动云堡垒机实例。
693
+ *
694
+ * Please refer to HUAWEI cloud API Explorer for details.
695
+ */
696
+ startInstance(startInstanceRequest?: StartInstanceRequest): {
697
+ method: string;
698
+ url: string;
699
+ contentType: string;
700
+ queryParams: {};
701
+ pathParams: {};
702
+ headers: {};
703
+ data: {};
704
+ };
705
+ /**
706
+ * 关闭云堡垒机实例。
707
+ *
708
+ * Please refer to HUAWEI cloud API Explorer for details.
709
+ */
710
+ stopInstance(stopInstanceRequest?: StopInstanceRequest): {
711
+ method: string;
712
+ url: string;
713
+ contentType: string;
714
+ queryParams: {};
715
+ pathParams: {};
716
+ headers: {};
717
+ data: {};
718
+ };
719
+ /**
720
+ * 为云堡垒机实例解绑弹性公网IP。
721
+ *
722
+ * Please refer to HUAWEI cloud API Explorer for details.
723
+ */
724
+ uninstallInstanceEip(uninstallInstanceEipRequest?: UninstallInstanceEipRequest): {
725
+ method: string;
726
+ url: string;
727
+ contentType: string;
728
+ queryParams: {};
729
+ pathParams: {};
730
+ headers: {};
731
+ data: {};
732
+ };
733
+ /**
734
+ * 修改堡垒机实例安全组。
735
+ *
736
+ * Please refer to HUAWEI cloud API Explorer for details.
737
+ */
738
+ updateInstanceSecurityGroup(updateInstanceSecurityGroupRequest?: UpdateInstanceSecurityGroupRequest): {
739
+ method: string;
740
+ url: string;
741
+ contentType: string;
742
+ queryParams: {};
743
+ pathParams: {};
744
+ headers: {};
745
+ data: {};
746
+ };
747
+ /**
748
+ * 升级云堡垒机实例。
749
+ *
750
+ * Please refer to HUAWEI cloud API Explorer for details.
751
+ */
752
+ upgradeInstance(upgradeInstanceRequest?: UpgradeInstanceRequest): {
753
+ method: string;
754
+ url: string;
755
+ contentType: string;
756
+ queryParams: {};
757
+ pathParams: {};
758
+ headers: {};
759
+ data: {};
760
+ };
761
+ };
762
+ /**
763
+ *
764
+ * @export
765
+ * @class RequiredError
766
+ * @extends {Error}
767
+ */
768
+ export declare class RequiredError extends Error {
769
+ field: string;
770
+ name: "RequiredError";
771
+ constructor(field: string, msg?: string);
772
+ }
773
+ //# sourceMappingURL=CbhClient.d.ts.map