This API request retrieves the cluster nodes configuration.
To execute this request, you need the Service Provider API (ServiceProviderAPI
) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
/api/v1.0/onpremise/cluster/configuration
The request doesn't provide any configurable parameters.
Success
This request returns all nodes with their node capability values and assignment to a datacenter.
curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration" -H "accept: */*"
https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration
{"clusterNodes": [{"id": 1,"ipAddress": "10.10.4.2","webUI": false,"agent": true,"datacenter": "datacenter-1","kubernetesRole": ""},{"id": 2,"ipAddress": "10.10.4.6","webUI": true,"agent": false,"datacenter": "datacenter-1","kubernetesRole": ""}}
200