Storage
Create Disk
Create a new disk. Size should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][GiB|TiB]. E.g. 10GiB. A successful response from this resource will contain the async operation.
POST
Create a new disk in a project.
Required Parameters
name
: Disk namesize
: Size in GiB or TiB (e.g., “10GiB”)location
: Deployment location
Optional Parameters
block_size
: Block size in bytes (512 or 4096)type
: Disk type (“persistent-ssd” or “shared-volume”)
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Project id
Body
application/json
Response
200 - application/json
The response is of type object
.