Create Network Volume
Overview
This API endpoint allows you to create a new network volume with a specified template name, volume space, and optional configurations like unit and region type.
Example
- Method:
POST
Endpoint
https://api.gpulab.ai/nas-server
Headers
Parameter | Description | Type |
---|---|---|
api-key | Your API Key for request authorization. | string |
Request Body Attributes
Attribute | Description | Type |
---|---|---|
template_name | Name of the network volume (string). | str |
volume_space | Size of the volume in GB (integer). | int |
unit | Optional. The unit for the volume (string). | Optional[str] |
region_type | Optional. Specifies the region type (string). | Optional[str] |
Request Body (JSON)
{
"template_name": "LLM",
"volume_space": 100,
"unit": "GB",
"region_type": "us-west"
}