Modify volume

Contributors netapp-ranuk Download PDF of this page

You can modify the configuration of an existing volume.

1. Select the working environment

Perform the workflow Get working environments and choose the publicId value for the working environment and svmName.

2. Select the volume

Perform the workflow Get volumes and choose the name for the volume.

3. Modify the volume

HTTP method Path

PUT

/occm/api/vsa/volumes/{workingEnvironmentId}/{svmName}/{volumeName}

curl example
curl --location --request PUT 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/volumes/<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> (svmName)

  • <VOLUME_NAME> (volumeName)

The JSON input example includes the minimum list of input parameters.

JSON input example
{
  "exportPolicyInfo": {
    "policyType": "custom",
    "ips": [
      "172.31.0.0/16"
    ],
    "nfsVersion": [
      "nfs3"
    ]
  }
}
Output

None