Get cluster nodes configuration

The ServiceProviderAPI (Service Provider API) Api-Token scope is required to get the default realm password policy configuration using the Dynatrace API.

Endpoint

/api/v1.0/onpremise/cluster/configuration

Parameter

The request doesn't provide any configurable parameters.

Response

Response codes

Code Description
200

Success

Response body

A successful request doesn't return any content.

Example

This request returns all nodes with their node capability values and assignment to a datacenter.

Curl

curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration" -H  "accept: */*"

Request URL

https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration

Response body

{
  "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": ""
    }
}

Response code

200