Skip to main content

We've Moved!

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

Modify an object replication policy

Modifies an object replication policy.

This API call has changed in version 8.

HTTP request syntax (URI)
PATCH <base_URI>/v8/storage/object-replication-policies/{objectReplicationPolicyObjectId}
Parameters
Name Type Required Values Description
objectReplicationPolicyObjectId URI_PARAM Y string ID of an object replication policy object.
name BODY Y string Object replication policy name.
destinationPort BODY N number Destination host port. A new value will invalidate all existing policies.
sourceSnapshotRuleName BODY N string Source host snapshot rule name.
destinationSnapshotRuleName BODY N string Destination host snapshot rule name.
destinationIPAddress BODY Y string Destination host IPv4 address.
destinationFilesystemName BODY Y string Destination host filesystem name.
Return codes
Code Data Description
204 No Data An object replication policy updated 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 204 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-policies/63326261363039652d643564382d313164332d396430332d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56 -X PATCH -d '{"name":"xyz_orp2", "destinationPort":63452, "destinationIPAddress":"172.17.239.168", "destinationFilesystemName":"fakeFs222"}'
Response example
HTTP/1.1 204 No Content

 

  • Was this article helpful?