Query parameters

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • instances array[object]
      Hide instances attributes Show instances attributes object
      • Instance public IP assignment

        Values are inet4, dual, or none.

      • labels object

        Resource labels

        Hide labels attribute Show labels attribute object
        • * string Additional properties
      • security-groups array[object]

        Instance Security Groups

        Hide security-groups attributes Show security-groups attributes object
        • id string(uuid)

          Security Group ID

        • name string

          Security Group name

          Minimum length is 1, maximum length is 255.

        • Security Group description

          Maximum length is 255.

        • external-sources array[string]

          Security Group external sources

      • name string

        Instance name

        Minimum length is 1, maximum length is 255.

      • Instance Type

        Additional properties are allowed.

        Hide instance-type attributes Show instance-type attributes object
        • id string(uuid)

          Instance type ID

        • size string

          Instance type size

          Values are large, huge, jumbo, medium, mega, small, extra-large, titan, micro, colossus, or tiny.

        • family string

          Instance type family

          Values are gpu3, gpu3080ti, gpu2, gpu, memory, gpua5000, storage, standard, colossus, or cpu.

        • cpus integer(int64)

          CPU count

          Minimum value is 0.

        • gpus integer(int64)

          GPU count

          Minimum value is 0.

        • authorized boolean

          Requires authorization or publicly available

        • memory integer(int64)

          Available memory

          Minimum value is 0.

        • zones array[string]

          Instance Type available zones

          Values are ch-dk-2, de-muc-1, ch-gva-2, at-vie-1, de-fra-1, bg-sof-1, or at-vie-2.

      • private-networks array[object]

        Instance Private Networks

        Hide private-networks attributes Show private-networks attributes object
      • template object

        Instance Template

        Additional properties are allowed.

        Hide template attributes Show template attributes object
        • Template maintainer

        • Template description

          Maximum length is 255.

        • Enable SSH key-based login

        • family string

          Template family

        • name string

          Template name

          Minimum length is 1, maximum length is 255.

        • Template default user

          Minimum length is 1, maximum length is 255.

        • size integer(int64)

          Template size

          Minimum value is 0.

        • Enable password-based login

        • build string

          Template build

        • checksum string

          Template MD5 checksum

        • Boot mode (default: legacy)

          Values are legacy or uefi.

        • id string(uuid)

          Template ID

        • zones array[string]

          Zones availability

          Values are ch-dk-2, de-muc-1, ch-gva-2, at-vie-1, de-fra-1, bg-sof-1, or at-vie-2.

        • url string

          Template source URL

        • version string

          Template version

        • created-at string(date-time)

          Template creation date

        • Template visibility

          Values are private or public.

      • state string

        Instance state

        Values are expunging, starting, destroying, running, stopping, stopped, migrating, error, or destroyed.

      • ssh-key object

        Instance SSH Key

        Additional properties are allowed.

        Hide ssh-key attributes Show ssh-key attributes object
        • name string

          SSH key name

          Minimum length is 1, maximum length is 255.

        • SSH key fingerprint

      • Instance MAC address

      • manager object

        Instance manager

        Additional properties are allowed.

        Hide manager attributes Show manager attributes object
        • id string(uuid)

          Manager ID

        • type string

          Manager type

          Values are sks-nodepool or instance-pool.

      • Instance IPv6 address

      • id string(uuid)

        Instance ID

      • ssh-keys array[object]

        Instance SSH Keys

        Hide ssh-keys attributes Show ssh-keys attributes object
        • name string

          SSH key name

          Minimum length is 1, maximum length is 255.

        • SSH key fingerprint

      • created-at string(date-time)

        Instance creation date

      • public-ip string(ipv4)

        Instance public IPv4 address

GET /instance
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/instance
Response examples (200)
{
  "instances": [
    {
      "public-ip-assignment": "inet4",
      "labels": {
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      },
      "security-groups": [
        {
          "id": "string",
          "name": "string",
          "description": "string",
          "external-sources": [
            "string"
          ]
        }
      ],
      "name": "string",
      "instance-type": {
        "id": "string",
        "size": "large",
        "family": "gpu3",
        "cpus": 42,
        "gpus": 42,
        "authorized": true,
        "memory": 42,
        "zones": [
          "ch-dk-2"
        ]
      },
      "private-networks": [
        {
          "id": "string",
          "mac-address": "string"
        }
      ],
      "template": {
        "maintainer": "string",
        "description": "string",
        "ssh-key-enabled": true,
        "family": "string",
        "name": "string",
        "default-user": "string",
        "size": 42,
        "password-enabled": true,
        "build": "string",
        "checksum": "string",
        "boot-mode": "legacy",
        "id": "string",
        "zones": [
          "ch-dk-2"
        ],
        "url": "string",
        "version": "string",
        "created-at": "2024-05-04T09:42:00+00:00",
        "visibility": "private"
      },
      "state": "expunging",
      "ssh-key": {
        "name": "string",
        "fingerprint": "string"
      },
      "mac-address": "string",
      "manager": {
        "id": "string",
        "type": "sks-nodepool"
      },
      "ipv6-address": "string",
      "id": "string",
      "ssh-keys": [
        {
          "name": "string",
          "fingerprint": "string"
        }
      ],
      "created-at": "2024-05-04T09:42:00+00:00",
      "public-ip": "string"
    }
  ]
}