Updates the specified AKS cloud config's machine pool
PUThttps://api.spectrocloud.com/v1/cloudconfigs/aks/:configUid/machinePools/:machinePoolName
Updates the specified AKS 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
managedPoolConfig
object
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/aks/:configUid/machinePools/:machinePoolName' \
-H 'Content-Type: application/json' \
-d '{
"cloudConfig": {
"azs": [
"string"
],
"instanceType": "string",
"isSystemNodePool": true,
"osDisk": {
"diskSizeGB": 0,
"managedDisk": {
"storageAccountType": "string"
},
"osType": "Linux"
}
},
"managedPoolConfig": {
"isSystemNodePool": true,
"osType": "Linux"
},
"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-29T15:51:28.071Z",
"value": "string"
}
],
"updateStrategy": {
"type": "RollingUpdateScaleOut"
},
"useControlPlaneAsWorker": true
}
}'