@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,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoCommon = void 0;
4
+ var OpExtendInfoCommon = /** @class */ (function () {
5
+ function OpExtendInfoCommon(progress, requestId) {
6
+ this['progress'] = progress;
7
+ this['request_id'] = requestId;
8
+ }
9
+ OpExtendInfoCommon.prototype.withProgress = function (progress) {
10
+ this['progress'] = progress;
11
+ return this;
12
+ };
13
+ OpExtendInfoCommon.prototype.withRequestId = function (requestId) {
14
+ this['request_id'] = requestId;
15
+ return this;
16
+ };
17
+ Object.defineProperty(OpExtendInfoCommon.prototype, "requestId", {
18
+ get: function () {
19
+ return this['request_id'];
20
+ },
21
+ set: function (requestId) {
22
+ this['request_id'] = requestId;
23
+ },
24
+ enumerable: false,
25
+ configurable: true
26
+ });
27
+ OpExtendInfoCommon.prototype.withTaskId = function (taskId) {
28
+ this['task_id'] = taskId;
29
+ return this;
30
+ };
31
+ Object.defineProperty(OpExtendInfoCommon.prototype, "taskId", {
32
+ get: function () {
33
+ return this['task_id'];
34
+ },
35
+ set: function (taskId) {
36
+ this['task_id'] = taskId;
37
+ },
38
+ enumerable: false,
39
+ configurable: true
40
+ });
41
+ return OpExtendInfoCommon;
42
+ }());
43
+ exports.OpExtendInfoCommon = OpExtendInfoCommon;
@@ -0,0 +1,11 @@
1
+ export declare class OpExtendInfoDelete {
2
+ private 'backup_id';
3
+ private 'backup_name';
4
+ constructor(backupId?: any, backupName?: any);
5
+ withBackupId(backupId: string): OpExtendInfoDelete;
6
+ set backupId(backupId: string | undefined);
7
+ get backupId(): string | undefined;
8
+ withBackupName(backupName: string): OpExtendInfoDelete;
9
+ set backupName(backupName: string | undefined);
10
+ get backupName(): string | undefined;
11
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoDelete = void 0;
4
+ var OpExtendInfoDelete = /** @class */ (function () {
5
+ function OpExtendInfoDelete(backupId, backupName) {
6
+ this['backup_id'] = backupId;
7
+ this['backup_name'] = backupName;
8
+ }
9
+ OpExtendInfoDelete.prototype.withBackupId = function (backupId) {
10
+ this['backup_id'] = backupId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(OpExtendInfoDelete.prototype, "backupId", {
14
+ get: function () {
15
+ return this['backup_id'];
16
+ },
17
+ set: function (backupId) {
18
+ this['backup_id'] = backupId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ OpExtendInfoDelete.prototype.withBackupName = function (backupName) {
24
+ this['backup_name'] = backupName;
25
+ return this;
26
+ };
27
+ Object.defineProperty(OpExtendInfoDelete.prototype, "backupName", {
28
+ get: function () {
29
+ return this['backup_name'];
30
+ },
31
+ set: function (backupName) {
32
+ this['backup_name'] = backupName;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ return OpExtendInfoDelete;
38
+ }());
39
+ exports.OpExtendInfoDelete = OpExtendInfoDelete;
@@ -0,0 +1,14 @@
1
+ import { Resource } from './Resource';
2
+ export declare class OpExtendInfoRemoveResources {
3
+ private 'fail_count'?;
4
+ private 'total_count'?;
5
+ resources?: Array<Resource>;
6
+ constructor();
7
+ withFailCount(failCount: number): OpExtendInfoRemoveResources;
8
+ set failCount(failCount: number | undefined);
9
+ get failCount(): number | undefined;
10
+ withTotalCount(totalCount: number): OpExtendInfoRemoveResources;
11
+ set totalCount(totalCount: number | undefined);
12
+ get totalCount(): number | undefined;
13
+ withResources(resources: Array<Resource>): OpExtendInfoRemoveResources;
14
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoRemoveResources = void 0;
4
+ var OpExtendInfoRemoveResources = /** @class */ (function () {
5
+ function OpExtendInfoRemoveResources() {
6
+ }
7
+ OpExtendInfoRemoveResources.prototype.withFailCount = function (failCount) {
8
+ this['fail_count'] = failCount;
9
+ return this;
10
+ };
11
+ Object.defineProperty(OpExtendInfoRemoveResources.prototype, "failCount", {
12
+ get: function () {
13
+ return this['fail_count'];
14
+ },
15
+ set: function (failCount) {
16
+ this['fail_count'] = failCount;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ OpExtendInfoRemoveResources.prototype.withTotalCount = function (totalCount) {
22
+ this['total_count'] = totalCount;
23
+ return this;
24
+ };
25
+ Object.defineProperty(OpExtendInfoRemoveResources.prototype, "totalCount", {
26
+ get: function () {
27
+ return this['total_count'];
28
+ },
29
+ set: function (totalCount) {
30
+ this['total_count'] = totalCount;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ OpExtendInfoRemoveResources.prototype.withResources = function (resources) {
36
+ this['resources'] = resources;
37
+ return this;
38
+ };
39
+ return OpExtendInfoRemoveResources;
40
+ }());
41
+ exports.OpExtendInfoRemoveResources = OpExtendInfoRemoveResources;
@@ -0,0 +1,43 @@
1
+ export declare class OpExtendInfoReplication {
2
+ private 'destination_backup_id'?;
3
+ private 'destination_checkpoint_id'?;
4
+ private 'destination_project_id';
5
+ private 'destination_region';
6
+ private 'source_backup_id';
7
+ private 'source_checkpoint_id'?;
8
+ private 'source_project_id';
9
+ private 'source_region';
10
+ private 'source_backup_name'?;
11
+ private 'destination_backup_name'?;
12
+ constructor(destinationProjectId?: any, destinationRegion?: any, sourceBackupId?: any, sourceProjectId?: any, sourceRegion?: any);
13
+ withDestinationBackupId(destinationBackupId: string): OpExtendInfoReplication;
14
+ set destinationBackupId(destinationBackupId: string | undefined);
15
+ get destinationBackupId(): string | undefined;
16
+ withDestinationCheckpointId(destinationCheckpointId: string): OpExtendInfoReplication;
17
+ set destinationCheckpointId(destinationCheckpointId: string | undefined);
18
+ get destinationCheckpointId(): string | undefined;
19
+ withDestinationProjectId(destinationProjectId: string): OpExtendInfoReplication;
20
+ set destinationProjectId(destinationProjectId: string | undefined);
21
+ get destinationProjectId(): string | undefined;
22
+ withDestinationRegion(destinationRegion: string): OpExtendInfoReplication;
23
+ set destinationRegion(destinationRegion: string | undefined);
24
+ get destinationRegion(): string | undefined;
25
+ withSourceBackupId(sourceBackupId: string): OpExtendInfoReplication;
26
+ set sourceBackupId(sourceBackupId: string | undefined);
27
+ get sourceBackupId(): string | undefined;
28
+ withSourceCheckpointId(sourceCheckpointId: string): OpExtendInfoReplication;
29
+ set sourceCheckpointId(sourceCheckpointId: string | undefined);
30
+ get sourceCheckpointId(): string | undefined;
31
+ withSourceProjectId(sourceProjectId: string): OpExtendInfoReplication;
32
+ set sourceProjectId(sourceProjectId: string | undefined);
33
+ get sourceProjectId(): string | undefined;
34
+ withSourceRegion(sourceRegion: string): OpExtendInfoReplication;
35
+ set sourceRegion(sourceRegion: string | undefined);
36
+ get sourceRegion(): string | undefined;
37
+ withSourceBackupName(sourceBackupName: string): OpExtendInfoReplication;
38
+ set sourceBackupName(sourceBackupName: string | undefined);
39
+ get sourceBackupName(): string | undefined;
40
+ withDestinationBackupName(destinationBackupName: string): OpExtendInfoReplication;
41
+ set destinationBackupName(destinationBackupName: string | undefined);
42
+ get destinationBackupName(): string | undefined;
43
+ }
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoReplication = void 0;
4
+ var OpExtendInfoReplication = /** @class */ (function () {
5
+ function OpExtendInfoReplication(destinationProjectId, destinationRegion, sourceBackupId, sourceProjectId, sourceRegion) {
6
+ this['destination_project_id'] = destinationProjectId;
7
+ this['destination_region'] = destinationRegion;
8
+ this['source_backup_id'] = sourceBackupId;
9
+ this['source_project_id'] = sourceProjectId;
10
+ this['source_region'] = sourceRegion;
11
+ }
12
+ OpExtendInfoReplication.prototype.withDestinationBackupId = function (destinationBackupId) {
13
+ this['destination_backup_id'] = destinationBackupId;
14
+ return this;
15
+ };
16
+ Object.defineProperty(OpExtendInfoReplication.prototype, "destinationBackupId", {
17
+ get: function () {
18
+ return this['destination_backup_id'];
19
+ },
20
+ set: function (destinationBackupId) {
21
+ this['destination_backup_id'] = destinationBackupId;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ OpExtendInfoReplication.prototype.withDestinationCheckpointId = function (destinationCheckpointId) {
27
+ this['destination_checkpoint_id'] = destinationCheckpointId;
28
+ return this;
29
+ };
30
+ Object.defineProperty(OpExtendInfoReplication.prototype, "destinationCheckpointId", {
31
+ get: function () {
32
+ return this['destination_checkpoint_id'];
33
+ },
34
+ set: function (destinationCheckpointId) {
35
+ this['destination_checkpoint_id'] = destinationCheckpointId;
36
+ },
37
+ enumerable: false,
38
+ configurable: true
39
+ });
40
+ OpExtendInfoReplication.prototype.withDestinationProjectId = function (destinationProjectId) {
41
+ this['destination_project_id'] = destinationProjectId;
42
+ return this;
43
+ };
44
+ Object.defineProperty(OpExtendInfoReplication.prototype, "destinationProjectId", {
45
+ get: function () {
46
+ return this['destination_project_id'];
47
+ },
48
+ set: function (destinationProjectId) {
49
+ this['destination_project_id'] = destinationProjectId;
50
+ },
51
+ enumerable: false,
52
+ configurable: true
53
+ });
54
+ OpExtendInfoReplication.prototype.withDestinationRegion = function (destinationRegion) {
55
+ this['destination_region'] = destinationRegion;
56
+ return this;
57
+ };
58
+ Object.defineProperty(OpExtendInfoReplication.prototype, "destinationRegion", {
59
+ get: function () {
60
+ return this['destination_region'];
61
+ },
62
+ set: function (destinationRegion) {
63
+ this['destination_region'] = destinationRegion;
64
+ },
65
+ enumerable: false,
66
+ configurable: true
67
+ });
68
+ OpExtendInfoReplication.prototype.withSourceBackupId = function (sourceBackupId) {
69
+ this['source_backup_id'] = sourceBackupId;
70
+ return this;
71
+ };
72
+ Object.defineProperty(OpExtendInfoReplication.prototype, "sourceBackupId", {
73
+ get: function () {
74
+ return this['source_backup_id'];
75
+ },
76
+ set: function (sourceBackupId) {
77
+ this['source_backup_id'] = sourceBackupId;
78
+ },
79
+ enumerable: false,
80
+ configurable: true
81
+ });
82
+ OpExtendInfoReplication.prototype.withSourceCheckpointId = function (sourceCheckpointId) {
83
+ this['source_checkpoint_id'] = sourceCheckpointId;
84
+ return this;
85
+ };
86
+ Object.defineProperty(OpExtendInfoReplication.prototype, "sourceCheckpointId", {
87
+ get: function () {
88
+ return this['source_checkpoint_id'];
89
+ },
90
+ set: function (sourceCheckpointId) {
91
+ this['source_checkpoint_id'] = sourceCheckpointId;
92
+ },
93
+ enumerable: false,
94
+ configurable: true
95
+ });
96
+ OpExtendInfoReplication.prototype.withSourceProjectId = function (sourceProjectId) {
97
+ this['source_project_id'] = sourceProjectId;
98
+ return this;
99
+ };
100
+ Object.defineProperty(OpExtendInfoReplication.prototype, "sourceProjectId", {
101
+ get: function () {
102
+ return this['source_project_id'];
103
+ },
104
+ set: function (sourceProjectId) {
105
+ this['source_project_id'] = sourceProjectId;
106
+ },
107
+ enumerable: false,
108
+ configurable: true
109
+ });
110
+ OpExtendInfoReplication.prototype.withSourceRegion = function (sourceRegion) {
111
+ this['source_region'] = sourceRegion;
112
+ return this;
113
+ };
114
+ Object.defineProperty(OpExtendInfoReplication.prototype, "sourceRegion", {
115
+ get: function () {
116
+ return this['source_region'];
117
+ },
118
+ set: function (sourceRegion) {
119
+ this['source_region'] = sourceRegion;
120
+ },
121
+ enumerable: false,
122
+ configurable: true
123
+ });
124
+ OpExtendInfoReplication.prototype.withSourceBackupName = function (sourceBackupName) {
125
+ this['source_backup_name'] = sourceBackupName;
126
+ return this;
127
+ };
128
+ Object.defineProperty(OpExtendInfoReplication.prototype, "sourceBackupName", {
129
+ get: function () {
130
+ return this['source_backup_name'];
131
+ },
132
+ set: function (sourceBackupName) {
133
+ this['source_backup_name'] = sourceBackupName;
134
+ },
135
+ enumerable: false,
136
+ configurable: true
137
+ });
138
+ OpExtendInfoReplication.prototype.withDestinationBackupName = function (destinationBackupName) {
139
+ this['destination_backup_name'] = destinationBackupName;
140
+ return this;
141
+ };
142
+ Object.defineProperty(OpExtendInfoReplication.prototype, "destinationBackupName", {
143
+ get: function () {
144
+ return this['destination_backup_name'];
145
+ },
146
+ set: function (destinationBackupName) {
147
+ this['destination_backup_name'] = destinationBackupName;
148
+ },
149
+ enumerable: false,
150
+ configurable: true
151
+ });
152
+ return OpExtendInfoReplication;
153
+ }());
154
+ exports.OpExtendInfoReplication = OpExtendInfoReplication;
@@ -0,0 +1,19 @@
1
+ export declare class OpExtendInfoRestore {
2
+ private 'backup_id'?;
3
+ private 'backup_name'?;
4
+ private 'target_resource_id'?;
5
+ private 'target_resource_name'?;
6
+ constructor();
7
+ withBackupId(backupId: string): OpExtendInfoRestore;
8
+ set backupId(backupId: string | undefined);
9
+ get backupId(): string | undefined;
10
+ withBackupName(backupName: string): OpExtendInfoRestore;
11
+ set backupName(backupName: string | undefined);
12
+ get backupName(): string | undefined;
13
+ withTargetResourceId(targetResourceId: string): OpExtendInfoRestore;
14
+ set targetResourceId(targetResourceId: string | undefined);
15
+ get targetResourceId(): string | undefined;
16
+ withTargetResourceName(targetResourceName: string): OpExtendInfoRestore;
17
+ set targetResourceName(targetResourceName: string | undefined);
18
+ get targetResourceName(): string | undefined;
19
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoRestore = void 0;
4
+ var OpExtendInfoRestore = /** @class */ (function () {
5
+ function OpExtendInfoRestore() {
6
+ }
7
+ OpExtendInfoRestore.prototype.withBackupId = function (backupId) {
8
+ this['backup_id'] = backupId;
9
+ return this;
10
+ };
11
+ Object.defineProperty(OpExtendInfoRestore.prototype, "backupId", {
12
+ get: function () {
13
+ return this['backup_id'];
14
+ },
15
+ set: function (backupId) {
16
+ this['backup_id'] = backupId;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ OpExtendInfoRestore.prototype.withBackupName = function (backupName) {
22
+ this['backup_name'] = backupName;
23
+ return this;
24
+ };
25
+ Object.defineProperty(OpExtendInfoRestore.prototype, "backupName", {
26
+ get: function () {
27
+ return this['backup_name'];
28
+ },
29
+ set: function (backupName) {
30
+ this['backup_name'] = backupName;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ OpExtendInfoRestore.prototype.withTargetResourceId = function (targetResourceId) {
36
+ this['target_resource_id'] = targetResourceId;
37
+ return this;
38
+ };
39
+ Object.defineProperty(OpExtendInfoRestore.prototype, "targetResourceId", {
40
+ get: function () {
41
+ return this['target_resource_id'];
42
+ },
43
+ set: function (targetResourceId) {
44
+ this['target_resource_id'] = targetResourceId;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ OpExtendInfoRestore.prototype.withTargetResourceName = function (targetResourceName) {
50
+ this['target_resource_name'] = targetResourceName;
51
+ return this;
52
+ };
53
+ Object.defineProperty(OpExtendInfoRestore.prototype, "targetResourceName", {
54
+ get: function () {
55
+ return this['target_resource_name'];
56
+ },
57
+ set: function (targetResourceName) {
58
+ this['target_resource_name'] = targetResourceName;
59
+ },
60
+ enumerable: false,
61
+ configurable: true
62
+ });
63
+ return OpExtendInfoRestore;
64
+ }());
65
+ exports.OpExtendInfoRestore = OpExtendInfoRestore;
@@ -0,0 +1,15 @@
1
+ export declare class OpExtendInfoSync {
2
+ private 'sync_backup_num'?;
3
+ private 'delete_backup_num'?;
4
+ private 'err_sync_backup_num'?;
5
+ constructor();
6
+ withSyncBackupNum(syncBackupNum: number): OpExtendInfoSync;
7
+ set syncBackupNum(syncBackupNum: number | undefined);
8
+ get syncBackupNum(): number | undefined;
9
+ withDeleteBackupNum(deleteBackupNum: number): OpExtendInfoSync;
10
+ set deleteBackupNum(deleteBackupNum: number | undefined);
11
+ get deleteBackupNum(): number | undefined;
12
+ withErrSyncBackupNum(errSyncBackupNum: number): OpExtendInfoSync;
13
+ set errSyncBackupNum(errSyncBackupNum: number | undefined);
14
+ get errSyncBackupNum(): number | undefined;
15
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoSync = void 0;
4
+ var OpExtendInfoSync = /** @class */ (function () {
5
+ function OpExtendInfoSync() {
6
+ }
7
+ OpExtendInfoSync.prototype.withSyncBackupNum = function (syncBackupNum) {
8
+ this['sync_backup_num'] = syncBackupNum;
9
+ return this;
10
+ };
11
+ Object.defineProperty(OpExtendInfoSync.prototype, "syncBackupNum", {
12
+ get: function () {
13
+ return this['sync_backup_num'];
14
+ },
15
+ set: function (syncBackupNum) {
16
+ this['sync_backup_num'] = syncBackupNum;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ OpExtendInfoSync.prototype.withDeleteBackupNum = function (deleteBackupNum) {
22
+ this['delete_backup_num'] = deleteBackupNum;
23
+ return this;
24
+ };
25
+ Object.defineProperty(OpExtendInfoSync.prototype, "deleteBackupNum", {
26
+ get: function () {
27
+ return this['delete_backup_num'];
28
+ },
29
+ set: function (deleteBackupNum) {
30
+ this['delete_backup_num'] = deleteBackupNum;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ OpExtendInfoSync.prototype.withErrSyncBackupNum = function (errSyncBackupNum) {
36
+ this['err_sync_backup_num'] = errSyncBackupNum;
37
+ return this;
38
+ };
39
+ Object.defineProperty(OpExtendInfoSync.prototype, "errSyncBackupNum", {
40
+ get: function () {
41
+ return this['err_sync_backup_num'];
42
+ },
43
+ set: function (errSyncBackupNum) {
44
+ this['err_sync_backup_num'] = errSyncBackupNum;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ return OpExtendInfoSync;
50
+ }());
51
+ exports.OpExtendInfoSync = OpExtendInfoSync;
@@ -0,0 +1,11 @@
1
+ export declare class OpExtendInfoVaultDelete {
2
+ private 'fail_count'?;
3
+ private 'total_count'?;
4
+ constructor();
5
+ withFailCount(failCount: number): OpExtendInfoVaultDelete;
6
+ set failCount(failCount: number | undefined);
7
+ get failCount(): number | undefined;
8
+ withTotalCount(totalCount: number): OpExtendInfoVaultDelete;
9
+ set totalCount(totalCount: number | undefined);
10
+ get totalCount(): number | undefined;
11
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtendInfoVaultDelete = void 0;
4
+ var OpExtendInfoVaultDelete = /** @class */ (function () {
5
+ function OpExtendInfoVaultDelete() {
6
+ }
7
+ OpExtendInfoVaultDelete.prototype.withFailCount = function (failCount) {
8
+ this['fail_count'] = failCount;
9
+ return this;
10
+ };
11
+ Object.defineProperty(OpExtendInfoVaultDelete.prototype, "failCount", {
12
+ get: function () {
13
+ return this['fail_count'];
14
+ },
15
+ set: function (failCount) {
16
+ this['fail_count'] = failCount;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ OpExtendInfoVaultDelete.prototype.withTotalCount = function (totalCount) {
22
+ this['total_count'] = totalCount;
23
+ return this;
24
+ };
25
+ Object.defineProperty(OpExtendInfoVaultDelete.prototype, "totalCount", {
26
+ get: function () {
27
+ return this['total_count'];
28
+ },
29
+ set: function (totalCount) {
30
+ this['total_count'] = totalCount;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ return OpExtendInfoVaultDelete;
36
+ }());
37
+ exports.OpExtendInfoVaultDelete = OpExtendInfoVaultDelete;
@@ -0,0 +1,36 @@
1
+ import { OpExtendInfoBckup } from './OpExtendInfoBckup';
2
+ import { OpExtendInfoCommon } from './OpExtendInfoCommon';
3
+ import { OpExtendInfoDelete } from './OpExtendInfoDelete';
4
+ import { OpExtendInfoRemoveResources } from './OpExtendInfoRemoveResources';
5
+ import { OpExtendInfoReplication } from './OpExtendInfoReplication';
6
+ import { OpExtendInfoRestore } from './OpExtendInfoRestore';
7
+ import { OpExtendInfoSync } from './OpExtendInfoSync';
8
+ import { OpExtendInfoVaultDelete } from './OpExtendInfoVaultDelete';
9
+ import { Resource } from './Resource';
10
+ export declare class OpExtraInfo {
11
+ backup?: OpExtendInfoBckup;
12
+ common: OpExtendInfoCommon;
13
+ private 'delete'?;
14
+ sync?: OpExtendInfoSync;
15
+ private 'remove_resources'?;
16
+ replication?: OpExtendInfoReplication;
17
+ resource: Resource;
18
+ restore?: OpExtendInfoRestore;
19
+ private 'vault_delete'?;
20
+ constructor(common?: any, resource?: any);
21
+ withBackup(backup: OpExtendInfoBckup): OpExtraInfo;
22
+ withCommon(common: OpExtendInfoCommon): OpExtraInfo;
23
+ withDelete(_delete: OpExtendInfoDelete): OpExtraInfo;
24
+ set _delete(_delete: OpExtendInfoDelete | undefined);
25
+ get _delete(): OpExtendInfoDelete | undefined;
26
+ withSync(sync: OpExtendInfoSync): OpExtraInfo;
27
+ withRemoveResources(removeResources: OpExtendInfoRemoveResources): OpExtraInfo;
28
+ set removeResources(removeResources: OpExtendInfoRemoveResources | undefined);
29
+ get removeResources(): OpExtendInfoRemoveResources | undefined;
30
+ withReplication(replication: OpExtendInfoReplication): OpExtraInfo;
31
+ withResource(resource: Resource): OpExtraInfo;
32
+ withRestore(restore: OpExtendInfoRestore): OpExtraInfo;
33
+ withVaultDelete(vaultDelete: OpExtendInfoVaultDelete): OpExtraInfo;
34
+ set vaultDelete(vaultDelete: OpExtendInfoVaultDelete | undefined);
35
+ get vaultDelete(): OpExtendInfoVaultDelete | undefined;
36
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpExtraInfo = void 0;
4
+ var OpExtraInfo = /** @class */ (function () {
5
+ function OpExtraInfo(common, resource) {
6
+ this['common'] = common;
7
+ this['resource'] = resource;
8
+ }
9
+ OpExtraInfo.prototype.withBackup = function (backup) {
10
+ this['backup'] = backup;
11
+ return this;
12
+ };
13
+ OpExtraInfo.prototype.withCommon = function (common) {
14
+ this['common'] = common;
15
+ return this;
16
+ };
17
+ OpExtraInfo.prototype.withDelete = function (_delete) {
18
+ this['delete'] = _delete;
19
+ return this;
20
+ };
21
+ Object.defineProperty(OpExtraInfo.prototype, "_delete", {
22
+ get: function () {
23
+ return this['delete'];
24
+ },
25
+ set: function (_delete) {
26
+ this['delete'] = _delete;
27
+ },
28
+ enumerable: false,
29
+ configurable: true
30
+ });
31
+ OpExtraInfo.prototype.withSync = function (sync) {
32
+ this['sync'] = sync;
33
+ return this;
34
+ };
35
+ OpExtraInfo.prototype.withRemoveResources = function (removeResources) {
36
+ this['remove_resources'] = removeResources;
37
+ return this;
38
+ };
39
+ Object.defineProperty(OpExtraInfo.prototype, "removeResources", {
40
+ get: function () {
41
+ return this['remove_resources'];
42
+ },
43
+ set: function (removeResources) {
44
+ this['remove_resources'] = removeResources;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ OpExtraInfo.prototype.withReplication = function (replication) {
50
+ this['replication'] = replication;
51
+ return this;
52
+ };
53
+ OpExtraInfo.prototype.withResource = function (resource) {
54
+ this['resource'] = resource;
55
+ return this;
56
+ };
57
+ OpExtraInfo.prototype.withRestore = function (restore) {
58
+ this['restore'] = restore;
59
+ return this;
60
+ };
61
+ OpExtraInfo.prototype.withVaultDelete = function (vaultDelete) {
62
+ this['vault_delete'] = vaultDelete;
63
+ return this;
64
+ };
65
+ Object.defineProperty(OpExtraInfo.prototype, "vaultDelete", {
66
+ get: function () {
67
+ return this['vault_delete'];
68
+ },
69
+ set: function (vaultDelete) {
70
+ this['vault_delete'] = vaultDelete;
71
+ },
72
+ enumerable: false,
73
+ configurable: true
74
+ });
75
+ return OpExtraInfo;
76
+ }());
77
+ exports.OpExtraInfo = OpExtraInfo;