Update a SnapMirror replication relationship
You can use this workflow to update an existing SnapMirror replication relationship.
Step 1. Select the working environment and related values
Perform the workflow Get relationships status and choose the workingEnvironment
and svmName
and volumeName
values for the path parameters. All values are for the destination.
Step 2. Update the relationship
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
PUT |
/occm/api/replication/{workingEnvironmentId}/{destinationSvmName}/{destinationVolumeName} |
Curl example
curl --request PUT
--location "https://cloudmanager.cloud.netapp.com/occm/api/replication/<WORKING_ENV_ID/<SVM_NAME/<VOLUME_NAME>"
--header "Content-Type: application/json"
--header "x-agent-id: <AGENT_ID>"
--header "Authorization: Bearer <ACCESS_TOKEN>"
--d @JSONinput
Input
Path parameters:
-
<WORKING_ENV_ID>
(workingEnvironmentId)
-
<SVM_NAME>
(destinationSvmName)
-
<VOLUME_NAME>
(destinationVolumeName)
The JSON input example includes some of the parameters you can update.
JSON input example
{
"maxTransferRate": 0
}
Output
None