Skip to main content

We've Moved!

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

Get a snapshot schedule associated with a snapshot sule

Gets a snapshot schedule associated with a snapshot rule.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/snapshot-rules/{snapshotRuleObjectId}/schedules/{snapshotScheduleObjectId}
Parameters
Name Type Required Values Description
snapshotRuleObjectId URI_PARAM Y string ID of the snapshot rule object.
snapshotScheduleObjectId URI_PARAM Y string ID of the snapshot schedule object.
Return codes
Code Data Description
200 filesystemSnapshotSchedule A filesystemSnapshotSchedule object is returned.
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.239.120:8444/v7/storage/snapshot-rules/343a3a3a38363539453444453845324646344541303030303030303030303030303030303a3a3a7269636b535352756c65/schedules/3330203136202a202a202a7377616d6d79406864732e636f6d3b687472696e68406864732e636f6d3a3a3a343a3a3a31
Response example
{
   "filesystemSnapshotSchedule" : {
      "emails" : "user1@xyz.com;user2@xyz.com",
      "handle" : 1,
      "objectId" : "3330203136202a202a202a7377616d6d79406864732e636f6d3b687472696e68406864732e636f6d3a3a3a343a3a3a31",
      "isValid" : true,
      "time" : "30 16 * * *",
      "virtualServerId" : 7
   }
}

 

  • Was this article helpful?