**[Deprecated]** Creates a replication target vault and configures cross-region replication. This API operation does not support cross-account replication and is deprecated. Use CreateVault and CreateVaultReplication instead for full capabilities.
Operation description
After the backup vault is created, its status is INITIALIZING, and an initialization task is automatically initiated. After the task succeeds, the vault status changes to CREATED.
Call this operation in the region where the replication target vault resides (VaultRegionId).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateReplicationVault |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultRegionId |
string |
Yes |
The region ID of the backup vault. |
cn-shanghai |
| VaultName |
string |
Yes |
The name of the backup vault. The name must be 1 to 64 characters in length. |
mirrorvaultname |
| Description |
string |
No |
The description of the backup vault. The description must be 0 to 255 characters in length. |
description |
| VaultStorageClass |
string |
No |
The storage class of the backup vault. The value can only be STANDARD, which indicates standard storage. |
STANDARD |
| ReplicationSourceVaultId |
string |
Yes |
The ID of the source vault. |
v-********************* |
| ReplicationSourceRegionId |
string |
Yes |
The region ID of the source vault. |
cn-hangzhou |
| RedundancyType |
string |
No |
The data redundancy storage method of the backup vault. Valid values:
|
LRS |
| EncryptType |
string |
No |
The encryption type of the replication target vault. This parameter is valid only when VaultType is set to STANDARD. The encryption type must be the same as that of the source backup repository. Valid values:
|
HBR_PRIVATE |
| KmsKeyId |
string |
No |
The custom key or alias from Alibaba Cloud KMS. This parameter is required only when EncryptType is set to KMS. |
alias/test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| VaultId |
string |
The ID of the backup vault. |
v-********************* |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The returned message. The value "successful" is returned for successful requests. An error message is returned for failed requests. |
successful |
| TaskId |
string |
The initialization task ID of the backup vault. You can call DescribeTask to query the task status. |
t-********************* |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"VaultId": "v-*********************",
"Success": true,
"Code": "200",
"Message": "successful",
"TaskId": "t-*********************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.