Create Recovery Plans
This request creates a new recovery plan.
Operation ID for correlating logs across multiple services
{
"description": "Example of a plan",
"displayName": "Plan 1",
"isMigration": false,
"scheduledSyncTime": 1901071800000
}
Recovery plan description.
Recovery plan display name (unique across recovery plans).
Whether the plan is a migration plan
Time at which the replications of the recovery plan will get synced.
OK
{
"description": "Example of a plan",
"displayName": "Plan 1",
"executionInfo": {
"isSuspendRequested": false,
"lastError": {
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
},
"lastOperation": "string",
"promptStepId": "5ee9224f-305d-46f6-865f-b605e70acef8",
"state": "string"
},
"id": "2bfb7696-3aa1-49d3-bb40-d9e97df1baba",
"isMigration": false,
"owner": "org1@site1",
"scheduledSyncTime": 1901071800000
}
Recovery plan description.
Recovery plan display name (unique across recovery plans).
Recovery plan id.
Whether the plan is a migration plan.
Recovery plan owner.
Time at which the replications of the recovery plan will get synced. 0 means not scheduled.
The returned error codes include (but are not limited to): NotAuthenticated
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.