Skip to navigation

Create storage class configuration

View as Markdown

Creates a new storage class configuration in the NVIDIA Run:ai platform. This endpoint enables administrators to define storage class behavior and customize their usage settings.

Authentication

AuthorizationBearer
Bearer authentication

Request

This endpoint expects an object.
scopeTypeenumRequiredDefaults to cluster
the scope type of the configuration.
Allowed values:
scopeIdstringRequiredformat: "uuid"
The ID of the cluster.
namestringRequired
The name of the storage class to which the configuration applies.
tenantIdinteger or nullOptional
The id of the tenant.
permissionsobjectOptional
Defines the access permissions and behavioral rules for this storage class.
customizationobjectOptional

Optional UI/policy controls that define defaults and requirements when creating PVCs with this storage class.

Response

Executed successfully.
idstringformat: "uuid"
The unique identifier of the storage class configuration.
tenantIdinteger
The id of the tenant.
scopeTypeenumDefaults to cluster

Currently supported value: ‘cluster’, which is also the default.

Allowed values:
scopeIdstringformat: "uuid"
The ID of the cluster.
namestring
The name of the storage class to which the configuration applies.
permissionsobjectOptional
Defines the access permissions and behavioral rules for this storage class.
customizationobjectOptional

Optional UI/policy controls that define defaults and requirements when creating PVCs with this storage class.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error