Get details of a Kubernetes Cluster client
API to get details of a Kubernetes clusters with clusterId
Path Parameters
- clusterId int32 required
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
- displayName string
- apiServer string
API Server Endpoint of the cluster
- version string
Kubernetes client version
accessNode object[]
tags object[]
etcdProtection object
applicationCount object
instance object
clientGroups object[]
region object
commonProperties object
activityControl object
{
"id": 0,
"name": "string",
"displayName": "string",
"apiServer": "string",
"version": "string",
"accessNode": [
{
"id": 0,
"name": "string"
}
],
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
],
"etcdProtection": {
"id": 0,
"name": "string",
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"applicationCount": {
"pendingCount": 0,
"protectedCount": 0,
"notProtectedCount": 0,
"neverBackedUpCount": 0,
"backupUpWithErrorCount": 0,
"totalCount": 0
},
"instance": {
"id": 0,
"name": "string"
},
"clientGroups": [
{
"id": 0,
"name": "string"
}
],
"region": {
"id": 0,
"name": "string"
},
"commonProperties": {
"security": {
"owners": [
"string"
]
},
"associatedUserGroups": [
{
"id": 0,
"name": "string"
}
]
},
"activityControl": {
"enableBackup": true,
"enableRestore": true
}
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v5/kubernetes/cluster/:clusterid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/Kubernetes/Cluster/:clusterId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'