@huaweicloud/huaweicloud-sdk-cbr 3.1.36
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cbr.d.ts +2 -0
- package/huaweicloud-sdk-cbr.js +31 -0
- package/package.json +19 -0
- package/v1/CbrClient.d.ts +1175 -0
- package/v1/CbrClient.js +2558 -0
- package/v1/CbrRegion.d.ts +22 -0
- package/v1/CbrRegion.js +57 -0
- package/v1/model/AddMemberRequest.d.ts +10 -0
- package/v1/model/AddMemberRequest.js +28 -0
- package/v1/model/AddMemberResponse.d.ts +9 -0
- package/v1/model/AddMemberResponse.js +35 -0
- package/v1/model/AddMembersReq.d.ts +5 -0
- package/v1/model/AddMembersReq.js +14 -0
- package/v1/model/AddVaultResourceRequest.d.ts +10 -0
- package/v1/model/AddVaultResourceRequest.js +28 -0
- package/v1/model/AddVaultResourceResponse.d.ts +8 -0
- package/v1/model/AddVaultResourceResponse.js +41 -0
- package/v1/model/AssociateVaultPolicyRequest.d.ts +10 -0
- package/v1/model/AssociateVaultPolicyRequest.js +28 -0
- package/v1/model/AssociateVaultPolicyResponse.d.ts +9 -0
- package/v1/model/AssociateVaultPolicyResponse.js +41 -0
- package/v1/model/BackupExtendInfo.d.ts +51 -0
- package/v1/model/BackupExtendInfo.js +143 -0
- package/v1/model/BackupReplicateReq.d.ts +6 -0
- package/v1/model/BackupReplicateReq.js +14 -0
- package/v1/model/BackupReplicateReqBody.d.ts +23 -0
- package/v1/model/BackupReplicateReqBody.js +76 -0
- package/v1/model/BackupReplicateRespBody.d.ts +35 -0
- package/v1/model/BackupReplicateRespBody.js +121 -0
- package/v1/model/BackupResp.d.ts +118 -0
- package/v1/model/BackupResp.js +335 -0
- package/v1/model/BackupRestore.d.ts +22 -0
- package/v1/model/BackupRestore.js +69 -0
- package/v1/model/BackupRestoreReq.d.ts +6 -0
- package/v1/model/BackupRestoreReq.js +14 -0
- package/v1/model/BackupRestoreServerMapping.d.ts +11 -0
- package/v1/model/BackupRestoreServerMapping.js +39 -0
- package/v1/model/BackupSync.d.ts +35 -0
- package/v1/model/BackupSync.js +129 -0
- package/v1/model/BackupSyncReq.d.ts +6 -0
- package/v1/model/BackupSyncReq.js +14 -0
- package/v1/model/BackupSyncRespBody.d.ts +11 -0
- package/v1/model/BackupSyncRespBody.js +39 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.d.ts +10 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.js +28 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.d.ts +4 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.js +27 -0
- package/v1/model/BillbingCreateExtraInfo.d.ts +11 -0
- package/v1/model/BillbingCreateExtraInfo.js +37 -0
- package/v1/model/Billing.d.ts +119 -0
- package/v1/model/Billing.js +258 -0
- package/v1/model/BillingCreate.d.ts +119 -0
- package/v1/model/BillingCreate.js +286 -0
- package/v1/model/BillingUpdate.d.ts +17 -0
- package/v1/model/BillingUpdate.js +36 -0
- package/v1/model/BindRulesTags.d.ts +7 -0
- package/v1/model/BindRulesTags.js +19 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.d.ts +21 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.js +41 -0
- package/v1/model/CbcOrderResult.d.ts +11 -0
- package/v1/model/CbcOrderResult.js +27 -0
- package/v1/model/CheckpointCreate.d.ts +35 -0
- package/v1/model/CheckpointCreate.js +80 -0
- package/v1/model/CheckpointCreateSkippedResource.d.ts +13 -0
- package/v1/model/CheckpointCreateSkippedResource.js +29 -0
- package/v1/model/CheckpointExtraInfoResp.d.ts +11 -0
- package/v1/model/CheckpointExtraInfoResp.js +31 -0
- package/v1/model/CheckpointParam.d.ts +24 -0
- package/v1/model/CheckpointParam.js +67 -0
- package/v1/model/CheckpointPlanCreate.d.ts +15 -0
- package/v1/model/CheckpointPlanCreate.js +37 -0
- package/v1/model/CheckpointReplicateParam.d.ts +27 -0
- package/v1/model/CheckpointReplicateParam.js +97 -0
- package/v1/model/CheckpointReplicateReq.d.ts +6 -0
- package/v1/model/CheckpointReplicateReq.js +14 -0
- package/v1/model/CheckpointReplicateRespBody.d.ts +34 -0
- package/v1/model/CheckpointReplicateRespBody.js +119 -0
- package/v1/model/CheckpointReplicateRespbackups.d.ts +11 -0
- package/v1/model/CheckpointReplicateRespbackups.js +39 -0
- package/v1/model/CheckpointResourceResp.d.ts +40 -0
- package/v1/model/CheckpointResourceResp.js +106 -0
- package/v1/model/CopyBackupRequest.d.ts +10 -0
- package/v1/model/CopyBackupRequest.js +28 -0
- package/v1/model/CopyBackupResponse.d.ts +7 -0
- package/v1/model/CopyBackupResponse.js +31 -0
- package/v1/model/CopyCheckpointRequest.d.ts +6 -0
- package/v1/model/CopyCheckpointRequest.js +13 -0
- package/v1/model/CopyCheckpointResponse.d.ts +7 -0
- package/v1/model/CopyCheckpointResponse.js +31 -0
- package/v1/model/CreateCheckpointRequest.d.ts +6 -0
- package/v1/model/CreateCheckpointRequest.js +13 -0
- package/v1/model/CreateCheckpointResponse.d.ts +7 -0
- package/v1/model/CreateCheckpointResponse.js +31 -0
- package/v1/model/CreatePolicyRequest.d.ts +6 -0
- package/v1/model/CreatePolicyRequest.js +13 -0
- package/v1/model/CreatePolicyResponse.d.ts +7 -0
- package/v1/model/CreatePolicyResponse.js +31 -0
- package/v1/model/CreateVaultRequest.d.ts +6 -0
- package/v1/model/CreateVaultRequest.js +13 -0
- package/v1/model/CreateVaultResponse.d.ts +7 -0
- package/v1/model/CreateVaultResponse.js +31 -0
- package/v1/model/CreateVaultTagsRequest.d.ts +10 -0
- package/v1/model/CreateVaultTagsRequest.js +28 -0
- package/v1/model/CreateVaultTagsResponse.d.ts +4 -0
- package/v1/model/CreateVaultTagsResponse.js +27 -0
- package/v1/model/DeleteBackupRequest.d.ts +7 -0
- package/v1/model/DeleteBackupRequest.js +24 -0
- package/v1/model/DeleteBackupResponse.d.ts +4 -0
- package/v1/model/DeleteBackupResponse.js +27 -0
- package/v1/model/DeleteMemberRequest.d.ts +11 -0
- package/v1/model/DeleteMemberRequest.js +39 -0
- package/v1/model/DeleteMemberResponse.d.ts +4 -0
- package/v1/model/DeleteMemberResponse.js +27 -0
- package/v1/model/DeletePolicyRequest.d.ts +7 -0
- package/v1/model/DeletePolicyRequest.js +24 -0
- package/v1/model/DeletePolicyResponse.d.ts +4 -0
- package/v1/model/DeletePolicyResponse.js +27 -0
- package/v1/model/DeleteVaultRequest.d.ts +7 -0
- package/v1/model/DeleteVaultRequest.js +24 -0
- package/v1/model/DeleteVaultResponse.d.ts +4 -0
- package/v1/model/DeleteVaultResponse.js +27 -0
- package/v1/model/DeleteVaultTagRequest.d.ts +9 -0
- package/v1/model/DeleteVaultTagRequest.js +29 -0
- package/v1/model/DeleteVaultTagResponse.d.ts +4 -0
- package/v1/model/DeleteVaultTagResponse.js +27 -0
- package/v1/model/DisassociateVaultPolicyRequest.d.ts +10 -0
- package/v1/model/DisassociateVaultPolicyRequest.js +28 -0
- package/v1/model/DisassociateVaultPolicyResponse.d.ts +9 -0
- package/v1/model/DisassociateVaultPolicyResponse.js +41 -0
- package/v1/model/ImageData.d.ts +7 -0
- package/v1/model/ImageData.js +23 -0
- package/v1/model/ImportBackupRequest.d.ts +6 -0
- package/v1/model/ImportBackupRequest.js +13 -0
- package/v1/model/ImportBackupResponse.d.ts +7 -0
- package/v1/model/ImportBackupResponse.js +31 -0
- package/v1/model/ListBackupsRequest.d.ts +128 -0
- package/v1/model/ListBackupsRequest.js +305 -0
- package/v1/model/ListBackupsResponse.d.ts +13 -0
- package/v1/model/ListBackupsResponse.js +43 -0
- package/v1/model/ListOpLogsRequest.d.ts +71 -0
- package/v1/model/ListOpLogsRequest.js +175 -0
- package/v1/model/ListOpLogsResponse.d.ts +15 -0
- package/v1/model/ListOpLogsResponse.js +53 -0
- package/v1/model/ListPoliciesRequest.d.ts +19 -0
- package/v1/model/ListPoliciesRequest.js +46 -0
- package/v1/model/ListPoliciesResponse.d.ts +9 -0
- package/v1/model/ListPoliciesResponse.js +35 -0
- package/v1/model/ListProtectableRequest.d.ts +31 -0
- package/v1/model/ListProtectableRequest.js +71 -0
- package/v1/model/ListProtectableResponse.d.ts +7 -0
- package/v1/model/ListProtectableResponse.js +31 -0
- package/v1/model/ListVaultRequest.d.ts +53 -0
- package/v1/model/ListVaultRequest.js +131 -0
- package/v1/model/ListVaultResponse.d.ts +13 -0
- package/v1/model/ListVaultResponse.js +43 -0
- package/v1/model/Match.d.ts +7 -0
- package/v1/model/Match.js +19 -0
- package/v1/model/Member.d.ts +40 -0
- package/v1/model/Member.js +112 -0
- package/v1/model/MigrateVaultResourceRequest.d.ts +10 -0
- package/v1/model/MigrateVaultResourceRequest.js +28 -0
- package/v1/model/MigrateVaultResourceResponse.d.ts +8 -0
- package/v1/model/MigrateVaultResourceResponse.js +41 -0
- package/v1/model/OpErrorInfo.d.ts +7 -0
- package/v1/model/OpErrorInfo.js +17 -0
- package/v1/model/OpExtendInfoBckup.d.ts +41 -0
- package/v1/model/OpExtendInfoBckup.js +102 -0
- package/v1/model/OpExtendInfoCommon.d.ts +13 -0
- package/v1/model/OpExtendInfoCommon.js +43 -0
- package/v1/model/OpExtendInfoDelete.d.ts +11 -0
- package/v1/model/OpExtendInfoDelete.js +39 -0
- package/v1/model/OpExtendInfoRemoveResources.d.ts +14 -0
- package/v1/model/OpExtendInfoRemoveResources.js +41 -0
- package/v1/model/OpExtendInfoReplication.d.ts +43 -0
- package/v1/model/OpExtendInfoReplication.js +154 -0
- package/v1/model/OpExtendInfoRestore.d.ts +19 -0
- package/v1/model/OpExtendInfoRestore.js +65 -0
- package/v1/model/OpExtendInfoSync.d.ts +15 -0
- package/v1/model/OpExtendInfoSync.js +51 -0
- package/v1/model/OpExtendInfoVaultDelete.d.ts +11 -0
- package/v1/model/OpExtendInfoVaultDelete.js +37 -0
- package/v1/model/OpExtraInfo.d.ts +36 -0
- package/v1/model/OpExtraInfo.js +77 -0
- package/v1/model/OperationLog.d.ts +87 -0
- package/v1/model/OperationLog.js +234 -0
- package/v1/model/Policy.d.ts +34 -0
- package/v1/model/Policy.js +82 -0
- package/v1/model/PolicyAssociateVault.d.ts +11 -0
- package/v1/model/PolicyAssociateVault.js +38 -0
- package/v1/model/PolicyCreate.d.ts +27 -0
- package/v1/model/PolicyCreate.js +62 -0
- package/v1/model/PolicyCreateReq.d.ts +6 -0
- package/v1/model/PolicyCreateReq.js +14 -0
- package/v1/model/PolicyTriggerPropertiesReq.d.ts +5 -0
- package/v1/model/PolicyTriggerPropertiesReq.js +14 -0
- package/v1/model/PolicyTriggerPropertiesResp.d.ts +9 -0
- package/v1/model/PolicyTriggerPropertiesResp.js +28 -0
- package/v1/model/PolicyTriggerReq.d.ts +6 -0
- package/v1/model/PolicyTriggerReq.js +14 -0
- package/v1/model/PolicyTriggerResp.d.ts +19 -0
- package/v1/model/PolicyTriggerResp.js +35 -0
- package/v1/model/PolicyUpdate.d.ts +15 -0
- package/v1/model/PolicyUpdate.js +35 -0
- package/v1/model/PolicyUpdateReq.d.ts +6 -0
- package/v1/model/PolicyUpdateReq.js +14 -0
- package/v1/model/PolicyoODCreate.d.ts +41 -0
- package/v1/model/PolicyoODCreate.js +139 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.d.ts +9 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.js +29 -0
- package/v1/model/ProtectableResult.d.ts +14 -0
- package/v1/model/ProtectableResult.js +30 -0
- package/v1/model/ProtectablesResp.d.ts +29 -0
- package/v1/model/ProtectablesResp.js +56 -0
- package/v1/model/RemoveVaultResourceRequest.d.ts +10 -0
- package/v1/model/RemoveVaultResourceRequest.js +28 -0
- package/v1/model/RemoveVaultResourceResponse.d.ts +8 -0
- package/v1/model/RemoveVaultResourceResponse.js +41 -0
- package/v1/model/ReplicationRecordGet.d.ts +67 -0
- package/v1/model/ReplicationRecordGet.js +198 -0
- package/v1/model/ReplicationRecordsExtraInfo.d.ts +21 -0
- package/v1/model/ReplicationRecordsExtraInfo.js +69 -0
- package/v1/model/Resource.d.ts +14 -0
- package/v1/model/Resource.js +37 -0
- package/v1/model/ResourceCreate.d.ts +14 -0
- package/v1/model/ResourceCreate.js +37 -0
- package/v1/model/ResourceExtraInfo.d.ts +12 -0
- package/v1/model/ResourceExtraInfo.js +37 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.d.ts +9 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.js +28 -0
- package/v1/model/ResourceResp.d.ts +43 -0
- package/v1/model/ResourceResp.js +110 -0
- package/v1/model/RestoreBackupRequest.d.ts +10 -0
- package/v1/model/RestoreBackupRequest.js +28 -0
- package/v1/model/RestoreBackupResponse.d.ts +4 -0
- package/v1/model/RestoreBackupResponse.js +27 -0
- package/v1/model/ShowBackupRequest.d.ts +7 -0
- package/v1/model/ShowBackupRequest.js +24 -0
- package/v1/model/ShowBackupResponse.d.ts +7 -0
- package/v1/model/ShowBackupResponse.js +31 -0
- package/v1/model/ShowCheckpointRequest.d.ts +7 -0
- package/v1/model/ShowCheckpointRequest.js +24 -0
- package/v1/model/ShowCheckpointResponse.d.ts +7 -0
- package/v1/model/ShowCheckpointResponse.js +31 -0
- package/v1/model/ShowMemberDetailRequest.d.ts +11 -0
- package/v1/model/ShowMemberDetailRequest.js +39 -0
- package/v1/model/ShowMemberDetailResponse.d.ts +7 -0
- package/v1/model/ShowMemberDetailResponse.js +31 -0
- package/v1/model/ShowMembersDetailRequest.d.ts +29 -0
- package/v1/model/ShowMembersDetailRequest.js +86 -0
- package/v1/model/ShowMembersDetailResponse.d.ts +9 -0
- package/v1/model/ShowMembersDetailResponse.js +35 -0
- package/v1/model/ShowOpLogRequest.d.ts +7 -0
- package/v1/model/ShowOpLogRequest.js +24 -0
- package/v1/model/ShowOpLogResponse.d.ts +9 -0
- package/v1/model/ShowOpLogResponse.js +41 -0
- package/v1/model/ShowPolicyRequest.d.ts +7 -0
- package/v1/model/ShowPolicyRequest.js +24 -0
- package/v1/model/ShowPolicyResponse.d.ts +7 -0
- package/v1/model/ShowPolicyResponse.js +31 -0
- package/v1/model/ShowProtectableRequest.d.ts +19 -0
- package/v1/model/ShowProtectableRequest.js +48 -0
- package/v1/model/ShowProtectableResponse.d.ts +7 -0
- package/v1/model/ShowProtectableResponse.js +31 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.d.ts +3 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.js +9 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.d.ts +7 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.js +31 -0
- package/v1/model/ShowVaultProjectTagRequest.d.ts +3 -0
- package/v1/model/ShowVaultProjectTagRequest.js +9 -0
- package/v1/model/ShowVaultProjectTagResponse.d.ts +7 -0
- package/v1/model/ShowVaultProjectTagResponse.js +31 -0
- package/v1/model/ShowVaultRequest.d.ts +7 -0
- package/v1/model/ShowVaultRequest.js +24 -0
- package/v1/model/ShowVaultResourceInstancesRequest.d.ts +6 -0
- package/v1/model/ShowVaultResourceInstancesRequest.js +13 -0
- package/v1/model/ShowVaultResourceInstancesResponse.d.ts +11 -0
- package/v1/model/ShowVaultResourceInstancesResponse.js +45 -0
- package/v1/model/ShowVaultResponse.d.ts +7 -0
- package/v1/model/ShowVaultResponse.js +31 -0
- package/v1/model/ShowVaultTagRequest.d.ts +7 -0
- package/v1/model/ShowVaultTagRequest.js +24 -0
- package/v1/model/ShowVaultTagResponse.d.ts +12 -0
- package/v1/model/ShowVaultTagResponse.js +45 -0
- package/v1/model/SysTag.d.ts +7 -0
- package/v1/model/SysTag.js +19 -0
- package/v1/model/SysTags.d.ts +7 -0
- package/v1/model/SysTags.js +19 -0
- package/v1/model/Tag.d.ts +7 -0
- package/v1/model/Tag.js +18 -0
- package/v1/model/TagResource.d.ts +24 -0
- package/v1/model/TagResource.js +74 -0
- package/v1/model/TagsReq.d.ts +7 -0
- package/v1/model/TagsReq.js +19 -0
- package/v1/model/TagsResp.d.ts +7 -0
- package/v1/model/TagsResp.js +17 -0
- package/v1/model/UpdateMember.d.ts +18 -0
- package/v1/model/UpdateMember.js +38 -0
- package/v1/model/UpdateMemberStatusRequest.d.ts +14 -0
- package/v1/model/UpdateMemberStatusRequest.js +43 -0
- package/v1/model/UpdateMemberStatusResponse.d.ts +7 -0
- package/v1/model/UpdateMemberStatusResponse.js +31 -0
- package/v1/model/UpdatePolicyRequest.d.ts +10 -0
- package/v1/model/UpdatePolicyRequest.js +28 -0
- package/v1/model/UpdatePolicyResponse.d.ts +7 -0
- package/v1/model/UpdatePolicyResponse.js +31 -0
- package/v1/model/UpdateVaultRequest.d.ts +10 -0
- package/v1/model/UpdateVaultRequest.js +28 -0
- package/v1/model/UpdateVaultResponse.d.ts +7 -0
- package/v1/model/UpdateVaultResponse.js +31 -0
- package/v1/model/Vault.d.ts +57 -0
- package/v1/model/Vault.js +169 -0
- package/v1/model/VaultAddResourceReq.d.ts +6 -0
- package/v1/model/VaultAddResourceReq.js +14 -0
- package/v1/model/VaultAssociate.d.ts +15 -0
- package/v1/model/VaultAssociate.js +51 -0
- package/v1/model/VaultBackup.d.ts +10 -0
- package/v1/model/VaultBackup.js +28 -0
- package/v1/model/VaultBackupReq.d.ts +6 -0
- package/v1/model/VaultBackupReq.js +14 -0
- package/v1/model/VaultBindRules.d.ts +6 -0
- package/v1/model/VaultBindRules.js +13 -0
- package/v1/model/VaultCreate.d.ts +37 -0
- package/v1/model/VaultCreate.js +102 -0
- package/v1/model/VaultCreateReq.d.ts +6 -0
- package/v1/model/VaultCreateReq.js +14 -0
- package/v1/model/VaultCreateResource.d.ts +64 -0
- package/v1/model/VaultCreateResource.js +181 -0
- package/v1/model/VaultDissociate.d.ts +7 -0
- package/v1/model/VaultDissociate.js +24 -0
- package/v1/model/VaultGet.d.ts +63 -0
- package/v1/model/VaultGet.js +188 -0
- package/v1/model/VaultMigrateResourceReq.d.ts +11 -0
- package/v1/model/VaultMigrateResourceReq.js +39 -0
- package/v1/model/VaultPolicyResp.d.ts +15 -0
- package/v1/model/VaultPolicyResp.js +53 -0
- package/v1/model/VaultRemoveResourceReq.d.ts +7 -0
- package/v1/model/VaultRemoveResourceReq.js +24 -0
- package/v1/model/VaultResourceInstancesReq.d.ts +60 -0
- package/v1/model/VaultResourceInstancesReq.js +146 -0
- package/v1/model/VaultTagsCreateReq.d.ts +6 -0
- package/v1/model/VaultTagsCreateReq.js +13 -0
- package/v1/model/VaultUpdate.d.ts +27 -0
- package/v1/model/VaultUpdate.js +77 -0
- package/v1/model/VaultUpdateReq.d.ts +6 -0
- package/v1/model/VaultUpdateReq.js +14 -0
- package/v1/public-api.d.ts +171 -0
- package/v1/public-api.js +187 -0
@@ -0,0 +1,1175 @@
|
|
1
|
+
import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
|
2
|
+
import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
3
|
+
import { AddMemberRequest } from './model/AddMemberRequest';
|
4
|
+
import { AddMemberResponse } from './model/AddMemberResponse';
|
5
|
+
import { AddVaultResourceRequest } from './model/AddVaultResourceRequest';
|
6
|
+
import { AddVaultResourceResponse } from './model/AddVaultResourceResponse';
|
7
|
+
import { AssociateVaultPolicyRequest } from './model/AssociateVaultPolicyRequest';
|
8
|
+
import { AssociateVaultPolicyResponse } from './model/AssociateVaultPolicyResponse';
|
9
|
+
import { BatchCreateAndDeleteVaultTagsRequest } from './model/BatchCreateAndDeleteVaultTagsRequest';
|
10
|
+
import { BatchCreateAndDeleteVaultTagsResponse } from './model/BatchCreateAndDeleteVaultTagsResponse';
|
11
|
+
import { CopyBackupRequest } from './model/CopyBackupRequest';
|
12
|
+
import { CopyBackupResponse } from './model/CopyBackupResponse';
|
13
|
+
import { CopyCheckpointRequest } from './model/CopyCheckpointRequest';
|
14
|
+
import { CopyCheckpointResponse } from './model/CopyCheckpointResponse';
|
15
|
+
import { CreateCheckpointRequest } from './model/CreateCheckpointRequest';
|
16
|
+
import { CreateCheckpointResponse } from './model/CreateCheckpointResponse';
|
17
|
+
import { CreatePolicyRequest } from './model/CreatePolicyRequest';
|
18
|
+
import { CreatePolicyResponse } from './model/CreatePolicyResponse';
|
19
|
+
import { CreateVaultRequest } from './model/CreateVaultRequest';
|
20
|
+
import { CreateVaultResponse } from './model/CreateVaultResponse';
|
21
|
+
import { CreateVaultTagsRequest } from './model/CreateVaultTagsRequest';
|
22
|
+
import { CreateVaultTagsResponse } from './model/CreateVaultTagsResponse';
|
23
|
+
import { DeleteBackupRequest } from './model/DeleteBackupRequest';
|
24
|
+
import { DeleteBackupResponse } from './model/DeleteBackupResponse';
|
25
|
+
import { DeleteMemberRequest } from './model/DeleteMemberRequest';
|
26
|
+
import { DeleteMemberResponse } from './model/DeleteMemberResponse';
|
27
|
+
import { DeletePolicyRequest } from './model/DeletePolicyRequest';
|
28
|
+
import { DeletePolicyResponse } from './model/DeletePolicyResponse';
|
29
|
+
import { DeleteVaultRequest } from './model/DeleteVaultRequest';
|
30
|
+
import { DeleteVaultResponse } from './model/DeleteVaultResponse';
|
31
|
+
import { DeleteVaultTagRequest } from './model/DeleteVaultTagRequest';
|
32
|
+
import { DeleteVaultTagResponse } from './model/DeleteVaultTagResponse';
|
33
|
+
import { DisassociateVaultPolicyRequest } from './model/DisassociateVaultPolicyRequest';
|
34
|
+
import { DisassociateVaultPolicyResponse } from './model/DisassociateVaultPolicyResponse';
|
35
|
+
import { ImportBackupRequest } from './model/ImportBackupRequest';
|
36
|
+
import { ImportBackupResponse } from './model/ImportBackupResponse';
|
37
|
+
import { ListBackupsRequest } from './model/ListBackupsRequest';
|
38
|
+
import { ListBackupsResponse } from './model/ListBackupsResponse';
|
39
|
+
import { ListOpLogsRequest } from './model/ListOpLogsRequest';
|
40
|
+
import { ListOpLogsResponse } from './model/ListOpLogsResponse';
|
41
|
+
import { ListPoliciesRequest } from './model/ListPoliciesRequest';
|
42
|
+
import { ListPoliciesResponse } from './model/ListPoliciesResponse';
|
43
|
+
import { ListProtectableRequest } from './model/ListProtectableRequest';
|
44
|
+
import { ListProtectableResponse } from './model/ListProtectableResponse';
|
45
|
+
import { ListVaultRequest } from './model/ListVaultRequest';
|
46
|
+
import { ListVaultResponse } from './model/ListVaultResponse';
|
47
|
+
import { MigrateVaultResourceRequest } from './model/MigrateVaultResourceRequest';
|
48
|
+
import { MigrateVaultResourceResponse } from './model/MigrateVaultResourceResponse';
|
49
|
+
import { RemoveVaultResourceRequest } from './model/RemoveVaultResourceRequest';
|
50
|
+
import { RemoveVaultResourceResponse } from './model/RemoveVaultResourceResponse';
|
51
|
+
import { RestoreBackupRequest } from './model/RestoreBackupRequest';
|
52
|
+
import { RestoreBackupResponse } from './model/RestoreBackupResponse';
|
53
|
+
import { ShowBackupRequest } from './model/ShowBackupRequest';
|
54
|
+
import { ShowBackupResponse } from './model/ShowBackupResponse';
|
55
|
+
import { ShowCheckpointRequest } from './model/ShowCheckpointRequest';
|
56
|
+
import { ShowCheckpointResponse } from './model/ShowCheckpointResponse';
|
57
|
+
import { ShowMemberDetailRequest } from './model/ShowMemberDetailRequest';
|
58
|
+
import { ShowMemberDetailResponse } from './model/ShowMemberDetailResponse';
|
59
|
+
import { ShowMembersDetailRequest } from './model/ShowMembersDetailRequest';
|
60
|
+
import { ShowMembersDetailResponse } from './model/ShowMembersDetailResponse';
|
61
|
+
import { ShowOpLogRequest } from './model/ShowOpLogRequest';
|
62
|
+
import { ShowOpLogResponse } from './model/ShowOpLogResponse';
|
63
|
+
import { ShowPolicyRequest } from './model/ShowPolicyRequest';
|
64
|
+
import { ShowPolicyResponse } from './model/ShowPolicyResponse';
|
65
|
+
import { ShowProtectableRequest } from './model/ShowProtectableRequest';
|
66
|
+
import { ShowProtectableResponse } from './model/ShowProtectableResponse';
|
67
|
+
import { ShowReplicationCapabilitiesResponse } from './model/ShowReplicationCapabilitiesResponse';
|
68
|
+
import { ShowVaultProjectTagResponse } from './model/ShowVaultProjectTagResponse';
|
69
|
+
import { ShowVaultRequest } from './model/ShowVaultRequest';
|
70
|
+
import { ShowVaultResourceInstancesRequest } from './model/ShowVaultResourceInstancesRequest';
|
71
|
+
import { ShowVaultResourceInstancesResponse } from './model/ShowVaultResourceInstancesResponse';
|
72
|
+
import { ShowVaultResponse } from './model/ShowVaultResponse';
|
73
|
+
import { ShowVaultTagRequest } from './model/ShowVaultTagRequest';
|
74
|
+
import { ShowVaultTagResponse } from './model/ShowVaultTagResponse';
|
75
|
+
import { UpdateMemberStatusRequest } from './model/UpdateMemberStatusRequest';
|
76
|
+
import { UpdateMemberStatusResponse } from './model/UpdateMemberStatusResponse';
|
77
|
+
import { UpdatePolicyRequest } from './model/UpdatePolicyRequest';
|
78
|
+
import { UpdatePolicyResponse } from './model/UpdatePolicyResponse';
|
79
|
+
import { UpdateVaultRequest } from './model/UpdateVaultRequest';
|
80
|
+
import { UpdateVaultResponse } from './model/UpdateVaultResponse';
|
81
|
+
export declare class CbrClient {
|
82
|
+
static newBuilder(): ClientBuilder<CbrClient>;
|
83
|
+
private hcClient;
|
84
|
+
constructor(client: HcClient);
|
85
|
+
getPath(): any;
|
86
|
+
/**
|
87
|
+
* 添加备份可共享的成员,只有云服务器备份可以添加备份共享成员,且仅支持在同一区域的不同用户间共享。
|
88
|
+
*
|
89
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
90
|
+
*
|
91
|
+
* @summary 添加备份成员
|
92
|
+
* @param {string} backupId 备份副本id
|
93
|
+
* @param {AddMembersReq} addMemberRequestBody 添加备份共享成员请求body
|
94
|
+
* @param {*} [options] Override http request option.
|
95
|
+
* @throws {RequiredError}
|
96
|
+
*/
|
97
|
+
addMember(addMemberRequest?: AddMemberRequest): Promise<AddMemberResponse>;
|
98
|
+
/**
|
99
|
+
* 存储库添加资源
|
100
|
+
*
|
101
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
102
|
+
*
|
103
|
+
* @summary 添加资源
|
104
|
+
* @param {string} vaultId 存储库ID
|
105
|
+
* @param {VaultAddResourceReq} addVaultResourceRequestBody 存储库添加资源参数
|
106
|
+
* @param {*} [options] Override http request option.
|
107
|
+
* @throws {RequiredError}
|
108
|
+
*/
|
109
|
+
addVaultResource(addVaultResourceRequest?: AddVaultResourceRequest): Promise<AddVaultResourceResponse>;
|
110
|
+
/**
|
111
|
+
* 存储库设置策略
|
112
|
+
*
|
113
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
114
|
+
*
|
115
|
+
* @summary 设置存储库策略
|
116
|
+
* @param {string} vaultId 存储库ID
|
117
|
+
* @param {VaultAssociate} associateVaultPolicyRequestBody 关联策略ID
|
118
|
+
* @param {*} [options] Override http request option.
|
119
|
+
* @throws {RequiredError}
|
120
|
+
*/
|
121
|
+
associateVaultPolicy(associateVaultPolicyRequest?: AssociateVaultPolicyRequest): Promise<AssociateVaultPolicyResponse>;
|
122
|
+
/**
|
123
|
+
* 为指定实例批量添加或删除标签
|
124
|
+
* 标签管理服务需要使用该接口批量管理实例的标签。
|
125
|
+
* 一个资源上最多有10个标签。
|
126
|
+
* 此接口为幂等接口:
|
127
|
+
* 创建时如果请求体中存在重复key则报错。
|
128
|
+
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
129
|
+
* 删除时,允许重复key。
|
130
|
+
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。key长度127个字符,value为255个字符。删除时tags结构体不能缺失,key不能为空,或者空字符串。
|
131
|
+
*
|
132
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
133
|
+
*
|
134
|
+
* @summary 批量添加删除存储库资源标签
|
135
|
+
* @param {string} vaultId 资源id
|
136
|
+
* @param {BulkCreateAndDeleteVaultTagsReq} [batchCreateAndDeleteVaultTagsRequestBody] 批量添加删除存储库资源标签请求body
|
137
|
+
* @param {*} [options] Override http request option.
|
138
|
+
* @throws {RequiredError}
|
139
|
+
*/
|
140
|
+
batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest?: BatchCreateAndDeleteVaultTagsRequest): Promise<BatchCreateAndDeleteVaultTagsResponse>;
|
141
|
+
/**
|
142
|
+
* 跨区域复制备份。
|
143
|
+
*
|
144
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
145
|
+
*
|
146
|
+
* @summary 复制备份
|
147
|
+
* @param {string} backupId 复制的备份ID
|
148
|
+
* @param {BackupReplicateReq} copyBackupRequestBody 复制备份请求body
|
149
|
+
* @param {*} [options] Override http request option.
|
150
|
+
* @throws {RequiredError}
|
151
|
+
*/
|
152
|
+
copyBackup(copyBackupRequest?: CopyBackupRequest): Promise<CopyBackupResponse>;
|
153
|
+
/**
|
154
|
+
* 执行复制
|
155
|
+
*
|
156
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
157
|
+
*
|
158
|
+
* @summary 复制备份还原点
|
159
|
+
* @param {CheckpointReplicateReq} copyCheckpointRequestBody 创建复制
|
160
|
+
* @param {*} [options] Override http request option.
|
161
|
+
* @throws {RequiredError}
|
162
|
+
*/
|
163
|
+
copyCheckpoint(copyCheckpointRequest?: CopyCheckpointRequest): Promise<CopyCheckpointResponse>;
|
164
|
+
/**
|
165
|
+
* 对存储库执行备份,生成备份还原点
|
166
|
+
*
|
167
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
168
|
+
*
|
169
|
+
* @summary 创建备份还原点
|
170
|
+
* @param {VaultBackupReq} createCheckpointRequestBody vault维度执行备份
|
171
|
+
* @param {*} [options] Override http request option.
|
172
|
+
* @throws {RequiredError}
|
173
|
+
*/
|
174
|
+
createCheckpoint(createCheckpointRequest?: CreateCheckpointRequest): Promise<CreateCheckpointResponse>;
|
175
|
+
/**
|
176
|
+
* 创建策略,策略分为备份策略和复制策略。
|
177
|
+
*
|
178
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
179
|
+
*
|
180
|
+
* @summary 创建策略
|
181
|
+
* @param {PolicyCreateReq} createPolicyRequestBody 创建策略body
|
182
|
+
* @param {*} [options] Override http request option.
|
183
|
+
* @throws {RequiredError}
|
184
|
+
*/
|
185
|
+
createPolicy(createPolicyRequest?: CreatePolicyRequest): Promise<CreatePolicyResponse>;
|
186
|
+
/**
|
187
|
+
* 创建存储库
|
188
|
+
*
|
189
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
190
|
+
*
|
191
|
+
* @summary 创建存储库
|
192
|
+
* @param {VaultCreateReq} createVaultRequestBody 存储库创建参数
|
193
|
+
* @param {*} [options] Override http request option.
|
194
|
+
* @throws {RequiredError}
|
195
|
+
*/
|
196
|
+
createVault(createVaultRequest?: CreateVaultRequest): Promise<CreateVaultResponse>;
|
197
|
+
/**
|
198
|
+
* 一个资源上最多有10个标签。
|
199
|
+
* 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
200
|
+
*
|
201
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
202
|
+
*
|
203
|
+
* @summary 添加存储库资源标签
|
204
|
+
* @param {string} vaultId 资源id
|
205
|
+
* @param {VaultTagsCreateReq} [createVaultTagsRequestBody] 添加存储库资源标签参数
|
206
|
+
* @param {*} [options] Override http request option.
|
207
|
+
* @throws {RequiredError}
|
208
|
+
*/
|
209
|
+
createVaultTags(createVaultTagsRequest?: CreateVaultTagsRequest): Promise<CreateVaultTagsResponse>;
|
210
|
+
/**
|
211
|
+
* 删除单个备份。
|
212
|
+
*
|
213
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
214
|
+
*
|
215
|
+
* @summary 删除备份
|
216
|
+
* @param {string} backupId 指定删除的备份ID
|
217
|
+
* @param {*} [options] Override http request option.
|
218
|
+
* @throws {RequiredError}
|
219
|
+
*/
|
220
|
+
deleteBackup(deleteBackupRequest?: DeleteBackupRequest): Promise<DeleteBackupResponse>;
|
221
|
+
/**
|
222
|
+
* 删除指定的备份共享成员
|
223
|
+
*
|
224
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
225
|
+
*
|
226
|
+
* @summary 删除指定备份成员
|
227
|
+
* @param {string} backupId 备份副本id
|
228
|
+
* @param {string} memberId 成员id
|
229
|
+
* @param {*} [options] Override http request option.
|
230
|
+
* @throws {RequiredError}
|
231
|
+
*/
|
232
|
+
deleteMember(deleteMemberRequest?: DeleteMemberRequest): Promise<DeleteMemberResponse>;
|
233
|
+
/**
|
234
|
+
* 删除策略
|
235
|
+
*
|
236
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
237
|
+
*
|
238
|
+
* @summary 删除策略
|
239
|
+
* @param {string} policyId 策略ID
|
240
|
+
* @param {*} [options] Override http request option.
|
241
|
+
* @throws {RequiredError}
|
242
|
+
*/
|
243
|
+
deletePolicy(deletePolicyRequest?: DeletePolicyRequest): Promise<DeletePolicyResponse>;
|
244
|
+
/**
|
245
|
+
* 删除存储库。若删除储存库,将一并删除存储库中的所有备份。
|
246
|
+
*
|
247
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
248
|
+
*
|
249
|
+
* @summary 删除存储库
|
250
|
+
* @param {string} vaultId 存储库ID
|
251
|
+
* @param {*} [options] Override http request option.
|
252
|
+
* @throws {RequiredError}
|
253
|
+
*/
|
254
|
+
deleteVault(deleteVaultRequest?: DeleteVaultRequest): Promise<DeleteVaultResponse>;
|
255
|
+
/**
|
256
|
+
* 幂等接口:删除时,如果删除的标签不存在,返回404。Key不能为空或者空字符串。
|
257
|
+
*
|
258
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
259
|
+
*
|
260
|
+
* @summary 删除存储库资源标签
|
261
|
+
* @param {string} key 不能为空或空字符串,不检查长度和字符集,去掉key前后的空格后检查,去掉key前后的空格后使用。 即使底层存在非法的tag也要能删。
|
262
|
+
* @param {string} vaultId 资源id
|
263
|
+
* @param {*} [options] Override http request option.
|
264
|
+
* @throws {RequiredError}
|
265
|
+
*/
|
266
|
+
deleteVaultTag(deleteVaultTagRequest?: DeleteVaultTagRequest): Promise<DeleteVaultTagResponse>;
|
267
|
+
/**
|
268
|
+
* 存储库解除策略
|
269
|
+
*
|
270
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
271
|
+
*
|
272
|
+
* @summary 解除存储库策略
|
273
|
+
* @param {string} vaultId 存储库ID
|
274
|
+
* @param {VaultDissociate} disassociateVaultPolicyRequestBody 解除策略参数
|
275
|
+
* @param {*} [options] Override http request option.
|
276
|
+
* @throws {RequiredError}
|
277
|
+
*/
|
278
|
+
disassociateVaultPolicy(disassociateVaultPolicyRequest?: DisassociateVaultPolicyRequest): Promise<DisassociateVaultPolicyResponse>;
|
279
|
+
/**
|
280
|
+
* 同步线下混合云VMware备份副本
|
281
|
+
*
|
282
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
283
|
+
*
|
284
|
+
* @summary 同步备份
|
285
|
+
* @param {BackupSyncReq} importBackupRequestBody 同步备份请求体
|
286
|
+
* @param {*} [options] Override http request option.
|
287
|
+
* @throws {RequiredError}
|
288
|
+
*/
|
289
|
+
importBackup(importBackupRequest?: ImportBackupRequest): Promise<ImportBackupResponse>;
|
290
|
+
/**
|
291
|
+
* 查询所有副本
|
292
|
+
*
|
293
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
294
|
+
*
|
295
|
+
* @summary 查询所有备份
|
296
|
+
* @param {string} [checkpointId] 还原点ID
|
297
|
+
* @param {boolean} [dec] 专属云 (专属云场景使用,非专属云场景不生效)
|
298
|
+
* @param {string} [endTime] 备份产生时间范围的结束时间,格式为%YYYY-%mm-%ddT%HH:%MM:%SSZ,例如2018-02-01T12:00:00Z
|
299
|
+
* @param {'backup' | 'replication'} [imageType] 备份类型
|
300
|
+
* @param {number} [limit] 每页显示的条目数量,正整数
|
301
|
+
* @param {string} [marker] 上一次查询最后一条的id
|
302
|
+
* @param {string} [name] 名称
|
303
|
+
* @param {number} [offset] 偏移值,正整数
|
304
|
+
* @param {string} [resourceAz] 支持按az来过滤
|
305
|
+
* @param {string} [resourceId] 资源ID
|
306
|
+
* @param {string} [resourceName] 资源名称
|
307
|
+
* @param {'OS::Cinder::Volume' | 'OS::Nova::Server' | 'OS::Workspace::DesktopV2'} [resourceType] 资源类型: 云服务器: OS::Nova::Server, 云硬盘: OS::Cinder::Volume, 云桌面:OS::Workspace::DesktopV2
|
308
|
+
* @param {string} [sort] sort的内容为一组由逗号分隔的属性及可选排序方向组成,形如<key1>[:<direction>],<key2>[:<direction>],其中direction的取值为asc (升序) 或 desc (降序),如没有传入direction参数,默认为降序,sort内容的长度限制为255个字符。key取值范围:[created_at,updated_at,name,status,protected_at,id]
|
309
|
+
* @param {string} [startTime] 备份产生时间范围的开始时间,格式为%YYYY-%mm-%ddT%HH:%MM:%SSZ,例如2018-02-01T12:00:00Z
|
310
|
+
* @param {'available' | 'protecting' | 'deleting' | 'restoring' | 'error' | 'waiting_protect' | 'waiting_delete' | 'waiting_restore'} [status] 状态。 调用API时,支持通过传多个status值进行过滤。例如:status=available&status=error
|
311
|
+
* @param {string} [vaultId] 存储库ID
|
312
|
+
* @param {string} [enterpriseProjectId] 企业项目id或all_granted_eps,all_granted_eps表示查询用户有权限的所有企业项目id
|
313
|
+
* @param {'all_granted' | 'private' | 'shared'} [ownType] 持有类型,私有的private/共享的shared/全部all_granted,默认只查询private。
|
314
|
+
* @param {'pending' | 'accepted' | 'rejected'} [memberStatus] 共享状态
|
315
|
+
* @param {string} [parentId] 父备份ID
|
316
|
+
* @param {string} [usedPercent] 根据存储库使用率过滤备份,取值范围 [1, 100],含1和100。例如,used_percent=80,表示筛选所属存储库使用率大于等于80%的所有备份。
|
317
|
+
* @param {boolean} [showReplication] 是否返回复制记录
|
318
|
+
* @param {boolean} [incremental] 是否是增备
|
319
|
+
* @param {*} [options] Override http request option.
|
320
|
+
* @throws {RequiredError}
|
321
|
+
*/
|
322
|
+
listBackups(listBackupsRequest?: ListBackupsRequest): Promise<ListBackupsResponse>;
|
323
|
+
/**
|
324
|
+
* 查询任务列表
|
325
|
+
*
|
326
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
327
|
+
*
|
328
|
+
* @summary 查询任务列表
|
329
|
+
* @param {string} [endTime] 任务结束时间,格式为%YYYY-%mm-%ddT%HH:%MM:%SSZ,例如2018-02-01T12:00:00Z
|
330
|
+
* @param {number} [limit] 每页显示的条目数量,正整数
|
331
|
+
* @param {number} [offset] 偏移值,正整数
|
332
|
+
* @param {'backup' | 'copy' | 'replication' | 'delete' | 'restore' | 'vault_delete' | 'remove_resource' | 'sync'} [operationType] 任务类型
|
333
|
+
* @param {string} [providerId] 备份提供商ID
|
334
|
+
* @param {string} [resourceId] 该任务操作的资源ID
|
335
|
+
* @param {string} [resourceName] 该任务操作的资源名称
|
336
|
+
* @param {string} [startTime] 任务开始时间,格式为%YYYY-%mm-%ddT%HH:%MM:%SSZ,例如2018-01-01T12:00:00Z
|
337
|
+
* @param {'success' | 'skipped' | 'failed' | 'running' | 'timeout' | 'waiting'} [status] 任务状态
|
338
|
+
* @param {string} [vaultId] 存储库ID,该任务操作的资源所属绑定的存储库。
|
339
|
+
* @param {string} [vaultName] 存储库名称,该任务操作资源所绑定的存储库名称。
|
340
|
+
* @param {string} [enterpriseProjectId] 企业项目id或all_granted_eps,all_granted_eps表示查询用户有权限的所有企业项目id
|
341
|
+
* @param {*} [options] Override http request option.
|
342
|
+
* @throws {RequiredError}
|
343
|
+
*/
|
344
|
+
listOpLogs(listOpLogsRequest?: ListOpLogsRequest): Promise<ListOpLogsResponse>;
|
345
|
+
/**
|
346
|
+
* 查询策略列表
|
347
|
+
*
|
348
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
349
|
+
*
|
350
|
+
* @summary 查询策略列表
|
351
|
+
* @param {'backup' | 'replication'} [operationType] 策略类型:备份(backup)、复制(replication)
|
352
|
+
* @param {string} [vaultId] 存储库ID
|
353
|
+
* @param {*} [options] Override http request option.
|
354
|
+
* @throws {RequiredError}
|
355
|
+
*/
|
356
|
+
listPolicies(listPoliciesRequest?: ListPoliciesRequest): Promise<ListPoliciesResponse>;
|
357
|
+
/**
|
358
|
+
* 查询可保护性资源列表
|
359
|
+
*
|
360
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
361
|
+
*
|
362
|
+
* @summary 查询可保护资源
|
363
|
+
* @param {'server' | 'disk'} protectableType 对象类型
|
364
|
+
* @param {number} [limit] 每页显示的条目数量,每页最多支持50条
|
365
|
+
* @param {string} [marker] 上一次查询最后一条的ID
|
366
|
+
* @param {string} [name] 按名称过滤
|
367
|
+
* @param {number} [offset] 偏移值
|
368
|
+
* @param {string} [status] 资源的状态,如available,error 等
|
369
|
+
* @param {string} [id] 根据资源id过滤
|
370
|
+
* @param {string} [serverId] 根据该id过滤属于该服务器的所有磁盘,支持企业多项目的用户才能传入此参数
|
371
|
+
* @param {*} [options] Override http request option.
|
372
|
+
* @throws {RequiredError}
|
373
|
+
*/
|
374
|
+
listProtectable(listProtectableRequest?: ListProtectableRequest): Promise<ListProtectableResponse>;
|
375
|
+
/**
|
376
|
+
* 查询存储库列表
|
377
|
+
*
|
378
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
379
|
+
*
|
380
|
+
* @summary 查询存储库列表
|
381
|
+
* @param {number} [limit] 每页显示条目数,正整数
|
382
|
+
* @param {string} [name] 存储库名称
|
383
|
+
* @param {number} [offset] 偏移值,正整数
|
384
|
+
* @param {'public' | 'hybrid'} [cloudType] 云类型
|
385
|
+
* @param {'backup' | 'replication'} [protectType] 保护类型
|
386
|
+
* @param {string} [objectType] 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
387
|
+
* @param {string} [enterpriseProjectId] 企业项目id或all_granted_eps,all_granted_eps表示查询用户有权限的所有企业项目id
|
388
|
+
* @param {string} [id] 存储库ID
|
389
|
+
* @param {string} [policyId] 策略ID
|
390
|
+
* @param {string} [status] 状态
|
391
|
+
* @param {string} [resourceIds] 资源id
|
392
|
+
* @param {*} [options] Override http request option.
|
393
|
+
* @throws {RequiredError}
|
394
|
+
*/
|
395
|
+
listVault(listVaultRequest?: ListVaultRequest): Promise<ListVaultResponse>;
|
396
|
+
/**
|
397
|
+
* 支持资源迁移到另一个存储库,不删除备份。
|
398
|
+
*
|
399
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
400
|
+
*
|
401
|
+
* @summary 迁移资源
|
402
|
+
* @param {string} vaultId
|
403
|
+
* @param {VaultMigrateResourceReq} migrateVaultResourceRequestBody 迁移资源请求体
|
404
|
+
* @param {*} [options] Override http request option.
|
405
|
+
* @throws {RequiredError}
|
406
|
+
*/
|
407
|
+
migrateVaultResource(migrateVaultResourceRequest?: MigrateVaultResourceRequest): Promise<MigrateVaultResourceResponse>;
|
408
|
+
/**
|
409
|
+
* 移除存储库中的资源,若移除资源,将一并删除该资源在保管库中的备份
|
410
|
+
*
|
411
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
412
|
+
*
|
413
|
+
* @summary 移除资源
|
414
|
+
* @param {string} vaultId 存储库ID
|
415
|
+
* @param {VaultRemoveResourceReq} removeVaultResourceRequestBody 存储库移除资源参数
|
416
|
+
* @param {*} [options] Override http request option.
|
417
|
+
* @throws {RequiredError}
|
418
|
+
*/
|
419
|
+
removeVaultResource(removeVaultResourceRequest?: RemoveVaultResourceRequest): Promise<RemoveVaultResourceResponse>;
|
420
|
+
/**
|
421
|
+
* 恢复备份数据
|
422
|
+
*
|
423
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
424
|
+
*
|
425
|
+
* @summary 备份恢复
|
426
|
+
* @param {string} backupId 备份id
|
427
|
+
* @param {BackupRestoreReq} restoreBackupRequestBody 恢复请求body
|
428
|
+
* @param {*} [options] Override http request option.
|
429
|
+
* @throws {RequiredError}
|
430
|
+
*/
|
431
|
+
restoreBackup(restoreBackupRequest?: RestoreBackupRequest): Promise<RestoreBackupResponse>;
|
432
|
+
/**
|
433
|
+
* 根据指定id查询单个副本。
|
434
|
+
*
|
435
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
436
|
+
*
|
437
|
+
* @summary 查询指定备份
|
438
|
+
* @param {string} backupId 备份ID
|
439
|
+
* @param {*} [options] Override http request option.
|
440
|
+
* @throws {RequiredError}
|
441
|
+
*/
|
442
|
+
showBackup(showBackupRequest?: ShowBackupRequest): Promise<ShowBackupResponse>;
|
443
|
+
/**
|
444
|
+
* 根据还原点ID查询指定还原点
|
445
|
+
*
|
446
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
447
|
+
*
|
448
|
+
* @summary 查询备份还原点
|
449
|
+
* @param {string} checkpointId 还原点ID
|
450
|
+
* @param {*} [options] Override http request option.
|
451
|
+
* @throws {RequiredError}
|
452
|
+
*/
|
453
|
+
showCheckpoint(showCheckpointRequest?: ShowCheckpointRequest): Promise<ShowCheckpointResponse>;
|
454
|
+
/**
|
455
|
+
* 获取备份成员的详情
|
456
|
+
*
|
457
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
458
|
+
*
|
459
|
+
* @summary 获取备份成员详情
|
460
|
+
* @param {string} backupId 备份副本id
|
461
|
+
* @param {string} memberId 成员id,为接收方的project_id
|
462
|
+
* @param {*} [options] Override http request option.
|
463
|
+
* @throws {RequiredError}
|
464
|
+
*/
|
465
|
+
showMemberDetail(showMemberDetailRequest?: ShowMemberDetailRequest): Promise<ShowMemberDetailResponse>;
|
466
|
+
/**
|
467
|
+
* 获取备份共享成员的列表信息
|
468
|
+
*
|
469
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
470
|
+
*
|
471
|
+
* @summary 获取备份成员列表
|
472
|
+
* @param {string} backupId 备份id
|
473
|
+
* @param {string} [destProjectId] 接受备份共享的项目id
|
474
|
+
* @param {string} [imageId] 接受的共享备份副本注册的镜像id
|
475
|
+
* @param {string} [status] 备份共享状态
|
476
|
+
* @param {string} [vaultId] 目标端接受共享备份的存储库id,仅支持uuid
|
477
|
+
* @param {number} [limit] 每页显示的条目数量,正整数
|
478
|
+
* @param {string} [marker] 上一次查询最后一条的id,仅支持uuid
|
479
|
+
* @param {number} [offset] 偏移值,正整数
|
480
|
+
* @param {string} [sort] sort的内容为一组由逗号分隔的属性及可选排序方向组成,形如<key1>[:<direction>],<key2>[:<direction>],其中direction的取值为asc (升序) 或 desc (降序),如没有传入direction参数,默认为降序,sort内容的长度限制为255个字符。
|
481
|
+
* @param {*} [options] Override http request option.
|
482
|
+
* @throws {RequiredError}
|
483
|
+
*/
|
484
|
+
showMembersDetail(showMembersDetailRequest?: ShowMembersDetailRequest): Promise<ShowMembersDetailResponse>;
|
485
|
+
/**
|
486
|
+
* 根据指定任务ID查询任务
|
487
|
+
*
|
488
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
489
|
+
*
|
490
|
+
* @summary 查询单个任务
|
491
|
+
* @param {string} operationLogId 任务ID
|
492
|
+
* @param {*} [options] Override http request option.
|
493
|
+
* @throws {RequiredError}
|
494
|
+
*/
|
495
|
+
showOpLog(showOpLogRequest?: ShowOpLogRequest): Promise<ShowOpLogResponse>;
|
496
|
+
/**
|
497
|
+
* 查询单个策略
|
498
|
+
*
|
499
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
500
|
+
*
|
501
|
+
* @summary 查询单个策略
|
502
|
+
* @param {string} policyId 策略ID
|
503
|
+
* @param {*} [options] Override http request option.
|
504
|
+
* @throws {RequiredError}
|
505
|
+
*/
|
506
|
+
showPolicy(showPolicyRequest?: ShowPolicyRequest): Promise<ShowPolicyResponse>;
|
507
|
+
/**
|
508
|
+
* 根据ID查询可保护性资源
|
509
|
+
*
|
510
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
511
|
+
*
|
512
|
+
* @summary 查询指定可保护资源
|
513
|
+
* @param {string} instanceId 资源ID
|
514
|
+
* @param {'server' | 'disk'} protectableType 可保护性类型
|
515
|
+
* @param {*} [options] Override http request option.
|
516
|
+
* @throws {RequiredError}
|
517
|
+
*/
|
518
|
+
showProtectable(showProtectableRequest?: ShowProtectableRequest): Promise<ShowProtectableResponse>;
|
519
|
+
/**
|
520
|
+
* 查询本区域的复制能力
|
521
|
+
*
|
522
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
523
|
+
*
|
524
|
+
* @summary 查询复制能力
|
525
|
+
* @param {*} [options] Override http request option.
|
526
|
+
* @throws {RequiredError}
|
527
|
+
*/
|
528
|
+
showReplicationCapabilities(): Promise<ShowReplicationCapabilitiesResponse>;
|
529
|
+
/**
|
530
|
+
* 根据ID查询指定存储库
|
531
|
+
*
|
532
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
533
|
+
*
|
534
|
+
* @summary 查询指定存储库
|
535
|
+
* @param {string} vaultId 存储库ID
|
536
|
+
* @param {*} [options] Override http request option.
|
537
|
+
* @throws {RequiredError}
|
538
|
+
*/
|
539
|
+
showVault(showVaultRequest?: ShowVaultRequest): Promise<ShowVaultResponse>;
|
540
|
+
/**
|
541
|
+
* 查询租户在指定Region和实例类型的所有标签集合
|
542
|
+
* 标签管理服务需要能够列出当前租户全部已使用的标签集合,为各服务Console打标签和过滤实例时提供标签联想功能
|
543
|
+
*
|
544
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
545
|
+
*
|
546
|
+
* @summary 查询存储库项目标签
|
547
|
+
* @param {*} [options] Override http request option.
|
548
|
+
* @throws {RequiredError}
|
549
|
+
*/
|
550
|
+
showVaultProjectTag(): Promise<ShowVaultProjectTagResponse>;
|
551
|
+
/**
|
552
|
+
* 使用标签过滤实例
|
553
|
+
* 标签管理服务需要提供按标签过滤各服务实例并汇总显示在列表中,需要各服务提供查询能力
|
554
|
+
*
|
555
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
556
|
+
*
|
557
|
+
* @summary 查询存储库资源实例
|
558
|
+
* @param {VaultResourceInstancesReq} showVaultResourceInstancesRequestBody 查询存储库资源实例参数
|
559
|
+
* @param {*} [options] Override http request option.
|
560
|
+
* @throws {RequiredError}
|
561
|
+
*/
|
562
|
+
showVaultResourceInstances(showVaultResourceInstancesRequest?: ShowVaultResourceInstancesRequest): Promise<ShowVaultResourceInstancesResponse>;
|
563
|
+
/**
|
564
|
+
* 查询指定实例的标签信息
|
565
|
+
* 标签管理服务需要使用该接口查询指定实例的全部标签数据
|
566
|
+
*
|
567
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
568
|
+
*
|
569
|
+
* @summary 查询存储库资源标签
|
570
|
+
* @param {string} vaultId 资源id
|
571
|
+
* @param {*} [options] Override http request option.
|
572
|
+
* @throws {RequiredError}
|
573
|
+
*/
|
574
|
+
showVaultTag(showVaultTagRequest?: ShowVaultTagRequest): Promise<ShowVaultTagResponse>;
|
575
|
+
/**
|
576
|
+
* 更新备份共享成员的状态,需要接收方执行此API。
|
577
|
+
*
|
578
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
579
|
+
*
|
580
|
+
* @summary 更新备份成员状态
|
581
|
+
* @param {string} memberId 成员id,成员id与项目id为同一个。
|
582
|
+
* @param {string} backupId 备份副本id
|
583
|
+
* @param {UpdateMember} [updateMemberStatusRequestBody] 备份共享更新请求体
|
584
|
+
* @param {*} [options] Override http request option.
|
585
|
+
* @throws {RequiredError}
|
586
|
+
*/
|
587
|
+
updateMemberStatus(updateMemberStatusRequest?: UpdateMemberStatusRequest): Promise<UpdateMemberStatusResponse>;
|
588
|
+
/**
|
589
|
+
* 修改策略
|
590
|
+
*
|
591
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
592
|
+
*
|
593
|
+
* @summary 修改策略
|
594
|
+
* @param {string} policyId 策略ID
|
595
|
+
* @param {PolicyUpdateReq} updatePolicyRequestBody 修改策略body
|
596
|
+
* @param {*} [options] Override http request option.
|
597
|
+
* @throws {RequiredError}
|
598
|
+
*/
|
599
|
+
updatePolicy(updatePolicyRequest?: UpdatePolicyRequest): Promise<UpdatePolicyResponse>;
|
600
|
+
/**
|
601
|
+
* 根据存储库ID修改存储库
|
602
|
+
*
|
603
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
604
|
+
*
|
605
|
+
* @summary 修改存储库
|
606
|
+
* @param {string} vaultId 存储库ID
|
607
|
+
* @param {VaultUpdateReq} updateVaultRequestBody 存储修改参数
|
608
|
+
* @param {*} [options] Override http request option.
|
609
|
+
* @throws {RequiredError}
|
610
|
+
*/
|
611
|
+
updateVault(updateVaultRequest?: UpdateVaultRequest): Promise<UpdateVaultResponse>;
|
612
|
+
}
|
613
|
+
export declare const ParamCreater: () => {
|
614
|
+
/**
|
615
|
+
* 添加备份可共享的成员,只有云服务器备份可以添加备份共享成员,且仅支持在同一区域的不同用户间共享。
|
616
|
+
*
|
617
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
618
|
+
*/
|
619
|
+
addMember(addMemberRequest?: AddMemberRequest): {
|
620
|
+
method: string;
|
621
|
+
url: string;
|
622
|
+
contentType: string;
|
623
|
+
queryParams: {};
|
624
|
+
pathParams: {};
|
625
|
+
headers: {};
|
626
|
+
data: {};
|
627
|
+
};
|
628
|
+
/**
|
629
|
+
* 存储库添加资源
|
630
|
+
*
|
631
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
632
|
+
*/
|
633
|
+
addVaultResource(addVaultResourceRequest?: AddVaultResourceRequest): {
|
634
|
+
method: string;
|
635
|
+
url: string;
|
636
|
+
contentType: string;
|
637
|
+
queryParams: {};
|
638
|
+
pathParams: {};
|
639
|
+
headers: {};
|
640
|
+
data: {};
|
641
|
+
};
|
642
|
+
/**
|
643
|
+
* 存储库设置策略
|
644
|
+
*
|
645
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
646
|
+
*/
|
647
|
+
associateVaultPolicy(associateVaultPolicyRequest?: AssociateVaultPolicyRequest): {
|
648
|
+
method: string;
|
649
|
+
url: string;
|
650
|
+
contentType: string;
|
651
|
+
queryParams: {};
|
652
|
+
pathParams: {};
|
653
|
+
headers: {};
|
654
|
+
data: {};
|
655
|
+
};
|
656
|
+
/**
|
657
|
+
* 为指定实例批量添加或删除标签
|
658
|
+
* 标签管理服务需要使用该接口批量管理实例的标签。
|
659
|
+
* 一个资源上最多有10个标签。
|
660
|
+
* 此接口为幂等接口:
|
661
|
+
* 创建时如果请求体中存在重复key则报错。
|
662
|
+
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
663
|
+
* 删除时,允许重复key。
|
664
|
+
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。key长度127个字符,value为255个字符。删除时tags结构体不能缺失,key不能为空,或者空字符串。
|
665
|
+
*
|
666
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
667
|
+
*/
|
668
|
+
batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest?: BatchCreateAndDeleteVaultTagsRequest): {
|
669
|
+
method: string;
|
670
|
+
url: string;
|
671
|
+
contentType: string;
|
672
|
+
queryParams: {};
|
673
|
+
pathParams: {};
|
674
|
+
headers: {};
|
675
|
+
data: {};
|
676
|
+
};
|
677
|
+
/**
|
678
|
+
* 跨区域复制备份。
|
679
|
+
*
|
680
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
681
|
+
*/
|
682
|
+
copyBackup(copyBackupRequest?: CopyBackupRequest): {
|
683
|
+
method: string;
|
684
|
+
url: string;
|
685
|
+
contentType: string;
|
686
|
+
queryParams: {};
|
687
|
+
pathParams: {};
|
688
|
+
headers: {};
|
689
|
+
data: {};
|
690
|
+
};
|
691
|
+
/**
|
692
|
+
* 执行复制
|
693
|
+
*
|
694
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
695
|
+
*/
|
696
|
+
copyCheckpoint(copyCheckpointRequest?: CopyCheckpointRequest): {
|
697
|
+
method: string;
|
698
|
+
url: string;
|
699
|
+
contentType: string;
|
700
|
+
queryParams: {};
|
701
|
+
pathParams: {};
|
702
|
+
headers: {};
|
703
|
+
data: {};
|
704
|
+
};
|
705
|
+
/**
|
706
|
+
* 对存储库执行备份,生成备份还原点
|
707
|
+
*
|
708
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
709
|
+
*/
|
710
|
+
createCheckpoint(createCheckpointRequest?: CreateCheckpointRequest): {
|
711
|
+
method: string;
|
712
|
+
url: string;
|
713
|
+
contentType: string;
|
714
|
+
queryParams: {};
|
715
|
+
pathParams: {};
|
716
|
+
headers: {};
|
717
|
+
data: {};
|
718
|
+
};
|
719
|
+
/**
|
720
|
+
* 创建策略,策略分为备份策略和复制策略。
|
721
|
+
*
|
722
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
723
|
+
*/
|
724
|
+
createPolicy(createPolicyRequest?: CreatePolicyRequest): {
|
725
|
+
method: string;
|
726
|
+
url: string;
|
727
|
+
contentType: string;
|
728
|
+
queryParams: {};
|
729
|
+
pathParams: {};
|
730
|
+
headers: {};
|
731
|
+
data: {};
|
732
|
+
};
|
733
|
+
/**
|
734
|
+
* 创建存储库
|
735
|
+
*
|
736
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
737
|
+
*/
|
738
|
+
createVault(createVaultRequest?: CreateVaultRequest): {
|
739
|
+
method: string;
|
740
|
+
url: string;
|
741
|
+
contentType: string;
|
742
|
+
queryParams: {};
|
743
|
+
pathParams: {};
|
744
|
+
headers: {};
|
745
|
+
data: {};
|
746
|
+
};
|
747
|
+
/**
|
748
|
+
* 一个资源上最多有10个标签。
|
749
|
+
* 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
750
|
+
*
|
751
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
752
|
+
*/
|
753
|
+
createVaultTags(createVaultTagsRequest?: CreateVaultTagsRequest): {
|
754
|
+
method: string;
|
755
|
+
url: string;
|
756
|
+
contentType: string;
|
757
|
+
queryParams: {};
|
758
|
+
pathParams: {};
|
759
|
+
headers: {};
|
760
|
+
data: {};
|
761
|
+
};
|
762
|
+
/**
|
763
|
+
* 删除单个备份。
|
764
|
+
*
|
765
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
766
|
+
*/
|
767
|
+
deleteBackup(deleteBackupRequest?: DeleteBackupRequest): {
|
768
|
+
method: string;
|
769
|
+
url: string;
|
770
|
+
contentType: string;
|
771
|
+
queryParams: {};
|
772
|
+
pathParams: {};
|
773
|
+
headers: {};
|
774
|
+
};
|
775
|
+
/**
|
776
|
+
* 删除指定的备份共享成员
|
777
|
+
*
|
778
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
779
|
+
*/
|
780
|
+
deleteMember(deleteMemberRequest?: DeleteMemberRequest): {
|
781
|
+
method: string;
|
782
|
+
url: string;
|
783
|
+
contentType: string;
|
784
|
+
queryParams: {};
|
785
|
+
pathParams: {};
|
786
|
+
headers: {};
|
787
|
+
};
|
788
|
+
/**
|
789
|
+
* 删除策略
|
790
|
+
*
|
791
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
792
|
+
*/
|
793
|
+
deletePolicy(deletePolicyRequest?: DeletePolicyRequest): {
|
794
|
+
method: string;
|
795
|
+
url: string;
|
796
|
+
contentType: string;
|
797
|
+
queryParams: {};
|
798
|
+
pathParams: {};
|
799
|
+
headers: {};
|
800
|
+
};
|
801
|
+
/**
|
802
|
+
* 删除存储库。若删除储存库,将一并删除存储库中的所有备份。
|
803
|
+
*
|
804
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
805
|
+
*/
|
806
|
+
deleteVault(deleteVaultRequest?: DeleteVaultRequest): {
|
807
|
+
method: string;
|
808
|
+
url: string;
|
809
|
+
contentType: string;
|
810
|
+
queryParams: {};
|
811
|
+
pathParams: {};
|
812
|
+
headers: {};
|
813
|
+
};
|
814
|
+
/**
|
815
|
+
* 幂等接口:删除时,如果删除的标签不存在,返回404。Key不能为空或者空字符串。
|
816
|
+
*
|
817
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
818
|
+
*/
|
819
|
+
deleteVaultTag(deleteVaultTagRequest?: DeleteVaultTagRequest): {
|
820
|
+
method: string;
|
821
|
+
url: string;
|
822
|
+
contentType: string;
|
823
|
+
queryParams: {};
|
824
|
+
pathParams: {};
|
825
|
+
headers: {};
|
826
|
+
};
|
827
|
+
/**
|
828
|
+
* 存储库解除策略
|
829
|
+
*
|
830
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
831
|
+
*/
|
832
|
+
disassociateVaultPolicy(disassociateVaultPolicyRequest?: DisassociateVaultPolicyRequest): {
|
833
|
+
method: string;
|
834
|
+
url: string;
|
835
|
+
contentType: string;
|
836
|
+
queryParams: {};
|
837
|
+
pathParams: {};
|
838
|
+
headers: {};
|
839
|
+
data: {};
|
840
|
+
};
|
841
|
+
/**
|
842
|
+
* 同步线下混合云VMware备份副本
|
843
|
+
*
|
844
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
845
|
+
*/
|
846
|
+
importBackup(importBackupRequest?: ImportBackupRequest): {
|
847
|
+
method: string;
|
848
|
+
url: string;
|
849
|
+
contentType: string;
|
850
|
+
queryParams: {};
|
851
|
+
pathParams: {};
|
852
|
+
headers: {};
|
853
|
+
data: {};
|
854
|
+
};
|
855
|
+
/**
|
856
|
+
* 查询所有副本
|
857
|
+
*
|
858
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
859
|
+
*/
|
860
|
+
listBackups(listBackupsRequest?: ListBackupsRequest): {
|
861
|
+
method: string;
|
862
|
+
url: string;
|
863
|
+
contentType: string;
|
864
|
+
queryParams: {};
|
865
|
+
pathParams: {};
|
866
|
+
headers: {};
|
867
|
+
};
|
868
|
+
/**
|
869
|
+
* 查询任务列表
|
870
|
+
*
|
871
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
872
|
+
*/
|
873
|
+
listOpLogs(listOpLogsRequest?: ListOpLogsRequest): {
|
874
|
+
method: string;
|
875
|
+
url: string;
|
876
|
+
contentType: string;
|
877
|
+
queryParams: {};
|
878
|
+
pathParams: {};
|
879
|
+
headers: {};
|
880
|
+
};
|
881
|
+
/**
|
882
|
+
* 查询策略列表
|
883
|
+
*
|
884
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
885
|
+
*/
|
886
|
+
listPolicies(listPoliciesRequest?: ListPoliciesRequest): {
|
887
|
+
method: string;
|
888
|
+
url: string;
|
889
|
+
contentType: string;
|
890
|
+
queryParams: {};
|
891
|
+
pathParams: {};
|
892
|
+
headers: {};
|
893
|
+
};
|
894
|
+
/**
|
895
|
+
* 查询可保护性资源列表
|
896
|
+
*
|
897
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
898
|
+
*/
|
899
|
+
listProtectable(listProtectableRequest?: ListProtectableRequest): {
|
900
|
+
method: string;
|
901
|
+
url: string;
|
902
|
+
contentType: string;
|
903
|
+
queryParams: {};
|
904
|
+
pathParams: {};
|
905
|
+
headers: {};
|
906
|
+
};
|
907
|
+
/**
|
908
|
+
* 查询存储库列表
|
909
|
+
*
|
910
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
911
|
+
*/
|
912
|
+
listVault(listVaultRequest?: ListVaultRequest): {
|
913
|
+
method: string;
|
914
|
+
url: string;
|
915
|
+
contentType: string;
|
916
|
+
queryParams: {};
|
917
|
+
pathParams: {};
|
918
|
+
headers: {};
|
919
|
+
};
|
920
|
+
/**
|
921
|
+
* 支持资源迁移到另一个存储库,不删除备份。
|
922
|
+
*
|
923
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
924
|
+
*/
|
925
|
+
migrateVaultResource(migrateVaultResourceRequest?: MigrateVaultResourceRequest): {
|
926
|
+
method: string;
|
927
|
+
url: string;
|
928
|
+
contentType: string;
|
929
|
+
queryParams: {};
|
930
|
+
pathParams: {};
|
931
|
+
headers: {};
|
932
|
+
data: {};
|
933
|
+
};
|
934
|
+
/**
|
935
|
+
* 移除存储库中的资源,若移除资源,将一并删除该资源在保管库中的备份
|
936
|
+
*
|
937
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
938
|
+
*/
|
939
|
+
removeVaultResource(removeVaultResourceRequest?: RemoveVaultResourceRequest): {
|
940
|
+
method: string;
|
941
|
+
url: string;
|
942
|
+
contentType: string;
|
943
|
+
queryParams: {};
|
944
|
+
pathParams: {};
|
945
|
+
headers: {};
|
946
|
+
data: {};
|
947
|
+
};
|
948
|
+
/**
|
949
|
+
* 恢复备份数据
|
950
|
+
*
|
951
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
952
|
+
*/
|
953
|
+
restoreBackup(restoreBackupRequest?: RestoreBackupRequest): {
|
954
|
+
method: string;
|
955
|
+
url: string;
|
956
|
+
contentType: string;
|
957
|
+
queryParams: {};
|
958
|
+
pathParams: {};
|
959
|
+
headers: {};
|
960
|
+
data: {};
|
961
|
+
};
|
962
|
+
/**
|
963
|
+
* 根据指定id查询单个副本。
|
964
|
+
*
|
965
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
966
|
+
*/
|
967
|
+
showBackup(showBackupRequest?: ShowBackupRequest): {
|
968
|
+
method: string;
|
969
|
+
url: string;
|
970
|
+
contentType: string;
|
971
|
+
queryParams: {};
|
972
|
+
pathParams: {};
|
973
|
+
headers: {};
|
974
|
+
};
|
975
|
+
/**
|
976
|
+
* 根据还原点ID查询指定还原点
|
977
|
+
*
|
978
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
979
|
+
*/
|
980
|
+
showCheckpoint(showCheckpointRequest?: ShowCheckpointRequest): {
|
981
|
+
method: string;
|
982
|
+
url: string;
|
983
|
+
contentType: string;
|
984
|
+
queryParams: {};
|
985
|
+
pathParams: {};
|
986
|
+
headers: {};
|
987
|
+
};
|
988
|
+
/**
|
989
|
+
* 获取备份成员的详情
|
990
|
+
*
|
991
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
992
|
+
*/
|
993
|
+
showMemberDetail(showMemberDetailRequest?: ShowMemberDetailRequest): {
|
994
|
+
method: string;
|
995
|
+
url: string;
|
996
|
+
contentType: string;
|
997
|
+
queryParams: {};
|
998
|
+
pathParams: {};
|
999
|
+
headers: {};
|
1000
|
+
};
|
1001
|
+
/**
|
1002
|
+
* 获取备份共享成员的列表信息
|
1003
|
+
*
|
1004
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1005
|
+
*/
|
1006
|
+
showMembersDetail(showMembersDetailRequest?: ShowMembersDetailRequest): {
|
1007
|
+
method: string;
|
1008
|
+
url: string;
|
1009
|
+
contentType: string;
|
1010
|
+
queryParams: {};
|
1011
|
+
pathParams: {};
|
1012
|
+
headers: {};
|
1013
|
+
};
|
1014
|
+
/**
|
1015
|
+
* 根据指定任务ID查询任务
|
1016
|
+
*
|
1017
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1018
|
+
*/
|
1019
|
+
showOpLog(showOpLogRequest?: ShowOpLogRequest): {
|
1020
|
+
method: string;
|
1021
|
+
url: string;
|
1022
|
+
contentType: string;
|
1023
|
+
queryParams: {};
|
1024
|
+
pathParams: {};
|
1025
|
+
headers: {};
|
1026
|
+
};
|
1027
|
+
/**
|
1028
|
+
* 查询单个策略
|
1029
|
+
*
|
1030
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1031
|
+
*/
|
1032
|
+
showPolicy(showPolicyRequest?: ShowPolicyRequest): {
|
1033
|
+
method: string;
|
1034
|
+
url: string;
|
1035
|
+
contentType: string;
|
1036
|
+
queryParams: {};
|
1037
|
+
pathParams: {};
|
1038
|
+
headers: {};
|
1039
|
+
};
|
1040
|
+
/**
|
1041
|
+
* 根据ID查询可保护性资源
|
1042
|
+
*
|
1043
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1044
|
+
*/
|
1045
|
+
showProtectable(showProtectableRequest?: ShowProtectableRequest): {
|
1046
|
+
method: string;
|
1047
|
+
url: string;
|
1048
|
+
contentType: string;
|
1049
|
+
queryParams: {};
|
1050
|
+
pathParams: {};
|
1051
|
+
headers: {};
|
1052
|
+
};
|
1053
|
+
/**
|
1054
|
+
* 查询本区域的复制能力
|
1055
|
+
*
|
1056
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1057
|
+
*/
|
1058
|
+
showReplicationCapabilities(): {
|
1059
|
+
method: string;
|
1060
|
+
url: string;
|
1061
|
+
contentType: string;
|
1062
|
+
queryParams: {};
|
1063
|
+
pathParams: {};
|
1064
|
+
headers: {};
|
1065
|
+
};
|
1066
|
+
/**
|
1067
|
+
* 根据ID查询指定存储库
|
1068
|
+
*
|
1069
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1070
|
+
*/
|
1071
|
+
showVault(showVaultRequest?: ShowVaultRequest): {
|
1072
|
+
method: string;
|
1073
|
+
url: string;
|
1074
|
+
contentType: string;
|
1075
|
+
queryParams: {};
|
1076
|
+
pathParams: {};
|
1077
|
+
headers: {};
|
1078
|
+
};
|
1079
|
+
/**
|
1080
|
+
* 查询租户在指定Region和实例类型的所有标签集合
|
1081
|
+
* 标签管理服务需要能够列出当前租户全部已使用的标签集合,为各服务Console打标签和过滤实例时提供标签联想功能
|
1082
|
+
*
|
1083
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1084
|
+
*/
|
1085
|
+
showVaultProjectTag(): {
|
1086
|
+
method: string;
|
1087
|
+
url: string;
|
1088
|
+
contentType: string;
|
1089
|
+
queryParams: {};
|
1090
|
+
pathParams: {};
|
1091
|
+
headers: {};
|
1092
|
+
};
|
1093
|
+
/**
|
1094
|
+
* 使用标签过滤实例
|
1095
|
+
* 标签管理服务需要提供按标签过滤各服务实例并汇总显示在列表中,需要各服务提供查询能力
|
1096
|
+
*
|
1097
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1098
|
+
*/
|
1099
|
+
showVaultResourceInstances(showVaultResourceInstancesRequest?: ShowVaultResourceInstancesRequest): {
|
1100
|
+
method: string;
|
1101
|
+
url: string;
|
1102
|
+
contentType: string;
|
1103
|
+
queryParams: {};
|
1104
|
+
pathParams: {};
|
1105
|
+
headers: {};
|
1106
|
+
data: {};
|
1107
|
+
};
|
1108
|
+
/**
|
1109
|
+
* 查询指定实例的标签信息
|
1110
|
+
* 标签管理服务需要使用该接口查询指定实例的全部标签数据
|
1111
|
+
*
|
1112
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1113
|
+
*/
|
1114
|
+
showVaultTag(showVaultTagRequest?: ShowVaultTagRequest): {
|
1115
|
+
method: string;
|
1116
|
+
url: string;
|
1117
|
+
contentType: string;
|
1118
|
+
queryParams: {};
|
1119
|
+
pathParams: {};
|
1120
|
+
headers: {};
|
1121
|
+
};
|
1122
|
+
/**
|
1123
|
+
* 更新备份共享成员的状态,需要接收方执行此API。
|
1124
|
+
*
|
1125
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1126
|
+
*/
|
1127
|
+
updateMemberStatus(updateMemberStatusRequest?: UpdateMemberStatusRequest): {
|
1128
|
+
method: string;
|
1129
|
+
url: string;
|
1130
|
+
contentType: string;
|
1131
|
+
queryParams: {};
|
1132
|
+
pathParams: {};
|
1133
|
+
headers: {};
|
1134
|
+
data: {};
|
1135
|
+
};
|
1136
|
+
/**
|
1137
|
+
* 修改策略
|
1138
|
+
*
|
1139
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1140
|
+
*/
|
1141
|
+
updatePolicy(updatePolicyRequest?: UpdatePolicyRequest): {
|
1142
|
+
method: string;
|
1143
|
+
url: string;
|
1144
|
+
contentType: string;
|
1145
|
+
queryParams: {};
|
1146
|
+
pathParams: {};
|
1147
|
+
headers: {};
|
1148
|
+
data: {};
|
1149
|
+
};
|
1150
|
+
/**
|
1151
|
+
* 根据存储库ID修改存储库
|
1152
|
+
*
|
1153
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1154
|
+
*/
|
1155
|
+
updateVault(updateVaultRequest?: UpdateVaultRequest): {
|
1156
|
+
method: string;
|
1157
|
+
url: string;
|
1158
|
+
contentType: string;
|
1159
|
+
queryParams: {};
|
1160
|
+
pathParams: {};
|
1161
|
+
headers: {};
|
1162
|
+
data: {};
|
1163
|
+
};
|
1164
|
+
};
|
1165
|
+
/**
|
1166
|
+
*
|
1167
|
+
* @export
|
1168
|
+
* @class RequiredError
|
1169
|
+
* @extends {Error}
|
1170
|
+
*/
|
1171
|
+
export declare class RequiredError extends Error {
|
1172
|
+
field: string;
|
1173
|
+
name: "RequiredError";
|
1174
|
+
constructor(field: string, msg?: string);
|
1175
|
+
}
|