@huaweicloud/huaweicloud-sdk-cbr 3.1.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (349) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cbr.d.ts +2 -0
  4. package/huaweicloud-sdk-cbr.js +31 -0
  5. package/package.json +19 -0
  6. package/v1/CbrClient.d.ts +1175 -0
  7. package/v1/CbrClient.js +2558 -0
  8. package/v1/CbrRegion.d.ts +22 -0
  9. package/v1/CbrRegion.js +57 -0
  10. package/v1/model/AddMemberRequest.d.ts +10 -0
  11. package/v1/model/AddMemberRequest.js +28 -0
  12. package/v1/model/AddMemberResponse.d.ts +9 -0
  13. package/v1/model/AddMemberResponse.js +35 -0
  14. package/v1/model/AddMembersReq.d.ts +5 -0
  15. package/v1/model/AddMembersReq.js +14 -0
  16. package/v1/model/AddVaultResourceRequest.d.ts +10 -0
  17. package/v1/model/AddVaultResourceRequest.js +28 -0
  18. package/v1/model/AddVaultResourceResponse.d.ts +8 -0
  19. package/v1/model/AddVaultResourceResponse.js +41 -0
  20. package/v1/model/AssociateVaultPolicyRequest.d.ts +10 -0
  21. package/v1/model/AssociateVaultPolicyRequest.js +28 -0
  22. package/v1/model/AssociateVaultPolicyResponse.d.ts +9 -0
  23. package/v1/model/AssociateVaultPolicyResponse.js +41 -0
  24. package/v1/model/BackupExtendInfo.d.ts +51 -0
  25. package/v1/model/BackupExtendInfo.js +143 -0
  26. package/v1/model/BackupReplicateReq.d.ts +6 -0
  27. package/v1/model/BackupReplicateReq.js +14 -0
  28. package/v1/model/BackupReplicateReqBody.d.ts +23 -0
  29. package/v1/model/BackupReplicateReqBody.js +76 -0
  30. package/v1/model/BackupReplicateRespBody.d.ts +35 -0
  31. package/v1/model/BackupReplicateRespBody.js +121 -0
  32. package/v1/model/BackupResp.d.ts +118 -0
  33. package/v1/model/BackupResp.js +335 -0
  34. package/v1/model/BackupRestore.d.ts +22 -0
  35. package/v1/model/BackupRestore.js +69 -0
  36. package/v1/model/BackupRestoreReq.d.ts +6 -0
  37. package/v1/model/BackupRestoreReq.js +14 -0
  38. package/v1/model/BackupRestoreServerMapping.d.ts +11 -0
  39. package/v1/model/BackupRestoreServerMapping.js +39 -0
  40. package/v1/model/BackupSync.d.ts +35 -0
  41. package/v1/model/BackupSync.js +129 -0
  42. package/v1/model/BackupSyncReq.d.ts +6 -0
  43. package/v1/model/BackupSyncReq.js +14 -0
  44. package/v1/model/BackupSyncRespBody.d.ts +11 -0
  45. package/v1/model/BackupSyncRespBody.js +39 -0
  46. package/v1/model/BatchCreateAndDeleteVaultTagsRequest.d.ts +10 -0
  47. package/v1/model/BatchCreateAndDeleteVaultTagsRequest.js +28 -0
  48. package/v1/model/BatchCreateAndDeleteVaultTagsResponse.d.ts +4 -0
  49. package/v1/model/BatchCreateAndDeleteVaultTagsResponse.js +27 -0
  50. package/v1/model/BillbingCreateExtraInfo.d.ts +11 -0
  51. package/v1/model/BillbingCreateExtraInfo.js +37 -0
  52. package/v1/model/Billing.d.ts +119 -0
  53. package/v1/model/Billing.js +258 -0
  54. package/v1/model/BillingCreate.d.ts +119 -0
  55. package/v1/model/BillingCreate.js +286 -0
  56. package/v1/model/BillingUpdate.d.ts +17 -0
  57. package/v1/model/BillingUpdate.js +36 -0
  58. package/v1/model/BindRulesTags.d.ts +7 -0
  59. package/v1/model/BindRulesTags.js +19 -0
  60. package/v1/model/BulkCreateAndDeleteVaultTagsReq.d.ts +21 -0
  61. package/v1/model/BulkCreateAndDeleteVaultTagsReq.js +41 -0
  62. package/v1/model/CbcOrderResult.d.ts +11 -0
  63. package/v1/model/CbcOrderResult.js +27 -0
  64. package/v1/model/CheckpointCreate.d.ts +35 -0
  65. package/v1/model/CheckpointCreate.js +80 -0
  66. package/v1/model/CheckpointCreateSkippedResource.d.ts +13 -0
  67. package/v1/model/CheckpointCreateSkippedResource.js +29 -0
  68. package/v1/model/CheckpointExtraInfoResp.d.ts +11 -0
  69. package/v1/model/CheckpointExtraInfoResp.js +31 -0
  70. package/v1/model/CheckpointParam.d.ts +24 -0
  71. package/v1/model/CheckpointParam.js +67 -0
  72. package/v1/model/CheckpointPlanCreate.d.ts +15 -0
  73. package/v1/model/CheckpointPlanCreate.js +37 -0
  74. package/v1/model/CheckpointReplicateParam.d.ts +27 -0
  75. package/v1/model/CheckpointReplicateParam.js +97 -0
  76. package/v1/model/CheckpointReplicateReq.d.ts +6 -0
  77. package/v1/model/CheckpointReplicateReq.js +14 -0
  78. package/v1/model/CheckpointReplicateRespBody.d.ts +34 -0
  79. package/v1/model/CheckpointReplicateRespBody.js +119 -0
  80. package/v1/model/CheckpointReplicateRespbackups.d.ts +11 -0
  81. package/v1/model/CheckpointReplicateRespbackups.js +39 -0
  82. package/v1/model/CheckpointResourceResp.d.ts +40 -0
  83. package/v1/model/CheckpointResourceResp.js +106 -0
  84. package/v1/model/CopyBackupRequest.d.ts +10 -0
  85. package/v1/model/CopyBackupRequest.js +28 -0
  86. package/v1/model/CopyBackupResponse.d.ts +7 -0
  87. package/v1/model/CopyBackupResponse.js +31 -0
  88. package/v1/model/CopyCheckpointRequest.d.ts +6 -0
  89. package/v1/model/CopyCheckpointRequest.js +13 -0
  90. package/v1/model/CopyCheckpointResponse.d.ts +7 -0
  91. package/v1/model/CopyCheckpointResponse.js +31 -0
  92. package/v1/model/CreateCheckpointRequest.d.ts +6 -0
  93. package/v1/model/CreateCheckpointRequest.js +13 -0
  94. package/v1/model/CreateCheckpointResponse.d.ts +7 -0
  95. package/v1/model/CreateCheckpointResponse.js +31 -0
  96. package/v1/model/CreatePolicyRequest.d.ts +6 -0
  97. package/v1/model/CreatePolicyRequest.js +13 -0
  98. package/v1/model/CreatePolicyResponse.d.ts +7 -0
  99. package/v1/model/CreatePolicyResponse.js +31 -0
  100. package/v1/model/CreateVaultRequest.d.ts +6 -0
  101. package/v1/model/CreateVaultRequest.js +13 -0
  102. package/v1/model/CreateVaultResponse.d.ts +7 -0
  103. package/v1/model/CreateVaultResponse.js +31 -0
  104. package/v1/model/CreateVaultTagsRequest.d.ts +10 -0
  105. package/v1/model/CreateVaultTagsRequest.js +28 -0
  106. package/v1/model/CreateVaultTagsResponse.d.ts +4 -0
  107. package/v1/model/CreateVaultTagsResponse.js +27 -0
  108. package/v1/model/DeleteBackupRequest.d.ts +7 -0
  109. package/v1/model/DeleteBackupRequest.js +24 -0
  110. package/v1/model/DeleteBackupResponse.d.ts +4 -0
  111. package/v1/model/DeleteBackupResponse.js +27 -0
  112. package/v1/model/DeleteMemberRequest.d.ts +11 -0
  113. package/v1/model/DeleteMemberRequest.js +39 -0
  114. package/v1/model/DeleteMemberResponse.d.ts +4 -0
  115. package/v1/model/DeleteMemberResponse.js +27 -0
  116. package/v1/model/DeletePolicyRequest.d.ts +7 -0
  117. package/v1/model/DeletePolicyRequest.js +24 -0
  118. package/v1/model/DeletePolicyResponse.d.ts +4 -0
  119. package/v1/model/DeletePolicyResponse.js +27 -0
  120. package/v1/model/DeleteVaultRequest.d.ts +7 -0
  121. package/v1/model/DeleteVaultRequest.js +24 -0
  122. package/v1/model/DeleteVaultResponse.d.ts +4 -0
  123. package/v1/model/DeleteVaultResponse.js +27 -0
  124. package/v1/model/DeleteVaultTagRequest.d.ts +9 -0
  125. package/v1/model/DeleteVaultTagRequest.js +29 -0
  126. package/v1/model/DeleteVaultTagResponse.d.ts +4 -0
  127. package/v1/model/DeleteVaultTagResponse.js +27 -0
  128. package/v1/model/DisassociateVaultPolicyRequest.d.ts +10 -0
  129. package/v1/model/DisassociateVaultPolicyRequest.js +28 -0
  130. package/v1/model/DisassociateVaultPolicyResponse.d.ts +9 -0
  131. package/v1/model/DisassociateVaultPolicyResponse.js +41 -0
  132. package/v1/model/ImageData.d.ts +7 -0
  133. package/v1/model/ImageData.js +23 -0
  134. package/v1/model/ImportBackupRequest.d.ts +6 -0
  135. package/v1/model/ImportBackupRequest.js +13 -0
  136. package/v1/model/ImportBackupResponse.d.ts +7 -0
  137. package/v1/model/ImportBackupResponse.js +31 -0
  138. package/v1/model/ListBackupsRequest.d.ts +128 -0
  139. package/v1/model/ListBackupsRequest.js +305 -0
  140. package/v1/model/ListBackupsResponse.d.ts +13 -0
  141. package/v1/model/ListBackupsResponse.js +43 -0
  142. package/v1/model/ListOpLogsRequest.d.ts +71 -0
  143. package/v1/model/ListOpLogsRequest.js +175 -0
  144. package/v1/model/ListOpLogsResponse.d.ts +15 -0
  145. package/v1/model/ListOpLogsResponse.js +53 -0
  146. package/v1/model/ListPoliciesRequest.d.ts +19 -0
  147. package/v1/model/ListPoliciesRequest.js +46 -0
  148. package/v1/model/ListPoliciesResponse.d.ts +9 -0
  149. package/v1/model/ListPoliciesResponse.js +35 -0
  150. package/v1/model/ListProtectableRequest.d.ts +31 -0
  151. package/v1/model/ListProtectableRequest.js +71 -0
  152. package/v1/model/ListProtectableResponse.d.ts +7 -0
  153. package/v1/model/ListProtectableResponse.js +31 -0
  154. package/v1/model/ListVaultRequest.d.ts +53 -0
  155. package/v1/model/ListVaultRequest.js +131 -0
  156. package/v1/model/ListVaultResponse.d.ts +13 -0
  157. package/v1/model/ListVaultResponse.js +43 -0
  158. package/v1/model/Match.d.ts +7 -0
  159. package/v1/model/Match.js +19 -0
  160. package/v1/model/Member.d.ts +40 -0
  161. package/v1/model/Member.js +112 -0
  162. package/v1/model/MigrateVaultResourceRequest.d.ts +10 -0
  163. package/v1/model/MigrateVaultResourceRequest.js +28 -0
  164. package/v1/model/MigrateVaultResourceResponse.d.ts +8 -0
  165. package/v1/model/MigrateVaultResourceResponse.js +41 -0
  166. package/v1/model/OpErrorInfo.d.ts +7 -0
  167. package/v1/model/OpErrorInfo.js +17 -0
  168. package/v1/model/OpExtendInfoBckup.d.ts +41 -0
  169. package/v1/model/OpExtendInfoBckup.js +102 -0
  170. package/v1/model/OpExtendInfoCommon.d.ts +13 -0
  171. package/v1/model/OpExtendInfoCommon.js +43 -0
  172. package/v1/model/OpExtendInfoDelete.d.ts +11 -0
  173. package/v1/model/OpExtendInfoDelete.js +39 -0
  174. package/v1/model/OpExtendInfoRemoveResources.d.ts +14 -0
  175. package/v1/model/OpExtendInfoRemoveResources.js +41 -0
  176. package/v1/model/OpExtendInfoReplication.d.ts +43 -0
  177. package/v1/model/OpExtendInfoReplication.js +154 -0
  178. package/v1/model/OpExtendInfoRestore.d.ts +19 -0
  179. package/v1/model/OpExtendInfoRestore.js +65 -0
  180. package/v1/model/OpExtendInfoSync.d.ts +15 -0
  181. package/v1/model/OpExtendInfoSync.js +51 -0
  182. package/v1/model/OpExtendInfoVaultDelete.d.ts +11 -0
  183. package/v1/model/OpExtendInfoVaultDelete.js +37 -0
  184. package/v1/model/OpExtraInfo.d.ts +36 -0
  185. package/v1/model/OpExtraInfo.js +77 -0
  186. package/v1/model/OperationLog.d.ts +87 -0
  187. package/v1/model/OperationLog.js +234 -0
  188. package/v1/model/Policy.d.ts +34 -0
  189. package/v1/model/Policy.js +82 -0
  190. package/v1/model/PolicyAssociateVault.d.ts +11 -0
  191. package/v1/model/PolicyAssociateVault.js +38 -0
  192. package/v1/model/PolicyCreate.d.ts +27 -0
  193. package/v1/model/PolicyCreate.js +62 -0
  194. package/v1/model/PolicyCreateReq.d.ts +6 -0
  195. package/v1/model/PolicyCreateReq.js +14 -0
  196. package/v1/model/PolicyTriggerPropertiesReq.d.ts +5 -0
  197. package/v1/model/PolicyTriggerPropertiesReq.js +14 -0
  198. package/v1/model/PolicyTriggerPropertiesResp.d.ts +9 -0
  199. package/v1/model/PolicyTriggerPropertiesResp.js +28 -0
  200. package/v1/model/PolicyTriggerReq.d.ts +6 -0
  201. package/v1/model/PolicyTriggerReq.js +14 -0
  202. package/v1/model/PolicyTriggerResp.d.ts +19 -0
  203. package/v1/model/PolicyTriggerResp.js +35 -0
  204. package/v1/model/PolicyUpdate.d.ts +15 -0
  205. package/v1/model/PolicyUpdate.js +35 -0
  206. package/v1/model/PolicyUpdateReq.d.ts +6 -0
  207. package/v1/model/PolicyUpdateReq.js +14 -0
  208. package/v1/model/PolicyoODCreate.d.ts +41 -0
  209. package/v1/model/PolicyoODCreate.js +139 -0
  210. package/v1/model/ProtectableReplicationCapabilitiesRespRegion.d.ts +9 -0
  211. package/v1/model/ProtectableReplicationCapabilitiesRespRegion.js +29 -0
  212. package/v1/model/ProtectableResult.d.ts +14 -0
  213. package/v1/model/ProtectableResult.js +30 -0
  214. package/v1/model/ProtectablesResp.d.ts +29 -0
  215. package/v1/model/ProtectablesResp.js +56 -0
  216. package/v1/model/RemoveVaultResourceRequest.d.ts +10 -0
  217. package/v1/model/RemoveVaultResourceRequest.js +28 -0
  218. package/v1/model/RemoveVaultResourceResponse.d.ts +8 -0
  219. package/v1/model/RemoveVaultResourceResponse.js +41 -0
  220. package/v1/model/ReplicationRecordGet.d.ts +67 -0
  221. package/v1/model/ReplicationRecordGet.js +198 -0
  222. package/v1/model/ReplicationRecordsExtraInfo.d.ts +21 -0
  223. package/v1/model/ReplicationRecordsExtraInfo.js +69 -0
  224. package/v1/model/Resource.d.ts +14 -0
  225. package/v1/model/Resource.js +37 -0
  226. package/v1/model/ResourceCreate.d.ts +14 -0
  227. package/v1/model/ResourceCreate.js +37 -0
  228. package/v1/model/ResourceExtraInfo.d.ts +12 -0
  229. package/v1/model/ResourceExtraInfo.js +37 -0
  230. package/v1/model/ResourceExtraInfoIncludeVolumes.d.ts +9 -0
  231. package/v1/model/ResourceExtraInfoIncludeVolumes.js +28 -0
  232. package/v1/model/ResourceResp.d.ts +43 -0
  233. package/v1/model/ResourceResp.js +110 -0
  234. package/v1/model/RestoreBackupRequest.d.ts +10 -0
  235. package/v1/model/RestoreBackupRequest.js +28 -0
  236. package/v1/model/RestoreBackupResponse.d.ts +4 -0
  237. package/v1/model/RestoreBackupResponse.js +27 -0
  238. package/v1/model/ShowBackupRequest.d.ts +7 -0
  239. package/v1/model/ShowBackupRequest.js +24 -0
  240. package/v1/model/ShowBackupResponse.d.ts +7 -0
  241. package/v1/model/ShowBackupResponse.js +31 -0
  242. package/v1/model/ShowCheckpointRequest.d.ts +7 -0
  243. package/v1/model/ShowCheckpointRequest.js +24 -0
  244. package/v1/model/ShowCheckpointResponse.d.ts +7 -0
  245. package/v1/model/ShowCheckpointResponse.js +31 -0
  246. package/v1/model/ShowMemberDetailRequest.d.ts +11 -0
  247. package/v1/model/ShowMemberDetailRequest.js +39 -0
  248. package/v1/model/ShowMemberDetailResponse.d.ts +7 -0
  249. package/v1/model/ShowMemberDetailResponse.js +31 -0
  250. package/v1/model/ShowMembersDetailRequest.d.ts +29 -0
  251. package/v1/model/ShowMembersDetailRequest.js +86 -0
  252. package/v1/model/ShowMembersDetailResponse.d.ts +9 -0
  253. package/v1/model/ShowMembersDetailResponse.js +35 -0
  254. package/v1/model/ShowOpLogRequest.d.ts +7 -0
  255. package/v1/model/ShowOpLogRequest.js +24 -0
  256. package/v1/model/ShowOpLogResponse.d.ts +9 -0
  257. package/v1/model/ShowOpLogResponse.js +41 -0
  258. package/v1/model/ShowPolicyRequest.d.ts +7 -0
  259. package/v1/model/ShowPolicyRequest.js +24 -0
  260. package/v1/model/ShowPolicyResponse.d.ts +7 -0
  261. package/v1/model/ShowPolicyResponse.js +31 -0
  262. package/v1/model/ShowProtectableRequest.d.ts +19 -0
  263. package/v1/model/ShowProtectableRequest.js +48 -0
  264. package/v1/model/ShowProtectableResponse.d.ts +7 -0
  265. package/v1/model/ShowProtectableResponse.js +31 -0
  266. package/v1/model/ShowReplicationCapabilitiesRequest.d.ts +3 -0
  267. package/v1/model/ShowReplicationCapabilitiesRequest.js +9 -0
  268. package/v1/model/ShowReplicationCapabilitiesResponse.d.ts +7 -0
  269. package/v1/model/ShowReplicationCapabilitiesResponse.js +31 -0
  270. package/v1/model/ShowVaultProjectTagRequest.d.ts +3 -0
  271. package/v1/model/ShowVaultProjectTagRequest.js +9 -0
  272. package/v1/model/ShowVaultProjectTagResponse.d.ts +7 -0
  273. package/v1/model/ShowVaultProjectTagResponse.js +31 -0
  274. package/v1/model/ShowVaultRequest.d.ts +7 -0
  275. package/v1/model/ShowVaultRequest.js +24 -0
  276. package/v1/model/ShowVaultResourceInstancesRequest.d.ts +6 -0
  277. package/v1/model/ShowVaultResourceInstancesRequest.js +13 -0
  278. package/v1/model/ShowVaultResourceInstancesResponse.d.ts +11 -0
  279. package/v1/model/ShowVaultResourceInstancesResponse.js +45 -0
  280. package/v1/model/ShowVaultResponse.d.ts +7 -0
  281. package/v1/model/ShowVaultResponse.js +31 -0
  282. package/v1/model/ShowVaultTagRequest.d.ts +7 -0
  283. package/v1/model/ShowVaultTagRequest.js +24 -0
  284. package/v1/model/ShowVaultTagResponse.d.ts +12 -0
  285. package/v1/model/ShowVaultTagResponse.js +45 -0
  286. package/v1/model/SysTag.d.ts +7 -0
  287. package/v1/model/SysTag.js +19 -0
  288. package/v1/model/SysTags.d.ts +7 -0
  289. package/v1/model/SysTags.js +19 -0
  290. package/v1/model/Tag.d.ts +7 -0
  291. package/v1/model/Tag.js +18 -0
  292. package/v1/model/TagResource.d.ts +24 -0
  293. package/v1/model/TagResource.js +74 -0
  294. package/v1/model/TagsReq.d.ts +7 -0
  295. package/v1/model/TagsReq.js +19 -0
  296. package/v1/model/TagsResp.d.ts +7 -0
  297. package/v1/model/TagsResp.js +17 -0
  298. package/v1/model/UpdateMember.d.ts +18 -0
  299. package/v1/model/UpdateMember.js +38 -0
  300. package/v1/model/UpdateMemberStatusRequest.d.ts +14 -0
  301. package/v1/model/UpdateMemberStatusRequest.js +43 -0
  302. package/v1/model/UpdateMemberStatusResponse.d.ts +7 -0
  303. package/v1/model/UpdateMemberStatusResponse.js +31 -0
  304. package/v1/model/UpdatePolicyRequest.d.ts +10 -0
  305. package/v1/model/UpdatePolicyRequest.js +28 -0
  306. package/v1/model/UpdatePolicyResponse.d.ts +7 -0
  307. package/v1/model/UpdatePolicyResponse.js +31 -0
  308. package/v1/model/UpdateVaultRequest.d.ts +10 -0
  309. package/v1/model/UpdateVaultRequest.js +28 -0
  310. package/v1/model/UpdateVaultResponse.d.ts +7 -0
  311. package/v1/model/UpdateVaultResponse.js +31 -0
  312. package/v1/model/Vault.d.ts +57 -0
  313. package/v1/model/Vault.js +169 -0
  314. package/v1/model/VaultAddResourceReq.d.ts +6 -0
  315. package/v1/model/VaultAddResourceReq.js +14 -0
  316. package/v1/model/VaultAssociate.d.ts +15 -0
  317. package/v1/model/VaultAssociate.js +51 -0
  318. package/v1/model/VaultBackup.d.ts +10 -0
  319. package/v1/model/VaultBackup.js +28 -0
  320. package/v1/model/VaultBackupReq.d.ts +6 -0
  321. package/v1/model/VaultBackupReq.js +14 -0
  322. package/v1/model/VaultBindRules.d.ts +6 -0
  323. package/v1/model/VaultBindRules.js +13 -0
  324. package/v1/model/VaultCreate.d.ts +37 -0
  325. package/v1/model/VaultCreate.js +102 -0
  326. package/v1/model/VaultCreateReq.d.ts +6 -0
  327. package/v1/model/VaultCreateReq.js +14 -0
  328. package/v1/model/VaultCreateResource.d.ts +64 -0
  329. package/v1/model/VaultCreateResource.js +181 -0
  330. package/v1/model/VaultDissociate.d.ts +7 -0
  331. package/v1/model/VaultDissociate.js +24 -0
  332. package/v1/model/VaultGet.d.ts +63 -0
  333. package/v1/model/VaultGet.js +188 -0
  334. package/v1/model/VaultMigrateResourceReq.d.ts +11 -0
  335. package/v1/model/VaultMigrateResourceReq.js +39 -0
  336. package/v1/model/VaultPolicyResp.d.ts +15 -0
  337. package/v1/model/VaultPolicyResp.js +53 -0
  338. package/v1/model/VaultRemoveResourceReq.d.ts +7 -0
  339. package/v1/model/VaultRemoveResourceReq.js +24 -0
  340. package/v1/model/VaultResourceInstancesReq.d.ts +60 -0
  341. package/v1/model/VaultResourceInstancesReq.js +146 -0
  342. package/v1/model/VaultTagsCreateReq.d.ts +6 -0
  343. package/v1/model/VaultTagsCreateReq.js +13 -0
  344. package/v1/model/VaultUpdate.d.ts +27 -0
  345. package/v1/model/VaultUpdate.js +77 -0
  346. package/v1/model/VaultUpdateReq.d.ts +6 -0
  347. package/v1/model/VaultUpdateReq.js +14 -0
  348. package/v1/public-api.d.ts +171 -0
  349. package/v1/public-api.js +187 -0
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagsReq = void 0;
4
+ var TagsReq = /** @class */ (function () {
5
+ function TagsReq(key, values) {
6
+ this['key'] = key;
7
+ this['values'] = values;
8
+ }
9
+ TagsReq.prototype.withKey = function (key) {
10
+ this['key'] = key;
11
+ return this;
12
+ };
13
+ TagsReq.prototype.withValues = function (values) {
14
+ this['values'] = values;
15
+ return this;
16
+ };
17
+ return TagsReq;
18
+ }());
19
+ exports.TagsReq = TagsReq;
@@ -0,0 +1,7 @@
1
+ export declare class TagsResp {
2
+ key?: string;
3
+ values?: string;
4
+ constructor();
5
+ withKey(key: string): TagsResp;
6
+ withValues(values: string): TagsResp;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagsResp = void 0;
4
+ var TagsResp = /** @class */ (function () {
5
+ function TagsResp() {
6
+ }
7
+ TagsResp.prototype.withKey = function (key) {
8
+ this['key'] = key;
9
+ return this;
10
+ };
11
+ TagsResp.prototype.withValues = function (values) {
12
+ this['values'] = values;
13
+ return this;
14
+ };
15
+ return TagsResp;
16
+ }());
17
+ exports.TagsResp = TagsResp;
@@ -0,0 +1,18 @@
1
+ export declare class UpdateMember {
2
+ status: UpdateMemberStatusEnum;
3
+ private 'vault_id'?;
4
+ constructor(status?: any);
5
+ withStatus(status: UpdateMemberStatusEnum): UpdateMember;
6
+ withVaultId(vaultId: string): UpdateMember;
7
+ set vaultId(vaultId: string | undefined);
8
+ get vaultId(): string | undefined;
9
+ }
10
+ /**
11
+ * @export
12
+ * @enum {string}
13
+ */
14
+ export declare enum UpdateMemberStatusEnum {
15
+ ACCEPTED = "accepted",
16
+ PENDING = "pending",
17
+ REJECTED = "rejected"
18
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMemberStatusEnum = exports.UpdateMember = void 0;
4
+ var UpdateMember = /** @class */ (function () {
5
+ function UpdateMember(status) {
6
+ this['status'] = status;
7
+ }
8
+ UpdateMember.prototype.withStatus = function (status) {
9
+ this['status'] = status;
10
+ return this;
11
+ };
12
+ UpdateMember.prototype.withVaultId = function (vaultId) {
13
+ this['vault_id'] = vaultId;
14
+ return this;
15
+ };
16
+ Object.defineProperty(UpdateMember.prototype, "vaultId", {
17
+ get: function () {
18
+ return this['vault_id'];
19
+ },
20
+ set: function (vaultId) {
21
+ this['vault_id'] = vaultId;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ return UpdateMember;
27
+ }());
28
+ exports.UpdateMember = UpdateMember;
29
+ /**
30
+ * @export
31
+ * @enum {string}
32
+ */
33
+ var UpdateMemberStatusEnum;
34
+ (function (UpdateMemberStatusEnum) {
35
+ UpdateMemberStatusEnum["ACCEPTED"] = "accepted";
36
+ UpdateMemberStatusEnum["PENDING"] = "pending";
37
+ UpdateMemberStatusEnum["REJECTED"] = "rejected";
38
+ })(UpdateMemberStatusEnum = exports.UpdateMemberStatusEnum || (exports.UpdateMemberStatusEnum = {}));
@@ -0,0 +1,14 @@
1
+ import { UpdateMember } from './UpdateMember';
2
+ export declare class UpdateMemberStatusRequest {
3
+ private 'member_id';
4
+ private 'backup_id';
5
+ body?: UpdateMember;
6
+ constructor(memberId?: any, backupId?: any);
7
+ withMemberId(memberId: string): UpdateMemberStatusRequest;
8
+ set memberId(memberId: string | undefined);
9
+ get memberId(): string | undefined;
10
+ withBackupId(backupId: string): UpdateMemberStatusRequest;
11
+ set backupId(backupId: string | undefined);
12
+ get backupId(): string | undefined;
13
+ withBody(body: UpdateMember): UpdateMemberStatusRequest;
14
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMemberStatusRequest = void 0;
4
+ var UpdateMemberStatusRequest = /** @class */ (function () {
5
+ function UpdateMemberStatusRequest(memberId, backupId) {
6
+ this['member_id'] = memberId;
7
+ this['backup_id'] = backupId;
8
+ }
9
+ UpdateMemberStatusRequest.prototype.withMemberId = function (memberId) {
10
+ this['member_id'] = memberId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(UpdateMemberStatusRequest.prototype, "memberId", {
14
+ get: function () {
15
+ return this['member_id'];
16
+ },
17
+ set: function (memberId) {
18
+ this['member_id'] = memberId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ UpdateMemberStatusRequest.prototype.withBackupId = function (backupId) {
24
+ this['backup_id'] = backupId;
25
+ return this;
26
+ };
27
+ Object.defineProperty(UpdateMemberStatusRequest.prototype, "backupId", {
28
+ get: function () {
29
+ return this['backup_id'];
30
+ },
31
+ set: function (backupId) {
32
+ this['backup_id'] = backupId;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ UpdateMemberStatusRequest.prototype.withBody = function (body) {
38
+ this['body'] = body;
39
+ return this;
40
+ };
41
+ return UpdateMemberStatusRequest;
42
+ }());
43
+ exports.UpdateMemberStatusRequest = UpdateMemberStatusRequest;
@@ -0,0 +1,7 @@
1
+ import { Member } from './Member';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateMemberStatusResponse extends SdkResponse {
4
+ member?: Member;
5
+ constructor();
6
+ withMember(member: Member): UpdateMemberStatusResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateMemberStatusResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateMemberStatusResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateMemberStatusResponse, _super);
22
+ function UpdateMemberStatusResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateMemberStatusResponse.prototype.withMember = function (member) {
26
+ this['member'] = member;
27
+ return this;
28
+ };
29
+ return UpdateMemberStatusResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateMemberStatusResponse = UpdateMemberStatusResponse;
@@ -0,0 +1,10 @@
1
+ import { PolicyUpdateReq } from './PolicyUpdateReq';
2
+ export declare class UpdatePolicyRequest {
3
+ private 'policy_id';
4
+ body?: PolicyUpdateReq;
5
+ constructor(policyId?: any);
6
+ withPolicyId(policyId: string): UpdatePolicyRequest;
7
+ set policyId(policyId: string | undefined);
8
+ get policyId(): string | undefined;
9
+ withBody(body: PolicyUpdateReq): UpdatePolicyRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePolicyRequest = void 0;
4
+ var UpdatePolicyRequest = /** @class */ (function () {
5
+ function UpdatePolicyRequest(policyId) {
6
+ this['policy_id'] = policyId;
7
+ }
8
+ UpdatePolicyRequest.prototype.withPolicyId = function (policyId) {
9
+ this['policy_id'] = policyId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdatePolicyRequest.prototype, "policyId", {
13
+ get: function () {
14
+ return this['policy_id'];
15
+ },
16
+ set: function (policyId) {
17
+ this['policy_id'] = policyId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdatePolicyRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdatePolicyRequest;
27
+ }());
28
+ exports.UpdatePolicyRequest = UpdatePolicyRequest;
@@ -0,0 +1,7 @@
1
+ import { Policy } from './Policy';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdatePolicyResponse extends SdkResponse {
4
+ policy?: Policy;
5
+ constructor();
6
+ withPolicy(policy: Policy): UpdatePolicyResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdatePolicyResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdatePolicyResponse = /** @class */ (function (_super) {
21
+ __extends(UpdatePolicyResponse, _super);
22
+ function UpdatePolicyResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdatePolicyResponse.prototype.withPolicy = function (policy) {
26
+ this['policy'] = policy;
27
+ return this;
28
+ };
29
+ return UpdatePolicyResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdatePolicyResponse = UpdatePolicyResponse;
@@ -0,0 +1,10 @@
1
+ import { VaultUpdateReq } from './VaultUpdateReq';
2
+ export declare class UpdateVaultRequest {
3
+ private 'vault_id';
4
+ body?: VaultUpdateReq;
5
+ constructor(vaultId?: any);
6
+ withVaultId(vaultId: string): UpdateVaultRequest;
7
+ set vaultId(vaultId: string | undefined);
8
+ get vaultId(): string | undefined;
9
+ withBody(body: VaultUpdateReq): UpdateVaultRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateVaultRequest = void 0;
4
+ var UpdateVaultRequest = /** @class */ (function () {
5
+ function UpdateVaultRequest(vaultId) {
6
+ this['vault_id'] = vaultId;
7
+ }
8
+ UpdateVaultRequest.prototype.withVaultId = function (vaultId) {
9
+ this['vault_id'] = vaultId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateVaultRequest.prototype, "vaultId", {
13
+ get: function () {
14
+ return this['vault_id'];
15
+ },
16
+ set: function (vaultId) {
17
+ this['vault_id'] = vaultId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateVaultRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateVaultRequest;
27
+ }());
28
+ exports.UpdateVaultRequest = UpdateVaultRequest;
@@ -0,0 +1,7 @@
1
+ import { Vault } from './Vault';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateVaultResponse extends SdkResponse {
4
+ vault?: Vault;
5
+ constructor();
6
+ withVault(vault: Vault): UpdateVaultResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateVaultResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateVaultResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateVaultResponse, _super);
22
+ function UpdateVaultResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateVaultResponse.prototype.withVault = function (vault) {
26
+ this['vault'] = vault;
27
+ return this;
28
+ };
29
+ return UpdateVaultResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateVaultResponse = UpdateVaultResponse;
@@ -0,0 +1,57 @@
1
+ import { Billing } from './Billing';
2
+ import { ResourceResp } from './ResourceResp';
3
+ import { Tag } from './Tag';
4
+ import { VaultBindRules } from './VaultBindRules';
5
+ export declare class Vault {
6
+ billing: Billing;
7
+ description?: string;
8
+ id: string;
9
+ name: string;
10
+ private 'project_id';
11
+ private 'provider_id';
12
+ resources: Array<ResourceResp>;
13
+ tags?: Array<Tag>;
14
+ private 'enterprise_project_id'?;
15
+ private 'auto_bind'?;
16
+ private 'bind_rules'?;
17
+ private 'user_id'?;
18
+ private 'created_at'?;
19
+ private 'auto_expand'?;
20
+ private 'smn_notify'?;
21
+ threshold?: number;
22
+ constructor(billing?: any, id?: any, name?: any, projectId?: any, providerId?: any, resources?: any);
23
+ withBilling(billing: Billing): Vault;
24
+ withDescription(description: string): Vault;
25
+ withId(id: string): Vault;
26
+ withName(name: string): Vault;
27
+ withProjectId(projectId: string): Vault;
28
+ set projectId(projectId: string | undefined);
29
+ get projectId(): string | undefined;
30
+ withProviderId(providerId: string): Vault;
31
+ set providerId(providerId: string | undefined);
32
+ get providerId(): string | undefined;
33
+ withResources(resources: Array<ResourceResp>): Vault;
34
+ withTags(tags: Array<Tag>): Vault;
35
+ withEnterpriseProjectId(enterpriseProjectId: string): Vault;
36
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
37
+ get enterpriseProjectId(): string | undefined;
38
+ withAutoBind(autoBind: boolean): Vault;
39
+ set autoBind(autoBind: boolean | undefined);
40
+ get autoBind(): boolean | undefined;
41
+ withBindRules(bindRules: VaultBindRules): Vault;
42
+ set bindRules(bindRules: VaultBindRules | undefined);
43
+ get bindRules(): VaultBindRules | undefined;
44
+ withUserId(userId: string): Vault;
45
+ set userId(userId: string | undefined);
46
+ get userId(): string | undefined;
47
+ withCreatedAt(createdAt: string): Vault;
48
+ set createdAt(createdAt: string | undefined);
49
+ get createdAt(): string | undefined;
50
+ withAutoExpand(autoExpand: boolean): Vault;
51
+ set autoExpand(autoExpand: boolean | undefined);
52
+ get autoExpand(): boolean | undefined;
53
+ withSmnNotify(smnNotify: boolean): Vault;
54
+ set smnNotify(smnNotify: boolean | undefined);
55
+ get smnNotify(): boolean | undefined;
56
+ withThreshold(threshold: number): Vault;
57
+ }
@@ -0,0 +1,169 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Vault = void 0;
4
+ var Vault = /** @class */ (function () {
5
+ function Vault(billing, id, name, projectId, providerId, resources) {
6
+ this['billing'] = billing;
7
+ this['id'] = id;
8
+ this['name'] = name;
9
+ this['project_id'] = projectId;
10
+ this['provider_id'] = providerId;
11
+ this['resources'] = resources;
12
+ }
13
+ Vault.prototype.withBilling = function (billing) {
14
+ this['billing'] = billing;
15
+ return this;
16
+ };
17
+ Vault.prototype.withDescription = function (description) {
18
+ this['description'] = description;
19
+ return this;
20
+ };
21
+ Vault.prototype.withId = function (id) {
22
+ this['id'] = id;
23
+ return this;
24
+ };
25
+ Vault.prototype.withName = function (name) {
26
+ this['name'] = name;
27
+ return this;
28
+ };
29
+ Vault.prototype.withProjectId = function (projectId) {
30
+ this['project_id'] = projectId;
31
+ return this;
32
+ };
33
+ Object.defineProperty(Vault.prototype, "projectId", {
34
+ get: function () {
35
+ return this['project_id'];
36
+ },
37
+ set: function (projectId) {
38
+ this['project_id'] = projectId;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ Vault.prototype.withProviderId = function (providerId) {
44
+ this['provider_id'] = providerId;
45
+ return this;
46
+ };
47
+ Object.defineProperty(Vault.prototype, "providerId", {
48
+ get: function () {
49
+ return this['provider_id'];
50
+ },
51
+ set: function (providerId) {
52
+ this['provider_id'] = providerId;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ Vault.prototype.withResources = function (resources) {
58
+ this['resources'] = resources;
59
+ return this;
60
+ };
61
+ Vault.prototype.withTags = function (tags) {
62
+ this['tags'] = tags;
63
+ return this;
64
+ };
65
+ Vault.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
66
+ this['enterprise_project_id'] = enterpriseProjectId;
67
+ return this;
68
+ };
69
+ Object.defineProperty(Vault.prototype, "enterpriseProjectId", {
70
+ get: function () {
71
+ return this['enterprise_project_id'];
72
+ },
73
+ set: function (enterpriseProjectId) {
74
+ this['enterprise_project_id'] = enterpriseProjectId;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ Vault.prototype.withAutoBind = function (autoBind) {
80
+ this['auto_bind'] = autoBind;
81
+ return this;
82
+ };
83
+ Object.defineProperty(Vault.prototype, "autoBind", {
84
+ get: function () {
85
+ return this['auto_bind'];
86
+ },
87
+ set: function (autoBind) {
88
+ this['auto_bind'] = autoBind;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ Vault.prototype.withBindRules = function (bindRules) {
94
+ this['bind_rules'] = bindRules;
95
+ return this;
96
+ };
97
+ Object.defineProperty(Vault.prototype, "bindRules", {
98
+ get: function () {
99
+ return this['bind_rules'];
100
+ },
101
+ set: function (bindRules) {
102
+ this['bind_rules'] = bindRules;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ Vault.prototype.withUserId = function (userId) {
108
+ this['user_id'] = userId;
109
+ return this;
110
+ };
111
+ Object.defineProperty(Vault.prototype, "userId", {
112
+ get: function () {
113
+ return this['user_id'];
114
+ },
115
+ set: function (userId) {
116
+ this['user_id'] = userId;
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ Vault.prototype.withCreatedAt = function (createdAt) {
122
+ this['created_at'] = createdAt;
123
+ return this;
124
+ };
125
+ Object.defineProperty(Vault.prototype, "createdAt", {
126
+ get: function () {
127
+ return this['created_at'];
128
+ },
129
+ set: function (createdAt) {
130
+ this['created_at'] = createdAt;
131
+ },
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ Vault.prototype.withAutoExpand = function (autoExpand) {
136
+ this['auto_expand'] = autoExpand;
137
+ return this;
138
+ };
139
+ Object.defineProperty(Vault.prototype, "autoExpand", {
140
+ get: function () {
141
+ return this['auto_expand'];
142
+ },
143
+ set: function (autoExpand) {
144
+ this['auto_expand'] = autoExpand;
145
+ },
146
+ enumerable: false,
147
+ configurable: true
148
+ });
149
+ Vault.prototype.withSmnNotify = function (smnNotify) {
150
+ this['smn_notify'] = smnNotify;
151
+ return this;
152
+ };
153
+ Object.defineProperty(Vault.prototype, "smnNotify", {
154
+ get: function () {
155
+ return this['smn_notify'];
156
+ },
157
+ set: function (smnNotify) {
158
+ this['smn_notify'] = smnNotify;
159
+ },
160
+ enumerable: false,
161
+ configurable: true
162
+ });
163
+ Vault.prototype.withThreshold = function (threshold) {
164
+ this['threshold'] = threshold;
165
+ return this;
166
+ };
167
+ return Vault;
168
+ }());
169
+ exports.Vault = Vault;
@@ -0,0 +1,6 @@
1
+ import { ResourceCreate } from './ResourceCreate';
2
+ export declare class VaultAddResourceReq {
3
+ resources: Array<ResourceCreate>;
4
+ constructor(resources?: any);
5
+ withResources(resources: Array<ResourceCreate>): VaultAddResourceReq;
6
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VaultAddResourceReq = void 0;
4
+ var VaultAddResourceReq = /** @class */ (function () {
5
+ function VaultAddResourceReq(resources) {
6
+ this['resources'] = resources;
7
+ }
8
+ VaultAddResourceReq.prototype.withResources = function (resources) {
9
+ this['resources'] = resources;
10
+ return this;
11
+ };
12
+ return VaultAddResourceReq;
13
+ }());
14
+ exports.VaultAddResourceReq = VaultAddResourceReq;
@@ -0,0 +1,15 @@
1
+ export declare class VaultAssociate {
2
+ private 'destination_vault_id'?;
3
+ private 'policy_id'?;
4
+ private 'add_policy_ids'?;
5
+ constructor();
6
+ withDestinationVaultId(destinationVaultId: string): VaultAssociate;
7
+ set destinationVaultId(destinationVaultId: string | undefined);
8
+ get destinationVaultId(): string | undefined;
9
+ withPolicyId(policyId: string): VaultAssociate;
10
+ set policyId(policyId: string | undefined);
11
+ get policyId(): string | undefined;
12
+ withAddPolicyIds(addPolicyIds: Array<string>): VaultAssociate;
13
+ set addPolicyIds(addPolicyIds: Array<string> | undefined);
14
+ get addPolicyIds(): Array<string> | undefined;
15
+ }