EnableReplication
Starts replication.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdr:EnableReplication |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServerId |
string |
No |
The ID of the protected server. |
sr-0005qxusucbo6yomzb9x |
| ReplicationUseSsd |
boolean |
No |
Specifies whether the replication instance uses standard SSDs. |
false |
| ReplicationUseEssd |
boolean |
No |
Specifies whether the replica instance uses an ESSD. |
false |
| ReplicationNetwork |
string |
No |
The ID of the vSwitch for the replication network. |
vsw-bp1g0s2u3b2kbn46kiy53 |
| RecoveryNetwork |
string |
No |
The ID of the vSwitch for the recovery network. |
vsw-bp1g0s2u3b2kbn46kiy53 |
| CrashConsistentPointPolicy |
string |
No |
The recovery point policy. |
{"scheduleType":"CRON","expression":"0 0 */1 * * 0,1,2,3,4,5,6","initialDelay":0} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The API status code or POP error code. Valid values: 2xx: Success. 3xx: Redirection. 4xx: Client error. 5xx: Server error. |
200 |
| Message |
string |
The response message. If the request is successful, success is returned. |
successful |
| RequestId |
string |
The unique identifier of the request. |
E50FE4A6-C876-5D6F-8A09-93442308AA7B |
| Success |
boolean |
Indicates whether the request is successful. |
True |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "E50FE4A6-C876-5D6F-8A09-93442308AA7B",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.