Skip to main content

We've Moved!

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

Get an object replication policy

Gets an object replication policy.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/object-replication-policies/{id}
Parameters
Name Type Required Values Description
id URI Y string/number ID of an object replication policy object.
Return codes
Code Data Description
200 objectReplicationPolicy An object replication policy 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-policies/ 63326261363039652d643564382d313164332d396430332d3439653162623836346232333a3 a3a303a3a3a4f49445f24232140255f56
Response example
HTTP/1.1 200 OK
{
        "objectReplicationPolicy" :
        {
                "destinationFilesystemName" : "fakeFs123",
                "destinationIPAddress" : "172.17.239.141",
                "destinationPort" : 65535,
                "destinationSnapshotRuleName" : "",
                "id" : "c2ba609e-d5d8-11d3-9d03-49e1bb864b23",
                "name" : "abc_objRepPolicy3",
                "objectId" : "63326261363039652d643564382d313164332d396430332d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56",
                "sourceFilesystemId" : "3B6E4F23B46554770000000000000000",
                "sourceSnapshotRuleName" : "",
                "sourceVirtualServerId" : 4
        }
}

 

  • Was this article helpful?