-
Notifications
You must be signed in to change notification settings - Fork 0
storage post create
Create a disk on the cloud provider.
| Header | Value |
|---|---|
| content-type | application/json |
{
"creatorID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"name": "cool_volume",
"private": false,
"readonly": false,
"shareable": false,
"bootable": true,
"size": 10
}Type: string
Description:
The uuid4 that identifies the client.
Type: string
Description:
The name of the volume given by the client.
Type: boolean
Description:
Whether the volume is private or public.
Type: boolean
Description:
Whether the volume is read-only.
Type: boolean
Description:
Whether the volume is shareable between more machines.
Type: boolean
Description:
Whether the volume is bootable.
Type: integer
Description:
The size of the volume in GB.
Brief description.
| Header | Value |
|---|---|
| content-type | application/json |
NOTE: The async header is optional. If set to true,
the request will be processed asynchronously and the response will contain a poolingURL
with the URL to check the status of the request.
If set to false, the request will be processed synchronously and the response will contain the result of the request.
{
"creatorID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"name": "volume",
"private": false,
"bootable": true,
"readonly": false,
"shareable": false,
"size": 100,
"vid": "ffffffff-ffff-ffff-ffff-ffffffffffff"
}The response is the same as the request with the addition of the following attribute:
Type: string
Description:
The uuid4 that identifies the volume.
{
"vid": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"poolingURL": "https://<meson_ip>:7772/api/v1.0/running/<vid>"
}Type: string
Description:
The unique identifier of the volume on the cloud provider.
Type: string
Description:
The URL to check the status of the request.