Skip to navigation

Create a datavolume

View as MarkdownOpen in Claude

Authentication

AuthorizationBearer
Bearer authentication

Request

The datavolume to create.
namestringRequiredformat: "^[a-z][-a-z0-9]{0,62}$"<=63 characters
The name of the new data volume.
originPvcNamestringRequired
The name of the existing PVC that the new data volume is based on.
projectIdstringRequired
The ID of the project whose namespace contains the origin PVC.
descriptionstringOptional<=127 characters
A brief description of the data volume and its purpose.
shouldDeleteOriginalVolumebooleanOptionalDefaults to false
True is not supported. This parameter will be removed in a future release.
useOriginalVolumeboolean or nullOptionalDefaults to true
If true, the original storage volume will be used together with the data volume. Default true as long as "shouldDeleteOriginalVolume" is false.

Response

Created
idstringformat: "uuid"
namestringformat: "^[a-z][-a-z0-9]{0,62}$"<=63 characters
The name of the new data volume.
originPvcNamestring
The name of the existing PVC that the new data volume is based on.
projectIdstring
The ID of the project whose namespace contains the origin PVC.
projectNamestring
statusobject
createdAtdatetimeOptional
updatedAtdatetimeOptional
createdBystringOptional
updatedBystringOptional
descriptionstringOptional<=127 characters
A brief description of the data volume and its purpose.
shouldDeleteOriginalVolumebooleanOptionalDefaults to false
True is not supported. This parameter will be removed in a future release.
useOriginalVolumeboolean or nullOptionalDefaults to true
If true, the original storage volume will be used together with the data volume. Default true as long as "shouldDeleteOriginalVolume" is false.
departmentIdstringOptional
clusterIdstringOptionalformat: "uuid"
The id of the cluster.
sharedScopeslist of objectsOptional
Will be returned only if the user has the required permissions to view those scopes

Errors

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