Skip to main content

We've Moved!

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

Get object replication schedules

Gets object replication schedules.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/object-replication-schedules
Parameters
Name Type Required Values Description
virtualServerId BODY Y number ID of the virtual server where object replication policies and schedules reside.
Return codes
Code Data Description
200 objectReplicationSchedules A list of object replication schedules was retrieved successfully.
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

Any HTTP status code other than 200 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/v7/storage/object-replication-schedules -X GET -d '{"virtualServerId":4}'
Response example
HTTP/1.1 200 OK
{
        "objectReplicationSchedules" :
        [
                {
                        "enabled" : false,
                        "finalRunSchedule" : 1524785999,
                        "id" : 1,
                        "interval" : 7,
                        "nextRunSchedule" : 1525380799,
                        "objectId" : "33666134326565342d373338612d313164322d393664662d3439653162623836346232333a3a3a343a3a3a313a3a3a303a3a3a4f49445f24232140255f56",
                        "policyId" : "3fa42ee4-738a-11d2-96df-49e1bb864b23",
                        "type" : "PERIODIC",
                        "unit" : "DAY"
                },
                {
                        "enabled" : true,
                        "finalRunSchedule" : 4294967295,
                        "id" : 2,
                        "interval" : 0,
                        "nextRunSchedule" : 4294967295,
                        "objectId" : "34323834326264382d643262302d313164332d396138392d3439653162623836346232333a3a3a343a3a3a323a3a3a303a3a3a4f49445f24232140255f56",
                        "policyId" : "42842bd8-d2b0-11d3-9a89-49e1bb864b23",
                        "type" : "ONCE_ONLY",
                        "unit" : "MINUTE"
                }
        ]
}

 

  • Was this article helpful?