Updates the specified cluster host config
PATCHhttps://api.spectrocloud.com/v1/spectroclusters/:uid/clusterConfig/hostCluster
Updates the specified cluster host config
Request
Path Parameters
uid stringrequired
Cluster uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
hostClusterConfig
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PATCH 'https://api.spectrocloud.com/v1/spectroclusters/:uid/clusterConfig/hostCluster' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
-d '{
"hostClusterConfig": {
"clusterEndpoint": {
"config": {
"ingressConfig": {
"host": "string",
"port": 0
},
"loadBalancerConfig": {
"externalIPs": [
"string"
],
"externalTrafficPolicy": "string",
"loadBalancerSourceRanges": [
"string"
]
}
},
"type": "Ingress"
},
"clusterGroup": {
"kind": "string",
"name": "string",
"uid": "string"
},
"hostCluster": {
"kind": "string",
"name": "string",
"uid": "string"
},
"isHostCluster": false
}
}'