Storage Classes

storage class related operations

Get all storageClasses from a cluster.Deprecated

this API is used by cluster versions < 2.20

SecuritybearerAuth
Request
path Parameters
uuid
required
string <uuid>

Unique identifier of the cluster

Responses
200

Expected response to a valid request

401

Unauthorized

404

The specified resource was not found

default

unexpected error

get/v1/k8s/clusters/{uuid}/storage-classes
Response samples
application/json
{
  • "storageClasses": [
    ]
}

get a Storage Class/Classes for a given cluster

SecuritybearerAuth
Request
query Parameters
clusterId
required
string <uuid>

The id of the cluster

Example: clusterId=d73a738f-fab3-430a-8fa3-5241493d7128
name
string

filter by name

Responses
200

Executed successfully.

401

Unauthorized

403

Forbidden

500

unexpected error

503

unexpected error

get/api/v1/storage-classes
Response samples
application/json
{
  • "items": [
    ]
}