Skip to main content
Hitachi Vantara Knowledge

Modify snapshot rule name of an object replication policy

Modifies the snapshot rule name of an object replication policy.

HTTP request syntax (URI)
PATCH <base_URI>/v7/storage/object-replication-policies/{id}/snapshot-rule-name
Name Type Required Values Description
id URI Y string ID of an object replication policy object.
sourceSnapshotRuleName BODY Y string Source snapshot rule name.
destinationSnapshotRuleName BODY Y string Destination snapshot rule name.
Return codes
Code Data Description
200 objectReplicationPolicy An object replication policy was updated 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" 63326261363039652d643564382d313164332d396430332d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56/snapshot-rule-name -X PATCH -d '{"sourceSnapshotRuleName":"abc","destinationSnapshotRuleName":"xyz"}'
Response example
HTTP/1.1 200 OK
        "objectReplicationPolicy" :
                "destinationFilesystemName" : "fakeFs222",
                "destinationIPAddress" : "",
                "destinationPort" : 63452,
                "destinationSnapshotRuleName" : "xyz",
                "id" : "ca2e73f2-d5d7-11d3-9cff-49e1bb864b23",
                "name" : "xyz_orp2",
                "objectId" : "63613265373366322d643564372d313164332d396366662d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56",
                "sourceFilesystemId" : "3B6E4F23B46554770000000000000000",
                "sourceSnapshotRuleName" : "abc",
                "sourceVirtualServerId" : 4


  • Was this article helpful?