disk_create

Create a disk
post/v1/disks

Query Parameters

project

Request Body

Create-time parameters for a Disk

Object
description
disk_source

The initial source for this disk

Different sources for a disk

name

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

size

The total size of the Disk (in bytes)

Byte count to express memory or storage capacity.

Responses

Object
block_size

Byte count to express memory or storage capacity.

description

human-readable free-form text about a resource

device_path
id

unique, immutable, system-controlled identifier for each resource

image_id

ID of image from which disk was created, if any

name

unique, mutable, user-controlled identifier for each resource

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

project_id
size

Byte count to express memory or storage capacity.

snapshot_id

ID of snapshot from which disk was created, if any

state

State of a Disk

time_created

timestamp when this resource was created

time_modified

timestamp when this resource was last modified