Skip to main content

Update a SnapMirror replication relationship

Contributors netapp-ranuk

You can use this workflow to update an existing SnapMirror replication relationship.

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.

2. Update the relationship

HTTP method Path

PUT

/occm/api/replication/{workingEnvironmentId}/{destinationSvmName}/{destinationVolumeName}

curl example
curl --location --request PUT '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