Skip to main content

Create an aggregate

Contributors netapp-aoife

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

Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:

Create an aggregate for a single node

You can use this workflow to create an aggregate for a single node system.

1. Create the system

Perform the workflow Create Azure single node system 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.

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://api.bluexp.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

Create an aggregate for a high availability pair

You can use this workflow to create an aggregate for an HA system.

Step 1. Create the system

Perform the workflow Create Azure HA system 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/ha/aggregates

Curl example
curl --request POST \
--location "https://api.bluexp.netapp.com/occm/api/azure/ha/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
{
  "providerVolumeType": "Premium_LRS",
  "name": "aggr3",
  "diskSize": {
    "size": 1,
    "unit": "TB"
  },
  "homeNode": "ShirleyHa2901-02",
  "numberOfDisks": 2,
  "iops": null,
  "workingEnvironmentId": "VsaWorkingEnvironment-LUeyohBV"
}
Output

None