Attach volume
Attach a volume to an instance. The volume must be in an available state to be attached.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
1
Volume ID
"726ecfcc-7fd0-4e30-a86e-7892524aa483"
Body
Response
OK
Indicates whether the volume is bootable.
false
The date and time when the volume was created.
"2019-05-29T05:32:41+0000"
The unique identifier of the volume.
"726ecfcc-7fd0-4e30-a86e-7892524aa483"
Indicates whether this is a root volume.
false
The name of the volume.
"volume-1"
Project ID.
1
The region where the volume is located.
"Luxembourg"
The identifier of the region.
1
The size of the volume in gibibytes (GiB).
50
The current status of the volume.
attaching, available, awaiting-transfer, backing-up, creating, deleting, detaching, downloading, error, error_backing-up, error_deleting, error_extending, error_restoring, extending, in-use, maintenance, reserved, restoring-backup, retyping, reverting, uploading "available"
List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
The type of volume storage.
"standard"
List of attachments associated with the volume.
The ID of the task that created this volume.
"d74c2bb9-cea7-4b23-a009-2f13518ae66d"
Quality of Service (QoS) parameters for this volume.
List of snapshot IDs associated with this volume.
The UUID of the active task that currently holds a lock on the resource. This lock prevents concurrent modifications to ensure consistency. If null, the resource is not locked.
The date and time when the volume was last updated.
"2019-05-29T05:39:20+0000"
Image metadata for volumes created from an image.