Browse all storage classes of a Kubernetes cluster
Select
SaaS
Customer Managed
API to get all StorageClasses of a Kubernetes cluster with clusterId
Path Parameters
- clusterId int32 required
clusterId is the ID of the Kubernetes cluster client
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- items object[]
List of items discovered form a Kubernetes cluster browse
{
"items": [
{
"GUID": "string",
"name": "string",
"kind": "string"
}
]
}
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/content/storageclass
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/Cluster/:clusterId/Content/StorageClass' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'