Updates the specified CoxEdge cloud config's machine pool
PUThttps://api.spectrocloud.com/v1/cloudconfigs/coxedge/:configUid/machinePools/:machinePoolName
Updates the specified CoxEdge cloud config's machine pool
Request
Path Parameters
configUid stringrequired
Cluster's cloud config uid
machinePoolName stringrequired
Machine pool name
- application/json
Body
cloudConfig
object
required
poolConfig
object
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/cloudconfigs/coxedge/:configUid/machinePools/:machinePoolName' \
-H 'Content-Type: application/json' \
--data-raw '{
"cloudConfig": {
"deployments": [
{
"cpuUtilization": 0,
"enableAutoScaling": true,
"instancesPerPop": 0,
"maxInstancesPerPop": 0,
"minInstancesPerPop": 0,
"name": "string",
"pops": [
"string"
]
}
],
"persistentStorages": [
{
"path": "string",
"size": 0
}
],
"securityGroupRules": [
{
"action": "block",
"description": "string",
"portRange": "string",
"protocol": "TCP",
"source": "string",
"type": "string"
}
],
"spec": "string"
},
"poolConfig": {
"additionalLabels": {},
"additionalTags": {},
"isControlPlane": true,
"labels": [
"string"
],
"machinePoolProperties": {
"archType": "amd64"
},
"maxSize": 0,
"minSize": 0,
"name": "string",
"nodeRepaveInterval": 0,
"size": 0,
"taints": [
{
"effect": "NoSchedule",
"key": "string",
"timeAdded": "2024-07-01T22:50:51.495Z",
"value": "string"
}
],
"updateStrategy": {
"type": "RollingUpdateScaleOut"
},
"useControlPlaneAsWorker": true
}
}'