Get cluster nodes configuration
Dynatrace Managed Documentation
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
This API request retrieves the cluster nodes configuration.
Authentication
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.
Endpoint
/api/v1.0/onpremise/cluster/configuration
Parameter
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Description |
---|---|
200 | Success |
Example
This request returns all nodes with their node capability values and assignment to a datacenter.
Curl
1curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration" -H "accept: */*"
Request URL
1https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration
Response body
1{2 "clusterNodes": [3 {4 "id": 1,5 "ipAddress": "10.10.4.2",6 "webUI": false,7 "agent": true,8 "datacenter": "datacenter-1",9 "kubernetesRole": ""10 },11 {12 "id": 2,13 "ipAddress": "10.10.4.6",14 "webUI": true,15 "agent": false,16 "datacenter": "datacenter-1",17 "kubernetesRole": ""18 }19}
Response code
200