Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Create an object replication run-once schedule

Creates an object replication run-once schedule.

HTTP request syntax (URI)
POST <base_URI>/v8/storage/object-replication-schedules/run-once-schedule
Parameters
Name Type Required Values Description
objectReplicationPolicyObjectId BODY Y string Object ID of an object replication policy.
nextRunSchedule BODY Y number Time of next run schedule.
testOnly BODY N boolean If true, no real replication schedule is run. Default value is false.
Return codes
Code Data Description
201 objectReplicationSchedule An object replication run-once schedule was created successfully.
400 Error Message Missing or invalid request contents.
403Error MessageOperation forbidden by access level.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 201 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/object-replication-schedules/run-once-schedule -X POST -d '{"objectReplicationPolicyObjectId":"343a3a3a63376434346636362d373637632d313164322d393036612d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56", "nextRunSchedule":167777}'
Response example
HTTP/1.1 201 Created
{
  "objectReplicationSchedule": {
    "enabled": true,
    "finalRunSchedule": 4294967295,
    "id": 4,
    "interval": 0,
    "nextRunSchedule": 167777,
    "objectId": "63376434346636362d373637632d313164322d393036612d3439653162623836346232333a3a3a343a3a3a343a3a3a303a3a3a4f49445f24232140255f56",
    "policyId": "c7d44f66-767c-11d2-906a-49e1bb864b23",
    "type": "ONCE_ONLY",
    "unit": "MINUTE"
  }
}

 

  • Was this article helpful?