Get zone cluster configuration
Returns the zone cluster configuration.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getZoneConfiguration --host https://$HOST:9443Responses
The zone cluster configuration.
| Property | Type & Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cluster object (ClusterConfigurationDetails) The cluster configuration.
| |||||||||||||||||||
onezone object The zone custom configuration.
| |||||||||||||||||||
Example
{
"cluster": {
"master": "node1.onezone.onedata.example.com",
"managers": {
"mainHost": "node1.onezone.onedata.example.com",
"hosts": [
"node1.onezone.onedata.example.com"
]
},
"workers": {
"hosts": [
"node1.onezone.onedata.example.com"
]
},
"databases": {
"hosts": [
"node1.onezone.onedata.example.com"
]
}
},
"onezone": {
"domainName": "example.com",
"name": "example",
"configured": true
}
}Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Cluster already deployed.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}