Get all Kubernetes clusters
API to get all Kubernetes clusters
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- clusterCount int32
Total number of clusters
clusters object[]
{
"clusterCount": 0,
"clusters": [
{
"id": 0,
"name": "string",
"displayName": "string",
"configured": true,
"version": "string",
"instance": {
"id": 0,
"name": "string"
},
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
],
"company": {
"id": 0,
"name": "string",
"multiCommcellId": 0
},
"commcell": {
"name": "string"
}
}
]
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v5/kubernetes/cluster
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'