Updates the cluster configuration information
PUThttps://api.spectrocloud.com/v1/cloudconfigs/tke/:configUid/clusterConfig
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Updates the cluster configuration information
Request
Path Parameters
configUid stringrequired
Cluster's cloud config uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
clusterConfig object
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/cloudconfigs/tke/:configUid/clusterConfig' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"clusterConfig": {
"endpointAccess": {
"IsExtranet": true,
"private": true,
"privateCIDR": "string",
"public": true,
"publicCIDRs": [
"string"
],
"securityGroup": "string",
"subnetId": "string"
},
"region": "string",
"sshKeyIDs": [
"string"
],
"vpcID": "string"
}
}'