Get provider cluster configuration
Returns the provider cluster configuration.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getProviderConfiguration --host https://$HOST:9443Responses
The provider cluster configuration.
| Property | Type & Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cluster object (ClusterConfigurationDetails) The cluster configuration.
| |||||||||||||||||||
oneprovider object The provider custom configuration.
| |||||||||||||||||||
ceph any (CephCluster) Describes whole of Ceph configuration. | |||||||||||||||||||
Example
{
"cluster": {
"master": "node1.oneprovider.onedata.example.com",
"managers": {
"mainHost": "node1.oneprovider.onedata.example.com",
"hosts": [
"node1.oneprovider.onedata.example.com"
]
},
"workers": {
"hosts": [
"node1.oneprovider.onedata.example.com"
]
},
"databases": {
"hosts": [
"node1.oneprovider.onedata.example.com"
]
}
},
"oneprovider": {
"name": "example",
"configured": true
}
}Unauthorized request.
Forbidden request.
Cluster is not fully 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."
}
}