Create aggregate

Contributors netapp-ranuk Download PDF of this page

You can create a new aggregate within a working environment using this workflow.

1. Select the working environment to use

Perform the workflow Get working environments and choose the publicId value for the workingEnvironmentId parameter in the JSON input.

2. Create the aggregate

HTTP method Path

POST

occm/api/vsa/aggregates

curl example
curl --location --request POST 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/aggregates' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --d @JSONinput
Input

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

JSON input example
{
  "name": "ziv01agg04",
  "workingEnvironmentId": "VsaWorkingEnvironment-9e6p8LuF",
  "numberOfDisks": 1,
  "diskSize": {
    "size": 100,
    "unit": "GB"
  },
  "providerVolumeType": "gp2"
}
Output

None