Add disks to aggregate

Contributors netapp-ranuk

You can add disks to an existing aggregate.

1. Create the working environment

Perform the workflow Create Azure single node working environment and choose the publicId value for the workingEnvironmentId path parameter.

2. Create the aggregate

Perform the workflow Create aggregate to create an aggregate with the name aggr2 and choose aggr2 for the aggregateName path parameter.

3. Add the disks to the aggregate

HTTP method Path

POST

/occm/api/azure/vsa/aggregates/{workingEnvironmentId}/{aggregateName}/disks

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

You must include the following path parameters:

  • <WORKING_ENV_ID> (workingEnvironmentId) string

  • <AGGR_NAME> (aggregateName) string

Also, the JSON input example includes an input parameter as shown.

JSON input example
{
    "numberOfDisks": "1"
}
Output

None