Update a cluster
import requests
url = "https://{FUSION HOST}/api/searchCluster/{id}"
payload = {
"authConfig": {},
"validateCluster": True
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"connectString": "<string>",
"zkClientTimeout": 123,
"zkConnectTimeout": 123,
"cloud": true,
"bufferFlushInterval": 123,
"bufferSize": 123,
"concurrency": 123,
"authConfig": {
"username": "<string>",
"password": "<string>",
"keyTab": "<string>",
"principal": "<string>"
},
"validateCluster": true
}Update a cluster
Update a cluster definition.
PUT
/
searchCluster
/
{id}
Update a cluster
import requests
url = "https://{FUSION HOST}/api/searchCluster/{id}"
payload = {
"authConfig": {},
"validateCluster": True
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"connectString": "<string>",
"zkClientTimeout": 123,
"zkConnectTimeout": 123,
"cloud": true,
"bufferFlushInterval": 123,
"bufferSize": 123,
"concurrency": 123,
"authConfig": {
"username": "<string>",
"password": "<string>",
"keyTab": "<string>",
"principal": "<string>"
},
"validateCluster": true
}Headers
An optional tag to match against the specified blob.
Path Parameters
The cluster ID.
Query Parameters
Validate the updated cluster definition before saving it.
Body
application/json
JSON-formatted cluster configuration values.
Response
200 - application/json
successful operation
Show child attributes
Show child attributes
Was this page helpful?
⌘I