Create a datavolume
Authentication
AuthorizationBearer
Bearer authentication
Request
The datavolume to create.
name
The name of the new data volume.
originPvcName
The name of the existing PVC that the new data volume is based on.
projectId
The ID of the project whose namespace contains the origin PVC.
description
A brief description of the data volume and its purpose.
shouldDeleteOriginalVolume
True is not supported. This parameter will be removed in a future release.
useOriginalVolume
If true, the original storage volume will be used together with the data volume. Default true as long as "shouldDeleteOriginalVolume" is false.
Response
Created
id
name
The name of the new data volume.
originPvcName
The name of the existing PVC that the new data volume is based on.
projectId
The ID of the project whose namespace contains the origin PVC.
projectName
status
createdAt
updatedAt
createdBy
updatedBy
description
A brief description of the data volume and its purpose.
shouldDeleteOriginalVolume
True is not supported. This parameter will be removed in a future release.
useOriginalVolume
If true, the original storage volume will be used together with the data volume. Default true as long as "shouldDeleteOriginalVolume" is false.
departmentId
clusterId
The id of the cluster.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error
503
Service Unavailable Error