Create aggregate
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 theproviderVolumeType
parameter in the JSON input. -
Choose the
size
value of the desired disk from thesizes
→size
field for thesize
field insidediskSize
parameter in the JSON input. -
Choose the
unit
value of the desired disk from thesizes
→size
field for theunit
field insidediskSize
parameter 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://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
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