Skip to main content

Create aggregate

Contributors netapp-ranuk

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

Step 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.

Step 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.

Step 3. Create the aggregate

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Path

POST

occm/api/azure/vsa/aggregates

Curl example
curl --request POST \
--location "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
Additional input parameters

The JSON input example includes the minimum list of parameters.

JSON input example
{
  "name": "aggr3",
  "workingEnvironmentId": "VsaWorkingEnvironment-IsDYFJf8",
  "numberOfDisks": "2",
  "diskSize": {
    "size": "1",
    "unit": "TB"
  },
  "providerVolumeType": "Premium_LRS"
}
Output

None