The storage class configuration API enables administrators to define, manage, and customize how storage classes are used across the NVIDIA Run:ai platform. Through this API, you can configure access modes, volume modes, and claim size restrictions for persistent volume claims (PVCs). These settings help standardize storage behavior, enforce organization-wide policies, and ensure consistent resource allocation across workloads.
Retrieves a list of storage class configurations defined in the system.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "storageClassConfigurations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}
], - "next": 1
}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.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}Retrieves a specific storage class configuration by its unique identifier. Use this endpoint to view detailed information about the configuration, including its permissions and customization options.
Storage class configuration
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}Partially updates an existing storage class configuration by its unique identifier. Use this endpoint to modify specific fields, such as permissions, customization values, or attributes, without replacing the entire configuration.
object or null (StorageClassPermissions) Defines the access permissions and behavioral rules for this storage class. | |
object or null Optional UI/policy controls that define defaults and requirements when creating PVCs with this storage class. |
Storage class configuration
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
], - "attributesToRemove": [
- "dnsname",
- "dnsip"
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}Updates an existing storage class configuration by its unique identifier. Use this endpoint to fully replace an existing configuration, including permissions and customization settings.
object or null (StorageClassPermissions) Defines the access permissions and behavioral rules for this storage class. | |
object or null (StorageClassCustomization) Optional UI/policy controls that define defaults and requirements when creating PVCs with this storage class. |
Storage class configuration
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "scopeType": "cluster",
- "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643",
- "name": "Standard",
- "permissions": {
- "allowedForAssets": true,
- "allowedForWorkloads": true,
- "allowedForEphemeralVolumes": true,
- "allowedForPersistentVolumes": true,
- "allowDataSharing": true
}, - "customization": {
- "accessMode": {
- "required": true,
- "default": {
- "readWriteOnce": true,
- "readOnlyMany": false,
- "readWriteMany": false
}, - "supportedValues": {
- "readWriteOnce": true,
- "readOnlyMany": true,
- "readWriteMany": true
}
}, - "volumeMode": {
- "required": true,
- "default": "Filesystem",
- "supportedValues": {
- "filesystem": true,
- "block": true
}
}, - "claimSize": {
- "default": "1G",
- "supportedUnits": [
- "MB"
], - "min": "1G",
- "max": "1G",
- "step": "1G"
}, - "attributes": [
- {
- "key": "dnsname",
- "format": "text",
- "display": "DNS Name",
- "description": "The host name of the DNS",
- "placeholder": "enter hostname or IP address",
- "required": "true",
- "defaultValue": "my.dns.com",
- "validationRegexp": "^[a-zA-Z0-9.-_]+$",
- "minValue": "100",
- "maxValue": "200",
- "step": "5",
- "validationError": "Invalid URL"
}
]
}
}Deletes a specific storage class configuration by its unique identifier. Use this endpoint to permanently remove configurations that are no longer needed.
Storage class configuration deleted
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 401,
- "message": "Issuer is not familiar."
}