Create a snapshot of a volume. To create a snapshot, the volume must be in
the in_use
or the available
status. If your volume is in a transient
state, you need to wait until the end of the current operation.
The request CreateSnapshotRequest
A Promise of Snapshot
Create a volume. To create a new volume from scratch, you must specify
from_empty
and the size
. To create a volume from an existing snapshot,
specify from_snapshot
and the snapshot_id
in the request payload
instead, size is optional and can be specified if you need to extend the
original size. The volume will take on the same volume class and underlying
IOPS limitations as the original snapshot.
The request CreateVolumeRequest
A Promise of Volume
Delete a snapshot. You must specify the snapshot_id
of the snapshot you
want to delete. The snapshot must not be in use.
The request DeleteSnapshotRequest
Delete a detached volume. You must specify the volume_id
of the volume
you want to delete. The volume must not be in the in_use
status.
The request DeleteVolumeRequest
Export a snapshot to a Scaleway Object Storage bucket. The snapshot is exported in QCOW2 format. The snapshot must not be in transient state.
The request ExportSnapshotToObjectStorageRequest
A Promise of Snapshot
Get a snapshot. Retrieve technical information about a specific snapshot. Details such as size, volume type, and status are returned in the response.
The request GetSnapshotRequest
A Promise of Snapshot
Get a volume. Retrieve technical information about a specific volume. Details such as size, type, and status are returned in the response.
The request GetVolumeRequest
A Promise of Volume
Import a snapshot from a Scaleway Object Storage bucket. The bucket must contain a QCOW2 image. The bucket can be imported into any Availability Zone as long as it is in the same region as the bucket.
The request ImportSnapshotFromObjectStorageRequest
A Promise of Snapshot
(Deprecated in favor of ImportSnapshotFromObjectStorage
). Import a
snapshot from a Scaleway Object Storage bucket The bucket must contain a
QCOW2 image. The bucket can be imported into any Availability Zone as long
as it is in the same region as the bucket.
The request ImportSnapshotFromS3Request
A Promise of Snapshot
List all snapshots. List all available snapshots in a specified zone. By
default, the snapshots listed are ordered by creation date in ascending
order. This can be modified via the order_by
field.
The request ListSnapshotsRequest
A Promise of ListSnapshotsResponse
List volume types. List all available volume types in a specified zone. The volume types listed are ordered by name in ascending order.
The request ListVolumeTypesRequest
A Promise of ListVolumeTypesResponse
List volumes. List all existing volumes in a specified zone. By default,
the volumes listed are ordered by creation date in ascending order. This
can be modified via the order_by
field.
The request ListVolumesRequest
A Promise of ListVolumesResponse
Update a snapshot. Update the name or tags of the snapshot.
The request UpdateSnapshotRequest
A Promise of Snapshot
Update a volume. Update the technical details of a volume, such as its
name, tags, or its new size and volume_type
(within the same Block
Storage class). You can only resize a volume to a larger size. It is
currently not possible to change your Block Storage Class.
The request UpdateVolumeRequest
A Promise of Volume
Waits for Snapshot to be in a final state.
The request GetSnapshotRequest
Optional
options: Readonly<WaitForOptions<Block.v1alpha1.Snapshot>>The waiting options
A Promise of Snapshot
Waits for Volume to be in a final state.
The request GetVolumeRequest
Optional
options: Readonly<WaitForOptions<Block.v1alpha1.Volume>>The waiting options
A Promise of Volume
Block Storage API.
This API allows you to manage your Block Storage volumes.