@huaweicloud/huaweicloud-sdk-cbr 3.1.45 → 3.1.47
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cbr.d.ts +1 -0
- package/huaweicloud-sdk-cbr.d.ts.map +1 -0
- package/huaweicloud-sdk-cbr.js +1 -0
- package/huaweicloud-sdk-cbr.js.map +1 -0
- package/package.json +6 -2
- package/v1/CbrClient.d.ts +10 -5
- package/v1/CbrClient.d.ts.map +1 -0
- package/v1/CbrClient.js +620 -638
- package/v1/CbrClient.js.map +1 -0
- package/v1/CbrRegion.d.ts +24 -21
- package/v1/CbrRegion.d.ts.map +1 -0
- package/v1/CbrRegion.js +53 -52
- package/v1/CbrRegion.js.map +1 -0
- package/v1/model/AddAgentPathRequest.d.ts +3 -2
- package/v1/model/AddAgentPathRequest.d.ts.map +1 -0
- package/v1/model/AddAgentPathRequest.js +14 -18
- package/v1/model/AddAgentPathRequest.js.map +1 -0
- package/v1/model/AddAgentPathResponse.d.ts +1 -0
- package/v1/model/AddAgentPathResponse.d.ts.map +1 -0
- package/v1/model/AddAgentPathResponse.js +10 -26
- package/v1/model/AddAgentPathResponse.js.map +1 -0
- package/v1/model/AddMemberRequest.d.ts +3 -2
- package/v1/model/AddMemberRequest.d.ts.map +1 -0
- package/v1/model/AddMemberRequest.js +14 -18
- package/v1/model/AddMemberRequest.js.map +1 -0
- package/v1/model/AddMemberResponse.d.ts +1 -0
- package/v1/model/AddMemberResponse.d.ts.map +1 -0
- package/v1/model/AddMemberResponse.js +10 -26
- package/v1/model/AddMemberResponse.js.map +1 -0
- package/v1/model/AddMembersReq.d.ts +3 -2
- package/v1/model/AddMembersReq.d.ts.map +1 -0
- package/v1/model/AddMembersReq.js +6 -6
- package/v1/model/AddMembersReq.js.map +1 -0
- package/v1/model/AddVaultResourceRequest.d.ts +3 -2
- package/v1/model/AddVaultResourceRequest.d.ts.map +1 -0
- package/v1/model/AddVaultResourceRequest.js +14 -18
- package/v1/model/AddVaultResourceRequest.js.map +1 -0
- package/v1/model/AddVaultResourceResponse.d.ts +1 -0
- package/v1/model/AddVaultResourceResponse.d.ts.map +1 -0
- package/v1/model/AddVaultResourceResponse.js +14 -34
- package/v1/model/AddVaultResourceResponse.js.map +1 -0
- package/v1/model/Agent.d.ts +3 -2
- package/v1/model/Agent.d.ts.map +1 -0
- package/v1/model/Agent.js +88 -128
- package/v1/model/Agent.js.map +1 -0
- package/v1/model/AgentAddPathReq.d.ts +3 -2
- package/v1/model/AgentAddPathReq.d.ts.map +1 -0
- package/v1/model/AgentAddPathReq.js +12 -16
- package/v1/model/AgentAddPathReq.js.map +1 -0
- package/v1/model/AgentRegister.d.ts +6 -5
- package/v1/model/AgentRegister.d.ts.map +1 -0
- package/v1/model/AgentRegister.js +60 -88
- package/v1/model/AgentRegister.js.map +1 -0
- package/v1/model/AgentRegisterReq.d.ts +3 -2
- package/v1/model/AgentRegisterReq.d.ts.map +1 -0
- package/v1/model/AgentRegisterReq.js +6 -6
- package/v1/model/AgentRegisterReq.js.map +1 -0
- package/v1/model/AgentRemovePathReq.d.ts +3 -2
- package/v1/model/AgentRemovePathReq.d.ts.map +1 -0
- package/v1/model/AgentRemovePathReq.js +12 -16
- package/v1/model/AgentRemovePathReq.js.map +1 -0
- package/v1/model/AgentUpdate.d.ts +4 -3
- package/v1/model/AgentUpdate.d.ts.map +1 -0
- package/v1/model/AgentUpdate.js +7 -7
- package/v1/model/AgentUpdate.js.map +1 -0
- package/v1/model/AgentUpdateReq.d.ts +3 -2
- package/v1/model/AgentUpdateReq.d.ts.map +1 -0
- package/v1/model/AgentUpdateReq.js +6 -6
- package/v1/model/AgentUpdateReq.js.map +1 -0
- package/v1/model/AssociateVaultPolicyRequest.d.ts +3 -2
- package/v1/model/AssociateVaultPolicyRequest.d.ts.map +1 -0
- package/v1/model/AssociateVaultPolicyRequest.js +14 -18
- package/v1/model/AssociateVaultPolicyRequest.js.map +1 -0
- package/v1/model/AssociateVaultPolicyResponse.d.ts +1 -0
- package/v1/model/AssociateVaultPolicyResponse.d.ts.map +1 -0
- package/v1/model/AssociateVaultPolicyResponse.js +14 -34
- package/v1/model/AssociateVaultPolicyResponse.js.map +1 -0
- package/v1/model/BackupExtendInfo.d.ts +4 -3
- package/v1/model/BackupExtendInfo.d.ts.map +1 -0
- package/v1/model/BackupExtendInfo.js +75 -107
- package/v1/model/BackupExtendInfo.js.map +1 -0
- package/v1/model/BackupReplicateReq.d.ts +3 -2
- package/v1/model/BackupReplicateReq.d.ts.map +1 -0
- package/v1/model/BackupReplicateReq.js +6 -6
- package/v1/model/BackupReplicateReq.js.map +1 -0
- package/v1/model/BackupReplicateReqBody.d.ts +5 -4
- package/v1/model/BackupReplicateReqBody.d.ts.map +1 -0
- package/v1/model/BackupReplicateReqBody.js +40 -56
- package/v1/model/BackupReplicateReqBody.js.map +1 -0
- package/v1/model/BackupReplicateRespBody.d.ts +1 -0
- package/v1/model/BackupReplicateRespBody.d.ts.map +1 -0
- package/v1/model/BackupReplicateRespBody.js +68 -100
- package/v1/model/BackupReplicateRespBody.js.map +1 -0
- package/v1/model/BackupResp.d.ts +29 -28
- package/v1/model/BackupResp.d.ts.map +1 -0
- package/v1/model/BackupResp.js +161 -233
- package/v1/model/BackupResp.js.map +1 -0
- package/v1/model/BackupRestore.d.ts +1 -0
- package/v1/model/BackupRestore.d.ts.map +1 -0
- package/v1/model/BackupRestore.js +38 -54
- package/v1/model/BackupRestore.js.map +1 -0
- package/v1/model/BackupRestoreReq.d.ts +3 -2
- package/v1/model/BackupRestoreReq.d.ts.map +1 -0
- package/v1/model/BackupRestoreReq.js +6 -6
- package/v1/model/BackupRestoreReq.js.map +1 -0
- package/v1/model/BackupRestoreServerMapping.d.ts +4 -3
- package/v1/model/BackupRestoreServerMapping.d.ts.map +1 -0
- package/v1/model/BackupRestoreServerMapping.js +20 -28
- package/v1/model/BackupRestoreServerMapping.js.map +1 -0
- package/v1/model/BackupSync.d.ts +10 -9
- package/v1/model/BackupSync.d.ts.map +1 -0
- package/v1/model/BackupSync.js +68 -100
- package/v1/model/BackupSync.js.map +1 -0
- package/v1/model/BackupSyncReq.d.ts +3 -2
- package/v1/model/BackupSyncReq.d.ts.map +1 -0
- package/v1/model/BackupSyncReq.js +6 -6
- package/v1/model/BackupSyncReq.js.map +1 -0
- package/v1/model/BackupSyncRespBody.d.ts +4 -3
- package/v1/model/BackupSyncRespBody.d.ts.map +1 -0
- package/v1/model/BackupSyncRespBody.js +20 -28
- package/v1/model/BackupSyncRespBody.js.map +1 -0
- package/v1/model/BackupUpdate.d.ts +1 -0
- package/v1/model/BackupUpdate.d.ts.map +1 -0
- package/v1/model/BackupUpdate.js +6 -6
- package/v1/model/BackupUpdate.js.map +1 -0
- package/v1/model/BackupUpdateReq.d.ts +1 -0
- package/v1/model/BackupUpdateReq.d.ts.map +1 -0
- package/v1/model/BackupUpdateReq.js +6 -6
- package/v1/model/BackupUpdateReq.js.map +1 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.d.ts +3 -2
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.js +14 -18
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.js.map +1 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.d.ts +1 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.js +6 -22
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.js.map +1 -0
- package/v1/model/BatchUpdateVaultRequest.d.ts +1 -0
- package/v1/model/BatchUpdateVaultRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateVaultRequest.js +6 -6
- package/v1/model/BatchUpdateVaultRequest.js.map +1 -0
- package/v1/model/BatchUpdateVaultRequestBody.d.ts +3 -2
- package/v1/model/BatchUpdateVaultRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateVaultRequestBody.js +6 -6
- package/v1/model/BatchUpdateVaultRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateVaultResponse.d.ts +1 -0
- package/v1/model/BatchUpdateVaultResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateVaultResponse.js +14 -34
- package/v1/model/BatchUpdateVaultResponse.js.map +1 -0
- package/v1/model/Billing.d.ts +29 -28
- package/v1/model/Billing.d.ts.map +1 -0
- package/v1/model/Billing.js +107 -151
- package/v1/model/Billing.js.map +1 -0
- package/v1/model/BillingCreate.d.ts +24 -23
- package/v1/model/BillingCreate.d.ts.map +1 -0
- package/v1/model/BillingCreate.js +124 -180
- package/v1/model/BillingCreate.js.map +1 -0
- package/v1/model/BillingUpdate.d.ts +4 -3
- package/v1/model/BillingUpdate.d.ts.map +1 -0
- package/v1/model/BillingUpdate.js +15 -19
- package/v1/model/BillingUpdate.js.map +1 -0
- package/v1/model/BindRulesTags.d.ts +4 -3
- package/v1/model/BindRulesTags.d.ts.map +1 -0
- package/v1/model/BindRulesTags.js +8 -8
- package/v1/model/BindRulesTags.js.map +1 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.d.ts +4 -3
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.d.ts.map +1 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.js +17 -21
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.js.map +1 -0
- package/v1/model/CbcOrderResult.d.ts +4 -3
- package/v1/model/CbcOrderResult.d.ts.map +1 -0
- package/v1/model/CbcOrderResult.js +12 -12
- package/v1/model/CbcOrderResult.js.map +1 -0
- package/v1/model/CbcProductInfoUpdate.d.ts +5 -4
- package/v1/model/CbcProductInfoUpdate.d.ts.map +1 -0
- package/v1/model/CbcProductInfoUpdate.js +12 -12
- package/v1/model/CbcProductInfoUpdate.js.map +1 -0
- package/v1/model/CbcUpdate.d.ts +4 -3
- package/v1/model/CbcUpdate.d.ts.map +1 -0
- package/v1/model/CbcUpdate.js +18 -22
- package/v1/model/CbcUpdate.js.map +1 -0
- package/v1/model/CheckAgentRequest.d.ts +1 -0
- package/v1/model/CheckAgentRequest.d.ts.map +1 -0
- package/v1/model/CheckAgentRequest.js +6 -6
- package/v1/model/CheckAgentRequest.js.map +1 -0
- package/v1/model/CheckAgentResponse.d.ts +1 -0
- package/v1/model/CheckAgentResponse.d.ts.map +1 -0
- package/v1/model/CheckAgentResponse.js +14 -34
- package/v1/model/CheckAgentResponse.js.map +1 -0
- package/v1/model/CheckpointCreate.d.ts +7 -6
- package/v1/model/CheckpointCreate.d.ts.map +1 -0
- package/v1/model/CheckpointCreate.js +35 -47
- package/v1/model/CheckpointCreate.js.map +1 -0
- package/v1/model/CheckpointCreateSkippedResource.d.ts +1 -0
- package/v1/model/CheckpointCreateSkippedResource.d.ts.map +1 -0
- package/v1/model/CheckpointCreateSkippedResource.js +14 -14
- package/v1/model/CheckpointCreateSkippedResource.js.map +1 -0
- package/v1/model/CheckpointExtraInfoResp.d.ts +1 -0
- package/v1/model/CheckpointExtraInfoResp.d.ts.map +1 -0
- package/v1/model/CheckpointExtraInfoResp.js +16 -20
- package/v1/model/CheckpointExtraInfoResp.js.map +1 -0
- package/v1/model/CheckpointParam.d.ts +1 -0
- package/v1/model/CheckpointParam.d.ts.map +1 -0
- package/v1/model/CheckpointParam.js +36 -48
- package/v1/model/CheckpointParam.js.map +1 -0
- package/v1/model/CheckpointPlanCreate.d.ts +4 -3
- package/v1/model/CheckpointPlanCreate.d.ts.map +1 -0
- package/v1/model/CheckpointPlanCreate.js +18 -22
- package/v1/model/CheckpointPlanCreate.js.map +1 -0
- package/v1/model/CheckpointReplicateParam.d.ts +6 -5
- package/v1/model/CheckpointReplicateParam.d.ts.map +1 -0
- package/v1/model/CheckpointReplicateParam.js +52 -76
- package/v1/model/CheckpointReplicateParam.js.map +1 -0
- package/v1/model/CheckpointReplicateReq.d.ts +3 -2
- package/v1/model/CheckpointReplicateReq.d.ts.map +1 -0
- package/v1/model/CheckpointReplicateReq.js +6 -6
- package/v1/model/CheckpointReplicateReq.js.map +1 -0
- package/v1/model/CheckpointReplicateRespBody.d.ts +10 -9
- package/v1/model/CheckpointReplicateRespBody.d.ts.map +1 -0
- package/v1/model/CheckpointReplicateRespBody.js +62 -90
- package/v1/model/CheckpointReplicateRespBody.js.map +1 -0
- package/v1/model/CheckpointReplicateRespbackups.d.ts +4 -3
- package/v1/model/CheckpointReplicateRespbackups.d.ts.map +1 -0
- package/v1/model/CheckpointReplicateRespbackups.js +20 -28
- package/v1/model/CheckpointReplicateRespbackups.js.map +1 -0
- package/v1/model/CheckpointResourceResp.d.ts +8 -7
- package/v1/model/CheckpointResourceResp.d.ts.map +1 -0
- package/v1/model/CheckpointResourceResp.js +51 -71
- package/v1/model/CheckpointResourceResp.js.map +1 -0
- package/v1/model/CombinedOrder.d.ts +1 -0
- package/v1/model/CombinedOrder.d.ts.map +1 -0
- package/v1/model/CombinedOrder.js +28 -40
- package/v1/model/CombinedOrder.js.map +1 -0
- package/v1/model/CopyBackupRequest.d.ts +3 -2
- package/v1/model/CopyBackupRequest.d.ts.map +1 -0
- package/v1/model/CopyBackupRequest.js +14 -18
- package/v1/model/CopyBackupRequest.js.map +1 -0
- package/v1/model/CopyBackupResponse.d.ts +1 -0
- package/v1/model/CopyBackupResponse.d.ts.map +1 -0
- package/v1/model/CopyBackupResponse.js +8 -24
- package/v1/model/CopyBackupResponse.js.map +1 -0
- package/v1/model/CopyCheckpointRequest.d.ts +1 -0
- package/v1/model/CopyCheckpointRequest.d.ts.map +1 -0
- package/v1/model/CopyCheckpointRequest.js +6 -6
- package/v1/model/CopyCheckpointRequest.js.map +1 -0
- package/v1/model/CopyCheckpointResponse.d.ts +1 -0
- package/v1/model/CopyCheckpointResponse.d.ts.map +1 -0
- package/v1/model/CopyCheckpointResponse.js +8 -24
- package/v1/model/CopyCheckpointResponse.js.map +1 -0
- package/v1/model/CreateCheckpointRequest.d.ts +1 -0
- package/v1/model/CreateCheckpointRequest.d.ts.map +1 -0
- package/v1/model/CreateCheckpointRequest.js +6 -6
- package/v1/model/CreateCheckpointRequest.js.map +1 -0
- package/v1/model/CreateCheckpointResponse.d.ts +1 -0
- package/v1/model/CreateCheckpointResponse.d.ts.map +1 -0
- package/v1/model/CreateCheckpointResponse.js +8 -24
- package/v1/model/CreateCheckpointResponse.js.map +1 -0
- package/v1/model/CreatePolicyRequest.d.ts +1 -0
- package/v1/model/CreatePolicyRequest.d.ts.map +1 -0
- package/v1/model/CreatePolicyRequest.js +6 -6
- package/v1/model/CreatePolicyRequest.js.map +1 -0
- package/v1/model/CreatePolicyResponse.d.ts +1 -0
- package/v1/model/CreatePolicyResponse.d.ts.map +1 -0
- package/v1/model/CreatePolicyResponse.js +8 -24
- package/v1/model/CreatePolicyResponse.js.map +1 -0
- package/v1/model/CreatePostPaidVaultRequest.d.ts +1 -0
- package/v1/model/CreatePostPaidVaultRequest.d.ts.map +1 -0
- package/v1/model/CreatePostPaidVaultRequest.js +6 -6
- package/v1/model/CreatePostPaidVaultRequest.js.map +1 -0
- package/v1/model/CreatePostPaidVaultResponse.d.ts +1 -0
- package/v1/model/CreatePostPaidVaultResponse.d.ts.map +1 -0
- package/v1/model/CreatePostPaidVaultResponse.js +20 -40
- package/v1/model/CreatePostPaidVaultResponse.js.map +1 -0
- package/v1/model/CreateVaultRequest.d.ts +1 -0
- package/v1/model/CreateVaultRequest.d.ts.map +1 -0
- package/v1/model/CreateVaultRequest.js +6 -6
- package/v1/model/CreateVaultRequest.js.map +1 -0
- package/v1/model/CreateVaultResponse.d.ts +1 -0
- package/v1/model/CreateVaultResponse.d.ts.map +1 -0
- package/v1/model/CreateVaultResponse.js +8 -24
- package/v1/model/CreateVaultResponse.js.map +1 -0
- package/v1/model/CreateVaultTagsRequest.d.ts +3 -2
- package/v1/model/CreateVaultTagsRequest.d.ts.map +1 -0
- package/v1/model/CreateVaultTagsRequest.js +14 -18
- package/v1/model/CreateVaultTagsRequest.js.map +1 -0
- package/v1/model/CreateVaultTagsResponse.d.ts +1 -0
- package/v1/model/CreateVaultTagsResponse.d.ts.map +1 -0
- package/v1/model/CreateVaultTagsResponse.js +6 -22
- package/v1/model/CreateVaultTagsResponse.js.map +1 -0
- package/v1/model/DeleteBackupRequest.d.ts +3 -2
- package/v1/model/DeleteBackupRequest.d.ts.map +1 -0
- package/v1/model/DeleteBackupRequest.js +12 -16
- package/v1/model/DeleteBackupRequest.js.map +1 -0
- package/v1/model/DeleteBackupResponse.d.ts +1 -0
- package/v1/model/DeleteBackupResponse.d.ts.map +1 -0
- package/v1/model/DeleteBackupResponse.js +6 -22
- package/v1/model/DeleteBackupResponse.js.map +1 -0
- package/v1/model/DeleteMemberRequest.d.ts +4 -3
- package/v1/model/DeleteMemberRequest.d.ts.map +1 -0
- package/v1/model/DeleteMemberRequest.js +20 -28
- package/v1/model/DeleteMemberRequest.js.map +1 -0
- package/v1/model/DeleteMemberResponse.d.ts +1 -0
- package/v1/model/DeleteMemberResponse.d.ts.map +1 -0
- package/v1/model/DeleteMemberResponse.js +6 -22
- package/v1/model/DeleteMemberResponse.js.map +1 -0
- package/v1/model/DeletePolicyRequest.d.ts +3 -2
- package/v1/model/DeletePolicyRequest.d.ts.map +1 -0
- package/v1/model/DeletePolicyRequest.js +12 -16
- package/v1/model/DeletePolicyRequest.js.map +1 -0
- package/v1/model/DeletePolicyResponse.d.ts +1 -0
- package/v1/model/DeletePolicyResponse.d.ts.map +1 -0
- package/v1/model/DeletePolicyResponse.js +6 -22
- package/v1/model/DeletePolicyResponse.js.map +1 -0
- package/v1/model/DeleteVaultRequest.d.ts +3 -2
- package/v1/model/DeleteVaultRequest.d.ts.map +1 -0
- package/v1/model/DeleteVaultRequest.js +12 -16
- package/v1/model/DeleteVaultRequest.js.map +1 -0
- package/v1/model/DeleteVaultResponse.d.ts +1 -0
- package/v1/model/DeleteVaultResponse.d.ts.map +1 -0
- package/v1/model/DeleteVaultResponse.js +6 -22
- package/v1/model/DeleteVaultResponse.js.map +1 -0
- package/v1/model/DeleteVaultTagRequest.d.ts +4 -3
- package/v1/model/DeleteVaultTagRequest.d.ts.map +1 -0
- package/v1/model/DeleteVaultTagRequest.js +14 -18
- package/v1/model/DeleteVaultTagRequest.js.map +1 -0
- package/v1/model/DeleteVaultTagResponse.d.ts +1 -0
- package/v1/model/DeleteVaultTagResponse.d.ts.map +1 -0
- package/v1/model/DeleteVaultTagResponse.js +6 -22
- package/v1/model/DeleteVaultTagResponse.js.map +1 -0
- package/v1/model/DisassociateVaultPolicyRequest.d.ts +3 -2
- package/v1/model/DisassociateVaultPolicyRequest.d.ts.map +1 -0
- package/v1/model/DisassociateVaultPolicyRequest.js +14 -18
- package/v1/model/DisassociateVaultPolicyRequest.js.map +1 -0
- package/v1/model/DisassociateVaultPolicyResponse.d.ts +1 -0
- package/v1/model/DisassociateVaultPolicyResponse.d.ts.map +1 -0
- package/v1/model/DisassociateVaultPolicyResponse.js +14 -34
- package/v1/model/DisassociateVaultPolicyResponse.js.map +1 -0
- package/v1/model/DomainMigrate.d.ts +4 -3
- package/v1/model/DomainMigrate.d.ts.map +1 -0
- package/v1/model/DomainMigrate.js +14 -18
- package/v1/model/DomainMigrate.js.map +1 -0
- package/v1/model/DomainMigrateProjectStatus.d.ts +6 -5
- package/v1/model/DomainMigrateProjectStatus.d.ts.map +1 -0
- package/v1/model/DomainMigrateProjectStatus.js +49 -69
- package/v1/model/DomainMigrateProjectStatus.js.map +1 -0
- package/v1/model/DomainProjectsInfo.d.ts +4 -3
- package/v1/model/DomainProjectsInfo.d.ts.map +1 -0
- package/v1/model/DomainProjectsInfo.js +20 -28
- package/v1/model/DomainProjectsInfo.js.map +1 -0
- package/v1/model/ImageData.d.ts +1 -0
- package/v1/model/ImageData.d.ts.map +1 -0
- package/v1/model/ImageData.js +12 -16
- package/v1/model/ImageData.js.map +1 -0
- package/v1/model/ImportBackupRequest.d.ts +1 -0
- package/v1/model/ImportBackupRequest.d.ts.map +1 -0
- package/v1/model/ImportBackupRequest.js +6 -6
- package/v1/model/ImportBackupRequest.js.map +1 -0
- package/v1/model/ImportBackupResponse.d.ts +1 -0
- package/v1/model/ImportBackupResponse.d.ts.map +1 -0
- package/v1/model/ImportBackupResponse.js +8 -24
- package/v1/model/ImportBackupResponse.js.map +1 -0
- package/v1/model/ImportCheckpointRequest.d.ts +1 -0
- package/v1/model/ImportCheckpointRequest.d.ts.map +1 -0
- package/v1/model/ImportCheckpointRequest.js +6 -6
- package/v1/model/ImportCheckpointRequest.js.map +1 -0
- package/v1/model/ImportCheckpointResponse.d.ts +1 -0
- package/v1/model/ImportCheckpointResponse.d.ts.map +1 -0
- package/v1/model/ImportCheckpointResponse.js +8 -24
- package/v1/model/ImportCheckpointResponse.js.map +1 -0
- package/v1/model/InstancesResourceDetail.d.ts +1 -0
- package/v1/model/InstancesResourceDetail.d.ts.map +1 -0
- package/v1/model/InstancesResourceDetail.js +6 -6
- package/v1/model/InstancesResourceDetail.js.map +1 -0
- package/v1/model/ListAgentRequest.d.ts +1 -0
- package/v1/model/ListAgentRequest.d.ts.map +1 -0
- package/v1/model/ListAgentRequest.js +18 -22
- package/v1/model/ListAgentRequest.js.map +1 -0
- package/v1/model/ListAgentResponse.d.ts +1 -0
- package/v1/model/ListAgentResponse.d.ts.map +1 -0
- package/v1/model/ListAgentResponse.js +14 -30
- package/v1/model/ListAgentResponse.js.map +1 -0
- package/v1/model/ListBackupsRequest.d.ts +15 -14
- package/v1/model/ListBackupsRequest.d.ts.map +1 -0
- package/v1/model/ListBackupsRequest.js +145 -205
- package/v1/model/ListBackupsRequest.js.map +1 -0
- package/v1/model/ListBackupsResponse.d.ts +1 -0
- package/v1/model/ListBackupsResponse.d.ts.map +1 -0
- package/v1/model/ListBackupsResponse.js +14 -30
- package/v1/model/ListBackupsResponse.js.map +1 -0
- package/v1/model/ListDomainProjectsRequest.d.ts +3 -2
- package/v1/model/ListDomainProjectsRequest.d.ts.map +1 -0
- package/v1/model/ListDomainProjectsRequest.js +12 -16
- package/v1/model/ListDomainProjectsRequest.js.map +1 -0
- package/v1/model/ListDomainProjectsResponse.d.ts +1 -0
- package/v1/model/ListDomainProjectsResponse.d.ts.map +1 -0
- package/v1/model/ListDomainProjectsResponse.js +8 -24
- package/v1/model/ListDomainProjectsResponse.js.map +1 -0
- package/v1/model/ListExternalVaultRequest.d.ts +7 -6
- package/v1/model/ListExternalVaultRequest.d.ts.map +1 -0
- package/v1/model/ListExternalVaultRequest.js +57 -81
- package/v1/model/ListExternalVaultRequest.js.map +1 -0
- package/v1/model/ListExternalVaultResponse.d.ts +1 -0
- package/v1/model/ListExternalVaultResponse.d.ts.map +1 -0
- package/v1/model/ListExternalVaultResponse.js +14 -30
- package/v1/model/ListExternalVaultResponse.js.map +1 -0
- package/v1/model/ListOpLogsRequest.d.ts +6 -5
- package/v1/model/ListOpLogsRequest.d.ts.map +1 -0
- package/v1/model/ListOpLogsRequest.js +84 -120
- package/v1/model/ListOpLogsRequest.js.map +1 -0
- package/v1/model/ListOpLogsResponse.d.ts +1 -0
- package/v1/model/ListOpLogsResponse.d.ts.map +1 -0
- package/v1/model/ListOpLogsResponse.js +20 -40
- package/v1/model/ListOpLogsResponse.js.map +1 -0
- package/v1/model/ListPoliciesRequest.d.ts +4 -3
- package/v1/model/ListPoliciesRequest.d.ts.map +1 -0
- package/v1/model/ListPoliciesRequest.js +21 -29
- package/v1/model/ListPoliciesRequest.js.map +1 -0
- package/v1/model/ListPoliciesResponse.d.ts +1 -0
- package/v1/model/ListPoliciesResponse.d.ts.map +1 -0
- package/v1/model/ListPoliciesResponse.js +10 -26
- package/v1/model/ListPoliciesResponse.js.map +1 -0
- package/v1/model/ListProjectsRequest.d.ts +1 -0
- package/v1/model/ListProjectsRequest.d.ts.map +1 -0
- package/v1/model/ListProjectsRequest.js +4 -4
- package/v1/model/ListProjectsRequest.js.map +1 -0
- package/v1/model/ListProjectsResponse.d.ts +1 -0
- package/v1/model/ListProjectsResponse.d.ts.map +1 -0
- package/v1/model/ListProjectsResponse.js +10 -26
- package/v1/model/ListProjectsResponse.js.map +1 -0
- package/v1/model/ListProtectableRequest.d.ts +6 -5
- package/v1/model/ListProtectableRequest.d.ts.map +1 -0
- package/v1/model/ListProtectableRequest.js +33 -41
- package/v1/model/ListProtectableRequest.js.map +1 -0
- package/v1/model/ListProtectableResponse.d.ts +1 -0
- package/v1/model/ListProtectableResponse.d.ts.map +1 -0
- package/v1/model/ListProtectableResponse.js +8 -24
- package/v1/model/ListProtectableResponse.js.map +1 -0
- package/v1/model/ListVaultRequest.d.ts +7 -6
- package/v1/model/ListVaultRequest.d.ts.map +1 -0
- package/v1/model/ListVaultRequest.js +64 -88
- package/v1/model/ListVaultRequest.js.map +1 -0
- package/v1/model/ListVaultResponse.d.ts +1 -0
- package/v1/model/ListVaultResponse.d.ts.map +1 -0
- package/v1/model/ListVaultResponse.js +14 -30
- package/v1/model/ListVaultResponse.js.map +1 -0
- package/v1/model/Match.d.ts +4 -3
- package/v1/model/Match.d.ts.map +1 -0
- package/v1/model/Match.js +8 -8
- package/v1/model/Match.js.map +1 -0
- package/v1/model/Member.d.ts +4 -3
- package/v1/model/Member.d.ts.map +1 -0
- package/v1/model/Member.js +57 -81
- package/v1/model/Member.js.map +1 -0
- package/v1/model/MigrateDomainRequest.d.ts +1 -0
- package/v1/model/MigrateDomainRequest.d.ts.map +1 -0
- package/v1/model/MigrateDomainRequest.js +6 -6
- package/v1/model/MigrateDomainRequest.js.map +1 -0
- package/v1/model/MigrateDomainResponse.d.ts +1 -0
- package/v1/model/MigrateDomainResponse.d.ts.map +1 -0
- package/v1/model/MigrateDomainResponse.js +8 -24
- package/v1/model/MigrateDomainResponse.js.map +1 -0
- package/v1/model/MigrateVaultResourceRequest.d.ts +3 -2
- package/v1/model/MigrateVaultResourceRequest.d.ts.map +1 -0
- package/v1/model/MigrateVaultResourceRequest.js +14 -18
- package/v1/model/MigrateVaultResourceRequest.js.map +1 -0
- package/v1/model/MigrateVaultResourceResponse.d.ts +1 -0
- package/v1/model/MigrateVaultResourceResponse.d.ts.map +1 -0
- package/v1/model/MigrateVaultResourceResponse.js +14 -34
- package/v1/model/MigrateVaultResourceResponse.js.map +1 -0
- package/v1/model/OpErrorInfo.d.ts +1 -0
- package/v1/model/OpErrorInfo.d.ts.map +1 -0
- package/v1/model/OpErrorInfo.js +8 -8
- package/v1/model/OpErrorInfo.js.map +1 -0
- package/v1/model/OpExtendInfoBckup.d.ts +8 -7
- package/v1/model/OpExtendInfoBckup.d.ts.map +1 -0
- package/v1/model/OpExtendInfoBckup.js +48 -68
- package/v1/model/OpExtendInfoBckup.js.map +1 -0
- package/v1/model/OpExtendInfoCommon.d.ts +4 -3
- package/v1/model/OpExtendInfoCommon.d.ts.map +1 -0
- package/v1/model/OpExtendInfoCommon.js +22 -30
- package/v1/model/OpExtendInfoCommon.js.map +1 -0
- package/v1/model/OpExtendInfoDelete.d.ts +4 -3
- package/v1/model/OpExtendInfoDelete.d.ts.map +1 -0
- package/v1/model/OpExtendInfoDelete.js +20 -28
- package/v1/model/OpExtendInfoDelete.js.map +1 -0
- package/v1/model/OpExtendInfoRemoveResources.d.ts +1 -0
- package/v1/model/OpExtendInfoRemoveResources.d.ts.map +1 -0
- package/v1/model/OpExtendInfoRemoveResources.js +22 -30
- package/v1/model/OpExtendInfoRemoveResources.js.map +1 -0
- package/v1/model/OpExtendInfoReplication.d.ts +7 -6
- package/v1/model/OpExtendInfoReplication.d.ts.map +1 -0
- package/v1/model/OpExtendInfoReplication.js +84 -124
- package/v1/model/OpExtendInfoReplication.js.map +1 -0
- package/v1/model/OpExtendInfoRestore.d.ts +1 -0
- package/v1/model/OpExtendInfoRestore.d.ts.map +1 -0
- package/v1/model/OpExtendInfoRestore.js +36 -52
- package/v1/model/OpExtendInfoRestore.js.map +1 -0
- package/v1/model/OpExtendInfoSync.d.ts +1 -0
- package/v1/model/OpExtendInfoSync.d.ts.map +1 -0
- package/v1/model/OpExtendInfoSync.js +28 -40
- package/v1/model/OpExtendInfoSync.js.map +1 -0
- package/v1/model/OpExtendInfoVaultDelete.d.ts +1 -0
- package/v1/model/OpExtendInfoVaultDelete.d.ts.map +1 -0
- package/v1/model/OpExtendInfoVaultDelete.js +20 -28
- package/v1/model/OpExtendInfoVaultDelete.js.map +1 -0
- package/v1/model/OpExtraInfo.d.ts +4 -3
- package/v1/model/OpExtraInfo.d.ts.map +1 -0
- package/v1/model/OpExtraInfo.js +40 -52
- package/v1/model/OpExtraInfo.js.map +1 -0
- package/v1/model/OperationLog.d.ts +13 -12
- package/v1/model/OperationLog.d.ts.map +1 -0
- package/v1/model/OperationLog.js +114 -166
- package/v1/model/OperationLog.js.map +1 -0
- package/v1/model/Path.d.ts +1 -0
- package/v1/model/Path.d.ts.map +1 -0
- package/v1/model/Path.js +24 -32
- package/v1/model/Path.js.map +1 -0
- package/v1/model/Policy.d.ts +11 -10
- package/v1/model/Policy.d.ts.map +1 -0
- package/v1/model/Policy.js +37 -49
- package/v1/model/Policy.js.map +1 -0
- package/v1/model/PolicyAssociateVault.d.ts +3 -2
- package/v1/model/PolicyAssociateVault.d.ts.map +1 -0
- package/v1/model/PolicyAssociateVault.js +20 -28
- package/v1/model/PolicyAssociateVault.js.map +1 -0
- package/v1/model/PolicyCreate.d.ts +9 -8
- package/v1/model/PolicyCreate.d.ts.map +1 -0
- package/v1/model/PolicyCreate.js +27 -35
- package/v1/model/PolicyCreate.js.map +1 -0
- package/v1/model/PolicyCreateReq.d.ts +3 -2
- package/v1/model/PolicyCreateReq.d.ts.map +1 -0
- package/v1/model/PolicyCreateReq.js +6 -6
- package/v1/model/PolicyCreateReq.js.map +1 -0
- package/v1/model/PolicyTriggerPropertiesReq.d.ts +3 -2
- package/v1/model/PolicyTriggerPropertiesReq.d.ts.map +1 -0
- package/v1/model/PolicyTriggerPropertiesReq.js +6 -6
- package/v1/model/PolicyTriggerPropertiesReq.js.map +1 -0
- package/v1/model/PolicyTriggerPropertiesResp.d.ts +3 -2
- package/v1/model/PolicyTriggerPropertiesResp.d.ts.map +1 -0
- package/v1/model/PolicyTriggerPropertiesResp.js +14 -18
- package/v1/model/PolicyTriggerPropertiesResp.js.map +1 -0
- package/v1/model/PolicyTriggerReq.d.ts +3 -2
- package/v1/model/PolicyTriggerReq.d.ts.map +1 -0
- package/v1/model/PolicyTriggerReq.js +6 -6
- package/v1/model/PolicyTriggerReq.js.map +1 -0
- package/v1/model/PolicyTriggerResp.d.ts +6 -5
- package/v1/model/PolicyTriggerResp.d.ts.map +1 -0
- package/v1/model/PolicyTriggerResp.js +13 -13
- package/v1/model/PolicyTriggerResp.js.map +1 -0
- package/v1/model/PolicyUpdate.d.ts +1 -0
- package/v1/model/PolicyUpdate.d.ts.map +1 -0
- package/v1/model/PolicyUpdate.js +18 -22
- package/v1/model/PolicyUpdate.js.map +1 -0
- package/v1/model/PolicyUpdateReq.d.ts +3 -2
- package/v1/model/PolicyUpdateReq.d.ts.map +1 -0
- package/v1/model/PolicyUpdateReq.js +6 -6
- package/v1/model/PolicyUpdateReq.js.map +1 -0
- package/v1/model/PolicyoODCreate.d.ts +1 -0
- package/v1/model/PolicyoODCreate.d.ts.map +1 -0
- package/v1/model/PolicyoODCreate.js +86 -126
- package/v1/model/PolicyoODCreate.js.map +1 -0
- package/v1/model/ProjectsListInfo.d.ts +1 -0
- package/v1/model/ProjectsListInfo.d.ts.map +1 -0
- package/v1/model/ProjectsListInfo.js +38 -50
- package/v1/model/ProjectsListInfo.js.map +1 -0
- package/v1/model/ProtectableAgentReq.d.ts +3 -2
- package/v1/model/ProtectableAgentReq.d.ts.map +1 -0
- package/v1/model/ProtectableAgentReq.js +12 -16
- package/v1/model/ProtectableAgentReq.js.map +1 -0
- package/v1/model/ProtectableAgentStatus.d.ts +1 -0
- package/v1/model/ProtectableAgentStatus.d.ts.map +1 -0
- package/v1/model/ProtectableAgentStatus.js +28 -36
- package/v1/model/ProtectableAgentStatus.js.map +1 -0
- package/v1/model/ProtectableAgentStatusResource.d.ts +4 -3
- package/v1/model/ProtectableAgentStatusResource.d.ts.map +1 -0
- package/v1/model/ProtectableAgentStatusResource.js +28 -40
- package/v1/model/ProtectableAgentStatusResource.js.map +1 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.d.ts +4 -3
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.d.ts.map +1 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.js +14 -18
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.js.map +1 -0
- package/v1/model/ProtectableResult.d.ts +3 -2
- package/v1/model/ProtectableResult.d.ts.map +1 -0
- package/v1/model/ProtectableResult.js +14 -14
- package/v1/model/ProtectableResult.js.map +1 -0
- package/v1/model/ProtectablesResp.d.ts +9 -8
- package/v1/model/ProtectablesResp.d.ts.map +1 -0
- package/v1/model/ProtectablesResp.js +21 -21
- package/v1/model/ProtectablesResp.js.map +1 -0
- package/v1/model/RegisterAgentRequest.d.ts +1 -0
- package/v1/model/RegisterAgentRequest.d.ts.map +1 -0
- package/v1/model/RegisterAgentRequest.js +6 -6
- package/v1/model/RegisterAgentRequest.js.map +1 -0
- package/v1/model/RegisterAgentResponse.d.ts +1 -0
- package/v1/model/RegisterAgentResponse.d.ts.map +1 -0
- package/v1/model/RegisterAgentResponse.js +8 -24
- package/v1/model/RegisterAgentResponse.js.map +1 -0
- package/v1/model/RemoveAgentPathRequest.d.ts +3 -2
- package/v1/model/RemoveAgentPathRequest.d.ts.map +1 -0
- package/v1/model/RemoveAgentPathRequest.js +14 -18
- package/v1/model/RemoveAgentPathRequest.js.map +1 -0
- package/v1/model/RemoveAgentPathResponse.d.ts +1 -0
- package/v1/model/RemoveAgentPathResponse.d.ts.map +1 -0
- package/v1/model/RemoveAgentPathResponse.js +16 -36
- package/v1/model/RemoveAgentPathResponse.js.map +1 -0
- package/v1/model/RemoveVaultResourceRequest.d.ts +3 -2
- package/v1/model/RemoveVaultResourceRequest.d.ts.map +1 -0
- package/v1/model/RemoveVaultResourceRequest.js +14 -18
- package/v1/model/RemoveVaultResourceRequest.js.map +1 -0
- package/v1/model/RemoveVaultResourceResponse.d.ts +1 -0
- package/v1/model/RemoveVaultResourceResponse.d.ts.map +1 -0
- package/v1/model/RemoveVaultResourceResponse.js +14 -34
- package/v1/model/RemoveVaultResourceResponse.js.map +1 -0
- package/v1/model/ReplicationRecordGet.d.ts +5 -4
- package/v1/model/ReplicationRecordGet.d.ts.map +1 -0
- package/v1/model/ReplicationRecordGet.js +105 -153
- package/v1/model/ReplicationRecordGet.js.map +1 -0
- package/v1/model/ReplicationRecordsExtraInfo.d.ts +1 -0
- package/v1/model/ReplicationRecordsExtraInfo.d.ts.map +1 -0
- package/v1/model/ReplicationRecordsExtraInfo.js +38 -54
- package/v1/model/ReplicationRecordsExtraInfo.js.map +1 -0
- package/v1/model/Resource.d.ts +4 -3
- package/v1/model/Resource.d.ts.map +1 -0
- package/v1/model/Resource.js +18 -22
- package/v1/model/Resource.js.map +1 -0
- package/v1/model/ResourceCreate.d.ts +4 -3
- package/v1/model/ResourceCreate.d.ts.map +1 -0
- package/v1/model/ResourceCreate.js +18 -22
- package/v1/model/ResourceCreate.js.map +1 -0
- package/v1/model/ResourceExtraInfo.d.ts +1 -0
- package/v1/model/ResourceExtraInfo.d.ts.map +1 -0
- package/v1/model/ResourceExtraInfo.js +20 -28
- package/v1/model/ResourceExtraInfo.js.map +1 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.d.ts +3 -2
- package/v1/model/ResourceExtraInfoIncludeVolumes.d.ts.map +1 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.js +14 -18
- package/v1/model/ResourceExtraInfoIncludeVolumes.js.map +1 -0
- package/v1/model/ResourceResp.d.ts +8 -7
- package/v1/model/ResourceResp.d.ts.map +1 -0
- package/v1/model/ResourceResp.js +53 -73
- package/v1/model/ResourceResp.js.map +1 -0
- package/v1/model/RestoreBackupRequest.d.ts +3 -2
- package/v1/model/RestoreBackupRequest.d.ts.map +1 -0
- package/v1/model/RestoreBackupRequest.js +14 -18
- package/v1/model/RestoreBackupRequest.js.map +1 -0
- package/v1/model/RestoreBackupResponse.d.ts +1 -0
- package/v1/model/RestoreBackupResponse.d.ts.map +1 -0
- package/v1/model/RestoreBackupResponse.js +6 -22
- package/v1/model/RestoreBackupResponse.js.map +1 -0
- package/v1/model/SelfLinksInfo.d.ts +1 -0
- package/v1/model/SelfLinksInfo.d.ts.map +1 -0
- package/v1/model/SelfLinksInfo.js +6 -6
- package/v1/model/SelfLinksInfo.js.map +1 -0
- package/v1/model/SetVaultResourceRequest.d.ts +3 -2
- package/v1/model/SetVaultResourceRequest.d.ts.map +1 -0
- package/v1/model/SetVaultResourceRequest.js +14 -18
- package/v1/model/SetVaultResourceRequest.js.map +1 -0
- package/v1/model/SetVaultResourceResponse.d.ts +1 -0
- package/v1/model/SetVaultResourceResponse.d.ts.map +1 -0
- package/v1/model/SetVaultResourceResponse.js +14 -34
- package/v1/model/SetVaultResourceResponse.js.map +1 -0
- package/v1/model/ShowAgentRequest.d.ts +3 -2
- package/v1/model/ShowAgentRequest.d.ts.map +1 -0
- package/v1/model/ShowAgentRequest.js +12 -16
- package/v1/model/ShowAgentRequest.js.map +1 -0
- package/v1/model/ShowAgentResponse.d.ts +1 -0
- package/v1/model/ShowAgentResponse.d.ts.map +1 -0
- package/v1/model/ShowAgentResponse.js +8 -24
- package/v1/model/ShowAgentResponse.js.map +1 -0
- package/v1/model/ShowBackupRequest.d.ts +3 -2
- package/v1/model/ShowBackupRequest.d.ts.map +1 -0
- package/v1/model/ShowBackupRequest.js +12 -16
- package/v1/model/ShowBackupRequest.js.map +1 -0
- package/v1/model/ShowBackupResponse.d.ts +1 -0
- package/v1/model/ShowBackupResponse.d.ts.map +1 -0
- package/v1/model/ShowBackupResponse.js +8 -24
- package/v1/model/ShowBackupResponse.js.map +1 -0
- package/v1/model/ShowCheckpointRequest.d.ts +3 -2
- package/v1/model/ShowCheckpointRequest.d.ts.map +1 -0
- package/v1/model/ShowCheckpointRequest.js +12 -16
- package/v1/model/ShowCheckpointRequest.js.map +1 -0
- package/v1/model/ShowCheckpointResponse.d.ts +1 -0
- package/v1/model/ShowCheckpointResponse.d.ts.map +1 -0
- package/v1/model/ShowCheckpointResponse.js +8 -24
- package/v1/model/ShowCheckpointResponse.js.map +1 -0
- package/v1/model/ShowDomainRequest.d.ts +3 -2
- package/v1/model/ShowDomainRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainRequest.js +12 -16
- package/v1/model/ShowDomainRequest.js.map +1 -0
- package/v1/model/ShowDomainResponse.d.ts +1 -0
- package/v1/model/ShowDomainResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainResponse.js +38 -70
- package/v1/model/ShowDomainResponse.js.map +1 -0
- package/v1/model/ShowMemberDetailRequest.d.ts +4 -3
- package/v1/model/ShowMemberDetailRequest.d.ts.map +1 -0
- package/v1/model/ShowMemberDetailRequest.js +20 -28
- package/v1/model/ShowMemberDetailRequest.js.map +1 -0
- package/v1/model/ShowMemberDetailResponse.d.ts +1 -0
- package/v1/model/ShowMemberDetailResponse.d.ts.map +1 -0
- package/v1/model/ShowMemberDetailResponse.js +8 -24
- package/v1/model/ShowMemberDetailResponse.js.map +1 -0
- package/v1/model/ShowMembersDetailRequest.d.ts +3 -2
- package/v1/model/ShowMembersDetailRequest.d.ts.map +1 -0
- package/v1/model/ShowMembersDetailRequest.js +46 -62
- package/v1/model/ShowMembersDetailRequest.js.map +1 -0
- package/v1/model/ShowMembersDetailResponse.d.ts +1 -0
- package/v1/model/ShowMembersDetailResponse.d.ts.map +1 -0
- package/v1/model/ShowMembersDetailResponse.js +10 -26
- package/v1/model/ShowMembersDetailResponse.js.map +1 -0
- package/v1/model/ShowMetadataRequest.d.ts +3 -2
- package/v1/model/ShowMetadataRequest.d.ts.map +1 -0
- package/v1/model/ShowMetadataRequest.js +12 -16
- package/v1/model/ShowMetadataRequest.js.map +1 -0
- package/v1/model/ShowMetadataResponse.d.ts +1 -0
- package/v1/model/ShowMetadataResponse.d.ts.map +1 -0
- package/v1/model/ShowMetadataResponse.js +34 -58
- package/v1/model/ShowMetadataResponse.js.map +1 -0
- package/v1/model/ShowMigrateStatusRequest.d.ts +1 -0
- package/v1/model/ShowMigrateStatusRequest.d.ts.map +1 -0
- package/v1/model/ShowMigrateStatusRequest.js +12 -16
- package/v1/model/ShowMigrateStatusRequest.js.map +1 -0
- package/v1/model/ShowMigrateStatusResponse.d.ts +3 -2
- package/v1/model/ShowMigrateStatusResponse.d.ts.map +1 -0
- package/v1/model/ShowMigrateStatusResponse.js +17 -37
- package/v1/model/ShowMigrateStatusResponse.js.map +1 -0
- package/v1/model/ShowOpLogRequest.d.ts +3 -2
- package/v1/model/ShowOpLogRequest.d.ts.map +1 -0
- package/v1/model/ShowOpLogRequest.js +12 -16
- package/v1/model/ShowOpLogRequest.js.map +1 -0
- package/v1/model/ShowOpLogResponse.d.ts +1 -0
- package/v1/model/ShowOpLogResponse.d.ts.map +1 -0
- package/v1/model/ShowOpLogResponse.js +14 -34
- package/v1/model/ShowOpLogResponse.js.map +1 -0
- package/v1/model/ShowPolicyRequest.d.ts +3 -2
- package/v1/model/ShowPolicyRequest.d.ts.map +1 -0
- package/v1/model/ShowPolicyRequest.js +12 -16
- package/v1/model/ShowPolicyRequest.js.map +1 -0
- package/v1/model/ShowPolicyResponse.d.ts +1 -0
- package/v1/model/ShowPolicyResponse.d.ts.map +1 -0
- package/v1/model/ShowPolicyResponse.js +8 -24
- package/v1/model/ShowPolicyResponse.js.map +1 -0
- package/v1/model/ShowProtectableRequest.d.ts +7 -6
- package/v1/model/ShowProtectableRequest.d.ts.map +1 -0
- package/v1/model/ShowProtectableRequest.js +21 -29
- package/v1/model/ShowProtectableRequest.js.map +1 -0
- package/v1/model/ShowProtectableResponse.d.ts +1 -0
- package/v1/model/ShowProtectableResponse.d.ts.map +1 -0
- package/v1/model/ShowProtectableResponse.js +8 -24
- package/v1/model/ShowProtectableResponse.js.map +1 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.d.ts +1 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.d.ts.map +1 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.js +4 -4
- package/v1/model/ShowReplicationCapabilitiesRequest.js.map +1 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.d.ts +1 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.d.ts.map +1 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.js +8 -24
- package/v1/model/ShowReplicationCapabilitiesResponse.js.map +1 -0
- package/v1/model/ShowStorageUsageRequest.d.ts +4 -3
- package/v1/model/ShowStorageUsageRequest.d.ts.map +1 -0
- package/v1/model/ShowStorageUsageRequest.js +25 -33
- package/v1/model/ShowStorageUsageRequest.js.map +1 -0
- package/v1/model/ShowStorageUsageResponse.d.ts +1 -0
- package/v1/model/ShowStorageUsageResponse.d.ts.map +1 -0
- package/v1/model/ShowStorageUsageResponse.js +22 -46
- package/v1/model/ShowStorageUsageResponse.js.map +1 -0
- package/v1/model/ShowSummaryRequest.d.ts +1 -0
- package/v1/model/ShowSummaryRequest.d.ts.map +1 -0
- package/v1/model/ShowSummaryRequest.js +4 -4
- package/v1/model/ShowSummaryRequest.js.map +1 -0
- package/v1/model/ShowSummaryResponse.d.ts +1 -0
- package/v1/model/ShowSummaryResponse.d.ts.map +1 -0
- package/v1/model/ShowSummaryResponse.js +16 -36
- package/v1/model/ShowSummaryResponse.js.map +1 -0
- package/v1/model/ShowVaultProjectTagRequest.d.ts +1 -0
- package/v1/model/ShowVaultProjectTagRequest.d.ts.map +1 -0
- package/v1/model/ShowVaultProjectTagRequest.js +4 -4
- package/v1/model/ShowVaultProjectTagRequest.js.map +1 -0
- package/v1/model/ShowVaultProjectTagResponse.d.ts +1 -0
- package/v1/model/ShowVaultProjectTagResponse.d.ts.map +1 -0
- package/v1/model/ShowVaultProjectTagResponse.js +8 -24
- package/v1/model/ShowVaultProjectTagResponse.js.map +1 -0
- package/v1/model/ShowVaultRequest.d.ts +3 -2
- package/v1/model/ShowVaultRequest.d.ts.map +1 -0
- package/v1/model/ShowVaultRequest.js +12 -16
- package/v1/model/ShowVaultRequest.js.map +1 -0
- package/v1/model/ShowVaultResourceInstancesRequest.d.ts +1 -0
- package/v1/model/ShowVaultResourceInstancesRequest.d.ts.map +1 -0
- package/v1/model/ShowVaultResourceInstancesRequest.js +6 -6
- package/v1/model/ShowVaultResourceInstancesRequest.js.map +1 -0
- package/v1/model/ShowVaultResourceInstancesResponse.d.ts +1 -0
- package/v1/model/ShowVaultResourceInstancesResponse.d.ts.map +1 -0
- package/v1/model/ShowVaultResourceInstancesResponse.js +16 -36
- package/v1/model/ShowVaultResourceInstancesResponse.js.map +1 -0
- package/v1/model/ShowVaultResponse.d.ts +1 -0
- package/v1/model/ShowVaultResponse.d.ts.map +1 -0
- package/v1/model/ShowVaultResponse.js +8 -24
- package/v1/model/ShowVaultResponse.js.map +1 -0
- package/v1/model/ShowVaultTagRequest.d.ts +3 -2
- package/v1/model/ShowVaultTagRequest.d.ts.map +1 -0
- package/v1/model/ShowVaultTagRequest.js +12 -16
- package/v1/model/ShowVaultTagRequest.js.map +1 -0
- package/v1/model/ShowVaultTagResponse.d.ts +1 -0
- package/v1/model/ShowVaultTagResponse.d.ts.map +1 -0
- package/v1/model/ShowVaultTagResponse.js +16 -36
- package/v1/model/ShowVaultTagResponse.js.map +1 -0
- package/v1/model/StorageUsage.d.ts +5 -4
- package/v1/model/StorageUsage.d.ts.map +1 -0
- package/v1/model/StorageUsage.js +52 -76
- package/v1/model/StorageUsage.js.map +1 -0
- package/v1/model/SyncParam.d.ts +4 -3
- package/v1/model/SyncParam.d.ts.map +1 -0
- package/v1/model/SyncParam.js +20 -28
- package/v1/model/SyncParam.js.map +1 -0
- package/v1/model/SyncReq.d.ts +3 -2
- package/v1/model/SyncReq.d.ts.map +1 -0
- package/v1/model/SyncReq.js +6 -6
- package/v1/model/SyncReq.js.map +1 -0
- package/v1/model/SyncRespBody.d.ts +4 -3
- package/v1/model/SyncRespBody.d.ts.map +1 -0
- package/v1/model/SyncRespBody.js +20 -28
- package/v1/model/SyncRespBody.js.map +1 -0
- package/v1/model/SysTag.d.ts +4 -3
- package/v1/model/SysTag.d.ts.map +1 -0
- package/v1/model/SysTag.js +8 -8
- package/v1/model/SysTag.js.map +1 -0
- package/v1/model/SysTags.d.ts +4 -3
- package/v1/model/SysTags.d.ts.map +1 -0
- package/v1/model/SysTags.js +8 -8
- package/v1/model/SysTags.js.map +1 -0
- package/v1/model/Tag.d.ts +3 -2
- package/v1/model/Tag.d.ts.map +1 -0
- package/v1/model/Tag.js +8 -8
- package/v1/model/Tag.js.map +1 -0
- package/v1/model/TagResource.d.ts +7 -6
- package/v1/model/TagResource.d.ts.map +1 -0
- package/v1/model/TagResource.js +38 -54
- package/v1/model/TagResource.js.map +1 -0
- package/v1/model/TagsReq.d.ts +4 -3
- package/v1/model/TagsReq.d.ts.map +1 -0
- package/v1/model/TagsReq.js +8 -8
- package/v1/model/TagsReq.js.map +1 -0
- package/v1/model/TagsResp.d.ts +1 -0
- package/v1/model/TagsResp.d.ts.map +1 -0
- package/v1/model/TagsResp.js +8 -8
- package/v1/model/TagsResp.js.map +1 -0
- package/v1/model/UnregisterAgentRequest.d.ts +3 -2
- package/v1/model/UnregisterAgentRequest.d.ts.map +1 -0
- package/v1/model/UnregisterAgentRequest.js +12 -16
- package/v1/model/UnregisterAgentRequest.js.map +1 -0
- package/v1/model/UnregisterAgentResponse.d.ts +1 -0
- package/v1/model/UnregisterAgentResponse.d.ts.map +1 -0
- package/v1/model/UnregisterAgentResponse.js +6 -22
- package/v1/model/UnregisterAgentResponse.js.map +1 -0
- package/v1/model/UpdateAgentRequest.d.ts +3 -2
- package/v1/model/UpdateAgentRequest.d.ts.map +1 -0
- package/v1/model/UpdateAgentRequest.js +14 -18
- package/v1/model/UpdateAgentRequest.js.map +1 -0
- package/v1/model/UpdateAgentResponse.d.ts +1 -0
- package/v1/model/UpdateAgentResponse.d.ts.map +1 -0
- package/v1/model/UpdateAgentResponse.js +8 -24
- package/v1/model/UpdateAgentResponse.js.map +1 -0
- package/v1/model/UpdateBackupRequest.d.ts +3 -2
- package/v1/model/UpdateBackupRequest.d.ts.map +1 -0
- package/v1/model/UpdateBackupRequest.js +14 -18
- package/v1/model/UpdateBackupRequest.js.map +1 -0
- package/v1/model/UpdateBackupResponse.d.ts +1 -0
- package/v1/model/UpdateBackupResponse.d.ts.map +1 -0
- package/v1/model/UpdateBackupResponse.js +8 -24
- package/v1/model/UpdateBackupResponse.js.map +1 -0
- package/v1/model/UpdateMember.d.ts +4 -3
- package/v1/model/UpdateMember.d.ts.map +1 -0
- package/v1/model/UpdateMember.js +15 -19
- package/v1/model/UpdateMember.js.map +1 -0
- package/v1/model/UpdateMemberStatusRequest.d.ts +4 -3
- package/v1/model/UpdateMemberStatusRequest.d.ts.map +1 -0
- package/v1/model/UpdateMemberStatusRequest.js +22 -30
- package/v1/model/UpdateMemberStatusRequest.js.map +1 -0
- package/v1/model/UpdateMemberStatusResponse.d.ts +1 -0
- package/v1/model/UpdateMemberStatusResponse.d.ts.map +1 -0
- package/v1/model/UpdateMemberStatusResponse.js +8 -24
- package/v1/model/UpdateMemberStatusResponse.js.map +1 -0
- package/v1/model/UpdateOrderRequest.d.ts +3 -2
- package/v1/model/UpdateOrderRequest.d.ts.map +1 -0
- package/v1/model/UpdateOrderRequest.js +14 -18
- package/v1/model/UpdateOrderRequest.js.map +1 -0
- package/v1/model/UpdateOrderResponse.d.ts +1 -0
- package/v1/model/UpdateOrderResponse.d.ts.map +1 -0
- package/v1/model/UpdateOrderResponse.js +12 -28
- package/v1/model/UpdateOrderResponse.js.map +1 -0
- package/v1/model/UpdatePolicyRequest.d.ts +3 -2
- package/v1/model/UpdatePolicyRequest.d.ts.map +1 -0
- package/v1/model/UpdatePolicyRequest.js +14 -18
- package/v1/model/UpdatePolicyRequest.js.map +1 -0
- package/v1/model/UpdatePolicyResponse.d.ts +1 -0
- package/v1/model/UpdatePolicyResponse.d.ts.map +1 -0
- package/v1/model/UpdatePolicyResponse.js +8 -24
- package/v1/model/UpdatePolicyResponse.js.map +1 -0
- package/v1/model/UpdateVaultRequest.d.ts +3 -2
- package/v1/model/UpdateVaultRequest.d.ts.map +1 -0
- package/v1/model/UpdateVaultRequest.js +14 -18
- package/v1/model/UpdateVaultRequest.js.map +1 -0
- package/v1/model/UpdateVaultResponse.d.ts +1 -0
- package/v1/model/UpdateVaultResponse.d.ts.map +1 -0
- package/v1/model/UpdateVaultResponse.js +8 -24
- package/v1/model/UpdateVaultResponse.js.map +1 -0
- package/v1/model/Vault.d.ts +8 -7
- package/v1/model/Vault.d.ts.map +1 -0
- package/v1/model/Vault.js +90 -126
- package/v1/model/Vault.js.map +1 -0
- package/v1/model/VaultAddResourceReq.d.ts +3 -2
- package/v1/model/VaultAddResourceReq.d.ts.map +1 -0
- package/v1/model/VaultAddResourceReq.js +6 -6
- package/v1/model/VaultAddResourceReq.js.map +1 -0
- package/v1/model/VaultAssociate.d.ts +1 -0
- package/v1/model/VaultAssociate.d.ts.map +1 -0
- package/v1/model/VaultAssociate.js +28 -40
- package/v1/model/VaultAssociate.js.map +1 -0
- package/v1/model/VaultBackup.d.ts +3 -2
- package/v1/model/VaultBackup.d.ts.map +1 -0
- package/v1/model/VaultBackup.js +14 -18
- package/v1/model/VaultBackup.js.map +1 -0
- package/v1/model/VaultBackupReq.d.ts +3 -2
- package/v1/model/VaultBackupReq.d.ts.map +1 -0
- package/v1/model/VaultBackupReq.js +6 -6
- package/v1/model/VaultBackupReq.js.map +1 -0
- package/v1/model/VaultBatchUpdate.d.ts +1 -0
- package/v1/model/VaultBatchUpdate.d.ts.map +1 -0
- package/v1/model/VaultBatchUpdate.js +14 -18
- package/v1/model/VaultBatchUpdate.js.map +1 -0
- package/v1/model/VaultBindRules.d.ts +1 -0
- package/v1/model/VaultBindRules.d.ts.map +1 -0
- package/v1/model/VaultBindRules.js +6 -6
- package/v1/model/VaultBindRules.js.map +1 -0
- package/v1/model/VaultCreate.d.ts +5 -4
- package/v1/model/VaultCreate.d.ts.map +1 -0
- package/v1/model/VaultCreate.js +80 -112
- package/v1/model/VaultCreate.js.map +1 -0
- package/v1/model/VaultCreateParameters.d.ts +1 -0
- package/v1/model/VaultCreateParameters.d.ts.map +1 -0
- package/v1/model/VaultCreateParameters.js +12 -16
- package/v1/model/VaultCreateParameters.js.map +1 -0
- package/v1/model/VaultCreateReq.d.ts +3 -2
- package/v1/model/VaultCreateReq.d.ts.map +1 -0
- package/v1/model/VaultCreateReq.js +6 -6
- package/v1/model/VaultCreateReq.js.map +1 -0
- package/v1/model/VaultCreateResource.d.ts +8 -7
- package/v1/model/VaultCreateResource.d.ts.map +1 -0
- package/v1/model/VaultCreateResource.js +122 -170
- package/v1/model/VaultCreateResource.js.map +1 -0
- package/v1/model/VaultDissociate.d.ts +3 -2
- package/v1/model/VaultDissociate.d.ts.map +1 -0
- package/v1/model/VaultDissociate.js +12 -16
- package/v1/model/VaultDissociate.js.map +1 -0
- package/v1/model/VaultGet.d.ts +9 -8
- package/v1/model/VaultGet.d.ts.map +1 -0
- package/v1/model/VaultGet.js +100 -140
- package/v1/model/VaultGet.js.map +1 -0
- package/v1/model/VaultMigrateResourceReq.d.ts +4 -3
- package/v1/model/VaultMigrateResourceReq.d.ts.map +1 -0
- package/v1/model/VaultMigrateResourceReq.js +20 -28
- package/v1/model/VaultMigrateResourceReq.js.map +1 -0
- package/v1/model/VaultOrder.d.ts +4 -3
- package/v1/model/VaultOrder.d.ts.map +1 -0
- package/v1/model/VaultOrder.js +66 -90
- package/v1/model/VaultOrder.js.map +1 -0
- package/v1/model/VaultOrderCreateReqs.d.ts +3 -2
- package/v1/model/VaultOrderCreateReqs.d.ts.map +1 -0
- package/v1/model/VaultOrderCreateReqs.js +6 -6
- package/v1/model/VaultOrderCreateReqs.js.map +1 -0
- package/v1/model/VaultPolicyResp.d.ts +4 -3
- package/v1/model/VaultPolicyResp.d.ts.map +1 -0
- package/v1/model/VaultPolicyResp.js +28 -40
- package/v1/model/VaultPolicyResp.js.map +1 -0
- package/v1/model/VaultRemoveResourceReq.d.ts +3 -2
- package/v1/model/VaultRemoveResourceReq.d.ts.map +1 -0
- package/v1/model/VaultRemoveResourceReq.js +12 -16
- package/v1/model/VaultRemoveResourceReq.js.map +1 -0
- package/v1/model/VaultResourceInstancesReq.d.ts +9 -8
- package/v1/model/VaultResourceInstancesReq.d.ts.map +1 -0
- package/v1/model/VaultResourceInstancesReq.js +72 -100
- package/v1/model/VaultResourceInstancesReq.js.map +1 -0
- package/v1/model/VaultSetResourceReq.d.ts +5 -4
- package/v1/model/VaultSetResourceReq.d.ts.map +1 -0
- package/v1/model/VaultSetResourceReq.js +15 -19
- package/v1/model/VaultSetResourceReq.js.map +1 -0
- package/v1/model/VaultTagsCreateReq.d.ts +1 -0
- package/v1/model/VaultTagsCreateReq.d.ts.map +1 -0
- package/v1/model/VaultTagsCreateReq.js +6 -6
- package/v1/model/VaultTagsCreateReq.js.map +1 -0
- package/v1/model/VaultUpdate.d.ts +1 -0
- package/v1/model/VaultUpdate.d.ts.map +1 -0
- package/v1/model/VaultUpdate.js +42 -58
- package/v1/model/VaultUpdate.js.map +1 -0
- package/v1/model/VaultUpdateReq.d.ts +3 -2
- package/v1/model/VaultUpdateReq.d.ts.map +1 -0
- package/v1/model/VaultUpdateReq.js +6 -6
- package/v1/model/VaultUpdateReq.js.map +1 -0
- package/v1/public-api.d.ts +1 -0
- package/v1/public-api.d.ts.map +1 -0
- package/v1/public-api.js +1 -0
- package/v1/public-api.js.map +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
package/v1/CbrClient.js
CHANGED
@@ -1,91 +1,76 @@
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
3
|
exports.RequiredError = exports.ParamCreater = exports.CbrClient = void 0;
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
4
|
+
const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
|
5
|
+
const AddAgentPathRequest_1 = require("./model/AddAgentPathRequest");
|
6
|
+
const AddMemberRequest_1 = require("./model/AddMemberRequest");
|
7
|
+
const AddVaultResourceRequest_1 = require("./model/AddVaultResourceRequest");
|
8
|
+
const AssociateVaultPolicyRequest_1 = require("./model/AssociateVaultPolicyRequest");
|
9
|
+
const BatchCreateAndDeleteVaultTagsRequest_1 = require("./model/BatchCreateAndDeleteVaultTagsRequest");
|
10
|
+
const BatchUpdateVaultRequest_1 = require("./model/BatchUpdateVaultRequest");
|
11
|
+
const CheckAgentRequest_1 = require("./model/CheckAgentRequest");
|
12
|
+
const CopyBackupRequest_1 = require("./model/CopyBackupRequest");
|
13
|
+
const CopyCheckpointRequest_1 = require("./model/CopyCheckpointRequest");
|
14
|
+
const CreateCheckpointRequest_1 = require("./model/CreateCheckpointRequest");
|
15
|
+
const CreatePolicyRequest_1 = require("./model/CreatePolicyRequest");
|
16
|
+
const CreatePostPaidVaultRequest_1 = require("./model/CreatePostPaidVaultRequest");
|
17
|
+
const CreateVaultRequest_1 = require("./model/CreateVaultRequest");
|
18
|
+
const CreateVaultTagsRequest_1 = require("./model/CreateVaultTagsRequest");
|
19
|
+
const DeleteBackupRequest_1 = require("./model/DeleteBackupRequest");
|
20
|
+
const DeleteMemberRequest_1 = require("./model/DeleteMemberRequest");
|
21
|
+
const DeletePolicyRequest_1 = require("./model/DeletePolicyRequest");
|
22
|
+
const DeleteVaultRequest_1 = require("./model/DeleteVaultRequest");
|
23
|
+
const DeleteVaultTagRequest_1 = require("./model/DeleteVaultTagRequest");
|
24
|
+
const DisassociateVaultPolicyRequest_1 = require("./model/DisassociateVaultPolicyRequest");
|
25
|
+
const ImportBackupRequest_1 = require("./model/ImportBackupRequest");
|
26
|
+
const ImportCheckpointRequest_1 = require("./model/ImportCheckpointRequest");
|
27
|
+
const ListAgentRequest_1 = require("./model/ListAgentRequest");
|
28
|
+
const ListBackupsRequest_1 = require("./model/ListBackupsRequest");
|
29
|
+
const ListDomainProjectsRequest_1 = require("./model/ListDomainProjectsRequest");
|
30
|
+
const ListExternalVaultRequest_1 = require("./model/ListExternalVaultRequest");
|
31
|
+
const ListOpLogsRequest_1 = require("./model/ListOpLogsRequest");
|
32
|
+
const ListPoliciesRequest_1 = require("./model/ListPoliciesRequest");
|
33
|
+
const ListProtectableRequest_1 = require("./model/ListProtectableRequest");
|
34
|
+
const ListVaultRequest_1 = require("./model/ListVaultRequest");
|
35
|
+
const MigrateDomainRequest_1 = require("./model/MigrateDomainRequest");
|
36
|
+
const MigrateVaultResourceRequest_1 = require("./model/MigrateVaultResourceRequest");
|
37
|
+
const RegisterAgentRequest_1 = require("./model/RegisterAgentRequest");
|
38
|
+
const RemoveAgentPathRequest_1 = require("./model/RemoveAgentPathRequest");
|
39
|
+
const RemoveVaultResourceRequest_1 = require("./model/RemoveVaultResourceRequest");
|
40
|
+
const RestoreBackupRequest_1 = require("./model/RestoreBackupRequest");
|
41
|
+
const SetVaultResourceRequest_1 = require("./model/SetVaultResourceRequest");
|
42
|
+
const ShowAgentRequest_1 = require("./model/ShowAgentRequest");
|
43
|
+
const ShowBackupRequest_1 = require("./model/ShowBackupRequest");
|
44
|
+
const ShowCheckpointRequest_1 = require("./model/ShowCheckpointRequest");
|
45
|
+
const ShowDomainRequest_1 = require("./model/ShowDomainRequest");
|
46
|
+
const ShowMemberDetailRequest_1 = require("./model/ShowMemberDetailRequest");
|
47
|
+
const ShowMembersDetailRequest_1 = require("./model/ShowMembersDetailRequest");
|
48
|
+
const ShowMetadataRequest_1 = require("./model/ShowMetadataRequest");
|
49
|
+
const ShowMigrateStatusRequest_1 = require("./model/ShowMigrateStatusRequest");
|
50
|
+
const ShowOpLogRequest_1 = require("./model/ShowOpLogRequest");
|
51
|
+
const ShowPolicyRequest_1 = require("./model/ShowPolicyRequest");
|
52
|
+
const ShowProtectableRequest_1 = require("./model/ShowProtectableRequest");
|
53
|
+
const ShowStorageUsageRequest_1 = require("./model/ShowStorageUsageRequest");
|
54
|
+
const ShowVaultRequest_1 = require("./model/ShowVaultRequest");
|
55
|
+
const ShowVaultResourceInstancesRequest_1 = require("./model/ShowVaultResourceInstancesRequest");
|
56
|
+
const ShowVaultTagRequest_1 = require("./model/ShowVaultTagRequest");
|
57
|
+
const UnregisterAgentRequest_1 = require("./model/UnregisterAgentRequest");
|
58
|
+
const UpdateAgentRequest_1 = require("./model/UpdateAgentRequest");
|
59
|
+
const UpdateBackupRequest_1 = require("./model/UpdateBackupRequest");
|
60
|
+
const UpdateMemberStatusRequest_1 = require("./model/UpdateMemberStatusRequest");
|
61
|
+
const UpdateOrderRequest_1 = require("./model/UpdateOrderRequest");
|
62
|
+
const UpdatePolicyRequest_1 = require("./model/UpdatePolicyRequest");
|
63
|
+
const UpdateVaultRequest_1 = require("./model/UpdateVaultRequest");
|
64
|
+
class CbrClient {
|
65
|
+
static newBuilder() {
|
66
|
+
return new ClientBuilder_1.ClientBuilder(newClient);
|
67
|
+
}
|
68
|
+
constructor(client) {
|
81
69
|
this.hcClient = client;
|
82
70
|
}
|
83
|
-
|
84
|
-
return new ClientBuilder_1.ClientBuilder(newClient);
|
85
|
-
};
|
86
|
-
CbrClient.prototype.getPath = function () {
|
71
|
+
getPath() {
|
87
72
|
return __dirname;
|
88
|
-
}
|
73
|
+
}
|
89
74
|
/**
|
90
75
|
* 对客户端新增备份路径,新增的路径不会校验是否存在。
|
91
76
|
*
|
@@ -97,12 +82,12 @@ var CbrClient = /** @class */ (function () {
|
|
97
82
|
* @param {*} [options] Override http request option.
|
98
83
|
* @throws {RequiredError}
|
99
84
|
*/
|
100
|
-
|
101
|
-
|
85
|
+
addAgentPath(addAgentPathRequest) {
|
86
|
+
const options = (0, exports.ParamCreater)().addAgentPath(addAgentPathRequest);
|
102
87
|
// @ts-ignore
|
103
88
|
options['responseHeaders'] = [''];
|
104
89
|
return this.hcClient.sendRequest(options);
|
105
|
-
}
|
90
|
+
}
|
106
91
|
/**
|
107
92
|
* 添加备份可共享的成员,只有云服务器备份可以添加备份共享成员,且仅支持在同一区域的不同用户间共享。
|
108
93
|
*
|
@@ -114,12 +99,12 @@ var CbrClient = /** @class */ (function () {
|
|
114
99
|
* @param {*} [options] Override http request option.
|
115
100
|
* @throws {RequiredError}
|
116
101
|
*/
|
117
|
-
|
118
|
-
|
102
|
+
addMember(addMemberRequest) {
|
103
|
+
const options = (0, exports.ParamCreater)().addMember(addMemberRequest);
|
119
104
|
// @ts-ignore
|
120
105
|
options['responseHeaders'] = [''];
|
121
106
|
return this.hcClient.sendRequest(options);
|
122
|
-
}
|
107
|
+
}
|
123
108
|
/**
|
124
109
|
* 存储库添加资源
|
125
110
|
*
|
@@ -131,12 +116,12 @@ var CbrClient = /** @class */ (function () {
|
|
131
116
|
* @param {*} [options] Override http request option.
|
132
117
|
* @throws {RequiredError}
|
133
118
|
*/
|
134
|
-
|
135
|
-
|
119
|
+
addVaultResource(addVaultResourceRequest) {
|
120
|
+
const options = (0, exports.ParamCreater)().addVaultResource(addVaultResourceRequest);
|
136
121
|
// @ts-ignore
|
137
122
|
options['responseHeaders'] = [''];
|
138
123
|
return this.hcClient.sendRequest(options);
|
139
|
-
}
|
124
|
+
}
|
140
125
|
/**
|
141
126
|
* 存储库设置策略
|
142
127
|
*
|
@@ -148,12 +133,12 @@ var CbrClient = /** @class */ (function () {
|
|
148
133
|
* @param {*} [options] Override http request option.
|
149
134
|
* @throws {RequiredError}
|
150
135
|
*/
|
151
|
-
|
152
|
-
|
136
|
+
associateVaultPolicy(associateVaultPolicyRequest) {
|
137
|
+
const options = (0, exports.ParamCreater)().associateVaultPolicy(associateVaultPolicyRequest);
|
153
138
|
// @ts-ignore
|
154
139
|
options['responseHeaders'] = [''];
|
155
140
|
return this.hcClient.sendRequest(options);
|
156
|
-
}
|
141
|
+
}
|
157
142
|
/**
|
158
143
|
* 为指定实例批量添加或删除标签
|
159
144
|
* 标签管理服务需要使用该接口批量管理实例的标签。
|
@@ -172,12 +157,12 @@ var CbrClient = /** @class */ (function () {
|
|
172
157
|
* @param {*} [options] Override http request option.
|
173
158
|
* @throws {RequiredError}
|
174
159
|
*/
|
175
|
-
|
176
|
-
|
160
|
+
batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest) {
|
161
|
+
const options = (0, exports.ParamCreater)().batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest);
|
177
162
|
// @ts-ignore
|
178
163
|
options['responseHeaders'] = [''];
|
179
164
|
return this.hcClient.sendRequest(options);
|
180
|
-
}
|
165
|
+
}
|
181
166
|
/**
|
182
167
|
* 批量修改项目下所有存储库
|
183
168
|
*
|
@@ -188,12 +173,12 @@ var CbrClient = /** @class */ (function () {
|
|
188
173
|
* @param {*} [options] Override http request option.
|
189
174
|
* @throws {RequiredError}
|
190
175
|
*/
|
191
|
-
|
192
|
-
|
176
|
+
batchUpdateVault(batchUpdateVaultRequest) {
|
177
|
+
const options = (0, exports.ParamCreater)().batchUpdateVault(batchUpdateVaultRequest);
|
193
178
|
// @ts-ignore
|
194
179
|
options['responseHeaders'] = [''];
|
195
180
|
return this.hcClient.sendRequest(options);
|
196
|
-
}
|
181
|
+
}
|
197
182
|
/**
|
198
183
|
* 检查应用一致性Agent状态
|
199
184
|
*
|
@@ -204,12 +189,12 @@ var CbrClient = /** @class */ (function () {
|
|
204
189
|
* @param {*} [options] Override http request option.
|
205
190
|
* @throws {RequiredError}
|
206
191
|
*/
|
207
|
-
|
208
|
-
|
192
|
+
checkAgent(checkAgentRequest) {
|
193
|
+
const options = (0, exports.ParamCreater)().checkAgent(checkAgentRequest);
|
209
194
|
// @ts-ignore
|
210
195
|
options['responseHeaders'] = [''];
|
211
196
|
return this.hcClient.sendRequest(options);
|
212
|
-
}
|
197
|
+
}
|
213
198
|
/**
|
214
199
|
* 跨区域复制备份。
|
215
200
|
*
|
@@ -221,12 +206,12 @@ var CbrClient = /** @class */ (function () {
|
|
221
206
|
* @param {*} [options] Override http request option.
|
222
207
|
* @throws {RequiredError}
|
223
208
|
*/
|
224
|
-
|
225
|
-
|
209
|
+
copyBackup(copyBackupRequest) {
|
210
|
+
const options = (0, exports.ParamCreater)().copyBackup(copyBackupRequest);
|
226
211
|
// @ts-ignore
|
227
212
|
options['responseHeaders'] = [''];
|
228
213
|
return this.hcClient.sendRequest(options);
|
229
|
-
}
|
214
|
+
}
|
230
215
|
/**
|
231
216
|
* 执行复制
|
232
217
|
*
|
@@ -237,12 +222,12 @@ var CbrClient = /** @class */ (function () {
|
|
237
222
|
* @param {*} [options] Override http request option.
|
238
223
|
* @throws {RequiredError}
|
239
224
|
*/
|
240
|
-
|
241
|
-
|
225
|
+
copyCheckpoint(copyCheckpointRequest) {
|
226
|
+
const options = (0, exports.ParamCreater)().copyCheckpoint(copyCheckpointRequest);
|
242
227
|
// @ts-ignore
|
243
228
|
options['responseHeaders'] = [''];
|
244
229
|
return this.hcClient.sendRequest(options);
|
245
|
-
}
|
230
|
+
}
|
246
231
|
/**
|
247
232
|
* 对存储库执行备份,生成备份还原点
|
248
233
|
*
|
@@ -253,12 +238,12 @@ var CbrClient = /** @class */ (function () {
|
|
253
238
|
* @param {*} [options] Override http request option.
|
254
239
|
* @throws {RequiredError}
|
255
240
|
*/
|
256
|
-
|
257
|
-
|
241
|
+
createCheckpoint(createCheckpointRequest) {
|
242
|
+
const options = (0, exports.ParamCreater)().createCheckpoint(createCheckpointRequest);
|
258
243
|
// @ts-ignore
|
259
244
|
options['responseHeaders'] = [''];
|
260
245
|
return this.hcClient.sendRequest(options);
|
261
|
-
}
|
246
|
+
}
|
262
247
|
/**
|
263
248
|
* 创建策略,策略分为备份策略和复制策略。
|
264
249
|
*
|
@@ -269,12 +254,12 @@ var CbrClient = /** @class */ (function () {
|
|
269
254
|
* @param {*} [options] Override http request option.
|
270
255
|
* @throws {RequiredError}
|
271
256
|
*/
|
272
|
-
|
273
|
-
|
257
|
+
createPolicy(createPolicyRequest) {
|
258
|
+
const options = (0, exports.ParamCreater)().createPolicy(createPolicyRequest);
|
274
259
|
// @ts-ignore
|
275
260
|
options['responseHeaders'] = [''];
|
276
261
|
return this.hcClient.sendRequest(options);
|
277
|
-
}
|
262
|
+
}
|
278
263
|
/**
|
279
264
|
* 创建包周期存储库
|
280
265
|
*
|
@@ -285,12 +270,12 @@ var CbrClient = /** @class */ (function () {
|
|
285
270
|
* @param {*} [options] Override http request option.
|
286
271
|
* @throws {RequiredError}
|
287
272
|
*/
|
288
|
-
|
289
|
-
|
273
|
+
createPostPaidVault(createPostPaidVaultRequest) {
|
274
|
+
const options = (0, exports.ParamCreater)().createPostPaidVault(createPostPaidVaultRequest);
|
290
275
|
// @ts-ignore
|
291
276
|
options['responseHeaders'] = [''];
|
292
277
|
return this.hcClient.sendRequest(options);
|
293
|
-
}
|
278
|
+
}
|
294
279
|
/**
|
295
280
|
* 创建存储库
|
296
281
|
*
|
@@ -301,12 +286,12 @@ var CbrClient = /** @class */ (function () {
|
|
301
286
|
* @param {*} [options] Override http request option.
|
302
287
|
* @throws {RequiredError}
|
303
288
|
*/
|
304
|
-
|
305
|
-
|
289
|
+
createVault(createVaultRequest) {
|
290
|
+
const options = (0, exports.ParamCreater)().createVault(createVaultRequest);
|
306
291
|
// @ts-ignore
|
307
292
|
options['responseHeaders'] = [''];
|
308
293
|
return this.hcClient.sendRequest(options);
|
309
|
-
}
|
294
|
+
}
|
310
295
|
/**
|
311
296
|
* 一个资源上最多有10个标签。
|
312
297
|
* 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
@@ -319,12 +304,12 @@ var CbrClient = /** @class */ (function () {
|
|
319
304
|
* @param {*} [options] Override http request option.
|
320
305
|
* @throws {RequiredError}
|
321
306
|
*/
|
322
|
-
|
323
|
-
|
307
|
+
createVaultTags(createVaultTagsRequest) {
|
308
|
+
const options = (0, exports.ParamCreater)().createVaultTags(createVaultTagsRequest);
|
324
309
|
// @ts-ignore
|
325
310
|
options['responseHeaders'] = [''];
|
326
311
|
return this.hcClient.sendRequest(options);
|
327
|
-
}
|
312
|
+
}
|
328
313
|
/**
|
329
314
|
* 删除单个备份。
|
330
315
|
*
|
@@ -335,12 +320,12 @@ var CbrClient = /** @class */ (function () {
|
|
335
320
|
* @param {*} [options] Override http request option.
|
336
321
|
* @throws {RequiredError}
|
337
322
|
*/
|
338
|
-
|
339
|
-
|
323
|
+
deleteBackup(deleteBackupRequest) {
|
324
|
+
const options = (0, exports.ParamCreater)().deleteBackup(deleteBackupRequest);
|
340
325
|
// @ts-ignore
|
341
326
|
options['responseHeaders'] = [''];
|
342
327
|
return this.hcClient.sendRequest(options);
|
343
|
-
}
|
328
|
+
}
|
344
329
|
/**
|
345
330
|
* 删除指定的备份共享成员
|
346
331
|
*
|
@@ -352,12 +337,12 @@ var CbrClient = /** @class */ (function () {
|
|
352
337
|
* @param {*} [options] Override http request option.
|
353
338
|
* @throws {RequiredError}
|
354
339
|
*/
|
355
|
-
|
356
|
-
|
340
|
+
deleteMember(deleteMemberRequest) {
|
341
|
+
const options = (0, exports.ParamCreater)().deleteMember(deleteMemberRequest);
|
357
342
|
// @ts-ignore
|
358
343
|
options['responseHeaders'] = [''];
|
359
344
|
return this.hcClient.sendRequest(options);
|
360
|
-
}
|
345
|
+
}
|
361
346
|
/**
|
362
347
|
* 删除策略
|
363
348
|
*
|
@@ -368,12 +353,12 @@ var CbrClient = /** @class */ (function () {
|
|
368
353
|
* @param {*} [options] Override http request option.
|
369
354
|
* @throws {RequiredError}
|
370
355
|
*/
|
371
|
-
|
372
|
-
|
356
|
+
deletePolicy(deletePolicyRequest) {
|
357
|
+
const options = (0, exports.ParamCreater)().deletePolicy(deletePolicyRequest);
|
373
358
|
// @ts-ignore
|
374
359
|
options['responseHeaders'] = [''];
|
375
360
|
return this.hcClient.sendRequest(options);
|
376
|
-
}
|
361
|
+
}
|
377
362
|
/**
|
378
363
|
* 删除存储库。若删除储存库,将一并删除存储库中的所有备份。
|
379
364
|
*
|
@@ -384,12 +369,12 @@ var CbrClient = /** @class */ (function () {
|
|
384
369
|
* @param {*} [options] Override http request option.
|
385
370
|
* @throws {RequiredError}
|
386
371
|
*/
|
387
|
-
|
388
|
-
|
372
|
+
deleteVault(deleteVaultRequest) {
|
373
|
+
const options = (0, exports.ParamCreater)().deleteVault(deleteVaultRequest);
|
389
374
|
// @ts-ignore
|
390
375
|
options['responseHeaders'] = [''];
|
391
376
|
return this.hcClient.sendRequest(options);
|
392
|
-
}
|
377
|
+
}
|
393
378
|
/**
|
394
379
|
* 幂等接口:删除时,如果删除的标签不存在,返回404。Key不能为空或者空字符串。
|
395
380
|
*
|
@@ -401,12 +386,12 @@ var CbrClient = /** @class */ (function () {
|
|
401
386
|
* @param {*} [options] Override http request option.
|
402
387
|
* @throws {RequiredError}
|
403
388
|
*/
|
404
|
-
|
405
|
-
|
389
|
+
deleteVaultTag(deleteVaultTagRequest) {
|
390
|
+
const options = (0, exports.ParamCreater)().deleteVaultTag(deleteVaultTagRequest);
|
406
391
|
// @ts-ignore
|
407
392
|
options['responseHeaders'] = [''];
|
408
393
|
return this.hcClient.sendRequest(options);
|
409
|
-
}
|
394
|
+
}
|
410
395
|
/**
|
411
396
|
* 存储库解除策略
|
412
397
|
*
|
@@ -418,12 +403,12 @@ var CbrClient = /** @class */ (function () {
|
|
418
403
|
* @param {*} [options] Override http request option.
|
419
404
|
* @throws {RequiredError}
|
420
405
|
*/
|
421
|
-
|
422
|
-
|
406
|
+
disassociateVaultPolicy(disassociateVaultPolicyRequest) {
|
407
|
+
const options = (0, exports.ParamCreater)().disassociateVaultPolicy(disassociateVaultPolicyRequest);
|
423
408
|
// @ts-ignore
|
424
409
|
options['responseHeaders'] = [''];
|
425
410
|
return this.hcClient.sendRequest(options);
|
426
|
-
}
|
411
|
+
}
|
427
412
|
/**
|
428
413
|
* 同步线下混合云VMware备份副本
|
429
414
|
*
|
@@ -434,12 +419,12 @@ var CbrClient = /** @class */ (function () {
|
|
434
419
|
* @param {*} [options] Override http request option.
|
435
420
|
* @throws {RequiredError}
|
436
421
|
*/
|
437
|
-
|
438
|
-
|
422
|
+
importBackup(importBackupRequest) {
|
423
|
+
const options = (0, exports.ParamCreater)().importBackup(importBackupRequest);
|
439
424
|
// @ts-ignore
|
440
425
|
options['responseHeaders'] = [''];
|
441
426
|
return this.hcClient.sendRequest(options);
|
442
|
-
}
|
427
|
+
}
|
443
428
|
/**
|
444
429
|
* 针对vault同步备份副本
|
445
430
|
*
|
@@ -450,12 +435,12 @@ var CbrClient = /** @class */ (function () {
|
|
450
435
|
* @param {*} [options] Override http request option.
|
451
436
|
* @throws {RequiredError}
|
452
437
|
*/
|
453
|
-
|
454
|
-
|
438
|
+
importCheckpoint(importCheckpointRequest) {
|
439
|
+
const options = (0, exports.ParamCreater)().importCheckpoint(importCheckpointRequest);
|
455
440
|
// @ts-ignore
|
456
441
|
options['responseHeaders'] = [''];
|
457
442
|
return this.hcClient.sendRequest(options);
|
458
|
-
}
|
443
|
+
}
|
459
444
|
/**
|
460
445
|
* 查询客户端列表
|
461
446
|
*
|
@@ -469,12 +454,12 @@ var CbrClient = /** @class */ (function () {
|
|
469
454
|
* @param {*} [options] Override http request option.
|
470
455
|
* @throws {RequiredError}
|
471
456
|
*/
|
472
|
-
|
473
|
-
|
457
|
+
listAgent(listAgentRequest) {
|
458
|
+
const options = (0, exports.ParamCreater)().listAgent(listAgentRequest);
|
474
459
|
// @ts-ignore
|
475
460
|
options['responseHeaders'] = [''];
|
476
461
|
return this.hcClient.sendRequest(options);
|
477
|
-
}
|
462
|
+
}
|
478
463
|
/**
|
479
464
|
* 查询所有副本
|
480
465
|
*
|
@@ -507,12 +492,12 @@ var CbrClient = /** @class */ (function () {
|
|
507
492
|
* @param {*} [options] Override http request option.
|
508
493
|
* @throws {RequiredError}
|
509
494
|
*/
|
510
|
-
|
511
|
-
|
495
|
+
listBackups(listBackupsRequest) {
|
496
|
+
const options = (0, exports.ParamCreater)().listBackups(listBackupsRequest);
|
512
497
|
// @ts-ignore
|
513
498
|
options['responseHeaders'] = [''];
|
514
499
|
return this.hcClient.sendRequest(options);
|
515
|
-
}
|
500
|
+
}
|
516
501
|
/**
|
517
502
|
* 根据指定租户名称查询项目列表。
|
518
503
|
*
|
@@ -523,12 +508,12 @@ var CbrClient = /** @class */ (function () {
|
|
523
508
|
* @param {*} [options] Override http request option.
|
524
509
|
* @throws {RequiredError}
|
525
510
|
*/
|
526
|
-
|
527
|
-
|
511
|
+
listDomainProjects(listDomainProjectsRequest) {
|
512
|
+
const options = (0, exports.ParamCreater)().listDomainProjects(listDomainProjectsRequest);
|
528
513
|
// @ts-ignore
|
529
514
|
options['responseHeaders'] = [''];
|
530
515
|
return this.hcClient.sendRequest(options);
|
531
|
-
}
|
516
|
+
}
|
532
517
|
/**
|
533
518
|
* 查询其他区域的存储库列表
|
534
519
|
*
|
@@ -546,12 +531,12 @@ var CbrClient = /** @class */ (function () {
|
|
546
531
|
* @param {*} [options] Override http request option.
|
547
532
|
* @throws {RequiredError}
|
548
533
|
*/
|
549
|
-
|
550
|
-
|
534
|
+
listExternalVault(listExternalVaultRequest) {
|
535
|
+
const options = (0, exports.ParamCreater)().listExternalVault(listExternalVaultRequest);
|
551
536
|
// @ts-ignore
|
552
537
|
options['responseHeaders'] = [''];
|
553
538
|
return this.hcClient.sendRequest(options);
|
554
|
-
}
|
539
|
+
}
|
555
540
|
/**
|
556
541
|
* 查询任务列表
|
557
542
|
*
|
@@ -573,12 +558,12 @@ var CbrClient = /** @class */ (function () {
|
|
573
558
|
* @param {*} [options] Override http request option.
|
574
559
|
* @throws {RequiredError}
|
575
560
|
*/
|
576
|
-
|
577
|
-
|
561
|
+
listOpLogs(listOpLogsRequest) {
|
562
|
+
const options = (0, exports.ParamCreater)().listOpLogs(listOpLogsRequest);
|
578
563
|
// @ts-ignore
|
579
564
|
options['responseHeaders'] = [''];
|
580
565
|
return this.hcClient.sendRequest(options);
|
581
|
-
}
|
566
|
+
}
|
582
567
|
/**
|
583
568
|
* 查询策略列表
|
584
569
|
*
|
@@ -590,12 +575,12 @@ var CbrClient = /** @class */ (function () {
|
|
590
575
|
* @param {*} [options] Override http request option.
|
591
576
|
* @throws {RequiredError}
|
592
577
|
*/
|
593
|
-
|
594
|
-
|
578
|
+
listPolicies(listPoliciesRequest) {
|
579
|
+
const options = (0, exports.ParamCreater)().listPolicies(listPoliciesRequest);
|
595
580
|
// @ts-ignore
|
596
581
|
options['responseHeaders'] = [''];
|
597
582
|
return this.hcClient.sendRequest(options);
|
598
|
-
}
|
583
|
+
}
|
599
584
|
/**
|
600
585
|
* 查询租户的企业项目信息
|
601
586
|
*
|
@@ -605,12 +590,12 @@ var CbrClient = /** @class */ (function () {
|
|
605
590
|
* @param {*} [options] Override http request option.
|
606
591
|
* @throws {RequiredError}
|
607
592
|
*/
|
608
|
-
|
609
|
-
|
593
|
+
listProjects(listProjectsRequest) {
|
594
|
+
const options = (0, exports.ParamCreater)().listProjects();
|
610
595
|
// @ts-ignore
|
611
596
|
options['responseHeaders'] = [''];
|
612
597
|
return this.hcClient.sendRequest(options);
|
613
|
-
}
|
598
|
+
}
|
614
599
|
/**
|
615
600
|
* 查询可保护性资源列表
|
616
601
|
*
|
@@ -628,12 +613,12 @@ var CbrClient = /** @class */ (function () {
|
|
628
613
|
* @param {*} [options] Override http request option.
|
629
614
|
* @throws {RequiredError}
|
630
615
|
*/
|
631
|
-
|
632
|
-
|
616
|
+
listProtectable(listProtectableRequest) {
|
617
|
+
const options = (0, exports.ParamCreater)().listProtectable(listProtectableRequest);
|
633
618
|
// @ts-ignore
|
634
619
|
options['responseHeaders'] = [''];
|
635
620
|
return this.hcClient.sendRequest(options);
|
636
|
-
}
|
621
|
+
}
|
637
622
|
/**
|
638
623
|
* 查询存储库列表
|
639
624
|
*
|
@@ -654,12 +639,12 @@ var CbrClient = /** @class */ (function () {
|
|
654
639
|
* @param {*} [options] Override http request option.
|
655
640
|
* @throws {RequiredError}
|
656
641
|
*/
|
657
|
-
|
658
|
-
|
642
|
+
listVault(listVaultRequest) {
|
643
|
+
const options = (0, exports.ParamCreater)().listVault(listVaultRequest);
|
659
644
|
// @ts-ignore
|
660
645
|
options['responseHeaders'] = [''];
|
661
646
|
return this.hcClient.sendRequest(options);
|
662
|
-
}
|
647
|
+
}
|
663
648
|
/**
|
664
649
|
* 将CSBS/VBS资源迁移到CBR。
|
665
650
|
*
|
@@ -670,12 +655,12 @@ var CbrClient = /** @class */ (function () {
|
|
670
655
|
* @param {*} [options] Override http request option.
|
671
656
|
* @throws {RequiredError}
|
672
657
|
*/
|
673
|
-
|
674
|
-
|
658
|
+
migrateDomain(migrateDomainRequest) {
|
659
|
+
const options = (0, exports.ParamCreater)().migrateDomain(migrateDomainRequest);
|
675
660
|
// @ts-ignore
|
676
661
|
options['responseHeaders'] = [''];
|
677
662
|
return this.hcClient.sendRequest(options);
|
678
|
-
}
|
663
|
+
}
|
679
664
|
/**
|
680
665
|
* 支持资源迁移到另一个存储库,不删除备份。
|
681
666
|
*
|
@@ -687,12 +672,12 @@ var CbrClient = /** @class */ (function () {
|
|
687
672
|
* @param {*} [options] Override http request option.
|
688
673
|
* @throws {RequiredError}
|
689
674
|
*/
|
690
|
-
|
691
|
-
|
675
|
+
migrateVaultResource(migrateVaultResourceRequest) {
|
676
|
+
const options = (0, exports.ParamCreater)().migrateVaultResource(migrateVaultResourceRequest);
|
692
677
|
// @ts-ignore
|
693
678
|
options['responseHeaders'] = [''];
|
694
679
|
return this.hcClient.sendRequest(options);
|
695
|
-
}
|
680
|
+
}
|
696
681
|
/**
|
697
682
|
* 注册客户端,安装时候由Agent调用,无需手动注册。
|
698
683
|
*
|
@@ -703,12 +688,12 @@ var CbrClient = /** @class */ (function () {
|
|
703
688
|
* @param {*} [options] Override http request option.
|
704
689
|
* @throws {RequiredError}
|
705
690
|
*/
|
706
|
-
|
707
|
-
|
691
|
+
registerAgent(registerAgentRequest) {
|
692
|
+
const options = (0, exports.ParamCreater)().registerAgent(registerAgentRequest);
|
708
693
|
// @ts-ignore
|
709
694
|
options['responseHeaders'] = [''];
|
710
695
|
return this.hcClient.sendRequest(options);
|
711
|
-
}
|
696
|
+
}
|
712
697
|
/**
|
713
698
|
* 移除已添加的文件备份路径。
|
714
699
|
*
|
@@ -720,12 +705,12 @@ var CbrClient = /** @class */ (function () {
|
|
720
705
|
* @param {*} [options] Override http request option.
|
721
706
|
* @throws {RequiredError}
|
722
707
|
*/
|
723
|
-
|
724
|
-
|
708
|
+
removeAgentPath(removeAgentPathRequest) {
|
709
|
+
const options = (0, exports.ParamCreater)().removeAgentPath(removeAgentPathRequest);
|
725
710
|
// @ts-ignore
|
726
711
|
options['responseHeaders'] = [''];
|
727
712
|
return this.hcClient.sendRequest(options);
|
728
|
-
}
|
713
|
+
}
|
729
714
|
/**
|
730
715
|
* 移除存储库中的资源,若移除资源,将一并删除该资源在保管库中的备份
|
731
716
|
*
|
@@ -737,12 +722,12 @@ var CbrClient = /** @class */ (function () {
|
|
737
722
|
* @param {*} [options] Override http request option.
|
738
723
|
* @throws {RequiredError}
|
739
724
|
*/
|
740
|
-
|
741
|
-
|
725
|
+
removeVaultResource(removeVaultResourceRequest) {
|
726
|
+
const options = (0, exports.ParamCreater)().removeVaultResource(removeVaultResourceRequest);
|
742
727
|
// @ts-ignore
|
743
728
|
options['responseHeaders'] = [''];
|
744
729
|
return this.hcClient.sendRequest(options);
|
745
|
-
}
|
730
|
+
}
|
746
731
|
/**
|
747
732
|
* 恢复备份数据
|
748
733
|
*
|
@@ -754,12 +739,12 @@ var CbrClient = /** @class */ (function () {
|
|
754
739
|
* @param {*} [options] Override http request option.
|
755
740
|
* @throws {RequiredError}
|
756
741
|
*/
|
757
|
-
|
758
|
-
|
742
|
+
restoreBackup(restoreBackupRequest) {
|
743
|
+
const options = (0, exports.ParamCreater)().restoreBackup(restoreBackupRequest);
|
759
744
|
// @ts-ignore
|
760
745
|
options['responseHeaders'] = [''];
|
761
746
|
return this.hcClient.sendRequest(options);
|
762
|
-
}
|
747
|
+
}
|
763
748
|
/**
|
764
749
|
* 设置存储库资源是否自动备份
|
765
750
|
*
|
@@ -771,12 +756,12 @@ var CbrClient = /** @class */ (function () {
|
|
771
756
|
* @param {*} [options] Override http request option.
|
772
757
|
* @throws {RequiredError}
|
773
758
|
*/
|
774
|
-
|
775
|
-
|
759
|
+
setVaultResource(setVaultResourceRequest) {
|
760
|
+
const options = (0, exports.ParamCreater)().setVaultResource(setVaultResourceRequest);
|
776
761
|
// @ts-ignore
|
777
762
|
options['responseHeaders'] = [''];
|
778
763
|
return this.hcClient.sendRequest(options);
|
779
|
-
}
|
764
|
+
}
|
780
765
|
/**
|
781
766
|
* 查询指定客户端
|
782
767
|
*
|
@@ -787,12 +772,12 @@ var CbrClient = /** @class */ (function () {
|
|
787
772
|
* @param {*} [options] Override http request option.
|
788
773
|
* @throws {RequiredError}
|
789
774
|
*/
|
790
|
-
|
791
|
-
|
775
|
+
showAgent(showAgentRequest) {
|
776
|
+
const options = (0, exports.ParamCreater)().showAgent(showAgentRequest);
|
792
777
|
// @ts-ignore
|
793
778
|
options['responseHeaders'] = [''];
|
794
779
|
return this.hcClient.sendRequest(options);
|
795
|
-
}
|
780
|
+
}
|
796
781
|
/**
|
797
782
|
* 根据指定id查询单个副本。
|
798
783
|
*
|
@@ -803,12 +788,12 @@ var CbrClient = /** @class */ (function () {
|
|
803
788
|
* @param {*} [options] Override http request option.
|
804
789
|
* @throws {RequiredError}
|
805
790
|
*/
|
806
|
-
|
807
|
-
|
791
|
+
showBackup(showBackupRequest) {
|
792
|
+
const options = (0, exports.ParamCreater)().showBackup(showBackupRequest);
|
808
793
|
// @ts-ignore
|
809
794
|
options['responseHeaders'] = [''];
|
810
795
|
return this.hcClient.sendRequest(options);
|
811
|
-
}
|
796
|
+
}
|
812
797
|
/**
|
813
798
|
* 根据还原点ID查询指定还原点
|
814
799
|
*
|
@@ -819,12 +804,12 @@ var CbrClient = /** @class */ (function () {
|
|
819
804
|
* @param {*} [options] Override http request option.
|
820
805
|
* @throws {RequiredError}
|
821
806
|
*/
|
822
|
-
|
823
|
-
|
807
|
+
showCheckpoint(showCheckpointRequest) {
|
808
|
+
const options = (0, exports.ParamCreater)().showCheckpoint(showCheckpointRequest);
|
824
809
|
// @ts-ignore
|
825
810
|
options['responseHeaders'] = [''];
|
826
811
|
return this.hcClient.sendRequest(options);
|
827
|
-
}
|
812
|
+
}
|
828
813
|
/**
|
829
814
|
* 由控制台调用的内部接口,用于仅在查询共享备份时获取源project_id的域名信息。
|
830
815
|
*
|
@@ -835,12 +820,12 @@ var CbrClient = /** @class */ (function () {
|
|
835
820
|
* @param {*} [options] Override http request option.
|
836
821
|
* @throws {RequiredError}
|
837
822
|
*/
|
838
|
-
|
839
|
-
|
823
|
+
showDomain(showDomainRequest) {
|
824
|
+
const options = (0, exports.ParamCreater)().showDomain(showDomainRequest);
|
840
825
|
// @ts-ignore
|
841
826
|
options['responseHeaders'] = [''];
|
842
827
|
return this.hcClient.sendRequest(options);
|
843
|
-
}
|
828
|
+
}
|
844
829
|
/**
|
845
830
|
* 获取备份成员的详情
|
846
831
|
*
|
@@ -852,12 +837,12 @@ var CbrClient = /** @class */ (function () {
|
|
852
837
|
* @param {*} [options] Override http request option.
|
853
838
|
* @throws {RequiredError}
|
854
839
|
*/
|
855
|
-
|
856
|
-
|
840
|
+
showMemberDetail(showMemberDetailRequest) {
|
841
|
+
const options = (0, exports.ParamCreater)().showMemberDetail(showMemberDetailRequest);
|
857
842
|
// @ts-ignore
|
858
843
|
options['responseHeaders'] = [''];
|
859
844
|
return this.hcClient.sendRequest(options);
|
860
|
-
}
|
845
|
+
}
|
861
846
|
/**
|
862
847
|
* 获取备份共享成员的列表信息
|
863
848
|
*
|
@@ -876,12 +861,12 @@ var CbrClient = /** @class */ (function () {
|
|
876
861
|
* @param {*} [options] Override http request option.
|
877
862
|
* @throws {RequiredError}
|
878
863
|
*/
|
879
|
-
|
880
|
-
|
864
|
+
showMembersDetail(showMembersDetailRequest) {
|
865
|
+
const options = (0, exports.ParamCreater)().showMembersDetail(showMembersDetailRequest);
|
881
866
|
// @ts-ignore
|
882
867
|
options['responseHeaders'] = [''];
|
883
868
|
return this.hcClient.sendRequest(options);
|
884
|
-
}
|
869
|
+
}
|
885
870
|
/**
|
886
871
|
* 查询备份时资源的元数据
|
887
872
|
*
|
@@ -892,12 +877,12 @@ var CbrClient = /** @class */ (function () {
|
|
892
877
|
* @param {*} [options] Override http request option.
|
893
878
|
* @throws {RequiredError}
|
894
879
|
*/
|
895
|
-
|
896
|
-
|
880
|
+
showMetadata(showMetadataRequest) {
|
881
|
+
const options = (0, exports.ParamCreater)().showMetadata(showMetadataRequest);
|
897
882
|
// @ts-ignore
|
898
883
|
options['responseHeaders'] = [''];
|
899
884
|
return this.hcClient.sendRequest(options);
|
900
|
-
}
|
885
|
+
}
|
901
886
|
/**
|
902
887
|
* 查询迁移结果
|
903
888
|
*
|
@@ -908,12 +893,12 @@ var CbrClient = /** @class */ (function () {
|
|
908
893
|
* @param {*} [options] Override http request option.
|
909
894
|
* @throws {RequiredError}
|
910
895
|
*/
|
911
|
-
|
912
|
-
|
896
|
+
showMigrateStatus(showMigrateStatusRequest) {
|
897
|
+
const options = (0, exports.ParamCreater)().showMigrateStatus(showMigrateStatusRequest);
|
913
898
|
// @ts-ignore
|
914
899
|
options['responseHeaders'] = [''];
|
915
900
|
return this.hcClient.sendRequest(options);
|
916
|
-
}
|
901
|
+
}
|
917
902
|
/**
|
918
903
|
* 根据指定任务ID查询任务
|
919
904
|
*
|
@@ -924,12 +909,12 @@ var CbrClient = /** @class */ (function () {
|
|
924
909
|
* @param {*} [options] Override http request option.
|
925
910
|
* @throws {RequiredError}
|
926
911
|
*/
|
927
|
-
|
928
|
-
|
912
|
+
showOpLog(showOpLogRequest) {
|
913
|
+
const options = (0, exports.ParamCreater)().showOpLog(showOpLogRequest);
|
929
914
|
// @ts-ignore
|
930
915
|
options['responseHeaders'] = [''];
|
931
916
|
return this.hcClient.sendRequest(options);
|
932
|
-
}
|
917
|
+
}
|
933
918
|
/**
|
934
919
|
* 查询单个策略
|
935
920
|
*
|
@@ -940,12 +925,12 @@ var CbrClient = /** @class */ (function () {
|
|
940
925
|
* @param {*} [options] Override http request option.
|
941
926
|
* @throws {RequiredError}
|
942
927
|
*/
|
943
|
-
|
944
|
-
|
928
|
+
showPolicy(showPolicyRequest) {
|
929
|
+
const options = (0, exports.ParamCreater)().showPolicy(showPolicyRequest);
|
945
930
|
// @ts-ignore
|
946
931
|
options['responseHeaders'] = [''];
|
947
932
|
return this.hcClient.sendRequest(options);
|
948
|
-
}
|
933
|
+
}
|
949
934
|
/**
|
950
935
|
* 根据ID查询可保护性资源
|
951
936
|
*
|
@@ -957,12 +942,12 @@ var CbrClient = /** @class */ (function () {
|
|
957
942
|
* @param {*} [options] Override http request option.
|
958
943
|
* @throws {RequiredError}
|
959
944
|
*/
|
960
|
-
|
961
|
-
|
945
|
+
showProtectable(showProtectableRequest) {
|
946
|
+
const options = (0, exports.ParamCreater)().showProtectable(showProtectableRequest);
|
962
947
|
// @ts-ignore
|
963
948
|
options['responseHeaders'] = [''];
|
964
949
|
return this.hcClient.sendRequest(options);
|
965
|
-
}
|
950
|
+
}
|
966
951
|
/**
|
967
952
|
* 查询本区域的复制能力
|
968
953
|
*
|
@@ -972,12 +957,12 @@ var CbrClient = /** @class */ (function () {
|
|
972
957
|
* @param {*} [options] Override http request option.
|
973
958
|
* @throws {RequiredError}
|
974
959
|
*/
|
975
|
-
|
976
|
-
|
960
|
+
showReplicationCapabilities(showReplicationCapabilitiesRequest) {
|
961
|
+
const options = (0, exports.ParamCreater)().showReplicationCapabilities();
|
977
962
|
// @ts-ignore
|
978
963
|
options['responseHeaders'] = [''];
|
979
964
|
return this.hcClient.sendRequest(options);
|
980
|
-
}
|
965
|
+
}
|
981
966
|
/**
|
982
967
|
* 查询容量统计
|
983
968
|
*
|
@@ -991,12 +976,12 @@ var CbrClient = /** @class */ (function () {
|
|
991
976
|
* @param {*} [options] Override http request option.
|
992
977
|
* @throws {RequiredError}
|
993
978
|
*/
|
994
|
-
|
995
|
-
|
979
|
+
showStorageUsage(showStorageUsageRequest) {
|
980
|
+
const options = (0, exports.ParamCreater)().showStorageUsage(showStorageUsageRequest);
|
996
981
|
// @ts-ignore
|
997
982
|
options['responseHeaders'] = [''];
|
998
983
|
return this.hcClient.sendRequest(options);
|
999
|
-
}
|
984
|
+
}
|
1000
985
|
/**
|
1001
986
|
* 查询项目下所有存储库的总容量和总使用量
|
1002
987
|
*
|
@@ -1006,12 +991,12 @@ var CbrClient = /** @class */ (function () {
|
|
1006
991
|
* @param {*} [options] Override http request option.
|
1007
992
|
* @throws {RequiredError}
|
1008
993
|
*/
|
1009
|
-
|
1010
|
-
|
994
|
+
showSummary(showSummaryRequest) {
|
995
|
+
const options = (0, exports.ParamCreater)().showSummary();
|
1011
996
|
// @ts-ignore
|
1012
997
|
options['responseHeaders'] = [''];
|
1013
998
|
return this.hcClient.sendRequest(options);
|
1014
|
-
}
|
999
|
+
}
|
1015
1000
|
/**
|
1016
1001
|
* 根据ID查询指定存储库
|
1017
1002
|
*
|
@@ -1022,12 +1007,12 @@ var CbrClient = /** @class */ (function () {
|
|
1022
1007
|
* @param {*} [options] Override http request option.
|
1023
1008
|
* @throws {RequiredError}
|
1024
1009
|
*/
|
1025
|
-
|
1026
|
-
|
1010
|
+
showVault(showVaultRequest) {
|
1011
|
+
const options = (0, exports.ParamCreater)().showVault(showVaultRequest);
|
1027
1012
|
// @ts-ignore
|
1028
1013
|
options['responseHeaders'] = [''];
|
1029
1014
|
return this.hcClient.sendRequest(options);
|
1030
|
-
}
|
1015
|
+
}
|
1031
1016
|
/**
|
1032
1017
|
* 查询租户在指定Region和实例类型的所有标签集合
|
1033
1018
|
* 标签管理服务需要能够列出当前租户全部已使用的标签集合,为各服务Console打标签和过滤实例时提供标签联想功能
|
@@ -1038,12 +1023,12 @@ var CbrClient = /** @class */ (function () {
|
|
1038
1023
|
* @param {*} [options] Override http request option.
|
1039
1024
|
* @throws {RequiredError}
|
1040
1025
|
*/
|
1041
|
-
|
1042
|
-
|
1026
|
+
showVaultProjectTag(showVaultProjectTagRequest) {
|
1027
|
+
const options = (0, exports.ParamCreater)().showVaultProjectTag();
|
1043
1028
|
// @ts-ignore
|
1044
1029
|
options['responseHeaders'] = [''];
|
1045
1030
|
return this.hcClient.sendRequest(options);
|
1046
|
-
}
|
1031
|
+
}
|
1047
1032
|
/**
|
1048
1033
|
* 使用标签过滤实例
|
1049
1034
|
* 标签管理服务需要提供按标签过滤各服务实例并汇总显示在列表中,需要各服务提供查询能力
|
@@ -1055,12 +1040,12 @@ var CbrClient = /** @class */ (function () {
|
|
1055
1040
|
* @param {*} [options] Override http request option.
|
1056
1041
|
* @throws {RequiredError}
|
1057
1042
|
*/
|
1058
|
-
|
1059
|
-
|
1043
|
+
showVaultResourceInstances(showVaultResourceInstancesRequest) {
|
1044
|
+
const options = (0, exports.ParamCreater)().showVaultResourceInstances(showVaultResourceInstancesRequest);
|
1060
1045
|
// @ts-ignore
|
1061
1046
|
options['responseHeaders'] = [''];
|
1062
1047
|
return this.hcClient.sendRequest(options);
|
1063
|
-
}
|
1048
|
+
}
|
1064
1049
|
/**
|
1065
1050
|
* 查询指定实例的标签信息
|
1066
1051
|
* 标签管理服务需要使用该接口查询指定实例的全部标签数据
|
@@ -1072,12 +1057,12 @@ var CbrClient = /** @class */ (function () {
|
|
1072
1057
|
* @param {*} [options] Override http request option.
|
1073
1058
|
* @throws {RequiredError}
|
1074
1059
|
*/
|
1075
|
-
|
1076
|
-
|
1060
|
+
showVaultTag(showVaultTagRequest) {
|
1061
|
+
const options = (0, exports.ParamCreater)().showVaultTag(showVaultTagRequest);
|
1077
1062
|
// @ts-ignore
|
1078
1063
|
options['responseHeaders'] = [''];
|
1079
1064
|
return this.hcClient.sendRequest(options);
|
1080
|
-
}
|
1065
|
+
}
|
1081
1066
|
/**
|
1082
1067
|
* 移除客户端,移除客户端时将会删除该客户端所有备份,请谨慎操作。
|
1083
1068
|
*
|
@@ -1088,12 +1073,12 @@ var CbrClient = /** @class */ (function () {
|
|
1088
1073
|
* @param {*} [options] Override http request option.
|
1089
1074
|
* @throws {RequiredError}
|
1090
1075
|
*/
|
1091
|
-
|
1092
|
-
|
1076
|
+
unregisterAgent(unregisterAgentRequest) {
|
1077
|
+
const options = (0, exports.ParamCreater)().unregisterAgent(unregisterAgentRequest);
|
1093
1078
|
// @ts-ignore
|
1094
1079
|
options['responseHeaders'] = [''];
|
1095
1080
|
return this.hcClient.sendRequest(options);
|
1096
|
-
}
|
1081
|
+
}
|
1097
1082
|
/**
|
1098
1083
|
* 修改客户端状态
|
1099
1084
|
*
|
@@ -1105,12 +1090,12 @@ var CbrClient = /** @class */ (function () {
|
|
1105
1090
|
* @param {*} [options] Override http request option.
|
1106
1091
|
* @throws {RequiredError}
|
1107
1092
|
*/
|
1108
|
-
|
1109
|
-
|
1093
|
+
updateAgent(updateAgentRequest) {
|
1094
|
+
const options = (0, exports.ParamCreater)().updateAgent(updateAgentRequest);
|
1110
1095
|
// @ts-ignore
|
1111
1096
|
options['responseHeaders'] = [''];
|
1112
1097
|
return this.hcClient.sendRequest(options);
|
1113
|
-
}
|
1098
|
+
}
|
1114
1099
|
/**
|
1115
1100
|
* 根据备份id更改备份
|
1116
1101
|
*
|
@@ -1122,12 +1107,12 @@ var CbrClient = /** @class */ (function () {
|
|
1122
1107
|
* @param {*} [options] Override http request option.
|
1123
1108
|
* @throws {RequiredError}
|
1124
1109
|
*/
|
1125
|
-
|
1126
|
-
|
1110
|
+
updateBackup(updateBackupRequest) {
|
1111
|
+
const options = (0, exports.ParamCreater)().updateBackup(updateBackupRequest);
|
1127
1112
|
// @ts-ignore
|
1128
1113
|
options['responseHeaders'] = [''];
|
1129
1114
|
return this.hcClient.sendRequest(options);
|
1130
|
-
}
|
1115
|
+
}
|
1131
1116
|
/**
|
1132
1117
|
* 更新备份共享成员的状态,需要接收方执行此API。
|
1133
1118
|
*
|
@@ -1140,12 +1125,12 @@ var CbrClient = /** @class */ (function () {
|
|
1140
1125
|
* @param {*} [options] Override http request option.
|
1141
1126
|
* @throws {RequiredError}
|
1142
1127
|
*/
|
1143
|
-
|
1144
|
-
|
1128
|
+
updateMemberStatus(updateMemberStatusRequest) {
|
1129
|
+
const options = (0, exports.ParamCreater)().updateMemberStatus(updateMemberStatusRequest);
|
1145
1130
|
// @ts-ignore
|
1146
1131
|
options['responseHeaders'] = [''];
|
1147
1132
|
return this.hcClient.sendRequest(options);
|
1148
|
-
}
|
1133
|
+
}
|
1149
1134
|
/**
|
1150
1135
|
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
|
1151
1136
|
*
|
@@ -1157,12 +1142,12 @@ var CbrClient = /** @class */ (function () {
|
|
1157
1142
|
* @param {*} [options] Override http request option.
|
1158
1143
|
* @throws {RequiredError}
|
1159
1144
|
*/
|
1160
|
-
|
1161
|
-
|
1145
|
+
updateOrder(updateOrderRequest) {
|
1146
|
+
const options = (0, exports.ParamCreater)().updateOrder(updateOrderRequest);
|
1162
1147
|
// @ts-ignore
|
1163
1148
|
options['responseHeaders'] = [''];
|
1164
1149
|
return this.hcClient.sendRequest(options);
|
1165
|
-
}
|
1150
|
+
}
|
1166
1151
|
/**
|
1167
1152
|
* 修改策略
|
1168
1153
|
*
|
@@ -1174,12 +1159,12 @@ var CbrClient = /** @class */ (function () {
|
|
1174
1159
|
* @param {*} [options] Override http request option.
|
1175
1160
|
* @throws {RequiredError}
|
1176
1161
|
*/
|
1177
|
-
|
1178
|
-
|
1162
|
+
updatePolicy(updatePolicyRequest) {
|
1163
|
+
const options = (0, exports.ParamCreater)().updatePolicy(updatePolicyRequest);
|
1179
1164
|
// @ts-ignore
|
1180
1165
|
options['responseHeaders'] = [''];
|
1181
1166
|
return this.hcClient.sendRequest(options);
|
1182
|
-
}
|
1167
|
+
}
|
1183
1168
|
/**
|
1184
1169
|
* 根据存储库ID修改存储库
|
1185
1170
|
*
|
@@ -1191,24 +1176,23 @@ var CbrClient = /** @class */ (function () {
|
|
1191
1176
|
* @param {*} [options] Override http request option.
|
1192
1177
|
* @throws {RequiredError}
|
1193
1178
|
*/
|
1194
|
-
|
1195
|
-
|
1179
|
+
updateVault(updateVaultRequest) {
|
1180
|
+
const options = (0, exports.ParamCreater)().updateVault(updateVaultRequest);
|
1196
1181
|
// @ts-ignore
|
1197
1182
|
options['responseHeaders'] = [''];
|
1198
1183
|
return this.hcClient.sendRequest(options);
|
1199
|
-
}
|
1200
|
-
|
1201
|
-
}());
|
1184
|
+
}
|
1185
|
+
}
|
1202
1186
|
exports.CbrClient = CbrClient;
|
1203
|
-
|
1187
|
+
const ParamCreater = function () {
|
1204
1188
|
return {
|
1205
1189
|
/**
|
1206
1190
|
* 对客户端新增备份路径,新增的路径不会校验是否存在。
|
1207
1191
|
*
|
1208
1192
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1209
1193
|
*/
|
1210
|
-
addAgentPath
|
1211
|
-
|
1194
|
+
addAgentPath(addAgentPathRequest) {
|
1195
|
+
const options = {
|
1212
1196
|
method: "POST",
|
1213
1197
|
url: "/v3/{project_id}/agents/{agent_id}/add-path",
|
1214
1198
|
contentType: "application/json;charset=UTF-8",
|
@@ -1217,9 +1201,9 @@ var ParamCreater = function () {
|
|
1217
1201
|
headers: {},
|
1218
1202
|
data: {}
|
1219
1203
|
};
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1204
|
+
const localVarHeaderParameter = {};
|
1205
|
+
let body;
|
1206
|
+
let agentId;
|
1223
1207
|
if (addAgentPathRequest !== null && addAgentPathRequest !== undefined) {
|
1224
1208
|
if (addAgentPathRequest instanceof AddAgentPathRequest_1.AddAgentPathRequest) {
|
1225
1209
|
agentId = addAgentPathRequest.agentId;
|
@@ -1247,8 +1231,8 @@ var ParamCreater = function () {
|
|
1247
1231
|
*
|
1248
1232
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1249
1233
|
*/
|
1250
|
-
addMember
|
1251
|
-
|
1234
|
+
addMember(addMemberRequest) {
|
1235
|
+
const options = {
|
1252
1236
|
method: "POST",
|
1253
1237
|
url: "/v3/{project_id}/backups/{backup_id}/members",
|
1254
1238
|
contentType: "application/json;charset=UTF-8",
|
@@ -1257,9 +1241,9 @@ var ParamCreater = function () {
|
|
1257
1241
|
headers: {},
|
1258
1242
|
data: {}
|
1259
1243
|
};
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1244
|
+
const localVarHeaderParameter = {};
|
1245
|
+
let body;
|
1246
|
+
let backupId;
|
1263
1247
|
if (addMemberRequest !== null && addMemberRequest !== undefined) {
|
1264
1248
|
if (addMemberRequest instanceof AddMemberRequest_1.AddMemberRequest) {
|
1265
1249
|
backupId = addMemberRequest.backupId;
|
@@ -1287,8 +1271,8 @@ var ParamCreater = function () {
|
|
1287
1271
|
*
|
1288
1272
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1289
1273
|
*/
|
1290
|
-
addVaultResource
|
1291
|
-
|
1274
|
+
addVaultResource(addVaultResourceRequest) {
|
1275
|
+
const options = {
|
1292
1276
|
method: "POST",
|
1293
1277
|
url: "/v3/{project_id}/vaults/{vault_id}/addresources",
|
1294
1278
|
contentType: "application/json;charset=UTF-8",
|
@@ -1297,9 +1281,9 @@ var ParamCreater = function () {
|
|
1297
1281
|
headers: {},
|
1298
1282
|
data: {}
|
1299
1283
|
};
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1284
|
+
const localVarHeaderParameter = {};
|
1285
|
+
let body;
|
1286
|
+
let vaultId;
|
1303
1287
|
if (addVaultResourceRequest !== null && addVaultResourceRequest !== undefined) {
|
1304
1288
|
if (addVaultResourceRequest instanceof AddVaultResourceRequest_1.AddVaultResourceRequest) {
|
1305
1289
|
vaultId = addVaultResourceRequest.vaultId;
|
@@ -1327,8 +1311,8 @@ var ParamCreater = function () {
|
|
1327
1311
|
*
|
1328
1312
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1329
1313
|
*/
|
1330
|
-
associateVaultPolicy
|
1331
|
-
|
1314
|
+
associateVaultPolicy(associateVaultPolicyRequest) {
|
1315
|
+
const options = {
|
1332
1316
|
method: "POST",
|
1333
1317
|
url: "/v3/{project_id}/vaults/{vault_id}/associatepolicy",
|
1334
1318
|
contentType: "application/json;charset=UTF-8",
|
@@ -1337,9 +1321,9 @@ var ParamCreater = function () {
|
|
1337
1321
|
headers: {},
|
1338
1322
|
data: {}
|
1339
1323
|
};
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1324
|
+
const localVarHeaderParameter = {};
|
1325
|
+
let body;
|
1326
|
+
let vaultId;
|
1343
1327
|
if (associateVaultPolicyRequest !== null && associateVaultPolicyRequest !== undefined) {
|
1344
1328
|
if (associateVaultPolicyRequest instanceof AssociateVaultPolicyRequest_1.AssociateVaultPolicyRequest) {
|
1345
1329
|
vaultId = associateVaultPolicyRequest.vaultId;
|
@@ -1374,8 +1358,8 @@ var ParamCreater = function () {
|
|
1374
1358
|
*
|
1375
1359
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1376
1360
|
*/
|
1377
|
-
batchCreateAndDeleteVaultTags
|
1378
|
-
|
1361
|
+
batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest) {
|
1362
|
+
const options = {
|
1379
1363
|
method: "POST",
|
1380
1364
|
url: "/v3/{project_id}/vault/{vault_id}/tags/action",
|
1381
1365
|
contentType: "application/json;charset=UTF-8",
|
@@ -1384,9 +1368,9 @@ var ParamCreater = function () {
|
|
1384
1368
|
headers: {},
|
1385
1369
|
data: {}
|
1386
1370
|
};
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1371
|
+
const localVarHeaderParameter = {};
|
1372
|
+
let body;
|
1373
|
+
let vaultId;
|
1390
1374
|
if (batchCreateAndDeleteVaultTagsRequest !== null && batchCreateAndDeleteVaultTagsRequest !== undefined) {
|
1391
1375
|
if (batchCreateAndDeleteVaultTagsRequest instanceof BatchCreateAndDeleteVaultTagsRequest_1.BatchCreateAndDeleteVaultTagsRequest) {
|
1392
1376
|
vaultId = batchCreateAndDeleteVaultTagsRequest.vaultId;
|
@@ -1411,8 +1395,8 @@ var ParamCreater = function () {
|
|
1411
1395
|
*
|
1412
1396
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1413
1397
|
*/
|
1414
|
-
batchUpdateVault
|
1415
|
-
|
1398
|
+
batchUpdateVault(batchUpdateVaultRequest) {
|
1399
|
+
const options = {
|
1416
1400
|
method: "PUT",
|
1417
1401
|
url: "/v3/{project_id}/vaults/batch-update",
|
1418
1402
|
contentType: "application/json;charset=UTF-8",
|
@@ -1421,8 +1405,8 @@ var ParamCreater = function () {
|
|
1421
1405
|
headers: {},
|
1422
1406
|
data: {}
|
1423
1407
|
};
|
1424
|
-
|
1425
|
-
|
1408
|
+
const localVarHeaderParameter = {};
|
1409
|
+
let body;
|
1426
1410
|
if (batchUpdateVaultRequest !== null && batchUpdateVaultRequest !== undefined) {
|
1427
1411
|
if (batchUpdateVaultRequest instanceof BatchUpdateVaultRequest_1.BatchUpdateVaultRequest) {
|
1428
1412
|
body = batchUpdateVaultRequest.body;
|
@@ -1444,8 +1428,8 @@ var ParamCreater = function () {
|
|
1444
1428
|
*
|
1445
1429
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1446
1430
|
*/
|
1447
|
-
checkAgent
|
1448
|
-
|
1431
|
+
checkAgent(checkAgentRequest) {
|
1432
|
+
const options = {
|
1449
1433
|
method: "POST",
|
1450
1434
|
url: "/v3/{project_id}/agent/check",
|
1451
1435
|
contentType: "application/json;charset=UTF-8",
|
@@ -1454,8 +1438,8 @@ var ParamCreater = function () {
|
|
1454
1438
|
headers: {},
|
1455
1439
|
data: {}
|
1456
1440
|
};
|
1457
|
-
|
1458
|
-
|
1441
|
+
const localVarHeaderParameter = {};
|
1442
|
+
let body;
|
1459
1443
|
if (checkAgentRequest !== null && checkAgentRequest !== undefined) {
|
1460
1444
|
if (checkAgentRequest instanceof CheckAgentRequest_1.CheckAgentRequest) {
|
1461
1445
|
body = checkAgentRequest.body;
|
@@ -1477,8 +1461,8 @@ var ParamCreater = function () {
|
|
1477
1461
|
*
|
1478
1462
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1479
1463
|
*/
|
1480
|
-
copyBackup
|
1481
|
-
|
1464
|
+
copyBackup(copyBackupRequest) {
|
1465
|
+
const options = {
|
1482
1466
|
method: "POST",
|
1483
1467
|
url: "/v3/{project_id}/backups/{backup_id}/replicate",
|
1484
1468
|
contentType: "application/json;charset=UTF-8",
|
@@ -1487,9 +1471,9 @@ var ParamCreater = function () {
|
|
1487
1471
|
headers: {},
|
1488
1472
|
data: {}
|
1489
1473
|
};
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1474
|
+
const localVarHeaderParameter = {};
|
1475
|
+
let body;
|
1476
|
+
let backupId;
|
1493
1477
|
if (copyBackupRequest !== null && copyBackupRequest !== undefined) {
|
1494
1478
|
if (copyBackupRequest instanceof CopyBackupRequest_1.CopyBackupRequest) {
|
1495
1479
|
backupId = copyBackupRequest.backupId;
|
@@ -1517,8 +1501,8 @@ var ParamCreater = function () {
|
|
1517
1501
|
*
|
1518
1502
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1519
1503
|
*/
|
1520
|
-
copyCheckpoint
|
1521
|
-
|
1504
|
+
copyCheckpoint(copyCheckpointRequest) {
|
1505
|
+
const options = {
|
1522
1506
|
method: "POST",
|
1523
1507
|
url: "/v3/{project_id}/checkpoints/replicate",
|
1524
1508
|
contentType: "application/json;charset=UTF-8",
|
@@ -1527,8 +1511,8 @@ var ParamCreater = function () {
|
|
1527
1511
|
headers: {},
|
1528
1512
|
data: {}
|
1529
1513
|
};
|
1530
|
-
|
1531
|
-
|
1514
|
+
const localVarHeaderParameter = {};
|
1515
|
+
let body;
|
1532
1516
|
if (copyCheckpointRequest !== null && copyCheckpointRequest !== undefined) {
|
1533
1517
|
if (copyCheckpointRequest instanceof CopyCheckpointRequest_1.CopyCheckpointRequest) {
|
1534
1518
|
body = copyCheckpointRequest.body;
|
@@ -1550,8 +1534,8 @@ var ParamCreater = function () {
|
|
1550
1534
|
*
|
1551
1535
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1552
1536
|
*/
|
1553
|
-
createCheckpoint
|
1554
|
-
|
1537
|
+
createCheckpoint(createCheckpointRequest) {
|
1538
|
+
const options = {
|
1555
1539
|
method: "POST",
|
1556
1540
|
url: "/v3/{project_id}/checkpoints",
|
1557
1541
|
contentType: "application/json;charset=UTF-8",
|
@@ -1560,8 +1544,8 @@ var ParamCreater = function () {
|
|
1560
1544
|
headers: {},
|
1561
1545
|
data: {}
|
1562
1546
|
};
|
1563
|
-
|
1564
|
-
|
1547
|
+
const localVarHeaderParameter = {};
|
1548
|
+
let body;
|
1565
1549
|
if (createCheckpointRequest !== null && createCheckpointRequest !== undefined) {
|
1566
1550
|
if (createCheckpointRequest instanceof CreateCheckpointRequest_1.CreateCheckpointRequest) {
|
1567
1551
|
body = createCheckpointRequest.body;
|
@@ -1583,8 +1567,8 @@ var ParamCreater = function () {
|
|
1583
1567
|
*
|
1584
1568
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1585
1569
|
*/
|
1586
|
-
createPolicy
|
1587
|
-
|
1570
|
+
createPolicy(createPolicyRequest) {
|
1571
|
+
const options = {
|
1588
1572
|
method: "POST",
|
1589
1573
|
url: "/v3/{project_id}/policies",
|
1590
1574
|
contentType: "application/json;charset=UTF-8",
|
@@ -1593,8 +1577,8 @@ var ParamCreater = function () {
|
|
1593
1577
|
headers: {},
|
1594
1578
|
data: {}
|
1595
1579
|
};
|
1596
|
-
|
1597
|
-
|
1580
|
+
const localVarHeaderParameter = {};
|
1581
|
+
let body;
|
1598
1582
|
if (createPolicyRequest !== null && createPolicyRequest !== undefined) {
|
1599
1583
|
if (createPolicyRequest instanceof CreatePolicyRequest_1.CreatePolicyRequest) {
|
1600
1584
|
body = createPolicyRequest.body;
|
@@ -1616,8 +1600,8 @@ var ParamCreater = function () {
|
|
1616
1600
|
*
|
1617
1601
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1618
1602
|
*/
|
1619
|
-
createPostPaidVault
|
1620
|
-
|
1603
|
+
createPostPaidVault(createPostPaidVaultRequest) {
|
1604
|
+
const options = {
|
1621
1605
|
method: "POST",
|
1622
1606
|
url: "/v3/{project_id}/vaults/order",
|
1623
1607
|
contentType: "application/json;charset=UTF-8",
|
@@ -1626,8 +1610,8 @@ var ParamCreater = function () {
|
|
1626
1610
|
headers: {},
|
1627
1611
|
data: {}
|
1628
1612
|
};
|
1629
|
-
|
1630
|
-
|
1613
|
+
const localVarHeaderParameter = {};
|
1614
|
+
let body;
|
1631
1615
|
if (createPostPaidVaultRequest !== null && createPostPaidVaultRequest !== undefined) {
|
1632
1616
|
if (createPostPaidVaultRequest instanceof CreatePostPaidVaultRequest_1.CreatePostPaidVaultRequest) {
|
1633
1617
|
body = createPostPaidVaultRequest.body;
|
@@ -1649,8 +1633,8 @@ var ParamCreater = function () {
|
|
1649
1633
|
*
|
1650
1634
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1651
1635
|
*/
|
1652
|
-
createVault
|
1653
|
-
|
1636
|
+
createVault(createVaultRequest) {
|
1637
|
+
const options = {
|
1654
1638
|
method: "POST",
|
1655
1639
|
url: "/v3/{project_id}/vaults",
|
1656
1640
|
contentType: "application/json;charset=UTF-8",
|
@@ -1659,8 +1643,8 @@ var ParamCreater = function () {
|
|
1659
1643
|
headers: {},
|
1660
1644
|
data: {}
|
1661
1645
|
};
|
1662
|
-
|
1663
|
-
|
1646
|
+
const localVarHeaderParameter = {};
|
1647
|
+
let body;
|
1664
1648
|
if (createVaultRequest !== null && createVaultRequest !== undefined) {
|
1665
1649
|
if (createVaultRequest instanceof CreateVaultRequest_1.CreateVaultRequest) {
|
1666
1650
|
body = createVaultRequest.body;
|
@@ -1683,8 +1667,8 @@ var ParamCreater = function () {
|
|
1683
1667
|
*
|
1684
1668
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1685
1669
|
*/
|
1686
|
-
createVaultTags
|
1687
|
-
|
1670
|
+
createVaultTags(createVaultTagsRequest) {
|
1671
|
+
const options = {
|
1688
1672
|
method: "POST",
|
1689
1673
|
url: "/v3/{project_id}/vault/{vault_id}/tags",
|
1690
1674
|
contentType: "application/json;charset=UTF-8",
|
@@ -1693,9 +1677,9 @@ var ParamCreater = function () {
|
|
1693
1677
|
headers: {},
|
1694
1678
|
data: {}
|
1695
1679
|
};
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1680
|
+
const localVarHeaderParameter = {};
|
1681
|
+
let body;
|
1682
|
+
let vaultId;
|
1699
1683
|
if (createVaultTagsRequest !== null && createVaultTagsRequest !== undefined) {
|
1700
1684
|
if (createVaultTagsRequest instanceof CreateVaultTagsRequest_1.CreateVaultTagsRequest) {
|
1701
1685
|
vaultId = createVaultTagsRequest.vaultId;
|
@@ -1720,8 +1704,8 @@ var ParamCreater = function () {
|
|
1720
1704
|
*
|
1721
1705
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1722
1706
|
*/
|
1723
|
-
deleteBackup
|
1724
|
-
|
1707
|
+
deleteBackup(deleteBackupRequest) {
|
1708
|
+
const options = {
|
1725
1709
|
method: "DELETE",
|
1726
1710
|
url: "/v3/{project_id}/backups/{backup_id}",
|
1727
1711
|
contentType: "application/json",
|
@@ -1729,8 +1713,8 @@ var ParamCreater = function () {
|
|
1729
1713
|
pathParams: {},
|
1730
1714
|
headers: {}
|
1731
1715
|
};
|
1732
|
-
|
1733
|
-
|
1716
|
+
const localVarHeaderParameter = {};
|
1717
|
+
let backupId;
|
1734
1718
|
if (deleteBackupRequest !== null && deleteBackupRequest !== undefined) {
|
1735
1719
|
if (deleteBackupRequest instanceof DeleteBackupRequest_1.DeleteBackupRequest) {
|
1736
1720
|
backupId = deleteBackupRequest.backupId;
|
@@ -1751,8 +1735,8 @@ var ParamCreater = function () {
|
|
1751
1735
|
*
|
1752
1736
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1753
1737
|
*/
|
1754
|
-
deleteMember
|
1755
|
-
|
1738
|
+
deleteMember(deleteMemberRequest) {
|
1739
|
+
const options = {
|
1756
1740
|
method: "DELETE",
|
1757
1741
|
url: "/v3/{project_id}/backups/{backup_id}/members/{member_id}",
|
1758
1742
|
contentType: "application/json",
|
@@ -1760,9 +1744,9 @@ var ParamCreater = function () {
|
|
1760
1744
|
pathParams: {},
|
1761
1745
|
headers: {}
|
1762
1746
|
};
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1747
|
+
const localVarHeaderParameter = {};
|
1748
|
+
let backupId;
|
1749
|
+
let memberId;
|
1766
1750
|
if (deleteMemberRequest !== null && deleteMemberRequest !== undefined) {
|
1767
1751
|
if (deleteMemberRequest instanceof DeleteMemberRequest_1.DeleteMemberRequest) {
|
1768
1752
|
backupId = deleteMemberRequest.backupId;
|
@@ -1788,8 +1772,8 @@ var ParamCreater = function () {
|
|
1788
1772
|
*
|
1789
1773
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1790
1774
|
*/
|
1791
|
-
deletePolicy
|
1792
|
-
|
1775
|
+
deletePolicy(deletePolicyRequest) {
|
1776
|
+
const options = {
|
1793
1777
|
method: "DELETE",
|
1794
1778
|
url: "/v3/{project_id}/policies/{policy_id}",
|
1795
1779
|
contentType: "application/json",
|
@@ -1797,8 +1781,8 @@ var ParamCreater = function () {
|
|
1797
1781
|
pathParams: {},
|
1798
1782
|
headers: {}
|
1799
1783
|
};
|
1800
|
-
|
1801
|
-
|
1784
|
+
const localVarHeaderParameter = {};
|
1785
|
+
let policyId;
|
1802
1786
|
if (deletePolicyRequest !== null && deletePolicyRequest !== undefined) {
|
1803
1787
|
if (deletePolicyRequest instanceof DeletePolicyRequest_1.DeletePolicyRequest) {
|
1804
1788
|
policyId = deletePolicyRequest.policyId;
|
@@ -1819,8 +1803,8 @@ var ParamCreater = function () {
|
|
1819
1803
|
*
|
1820
1804
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1821
1805
|
*/
|
1822
|
-
deleteVault
|
1823
|
-
|
1806
|
+
deleteVault(deleteVaultRequest) {
|
1807
|
+
const options = {
|
1824
1808
|
method: "DELETE",
|
1825
1809
|
url: "/v3/{project_id}/vaults/{vault_id}",
|
1826
1810
|
contentType: "application/json",
|
@@ -1828,8 +1812,8 @@ var ParamCreater = function () {
|
|
1828
1812
|
pathParams: {},
|
1829
1813
|
headers: {}
|
1830
1814
|
};
|
1831
|
-
|
1832
|
-
|
1815
|
+
const localVarHeaderParameter = {};
|
1816
|
+
let vaultId;
|
1833
1817
|
if (deleteVaultRequest !== null && deleteVaultRequest !== undefined) {
|
1834
1818
|
if (deleteVaultRequest instanceof DeleteVaultRequest_1.DeleteVaultRequest) {
|
1835
1819
|
vaultId = deleteVaultRequest.vaultId;
|
@@ -1850,8 +1834,8 @@ var ParamCreater = function () {
|
|
1850
1834
|
*
|
1851
1835
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1852
1836
|
*/
|
1853
|
-
deleteVaultTag
|
1854
|
-
|
1837
|
+
deleteVaultTag(deleteVaultTagRequest) {
|
1838
|
+
const options = {
|
1855
1839
|
method: "DELETE",
|
1856
1840
|
url: "/v3/{project_id}/vault/{vault_id}/tags/{key}",
|
1857
1841
|
contentType: "application/json",
|
@@ -1859,9 +1843,9 @@ var ParamCreater = function () {
|
|
1859
1843
|
pathParams: {},
|
1860
1844
|
headers: {}
|
1861
1845
|
};
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1846
|
+
const localVarHeaderParameter = {};
|
1847
|
+
let key;
|
1848
|
+
let vaultId;
|
1865
1849
|
if (deleteVaultTagRequest !== null && deleteVaultTagRequest !== undefined) {
|
1866
1850
|
if (deleteVaultTagRequest instanceof DeleteVaultTagRequest_1.DeleteVaultTagRequest) {
|
1867
1851
|
key = deleteVaultTagRequest.key;
|
@@ -1887,8 +1871,8 @@ var ParamCreater = function () {
|
|
1887
1871
|
*
|
1888
1872
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1889
1873
|
*/
|
1890
|
-
disassociateVaultPolicy
|
1891
|
-
|
1874
|
+
disassociateVaultPolicy(disassociateVaultPolicyRequest) {
|
1875
|
+
const options = {
|
1892
1876
|
method: "POST",
|
1893
1877
|
url: "/v3/{project_id}/vaults/{vault_id}/dissociatepolicy",
|
1894
1878
|
contentType: "application/json;charset=UTF-8",
|
@@ -1897,9 +1881,9 @@ var ParamCreater = function () {
|
|
1897
1881
|
headers: {},
|
1898
1882
|
data: {}
|
1899
1883
|
};
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1884
|
+
const localVarHeaderParameter = {};
|
1885
|
+
let body;
|
1886
|
+
let vaultId;
|
1903
1887
|
if (disassociateVaultPolicyRequest !== null && disassociateVaultPolicyRequest !== undefined) {
|
1904
1888
|
if (disassociateVaultPolicyRequest instanceof DisassociateVaultPolicyRequest_1.DisassociateVaultPolicyRequest) {
|
1905
1889
|
vaultId = disassociateVaultPolicyRequest.vaultId;
|
@@ -1927,8 +1911,8 @@ var ParamCreater = function () {
|
|
1927
1911
|
*
|
1928
1912
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1929
1913
|
*/
|
1930
|
-
importBackup
|
1931
|
-
|
1914
|
+
importBackup(importBackupRequest) {
|
1915
|
+
const options = {
|
1932
1916
|
method: "POST",
|
1933
1917
|
url: "/v3/{project_id}/backups/sync",
|
1934
1918
|
contentType: "application/json;charset=UTF-8",
|
@@ -1937,8 +1921,8 @@ var ParamCreater = function () {
|
|
1937
1921
|
headers: {},
|
1938
1922
|
data: {}
|
1939
1923
|
};
|
1940
|
-
|
1941
|
-
|
1924
|
+
const localVarHeaderParameter = {};
|
1925
|
+
let body;
|
1942
1926
|
if (importBackupRequest !== null && importBackupRequest !== undefined) {
|
1943
1927
|
if (importBackupRequest instanceof ImportBackupRequest_1.ImportBackupRequest) {
|
1944
1928
|
body = importBackupRequest.body;
|
@@ -1960,8 +1944,8 @@ var ParamCreater = function () {
|
|
1960
1944
|
*
|
1961
1945
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1962
1946
|
*/
|
1963
|
-
importCheckpoint
|
1964
|
-
|
1947
|
+
importCheckpoint(importCheckpointRequest) {
|
1948
|
+
const options = {
|
1965
1949
|
method: "POST",
|
1966
1950
|
url: "/v3/{project_id}/checkpoints/sync",
|
1967
1951
|
contentType: "application/json;charset=UTF-8",
|
@@ -1970,8 +1954,8 @@ var ParamCreater = function () {
|
|
1970
1954
|
headers: {},
|
1971
1955
|
data: {}
|
1972
1956
|
};
|
1973
|
-
|
1974
|
-
|
1957
|
+
const localVarHeaderParameter = {};
|
1958
|
+
let body;
|
1975
1959
|
if (importCheckpointRequest !== null && importCheckpointRequest !== undefined) {
|
1976
1960
|
if (importCheckpointRequest instanceof ImportCheckpointRequest_1.ImportCheckpointRequest) {
|
1977
1961
|
body = importCheckpointRequest.body;
|
@@ -1993,8 +1977,8 @@ var ParamCreater = function () {
|
|
1993
1977
|
*
|
1994
1978
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1995
1979
|
*/
|
1996
|
-
listAgent
|
1997
|
-
|
1980
|
+
listAgent(listAgentRequest) {
|
1981
|
+
const options = {
|
1998
1982
|
method: "GET",
|
1999
1983
|
url: "/v3/{project_id}/agents",
|
2000
1984
|
contentType: "application/json",
|
@@ -2002,12 +1986,12 @@ var ParamCreater = function () {
|
|
2002
1986
|
pathParams: {},
|
2003
1987
|
headers: {}
|
2004
1988
|
};
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
1989
|
+
const localVarHeaderParameter = {};
|
1990
|
+
const localVarQueryParameter = {};
|
1991
|
+
let limit;
|
1992
|
+
let offset;
|
1993
|
+
let status;
|
1994
|
+
let agentId;
|
2011
1995
|
if (listAgentRequest !== null && listAgentRequest !== undefined) {
|
2012
1996
|
if (listAgentRequest instanceof ListAgentRequest_1.ListAgentRequest) {
|
2013
1997
|
limit = listAgentRequest.limit;
|
@@ -2043,8 +2027,8 @@ var ParamCreater = function () {
|
|
2043
2027
|
*
|
2044
2028
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2045
2029
|
*/
|
2046
|
-
listBackups
|
2047
|
-
|
2030
|
+
listBackups(listBackupsRequest) {
|
2031
|
+
const options = {
|
2048
2032
|
method: "GET",
|
2049
2033
|
url: "/v3/{project_id}/backups",
|
2050
2034
|
contentType: "application/json",
|
@@ -2052,31 +2036,31 @@ var ParamCreater = function () {
|
|
2052
2036
|
pathParams: {},
|
2053
2037
|
headers: {}
|
2054
2038
|
};
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2039
|
+
const localVarHeaderParameter = {};
|
2040
|
+
const localVarQueryParameter = {};
|
2041
|
+
let checkpointId;
|
2042
|
+
let dec;
|
2043
|
+
let endTime;
|
2044
|
+
let imageType;
|
2045
|
+
let limit;
|
2046
|
+
let marker;
|
2047
|
+
let name;
|
2048
|
+
let offset;
|
2049
|
+
let resourceAz;
|
2050
|
+
let resourceId;
|
2051
|
+
let resourceName;
|
2052
|
+
let resourceType;
|
2053
|
+
let sort;
|
2054
|
+
let startTime;
|
2055
|
+
let status;
|
2056
|
+
let vaultId;
|
2057
|
+
let enterpriseProjectId;
|
2058
|
+
let ownType;
|
2059
|
+
let memberStatus;
|
2060
|
+
let parentId;
|
2061
|
+
let usedPercent;
|
2062
|
+
let showReplication;
|
2063
|
+
let incremental;
|
2080
2064
|
if (listBackupsRequest !== null && listBackupsRequest !== undefined) {
|
2081
2065
|
if (listBackupsRequest instanceof ListBackupsRequest_1.ListBackupsRequest) {
|
2082
2066
|
checkpointId = listBackupsRequest.checkpointId;
|
@@ -2207,8 +2191,8 @@ var ParamCreater = function () {
|
|
2207
2191
|
*
|
2208
2192
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2209
2193
|
*/
|
2210
|
-
listDomainProjects
|
2211
|
-
|
2194
|
+
listDomainProjects(listDomainProjectsRequest) {
|
2195
|
+
const options = {
|
2212
2196
|
method: "GET",
|
2213
2197
|
url: "/v3/domain/{domain_name}/projects",
|
2214
2198
|
contentType: "application/json",
|
@@ -2216,8 +2200,8 @@ var ParamCreater = function () {
|
|
2216
2200
|
pathParams: {},
|
2217
2201
|
headers: {}
|
2218
2202
|
};
|
2219
|
-
|
2220
|
-
|
2203
|
+
const localVarHeaderParameter = {};
|
2204
|
+
let domainName;
|
2221
2205
|
if (listDomainProjectsRequest !== null && listDomainProjectsRequest !== undefined) {
|
2222
2206
|
if (listDomainProjectsRequest instanceof ListDomainProjectsRequest_1.ListDomainProjectsRequest) {
|
2223
2207
|
domainName = listDomainProjectsRequest.domainName;
|
@@ -2238,8 +2222,8 @@ var ParamCreater = function () {
|
|
2238
2222
|
*
|
2239
2223
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2240
2224
|
*/
|
2241
|
-
listExternalVault
|
2242
|
-
|
2225
|
+
listExternalVault(listExternalVaultRequest) {
|
2226
|
+
const options = {
|
2243
2227
|
method: "GET",
|
2244
2228
|
url: "/v3/{project_id}/vaults/external",
|
2245
2229
|
contentType: "application/json",
|
@@ -2247,16 +2231,16 @@ var ParamCreater = function () {
|
|
2247
2231
|
pathParams: {},
|
2248
2232
|
headers: {}
|
2249
2233
|
};
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2234
|
+
const localVarHeaderParameter = {};
|
2235
|
+
const localVarQueryParameter = {};
|
2236
|
+
let externalProjectId;
|
2237
|
+
let regionId;
|
2238
|
+
let limit;
|
2239
|
+
let offset;
|
2240
|
+
let protectType;
|
2241
|
+
let objcetType;
|
2242
|
+
let cloudType;
|
2243
|
+
let vaultId;
|
2260
2244
|
if (listExternalVaultRequest !== null && listExternalVaultRequest !== undefined) {
|
2261
2245
|
if (listExternalVaultRequest instanceof ListExternalVaultRequest_1.ListExternalVaultRequest) {
|
2262
2246
|
externalProjectId = listExternalVaultRequest.externalProjectId;
|
@@ -2318,8 +2302,8 @@ var ParamCreater = function () {
|
|
2318
2302
|
*
|
2319
2303
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2320
2304
|
*/
|
2321
|
-
listOpLogs
|
2322
|
-
|
2305
|
+
listOpLogs(listOpLogsRequest) {
|
2306
|
+
const options = {
|
2323
2307
|
method: "GET",
|
2324
2308
|
url: "/v3/{project_id}/operation-logs",
|
2325
2309
|
contentType: "application/json",
|
@@ -2327,20 +2311,20 @@ var ParamCreater = function () {
|
|
2327
2311
|
pathParams: {},
|
2328
2312
|
headers: {}
|
2329
2313
|
};
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2314
|
+
const localVarHeaderParameter = {};
|
2315
|
+
const localVarQueryParameter = {};
|
2316
|
+
let endTime;
|
2317
|
+
let limit;
|
2318
|
+
let offset;
|
2319
|
+
let operationType;
|
2320
|
+
let providerId;
|
2321
|
+
let resourceId;
|
2322
|
+
let resourceName;
|
2323
|
+
let startTime;
|
2324
|
+
let status;
|
2325
|
+
let vaultId;
|
2326
|
+
let vaultName;
|
2327
|
+
let enterpriseProjectId;
|
2344
2328
|
if (listOpLogsRequest !== null && listOpLogsRequest !== undefined) {
|
2345
2329
|
if (listOpLogsRequest instanceof ListOpLogsRequest_1.ListOpLogsRequest) {
|
2346
2330
|
endTime = listOpLogsRequest.endTime;
|
@@ -2416,8 +2400,8 @@ var ParamCreater = function () {
|
|
2416
2400
|
*
|
2417
2401
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2418
2402
|
*/
|
2419
|
-
listPolicies
|
2420
|
-
|
2403
|
+
listPolicies(listPoliciesRequest) {
|
2404
|
+
const options = {
|
2421
2405
|
method: "GET",
|
2422
2406
|
url: "/v3/{project_id}/policies",
|
2423
2407
|
contentType: "application/json",
|
@@ -2425,10 +2409,10 @@ var ParamCreater = function () {
|
|
2425
2409
|
pathParams: {},
|
2426
2410
|
headers: {}
|
2427
2411
|
};
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2412
|
+
const localVarHeaderParameter = {};
|
2413
|
+
const localVarQueryParameter = {};
|
2414
|
+
let operationType;
|
2415
|
+
let vaultId;
|
2432
2416
|
if (listPoliciesRequest !== null && listPoliciesRequest !== undefined) {
|
2433
2417
|
if (listPoliciesRequest instanceof ListPoliciesRequest_1.ListPoliciesRequest) {
|
2434
2418
|
operationType = listPoliciesRequest.operationType;
|
@@ -2454,8 +2438,8 @@ var ParamCreater = function () {
|
|
2454
2438
|
*
|
2455
2439
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2456
2440
|
*/
|
2457
|
-
listProjects
|
2458
|
-
|
2441
|
+
listProjects() {
|
2442
|
+
const options = {
|
2459
2443
|
method: "GET",
|
2460
2444
|
url: "/v3/region-projects",
|
2461
2445
|
contentType: "application/json",
|
@@ -2463,7 +2447,7 @@ var ParamCreater = function () {
|
|
2463
2447
|
pathParams: {},
|
2464
2448
|
headers: {}
|
2465
2449
|
};
|
2466
|
-
|
2450
|
+
const localVarHeaderParameter = {};
|
2467
2451
|
options.headers = localVarHeaderParameter;
|
2468
2452
|
return options;
|
2469
2453
|
},
|
@@ -2472,8 +2456,8 @@ var ParamCreater = function () {
|
|
2472
2456
|
*
|
2473
2457
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2474
2458
|
*/
|
2475
|
-
listProtectable
|
2476
|
-
|
2459
|
+
listProtectable(listProtectableRequest) {
|
2460
|
+
const options = {
|
2477
2461
|
method: "GET",
|
2478
2462
|
url: "/v3/{project_id}/protectables/{protectable_type}/instances",
|
2479
2463
|
contentType: "application/json",
|
@@ -2481,16 +2465,16 @@ var ParamCreater = function () {
|
|
2481
2465
|
pathParams: {},
|
2482
2466
|
headers: {}
|
2483
2467
|
};
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2468
|
+
const localVarHeaderParameter = {};
|
2469
|
+
const localVarQueryParameter = {};
|
2470
|
+
let protectableType;
|
2471
|
+
let limit;
|
2472
|
+
let marker;
|
2473
|
+
let name;
|
2474
|
+
let offset;
|
2475
|
+
let status;
|
2476
|
+
let id;
|
2477
|
+
let serverId;
|
2494
2478
|
if (listProtectableRequest !== null && listProtectableRequest !== undefined) {
|
2495
2479
|
if (listProtectableRequest instanceof ListProtectableRequest_1.ListProtectableRequest) {
|
2496
2480
|
protectableType = listProtectableRequest.protectableType;
|
@@ -2547,8 +2531,8 @@ var ParamCreater = function () {
|
|
2547
2531
|
*
|
2548
2532
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2549
2533
|
*/
|
2550
|
-
listVault
|
2551
|
-
|
2534
|
+
listVault(listVaultRequest) {
|
2535
|
+
const options = {
|
2552
2536
|
method: "GET",
|
2553
2537
|
url: "/v3/{project_id}/vaults",
|
2554
2538
|
contentType: "application/json",
|
@@ -2556,19 +2540,19 @@ var ParamCreater = function () {
|
|
2556
2540
|
pathParams: {},
|
2557
2541
|
headers: {}
|
2558
2542
|
};
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2562
|
-
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2543
|
+
const localVarHeaderParameter = {};
|
2544
|
+
const localVarQueryParameter = {};
|
2545
|
+
let limit;
|
2546
|
+
let name;
|
2547
|
+
let offset;
|
2548
|
+
let cloudType;
|
2549
|
+
let protectType;
|
2550
|
+
let objectType;
|
2551
|
+
let enterpriseProjectId;
|
2552
|
+
let id;
|
2553
|
+
let policyId;
|
2554
|
+
let status;
|
2555
|
+
let resourceIds;
|
2572
2556
|
if (listVaultRequest !== null && listVaultRequest !== undefined) {
|
2573
2557
|
if (listVaultRequest instanceof ListVaultRequest_1.ListVaultRequest) {
|
2574
2558
|
limit = listVaultRequest.limit;
|
@@ -2639,8 +2623,8 @@ var ParamCreater = function () {
|
|
2639
2623
|
*
|
2640
2624
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2641
2625
|
*/
|
2642
|
-
migrateDomain
|
2643
|
-
|
2626
|
+
migrateDomain(migrateDomainRequest) {
|
2627
|
+
const options = {
|
2644
2628
|
method: "POST",
|
2645
2629
|
url: "/v3/migrates",
|
2646
2630
|
contentType: "application/json",
|
@@ -2649,8 +2633,8 @@ var ParamCreater = function () {
|
|
2649
2633
|
headers: {},
|
2650
2634
|
data: {}
|
2651
2635
|
};
|
2652
|
-
|
2653
|
-
|
2636
|
+
const localVarHeaderParameter = {};
|
2637
|
+
let body;
|
2654
2638
|
if (migrateDomainRequest !== null && migrateDomainRequest !== undefined) {
|
2655
2639
|
if (migrateDomainRequest instanceof MigrateDomainRequest_1.MigrateDomainRequest) {
|
2656
2640
|
body = migrateDomainRequest.body;
|
@@ -2672,8 +2656,8 @@ var ParamCreater = function () {
|
|
2672
2656
|
*
|
2673
2657
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2674
2658
|
*/
|
2675
|
-
migrateVaultResource
|
2676
|
-
|
2659
|
+
migrateVaultResource(migrateVaultResourceRequest) {
|
2660
|
+
const options = {
|
2677
2661
|
method: "POST",
|
2678
2662
|
url: "/v3/{project_id}/vaults/{vault_id}/migrateresources",
|
2679
2663
|
contentType: "application/json;charset=UTF-8",
|
@@ -2682,9 +2666,9 @@ var ParamCreater = function () {
|
|
2682
2666
|
headers: {},
|
2683
2667
|
data: {}
|
2684
2668
|
};
|
2685
|
-
|
2686
|
-
|
2687
|
-
|
2669
|
+
const localVarHeaderParameter = {};
|
2670
|
+
let body;
|
2671
|
+
let vaultId;
|
2688
2672
|
if (migrateVaultResourceRequest !== null && migrateVaultResourceRequest !== undefined) {
|
2689
2673
|
if (migrateVaultResourceRequest instanceof MigrateVaultResourceRequest_1.MigrateVaultResourceRequest) {
|
2690
2674
|
vaultId = migrateVaultResourceRequest.vaultId;
|
@@ -2712,8 +2696,8 @@ var ParamCreater = function () {
|
|
2712
2696
|
*
|
2713
2697
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2714
2698
|
*/
|
2715
|
-
registerAgent
|
2716
|
-
|
2699
|
+
registerAgent(registerAgentRequest) {
|
2700
|
+
const options = {
|
2717
2701
|
method: "POST",
|
2718
2702
|
url: "/v3/{project_id}/agents",
|
2719
2703
|
contentType: "application/json;charset=UTF-8",
|
@@ -2722,8 +2706,8 @@ var ParamCreater = function () {
|
|
2722
2706
|
headers: {},
|
2723
2707
|
data: {}
|
2724
2708
|
};
|
2725
|
-
|
2726
|
-
|
2709
|
+
const localVarHeaderParameter = {};
|
2710
|
+
let body;
|
2727
2711
|
if (registerAgentRequest !== null && registerAgentRequest !== undefined) {
|
2728
2712
|
if (registerAgentRequest instanceof RegisterAgentRequest_1.RegisterAgentRequest) {
|
2729
2713
|
body = registerAgentRequest.body;
|
@@ -2745,8 +2729,8 @@ var ParamCreater = function () {
|
|
2745
2729
|
*
|
2746
2730
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2747
2731
|
*/
|
2748
|
-
removeAgentPath
|
2749
|
-
|
2732
|
+
removeAgentPath(removeAgentPathRequest) {
|
2733
|
+
const options = {
|
2750
2734
|
method: "POST",
|
2751
2735
|
url: "/v3/{project_id}/agents/{agent_id}/remove-path",
|
2752
2736
|
contentType: "application/json;charset=UTF-8",
|
@@ -2755,9 +2739,9 @@ var ParamCreater = function () {
|
|
2755
2739
|
headers: {},
|
2756
2740
|
data: {}
|
2757
2741
|
};
|
2758
|
-
|
2759
|
-
|
2760
|
-
|
2742
|
+
const localVarHeaderParameter = {};
|
2743
|
+
let body;
|
2744
|
+
let agentId;
|
2761
2745
|
if (removeAgentPathRequest !== null && removeAgentPathRequest !== undefined) {
|
2762
2746
|
if (removeAgentPathRequest instanceof RemoveAgentPathRequest_1.RemoveAgentPathRequest) {
|
2763
2747
|
agentId = removeAgentPathRequest.agentId;
|
@@ -2785,8 +2769,8 @@ var ParamCreater = function () {
|
|
2785
2769
|
*
|
2786
2770
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2787
2771
|
*/
|
2788
|
-
removeVaultResource
|
2789
|
-
|
2772
|
+
removeVaultResource(removeVaultResourceRequest) {
|
2773
|
+
const options = {
|
2790
2774
|
method: "POST",
|
2791
2775
|
url: "/v3/{project_id}/vaults/{vault_id}/removeresources",
|
2792
2776
|
contentType: "application/json;charset=UTF-8",
|
@@ -2795,9 +2779,9 @@ var ParamCreater = function () {
|
|
2795
2779
|
headers: {},
|
2796
2780
|
data: {}
|
2797
2781
|
};
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2782
|
+
const localVarHeaderParameter = {};
|
2783
|
+
let body;
|
2784
|
+
let vaultId;
|
2801
2785
|
if (removeVaultResourceRequest !== null && removeVaultResourceRequest !== undefined) {
|
2802
2786
|
if (removeVaultResourceRequest instanceof RemoveVaultResourceRequest_1.RemoveVaultResourceRequest) {
|
2803
2787
|
vaultId = removeVaultResourceRequest.vaultId;
|
@@ -2825,8 +2809,8 @@ var ParamCreater = function () {
|
|
2825
2809
|
*
|
2826
2810
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2827
2811
|
*/
|
2828
|
-
restoreBackup
|
2829
|
-
|
2812
|
+
restoreBackup(restoreBackupRequest) {
|
2813
|
+
const options = {
|
2830
2814
|
method: "POST",
|
2831
2815
|
url: "/v3/{project_id}/backups/{backup_id}/restore",
|
2832
2816
|
contentType: "application/json;charset=UTF-8",
|
@@ -2835,9 +2819,9 @@ var ParamCreater = function () {
|
|
2835
2819
|
headers: {},
|
2836
2820
|
data: {}
|
2837
2821
|
};
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2822
|
+
const localVarHeaderParameter = {};
|
2823
|
+
let body;
|
2824
|
+
let backupId;
|
2841
2825
|
if (restoreBackupRequest !== null && restoreBackupRequest !== undefined) {
|
2842
2826
|
if (restoreBackupRequest instanceof RestoreBackupRequest_1.RestoreBackupRequest) {
|
2843
2827
|
backupId = restoreBackupRequest.backupId;
|
@@ -2865,8 +2849,8 @@ var ParamCreater = function () {
|
|
2865
2849
|
*
|
2866
2850
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2867
2851
|
*/
|
2868
|
-
setVaultResource
|
2869
|
-
|
2852
|
+
setVaultResource(setVaultResourceRequest) {
|
2853
|
+
const options = {
|
2870
2854
|
method: "PUT",
|
2871
2855
|
url: "/v3/{project_id}/vaults/{vault_id}/set-resources",
|
2872
2856
|
contentType: "application/json;charset=UTF-8",
|
@@ -2875,9 +2859,9 @@ var ParamCreater = function () {
|
|
2875
2859
|
headers: {},
|
2876
2860
|
data: {}
|
2877
2861
|
};
|
2878
|
-
|
2879
|
-
|
2880
|
-
|
2862
|
+
const localVarHeaderParameter = {};
|
2863
|
+
let body;
|
2864
|
+
let vaultId;
|
2881
2865
|
if (setVaultResourceRequest !== null && setVaultResourceRequest !== undefined) {
|
2882
2866
|
if (setVaultResourceRequest instanceof SetVaultResourceRequest_1.SetVaultResourceRequest) {
|
2883
2867
|
vaultId = setVaultResourceRequest.vaultId;
|
@@ -2905,8 +2889,8 @@ var ParamCreater = function () {
|
|
2905
2889
|
*
|
2906
2890
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2907
2891
|
*/
|
2908
|
-
showAgent
|
2909
|
-
|
2892
|
+
showAgent(showAgentRequest) {
|
2893
|
+
const options = {
|
2910
2894
|
method: "GET",
|
2911
2895
|
url: "/v3/{project_id}/agents/{agent_id}",
|
2912
2896
|
contentType: "application/json",
|
@@ -2914,8 +2898,8 @@ var ParamCreater = function () {
|
|
2914
2898
|
pathParams: {},
|
2915
2899
|
headers: {}
|
2916
2900
|
};
|
2917
|
-
|
2918
|
-
|
2901
|
+
const localVarHeaderParameter = {};
|
2902
|
+
let agentId;
|
2919
2903
|
if (showAgentRequest !== null && showAgentRequest !== undefined) {
|
2920
2904
|
if (showAgentRequest instanceof ShowAgentRequest_1.ShowAgentRequest) {
|
2921
2905
|
agentId = showAgentRequest.agentId;
|
@@ -2936,8 +2920,8 @@ var ParamCreater = function () {
|
|
2936
2920
|
*
|
2937
2921
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2938
2922
|
*/
|
2939
|
-
showBackup
|
2940
|
-
|
2923
|
+
showBackup(showBackupRequest) {
|
2924
|
+
const options = {
|
2941
2925
|
method: "GET",
|
2942
2926
|
url: "/v3/{project_id}/backups/{backup_id}",
|
2943
2927
|
contentType: "application/json",
|
@@ -2945,8 +2929,8 @@ var ParamCreater = function () {
|
|
2945
2929
|
pathParams: {},
|
2946
2930
|
headers: {}
|
2947
2931
|
};
|
2948
|
-
|
2949
|
-
|
2932
|
+
const localVarHeaderParameter = {};
|
2933
|
+
let backupId;
|
2950
2934
|
if (showBackupRequest !== null && showBackupRequest !== undefined) {
|
2951
2935
|
if (showBackupRequest instanceof ShowBackupRequest_1.ShowBackupRequest) {
|
2952
2936
|
backupId = showBackupRequest.backupId;
|
@@ -2967,8 +2951,8 @@ var ParamCreater = function () {
|
|
2967
2951
|
*
|
2968
2952
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2969
2953
|
*/
|
2970
|
-
showCheckpoint
|
2971
|
-
|
2954
|
+
showCheckpoint(showCheckpointRequest) {
|
2955
|
+
const options = {
|
2972
2956
|
method: "GET",
|
2973
2957
|
url: "/v3/{project_id}/checkpoints/{checkpoint_id}",
|
2974
2958
|
contentType: "application/json",
|
@@ -2976,8 +2960,8 @@ var ParamCreater = function () {
|
|
2976
2960
|
pathParams: {},
|
2977
2961
|
headers: {}
|
2978
2962
|
};
|
2979
|
-
|
2980
|
-
|
2963
|
+
const localVarHeaderParameter = {};
|
2964
|
+
let checkpointId;
|
2981
2965
|
if (showCheckpointRequest !== null && showCheckpointRequest !== undefined) {
|
2982
2966
|
if (showCheckpointRequest instanceof ShowCheckpointRequest_1.ShowCheckpointRequest) {
|
2983
2967
|
checkpointId = showCheckpointRequest.checkpointId;
|
@@ -2998,8 +2982,8 @@ var ParamCreater = function () {
|
|
2998
2982
|
*
|
2999
2983
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3000
2984
|
*/
|
3001
|
-
showDomain
|
3002
|
-
|
2985
|
+
showDomain(showDomainRequest) {
|
2986
|
+
const options = {
|
3003
2987
|
method: "GET",
|
3004
2988
|
url: "/v3/domain/{source_project_id}",
|
3005
2989
|
contentType: "application/json",
|
@@ -3007,8 +2991,8 @@ var ParamCreater = function () {
|
|
3007
2991
|
pathParams: {},
|
3008
2992
|
headers: {}
|
3009
2993
|
};
|
3010
|
-
|
3011
|
-
|
2994
|
+
const localVarHeaderParameter = {};
|
2995
|
+
let sourceProjectId;
|
3012
2996
|
if (showDomainRequest !== null && showDomainRequest !== undefined) {
|
3013
2997
|
if (showDomainRequest instanceof ShowDomainRequest_1.ShowDomainRequest) {
|
3014
2998
|
sourceProjectId = showDomainRequest.sourceProjectId;
|
@@ -3029,8 +3013,8 @@ var ParamCreater = function () {
|
|
3029
3013
|
*
|
3030
3014
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3031
3015
|
*/
|
3032
|
-
showMemberDetail
|
3033
|
-
|
3016
|
+
showMemberDetail(showMemberDetailRequest) {
|
3017
|
+
const options = {
|
3034
3018
|
method: "GET",
|
3035
3019
|
url: "/v3/{project_id}/backups/{backup_id}/members/{member_id}",
|
3036
3020
|
contentType: "application/json",
|
@@ -3038,9 +3022,9 @@ var ParamCreater = function () {
|
|
3038
3022
|
pathParams: {},
|
3039
3023
|
headers: {}
|
3040
3024
|
};
|
3041
|
-
|
3042
|
-
|
3043
|
-
|
3025
|
+
const localVarHeaderParameter = {};
|
3026
|
+
let backupId;
|
3027
|
+
let memberId;
|
3044
3028
|
if (showMemberDetailRequest !== null && showMemberDetailRequest !== undefined) {
|
3045
3029
|
if (showMemberDetailRequest instanceof ShowMemberDetailRequest_1.ShowMemberDetailRequest) {
|
3046
3030
|
backupId = showMemberDetailRequest.backupId;
|
@@ -3066,8 +3050,8 @@ var ParamCreater = function () {
|
|
3066
3050
|
*
|
3067
3051
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3068
3052
|
*/
|
3069
|
-
showMembersDetail
|
3070
|
-
|
3053
|
+
showMembersDetail(showMembersDetailRequest) {
|
3054
|
+
const options = {
|
3071
3055
|
method: "GET",
|
3072
3056
|
url: "/v3/{project_id}/backups/{backup_id}/members",
|
3073
3057
|
contentType: "application/json",
|
@@ -3075,17 +3059,17 @@ var ParamCreater = function () {
|
|
3075
3059
|
pathParams: {},
|
3076
3060
|
headers: {}
|
3077
3061
|
};
|
3078
|
-
|
3079
|
-
|
3080
|
-
|
3081
|
-
|
3082
|
-
|
3083
|
-
|
3084
|
-
|
3085
|
-
|
3086
|
-
|
3087
|
-
|
3088
|
-
|
3062
|
+
const localVarHeaderParameter = {};
|
3063
|
+
const localVarQueryParameter = {};
|
3064
|
+
let backupId;
|
3065
|
+
let destProjectId;
|
3066
|
+
let imageId;
|
3067
|
+
let status;
|
3068
|
+
let vaultId;
|
3069
|
+
let limit;
|
3070
|
+
let marker;
|
3071
|
+
let offset;
|
3072
|
+
let sort;
|
3089
3073
|
if (showMembersDetailRequest !== null && showMembersDetailRequest !== undefined) {
|
3090
3074
|
if (showMembersDetailRequest instanceof ShowMembersDetailRequest_1.ShowMembersDetailRequest) {
|
3091
3075
|
backupId = showMembersDetailRequest.backupId;
|
@@ -3147,8 +3131,8 @@ var ParamCreater = function () {
|
|
3147
3131
|
*
|
3148
3132
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3149
3133
|
*/
|
3150
|
-
showMetadata
|
3151
|
-
|
3134
|
+
showMetadata(showMetadataRequest) {
|
3135
|
+
const options = {
|
3152
3136
|
method: "GET",
|
3153
3137
|
url: "/v3/{project_id}/backups/{backup_id}/metadata",
|
3154
3138
|
contentType: "application/json",
|
@@ -3156,8 +3140,8 @@ var ParamCreater = function () {
|
|
3156
3140
|
pathParams: {},
|
3157
3141
|
headers: {}
|
3158
3142
|
};
|
3159
|
-
|
3160
|
-
|
3143
|
+
const localVarHeaderParameter = {};
|
3144
|
+
let backupId;
|
3161
3145
|
if (showMetadataRequest !== null && showMetadataRequest !== undefined) {
|
3162
3146
|
if (showMetadataRequest instanceof ShowMetadataRequest_1.ShowMetadataRequest) {
|
3163
3147
|
backupId = showMetadataRequest.backupId;
|
@@ -3178,8 +3162,8 @@ var ParamCreater = function () {
|
|
3178
3162
|
*
|
3179
3163
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3180
3164
|
*/
|
3181
|
-
showMigrateStatus
|
3182
|
-
|
3165
|
+
showMigrateStatus(showMigrateStatusRequest) {
|
3166
|
+
const options = {
|
3183
3167
|
method: "GET",
|
3184
3168
|
url: "/v3/migrates",
|
3185
3169
|
contentType: "application/json",
|
@@ -3187,9 +3171,9 @@ var ParamCreater = function () {
|
|
3187
3171
|
pathParams: {},
|
3188
3172
|
headers: {}
|
3189
3173
|
};
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3174
|
+
const localVarHeaderParameter = {};
|
3175
|
+
const localVarQueryParameter = {};
|
3176
|
+
let allRegions;
|
3193
3177
|
if (showMigrateStatusRequest !== null && showMigrateStatusRequest !== undefined) {
|
3194
3178
|
if (showMigrateStatusRequest instanceof ShowMigrateStatusRequest_1.ShowMigrateStatusRequest) {
|
3195
3179
|
allRegions = showMigrateStatusRequest.allRegions;
|
@@ -3210,8 +3194,8 @@ var ParamCreater = function () {
|
|
3210
3194
|
*
|
3211
3195
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3212
3196
|
*/
|
3213
|
-
showOpLog
|
3214
|
-
|
3197
|
+
showOpLog(showOpLogRequest) {
|
3198
|
+
const options = {
|
3215
3199
|
method: "GET",
|
3216
3200
|
url: "/v3/{project_id}/operation-logs/{operation_log_id}",
|
3217
3201
|
contentType: "application/json",
|
@@ -3219,8 +3203,8 @@ var ParamCreater = function () {
|
|
3219
3203
|
pathParams: {},
|
3220
3204
|
headers: {}
|
3221
3205
|
};
|
3222
|
-
|
3223
|
-
|
3206
|
+
const localVarHeaderParameter = {};
|
3207
|
+
let operationLogId;
|
3224
3208
|
if (showOpLogRequest !== null && showOpLogRequest !== undefined) {
|
3225
3209
|
if (showOpLogRequest instanceof ShowOpLogRequest_1.ShowOpLogRequest) {
|
3226
3210
|
operationLogId = showOpLogRequest.operationLogId;
|
@@ -3241,8 +3225,8 @@ var ParamCreater = function () {
|
|
3241
3225
|
*
|
3242
3226
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3243
3227
|
*/
|
3244
|
-
showPolicy
|
3245
|
-
|
3228
|
+
showPolicy(showPolicyRequest) {
|
3229
|
+
const options = {
|
3246
3230
|
method: "GET",
|
3247
3231
|
url: "/v3/{project_id}/policies/{policy_id}",
|
3248
3232
|
contentType: "application/json",
|
@@ -3250,8 +3234,8 @@ var ParamCreater = function () {
|
|
3250
3234
|
pathParams: {},
|
3251
3235
|
headers: {}
|
3252
3236
|
};
|
3253
|
-
|
3254
|
-
|
3237
|
+
const localVarHeaderParameter = {};
|
3238
|
+
let policyId;
|
3255
3239
|
if (showPolicyRequest !== null && showPolicyRequest !== undefined) {
|
3256
3240
|
if (showPolicyRequest instanceof ShowPolicyRequest_1.ShowPolicyRequest) {
|
3257
3241
|
policyId = showPolicyRequest.policyId;
|
@@ -3272,8 +3256,8 @@ var ParamCreater = function () {
|
|
3272
3256
|
*
|
3273
3257
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3274
3258
|
*/
|
3275
|
-
showProtectable
|
3276
|
-
|
3259
|
+
showProtectable(showProtectableRequest) {
|
3260
|
+
const options = {
|
3277
3261
|
method: "GET",
|
3278
3262
|
url: "/v3/{project_id}/protectables/{protectable_type}/instances/{instance_id}",
|
3279
3263
|
contentType: "application/json",
|
@@ -3281,9 +3265,9 @@ var ParamCreater = function () {
|
|
3281
3265
|
pathParams: {},
|
3282
3266
|
headers: {}
|
3283
3267
|
};
|
3284
|
-
|
3285
|
-
|
3286
|
-
|
3268
|
+
const localVarHeaderParameter = {};
|
3269
|
+
let instanceId;
|
3270
|
+
let protectableType;
|
3287
3271
|
if (showProtectableRequest !== null && showProtectableRequest !== undefined) {
|
3288
3272
|
if (showProtectableRequest instanceof ShowProtectableRequest_1.ShowProtectableRequest) {
|
3289
3273
|
instanceId = showProtectableRequest.instanceId;
|
@@ -3309,8 +3293,8 @@ var ParamCreater = function () {
|
|
3309
3293
|
*
|
3310
3294
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3311
3295
|
*/
|
3312
|
-
showReplicationCapabilities
|
3313
|
-
|
3296
|
+
showReplicationCapabilities() {
|
3297
|
+
const options = {
|
3314
3298
|
method: "GET",
|
3315
3299
|
url: "/v3/{project_id}/replication-capabilities",
|
3316
3300
|
contentType: "application/json",
|
@@ -3318,7 +3302,7 @@ var ParamCreater = function () {
|
|
3318
3302
|
pathParams: {},
|
3319
3303
|
headers: {}
|
3320
3304
|
};
|
3321
|
-
|
3305
|
+
const localVarHeaderParameter = {};
|
3322
3306
|
options.headers = localVarHeaderParameter;
|
3323
3307
|
return options;
|
3324
3308
|
},
|
@@ -3327,8 +3311,8 @@ var ParamCreater = function () {
|
|
3327
3311
|
*
|
3328
3312
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3329
3313
|
*/
|
3330
|
-
showStorageUsage
|
3331
|
-
|
3314
|
+
showStorageUsage(showStorageUsageRequest) {
|
3315
|
+
const options = {
|
3332
3316
|
method: "GET",
|
3333
3317
|
url: "/v3/{project_id}/storage_usage",
|
3334
3318
|
contentType: "application/json",
|
@@ -3336,12 +3320,12 @@ var ParamCreater = function () {
|
|
3336
3320
|
pathParams: {},
|
3337
3321
|
headers: {}
|
3338
3322
|
};
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3323
|
+
const localVarHeaderParameter = {};
|
3324
|
+
const localVarQueryParameter = {};
|
3325
|
+
let limit;
|
3326
|
+
let offset;
|
3327
|
+
let resourceId;
|
3328
|
+
let resourceType;
|
3345
3329
|
if (showStorageUsageRequest !== null && showStorageUsageRequest !== undefined) {
|
3346
3330
|
if (showStorageUsageRequest instanceof ShowStorageUsageRequest_1.ShowStorageUsageRequest) {
|
3347
3331
|
limit = showStorageUsageRequest.limit;
|
@@ -3377,8 +3361,8 @@ var ParamCreater = function () {
|
|
3377
3361
|
*
|
3378
3362
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3379
3363
|
*/
|
3380
|
-
showSummary
|
3381
|
-
|
3364
|
+
showSummary() {
|
3365
|
+
const options = {
|
3382
3366
|
method: "GET",
|
3383
3367
|
url: "/v3/{project_id}/vaults/summary",
|
3384
3368
|
contentType: "application/json",
|
@@ -3386,7 +3370,7 @@ var ParamCreater = function () {
|
|
3386
3370
|
pathParams: {},
|
3387
3371
|
headers: {}
|
3388
3372
|
};
|
3389
|
-
|
3373
|
+
const localVarHeaderParameter = {};
|
3390
3374
|
options.headers = localVarHeaderParameter;
|
3391
3375
|
return options;
|
3392
3376
|
},
|
@@ -3395,8 +3379,8 @@ var ParamCreater = function () {
|
|
3395
3379
|
*
|
3396
3380
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3397
3381
|
*/
|
3398
|
-
showVault
|
3399
|
-
|
3382
|
+
showVault(showVaultRequest) {
|
3383
|
+
const options = {
|
3400
3384
|
method: "GET",
|
3401
3385
|
url: "/v3/{project_id}/vaults/{vault_id}",
|
3402
3386
|
contentType: "application/json",
|
@@ -3404,8 +3388,8 @@ var ParamCreater = function () {
|
|
3404
3388
|
pathParams: {},
|
3405
3389
|
headers: {}
|
3406
3390
|
};
|
3407
|
-
|
3408
|
-
|
3391
|
+
const localVarHeaderParameter = {};
|
3392
|
+
let vaultId;
|
3409
3393
|
if (showVaultRequest !== null && showVaultRequest !== undefined) {
|
3410
3394
|
if (showVaultRequest instanceof ShowVaultRequest_1.ShowVaultRequest) {
|
3411
3395
|
vaultId = showVaultRequest.vaultId;
|
@@ -3427,8 +3411,8 @@ var ParamCreater = function () {
|
|
3427
3411
|
*
|
3428
3412
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3429
3413
|
*/
|
3430
|
-
showVaultProjectTag
|
3431
|
-
|
3414
|
+
showVaultProjectTag() {
|
3415
|
+
const options = {
|
3432
3416
|
method: "GET",
|
3433
3417
|
url: "/v3/{project_id}/vault/tags",
|
3434
3418
|
contentType: "application/json",
|
@@ -3436,7 +3420,7 @@ var ParamCreater = function () {
|
|
3436
3420
|
pathParams: {},
|
3437
3421
|
headers: {}
|
3438
3422
|
};
|
3439
|
-
|
3423
|
+
const localVarHeaderParameter = {};
|
3440
3424
|
options.headers = localVarHeaderParameter;
|
3441
3425
|
return options;
|
3442
3426
|
},
|
@@ -3446,8 +3430,8 @@ var ParamCreater = function () {
|
|
3446
3430
|
*
|
3447
3431
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3448
3432
|
*/
|
3449
|
-
showVaultResourceInstances
|
3450
|
-
|
3433
|
+
showVaultResourceInstances(showVaultResourceInstancesRequest) {
|
3434
|
+
const options = {
|
3451
3435
|
method: "POST",
|
3452
3436
|
url: "/v3/{project_id}/vault/resource_instances/action",
|
3453
3437
|
contentType: "application/json;charset=UTF-8",
|
@@ -3456,8 +3440,8 @@ var ParamCreater = function () {
|
|
3456
3440
|
headers: {},
|
3457
3441
|
data: {}
|
3458
3442
|
};
|
3459
|
-
|
3460
|
-
|
3443
|
+
const localVarHeaderParameter = {};
|
3444
|
+
let body;
|
3461
3445
|
if (showVaultResourceInstancesRequest !== null && showVaultResourceInstancesRequest !== undefined) {
|
3462
3446
|
if (showVaultResourceInstancesRequest instanceof ShowVaultResourceInstancesRequest_1.ShowVaultResourceInstancesRequest) {
|
3463
3447
|
body = showVaultResourceInstancesRequest.body;
|
@@ -3480,8 +3464,8 @@ var ParamCreater = function () {
|
|
3480
3464
|
*
|
3481
3465
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3482
3466
|
*/
|
3483
|
-
showVaultTag
|
3484
|
-
|
3467
|
+
showVaultTag(showVaultTagRequest) {
|
3468
|
+
const options = {
|
3485
3469
|
method: "GET",
|
3486
3470
|
url: "/v3/{project_id}/vault/{vault_id}/tags",
|
3487
3471
|
contentType: "application/json",
|
@@ -3489,8 +3473,8 @@ var ParamCreater = function () {
|
|
3489
3473
|
pathParams: {},
|
3490
3474
|
headers: {}
|
3491
3475
|
};
|
3492
|
-
|
3493
|
-
|
3476
|
+
const localVarHeaderParameter = {};
|
3477
|
+
let vaultId;
|
3494
3478
|
if (showVaultTagRequest !== null && showVaultTagRequest !== undefined) {
|
3495
3479
|
if (showVaultTagRequest instanceof ShowVaultTagRequest_1.ShowVaultTagRequest) {
|
3496
3480
|
vaultId = showVaultTagRequest.vaultId;
|
@@ -3511,8 +3495,8 @@ var ParamCreater = function () {
|
|
3511
3495
|
*
|
3512
3496
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3513
3497
|
*/
|
3514
|
-
unregisterAgent
|
3515
|
-
|
3498
|
+
unregisterAgent(unregisterAgentRequest) {
|
3499
|
+
const options = {
|
3516
3500
|
method: "DELETE",
|
3517
3501
|
url: "/v3/{project_id}/agents/{agent_id}",
|
3518
3502
|
contentType: "application/json",
|
@@ -3520,8 +3504,8 @@ var ParamCreater = function () {
|
|
3520
3504
|
pathParams: {},
|
3521
3505
|
headers: {}
|
3522
3506
|
};
|
3523
|
-
|
3524
|
-
|
3507
|
+
const localVarHeaderParameter = {};
|
3508
|
+
let agentId;
|
3525
3509
|
if (unregisterAgentRequest !== null && unregisterAgentRequest !== undefined) {
|
3526
3510
|
if (unregisterAgentRequest instanceof UnregisterAgentRequest_1.UnregisterAgentRequest) {
|
3527
3511
|
agentId = unregisterAgentRequest.agentId;
|
@@ -3542,8 +3526,8 @@ var ParamCreater = function () {
|
|
3542
3526
|
*
|
3543
3527
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3544
3528
|
*/
|
3545
|
-
updateAgent
|
3546
|
-
|
3529
|
+
updateAgent(updateAgentRequest) {
|
3530
|
+
const options = {
|
3547
3531
|
method: "PUT",
|
3548
3532
|
url: "/v3/{project_id}/agents/{agent_id}",
|
3549
3533
|
contentType: "application/json;charset=UTF-8",
|
@@ -3552,9 +3536,9 @@ var ParamCreater = function () {
|
|
3552
3536
|
headers: {},
|
3553
3537
|
data: {}
|
3554
3538
|
};
|
3555
|
-
|
3556
|
-
|
3557
|
-
|
3539
|
+
const localVarHeaderParameter = {};
|
3540
|
+
let body;
|
3541
|
+
let agentId;
|
3558
3542
|
if (updateAgentRequest !== null && updateAgentRequest !== undefined) {
|
3559
3543
|
if (updateAgentRequest instanceof UpdateAgentRequest_1.UpdateAgentRequest) {
|
3560
3544
|
agentId = updateAgentRequest.agentId;
|
@@ -3582,8 +3566,8 @@ var ParamCreater = function () {
|
|
3582
3566
|
*
|
3583
3567
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3584
3568
|
*/
|
3585
|
-
updateBackup
|
3586
|
-
|
3569
|
+
updateBackup(updateBackupRequest) {
|
3570
|
+
const options = {
|
3587
3571
|
method: "PUT",
|
3588
3572
|
url: "/v3/{project_id}/backups/{backup_id}",
|
3589
3573
|
contentType: "application/json;charset=UTF-8",
|
@@ -3592,9 +3576,9 @@ var ParamCreater = function () {
|
|
3592
3576
|
headers: {},
|
3593
3577
|
data: {}
|
3594
3578
|
};
|
3595
|
-
|
3596
|
-
|
3597
|
-
|
3579
|
+
const localVarHeaderParameter = {};
|
3580
|
+
let body;
|
3581
|
+
let backupId;
|
3598
3582
|
if (updateBackupRequest !== null && updateBackupRequest !== undefined) {
|
3599
3583
|
if (updateBackupRequest instanceof UpdateBackupRequest_1.UpdateBackupRequest) {
|
3600
3584
|
backupId = updateBackupRequest.backupId;
|
@@ -3619,8 +3603,8 @@ var ParamCreater = function () {
|
|
3619
3603
|
*
|
3620
3604
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3621
3605
|
*/
|
3622
|
-
updateMemberStatus
|
3623
|
-
|
3606
|
+
updateMemberStatus(updateMemberStatusRequest) {
|
3607
|
+
const options = {
|
3624
3608
|
method: "PUT",
|
3625
3609
|
url: "/v3/{project_id}/backups/{backup_id}/members/{member_id}",
|
3626
3610
|
contentType: "application/json;charset=UTF-8",
|
@@ -3629,10 +3613,10 @@ var ParamCreater = function () {
|
|
3629
3613
|
headers: {},
|
3630
3614
|
data: {}
|
3631
3615
|
};
|
3632
|
-
|
3633
|
-
|
3634
|
-
|
3635
|
-
|
3616
|
+
const localVarHeaderParameter = {};
|
3617
|
+
let body;
|
3618
|
+
let memberId;
|
3619
|
+
let backupId;
|
3636
3620
|
if (updateMemberStatusRequest !== null && updateMemberStatusRequest !== undefined) {
|
3637
3621
|
if (updateMemberStatusRequest instanceof UpdateMemberStatusRequest_1.UpdateMemberStatusRequest) {
|
3638
3622
|
memberId = updateMemberStatusRequest.memberId;
|
@@ -3662,8 +3646,8 @@ var ParamCreater = function () {
|
|
3662
3646
|
*
|
3663
3647
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3664
3648
|
*/
|
3665
|
-
updateOrder
|
3666
|
-
|
3649
|
+
updateOrder(updateOrderRequest) {
|
3650
|
+
const options = {
|
3667
3651
|
method: "PUT",
|
3668
3652
|
url: "/v3/{project_id}/orders/{order_id}",
|
3669
3653
|
contentType: "application/json;charset=UTF-8",
|
@@ -3672,9 +3656,9 @@ var ParamCreater = function () {
|
|
3672
3656
|
headers: {},
|
3673
3657
|
data: {}
|
3674
3658
|
};
|
3675
|
-
|
3676
|
-
|
3677
|
-
|
3659
|
+
const localVarHeaderParameter = {};
|
3660
|
+
let body;
|
3661
|
+
let orderId;
|
3678
3662
|
if (updateOrderRequest !== null && updateOrderRequest !== undefined) {
|
3679
3663
|
if (updateOrderRequest instanceof UpdateOrderRequest_1.UpdateOrderRequest) {
|
3680
3664
|
orderId = updateOrderRequest.orderId;
|
@@ -3702,8 +3686,8 @@ var ParamCreater = function () {
|
|
3702
3686
|
*
|
3703
3687
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3704
3688
|
*/
|
3705
|
-
updatePolicy
|
3706
|
-
|
3689
|
+
updatePolicy(updatePolicyRequest) {
|
3690
|
+
const options = {
|
3707
3691
|
method: "PUT",
|
3708
3692
|
url: "/v3/{project_id}/policies/{policy_id}",
|
3709
3693
|
contentType: "application/json;charset=UTF-8",
|
@@ -3712,9 +3696,9 @@ var ParamCreater = function () {
|
|
3712
3696
|
headers: {},
|
3713
3697
|
data: {}
|
3714
3698
|
};
|
3715
|
-
|
3716
|
-
|
3717
|
-
|
3699
|
+
const localVarHeaderParameter = {};
|
3700
|
+
let body;
|
3701
|
+
let policyId;
|
3718
3702
|
if (updatePolicyRequest !== null && updatePolicyRequest !== undefined) {
|
3719
3703
|
if (updatePolicyRequest instanceof UpdatePolicyRequest_1.UpdatePolicyRequest) {
|
3720
3704
|
policyId = updatePolicyRequest.policyId;
|
@@ -3742,8 +3726,8 @@ var ParamCreater = function () {
|
|
3742
3726
|
*
|
3743
3727
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3744
3728
|
*/
|
3745
|
-
updateVault
|
3746
|
-
|
3729
|
+
updateVault(updateVaultRequest) {
|
3730
|
+
const options = {
|
3747
3731
|
method: "PUT",
|
3748
3732
|
url: "/v3/{project_id}/vaults/{vault_id}",
|
3749
3733
|
contentType: "application/json;charset=UTF-8",
|
@@ -3752,9 +3736,9 @@ var ParamCreater = function () {
|
|
3752
3736
|
headers: {},
|
3753
3737
|
data: {}
|
3754
3738
|
};
|
3755
|
-
|
3756
|
-
|
3757
|
-
|
3739
|
+
const localVarHeaderParameter = {};
|
3740
|
+
let body;
|
3741
|
+
let vaultId;
|
3758
3742
|
if (updateVaultRequest !== null && updateVaultRequest !== undefined) {
|
3759
3743
|
if (updateVaultRequest instanceof UpdateVaultRequest_1.UpdateVaultRequest) {
|
3760
3744
|
vaultId = updateVaultRequest.vaultId;
|
@@ -3789,14 +3773,12 @@ function newClient(client) {
|
|
3789
3773
|
* @class RequiredError
|
3790
3774
|
* @extends {Error}
|
3791
3775
|
*/
|
3792
|
-
|
3793
|
-
|
3794
|
-
|
3795
|
-
|
3796
|
-
|
3797
|
-
|
3798
|
-
|
3799
|
-
}
|
3800
|
-
return RequiredError;
|
3801
|
-
}(Error));
|
3776
|
+
class RequiredError extends Error {
|
3777
|
+
constructor(field, msg) {
|
3778
|
+
super(msg);
|
3779
|
+
this.field = field;
|
3780
|
+
this.name = "RequiredError";
|
3781
|
+
}
|
3782
|
+
}
|
3802
3783
|
exports.RequiredError = RequiredError;
|
3784
|
+
//# sourceMappingURL=CbrClient.js.map
|