Schedule Recovery Plan Sync

Schedule Recovery Plan Sync

This request schedules the synchronization of the specified recovery plan.

Request
URI
POST
https://{api_host}/recovery-plans/{recoveryPlanId}/schedule-sync
COPY
Path Parameters
string
recoveryPlanId
Required

ID of the recovery plan.

recoveryPlanId example
e7bf7128-2825-48ca-9075-3f496de70ffe
Query Parameters
integer
scheduledSyncTime
Optional

Scheduled sync time.

scheduledSyncTime example
1684249590398
Header Parameters
string
operationID
Optional

Operation ID for correlating logs across multiple services


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns RecoveryPlanInfo of type(s) application/json;charset=UTF-8
{
    "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
}
string
description
Optional

Recovery plan description.

string
displayName
Optional

Recovery plan display name (unique across recovery plans).

executionInfo
Optional

executionInfo

string As uuid As uuid
id
Optional

Recovery plan id.

boolean
isMigration
Optional

Whether the plan is a migration plan.

string
owner
Optional

Recovery plan owner.

integer As int64 As int64
scheduledSyncTime
Optional

Time at which the replications of the recovery plan will get synced. 0 means not scheduled.


401

The returned error codes include (but are not limited to): NotAuthenticated

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.


500

The returned error codes include (but are not limited to): GeneralServerFailure

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.