Create aggregate

Contributors netapp-ranuk

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

1. Create the working environment

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

2. Select the Azure Storage Account Types

Perform the Get Azure Storage Account Types workflow and choose the desired storage type:

  • Choose the diskType of the desired storage type item for the providerVolumeType parameter in the JSON input.

  • Choose the size value of the desired disk from the sizessize field for the size field inside diskSize parameter in the JSON input.

  • Choose the unit value of the desired disk from the sizessize field for the unit field inside diskSize parameter in the JSON input.

3. Create the aggregate

HTTP method Path

POST

occm/api/azure/vsa/aggregates

curl example
curl --location --request POST 'https://cloudmanager.cloud.netapp.com/occm/api/azure/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": "aggr3",
  "workingEnvironmentId": "VsaWorkingEnvironment-IsDYFJf8",
  "numberOfDisks": "2",
  "diskSize": {
    "size": "1",
    "unit": "TB"
  },
  "providerVolumeType": "Premium_LRS"
}
Output

None