Create an aggregate
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
diskTypeof the desired storage type item for theproviderVolumeTypeparameter in the JSON input. -
Choose the
sizevalue of the desired disk from thesizes→sizefield for thesizefield insidediskSizeparameter in the JSON input. -
Choose the
unitvalue of the desired disk from thesizes→sizefield for theunitfield insidediskSizeparameter in the JSON input.
Step 3. Create the aggregate
This REST API call uses the following method and endpoint.
| HTTP method | Path |
|---|---|
POST |
occm/api/azure/vsa/aggregates |
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
The JSON input example includes the minimum list of parameters.
{
"name": "aggr3",
"workingEnvironmentId": "VsaWorkingEnvironment-IsDYFJf8",
"numberOfDisks": "2",
"diskSize": {
"size": "1",
"unit": "TB"
},
"providerVolumeType": "Premium_LRS"
}
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
diskTypeof the desired storage type item for theproviderVolumeTypeparameter in the JSON input. -
Choose the
sizevalue of the desired disk from thesizes→sizefield for thesizefield insidediskSizeparameter in the JSON input. -
Choose the
unitvalue of the desired disk from thesizes→sizefield for theunitfield insidediskSizeparameter in the JSON input.
Step 3. Create the aggregate
This REST API call uses the following method and endpoint.
| HTTP method | Path |
|---|---|
POST |
occm/api/azure/ha/aggregates |
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
The JSON input example includes the minimum list of parameters.
{
"providerVolumeType": "Premium_LRS",
"name": "aggr3",
"diskSize": {
"size": 1,
"unit": "TB"
},
"homeNode": "ShirleyHa2901-02",
"numberOfDisks": 2,
"iops": null,
"workingEnvironmentId": "VsaWorkingEnvironment-LUeyohBV"
}
None