Get cluster nodes configuration current status

This API call retrieves the current configuration status for cluster nodes.

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/status

Parameter

The request doesn't provide any configurable parameters.

Response

Response codes

Code
Description
200

Success

Example

In this example we inspect all historical node reconfiguration operation statuses. For example, when we have disabled Web UI traffic. or enabled OneAgent traffic.

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/status

Response body

[
{
"id": 1619771074449,
"request": {
"clusterNodes": [
{
"id": 1,
"ipAddress": "10.10.4.2",
"webUI": false,
"agent": true,
"datacenter": "datacenter-1",
"kubernetesRole": ""
}
]
},
"state": "SUCCESS",
"details": "",
"requestedAt": "2021/04/30 08:24:34 Etc/UTC",
"finishedAt": "2021/04/30 08:25:50 Etc/UTC",
"states": {
"DOMAIN_UPDATE": {
"id": 0,
"request": null,
"state": "SUCCESS",
"details": "",
"requestedAt": "2021/04/30 08:25:13 Etc/UTC",
"finishedAt": "2021/04/30 08:25:41 Etc/UTC",
"states": {}
},
"OPERATION_STATE": {
"id": 0,
"request": null,
"state": "SUCCESS",
"details": "Update operation state step finished",
"requestedAt": "2021/04/30 08:25:41 Etc/UTC",
"finishedAt": "2021/04/30 08:25:41 Etc/UTC",
"states": {}
},
"AGENT_TRAFFIC": {
"id": 0,
"request": null,
"state": "SUCCESS",
"details": "Update agent traffic step finished",
"requestedAt": "2021/04/30 08:25:41 Etc/UTC",
"finishedAt": "2021/04/30 08:25:50 Etc/UTC",
"states": {}
},
"WEB_UI": {
"id": 0,
"request": null,
"state": "SUCCESS",
"details": "Update web step finished",
"requestedAt": "2021/04/30 08:24:36 Etc/UTC",
"finishedAt": "2021/04/30 08:25:13 Etc/UTC",
"states": {}
}
}
}
]

Response code

200