curl --request PATCH \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/volumeset/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"spec": {
"$drop": [
"initialCapacity"
],
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"snapshots": {
"$drop": [
"createFinalSnapshot"
],
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"$replace/snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"$drop": [
"maxCapacity"
],
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"$replace/autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"$drop": [
"resources"
],
"resources": {
"$drop": [
"maxCpu"
],
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
},
"$replace/resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
},
"$replace/mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"$replace/spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"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": {},
"$replace/gvc": {}
}'
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"status": {
"parentId": "<string>",
"usedByWorkload": "<string>",
"workloadLinks": [
"<string>"
],
"bindingId": "<string>",
"locations": [
{
"name": "<string>",
"volumes": [
{
"lifecycle": "creating",
"storageDeviceId": "<string>",
"oldStorageDeviceIds": [
"<string>"
],
"resourceName": "<string>",
"index": 123,
"currentSize": 123,
"currentBytesUsed": 123,
"iops": 123,
"throughput": 123,
"driver": "<string>",
"volumeSnapshots": [
{
"name": "<string>",
"id": "<string>",
"created": "2023-11-07T05:31:56Z",
"expires": "2023-11-07T05:31:56Z",
"size": 123,
"tags": [
{}
]
}
],
"attributes": {},
"zone": "<string>"
}
],
"desiredVolumeCount": 123,
"clusterId": "<string>"
}
]
},
"gvc": {}
}
curl --request PATCH \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/volumeset/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"spec": {
"$drop": [
"initialCapacity"
],
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"snapshots": {
"$drop": [
"createFinalSnapshot"
],
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"$replace/snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"$drop": [
"maxCapacity"
],
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"$replace/autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"$drop": [
"resources"
],
"resources": {
"$drop": [
"maxCpu"
],
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
},
"$replace/resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
},
"$replace/mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"$replace/spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"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": {},
"$replace/gvc": {}
}'
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"spec": {
"initialCapacity": 123,
"performanceClass": "general-purpose-ssd",
"storageClassSuffix": "<string>",
"fileSystemType": "ext4",
"snapshots": {
"createFinalSnapshot": true,
"retentionDuration": "<string>",
"schedule": "<string>"
},
"autoscaling": {
"maxCapacity": 123,
"minFreePercentage": 123,
"scalingFactor": 123
},
"mountOptions": {
"resources": {
"maxCpu": "2000m",
"minCpu": "500m",
"minMemory": "1Gi",
"maxMemory": "2Gi"
}
}
},
"status": {
"parentId": "<string>",
"usedByWorkload": "<string>",
"workloadLinks": [
"<string>"
],
"bindingId": "<string>",
"locations": [
{
"name": "<string>",
"volumes": [
{
"lifecycle": "creating",
"storageDeviceId": "<string>",
"oldStorageDeviceIds": [
"<string>"
],
"resourceName": "<string>",
"index": 123,
"currentSize": 123,
"currentBytesUsed": 123,
"iops": 123,
"throughput": 123,
"driver": "<string>",
"volumeSnapshots": [
{
"name": "<string>",
"id": "<string>",
"created": "2023-11-07T05:31:56Z",
"expires": "2023-11-07T05:31:56Z",
"size": 123,
"tags": [
{}
]
}
],
"attributes": {},
"zone": "<string>"
}
],
"desiredVolumeCount": 123,
"clusterId": "<string>"
}
]
},
"gvc": {}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.