List block storage snapshots

GET /block-storage-snapshot

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • Block storage snapshot

      Hide block-storage-snapshots attributes Show block-storage-snapshots attributes object
      • id string(uuid)

        Snapshot ID

      • name string

        Snapshot name

        Minimum length is 1, maximum length is 255.

      • size integer(int64)

        Snapshot size

        Minimum value is 10.

      • volume-size integer(int64)

        Original Volume size

        Minimum value is 0.

      • created-at string(date-time)

        Snapshot creation date

      • state string

        Snapshot state

        Values are partially-destroyed, destroying, creating, created, promoting, error, destroyed, or allocated.

      • labels object

        Resource labels

        Hide labels attributes Show labels attributes
      • Referenced volume

        Hide block-storage-volume attribute Show block-storage-volume attribute
        • id string(uuid)

          Block storage volume ID

GET /block-storage-snapshot
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/block-storage-snapshot
Response examples (200)
{
  "block-storage-snapshots": [
    {
      "id": "string",
      "name": "string",
      "size": 42,
      "volume-size": 42,
      "created-at": "2024-05-04T09:42:00+00:00",
      "state": "partially-destroyed",
      "labels": {
        "key": "string"
      },
      "block-storage-volume": {
        "id": "string"
      }
    }
  ]
}