Storage Class Configuration
Retrieves a list of storage class configurations defined in the system.
Bearer authentication
Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
["name!=some-name"]Sort results by a parameters.
Sort results in descending or ascending order.
ascPossible values: The offset of the first item returned in the collection.
100The maximum number of entries to return.
50Executed successfully.
1Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/storage-class-configuration HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"storageClassConfigurations": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": 1001,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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.
Bearer authentication
The id of the tenant.
1001the scope type of the configuration.
clusterExample: clusterPossible values: The ID of the cluster.
The name of the storage class to which the configuration applies.
StandardExecuted successfully.
The unique identifier of the storage class configuration.
The id of the tenant.
1001Currently supported value: 'cluster', which is also the default.
clusterExample: clusterPossible values: The ID of the cluster.
The name of the storage class to which the configuration applies.
StandardBad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
POST /api/v1/storage-class-configuration HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 980
{
"tenantId": 1,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": 1001,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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.
Bearer authentication
unique identifier of the storage class configuration
Storage class configuration
The unique identifier of the storage class configuration.
The id of the tenant.
1001Currently supported value: 'cluster', which is also the default.
clusterExample: clusterPossible values: The ID of the cluster.
The name of the storage class to which the configuration applies.
StandardUnauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/storage-class-configuration/{id} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": 1001,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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.
Bearer authentication
unique identifier of the storage class configuration
Storage class configuration
The unique identifier of the storage class configuration.
The id of the tenant.
1001Currently supported value: 'cluster', which is also the default.
clusterExample: clusterPossible values: The ID of the cluster.
The name of the storage class to which the configuration applies.
StandardUnauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
PUT /api/v1/storage-class-configuration/{id} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 878
{
"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": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": 1001,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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.
Bearer authentication
unique identifier of the storage class configuration
Storage class configuration deleted
No content
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
DELETE /api/v1/storage-class-configuration/{id} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
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.
Bearer authentication
unique identifier of the storage class configuration
Storage class configuration
The unique identifier of the storage class configuration.
The id of the tenant.
1001Currently supported value: 'cluster', which is also the default.
clusterExample: clusterPossible values: The ID of the cluster.
The name of the storage class to which the configuration applies.
StandardUnauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
PATCH /api/v1/storage-class-configuration/{id} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 919
{
"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": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": 1001,
"scopeType": "cluster",
"scopeId": "123e4567-e89b-12d3-a456-426614174000",
"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"
}
]
}
}Last updated