CreateVaultReplication
Configures backup vault replication.
Operation description
Call this operation in the region where the replication target vault is located. Make sure that you fully understand the billing methods and pricing of Cloud Backup before you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateVaultReplication |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ReplicationSourceVaultId |
string |
Yes |
The ID of the replication source vault. |
v-********************* |
| ReplicationTargetVaultId |
string |
Yes |
The ID of the replication target vault. |
r-********************* |
| ReplicationSourceRegionId |
string |
No |
The region ID of the replication source. If you do not specify this parameter, the default value is the region where the API operation is called. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
280DD872-EE25-52E8-9CB4-491067173DD0 |
| TaskId |
string |
The ID of the backup vault initialization task. You can call the DescribeTask operation to query the task status. |
t-********************* |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| Code |
string |
The return code. A value of 200 indicates that the request is successful. |
200 |
| Message |
string |
The return message. A value of successful indicates success. If an error occurs, the corresponding error message is returned. |
successful |
Examples
Success response
JSON format
{
"RequestId": "280DD872-EE25-52E8-9CB4-491067173DD0",
"TaskId": "t-*********************",
"Success": true,
"Code": "200",
"Message": "successful"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.