curl --request POST \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/volumeset \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>",
"tags": {},
"spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"customEncryption": {
"regions": {}
},
"snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"gvc": {}
}
'{
"status": 123,
"message": "<string>",
"code": "<string>",
"details": {},
"id": "<string>"
}curl --request POST \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/volumeset \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>",
"tags": {},
"spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"customEncryption": {
"regions": {}
},
"snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"gvc": {}
}
'{
"status": 123,
"message": "<string>",
"code": "<string>",
"details": {},
"id": "<string>"
}Service account key can be used as API keys
250Show child attributes
The initial size in GB of volumes in this set.
general-purpose-ssd, high-throughput-ssd, shared For self-hosted locations only. The storage class used for volumes in this set will be {performanceClass}-{fileSystemType}-{storageClassSuffix} if it exists, otherwise it will be {performanceClass}-{fileSystemType}
ext4, xfs, shared Show child attributes
If true, a volume snapshot will be created immediately before deletion of any volume in this set
The default retention period for volume snapshots. This string should contain a floating point number followed by either d, h, or m. For example, "10d" would retain snapshots for 10 days.
A standard cron schedule expression used to determine when your job should execute.
Show child attributes
The maximum size in GB for a volume in this set. A volume cannot grow to be bigger than this.
The guaranteed free space on the volume as a percentage of the volume's total size. ControlPlane will try to maintain at least that many percent free by scaling up the total size
When scaling is necessary, then new_capacity = current_capacity * storageScalingFactor.
A list of mount options to use when mounting volumes in this set.
Show child attributes
For volume sets using the shared file system, this object specifies the CPU and memory resources allotted to each mount point
Show child attributes
20202020VolumeSet was created successfully