GET /anti-affinity-group

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • anti-affinity-groups array[object]

      Anti-affinity Group

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

        Anti-affinity Group ID

      • name string

        Anti-affinity Group name

        Minimum length is 1, maximum length is 255.

      • description string

        Anti-affinity Group description

        Maximum length is 255.

      • instances array[object]

        Anti-affinity Group instances

        Instance

        Hide instances attributes Show instances attributes object
        • application-consistent-snapshot-enabled boolean

          Indicates if the instance will take application-consistent snapshots

        • anti-affinity-groups array[object]

          Instance Anti-affinity Groups

          Anti-affinity group reference

          Hide anti-affinity-groups attribute Show anti-affinity-groups attribute object
          • id string(uuid)

            Anti-affinity group ID

        • public-ip-assignment string

          Values are inet4, dual, or none.

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

          Instance Security Groups

          Security group reference

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

            Security group ID

        • elastic-ips array[object]

          Instance Elastic IPs

          Elastic IP reference

          Hide elastic-ips attribute Show elastic-ips attribute object
          • id string(uuid)

            Elastic IP ID

        • name string

          Instance name

          Minimum length is 1, maximum length is 255.

        • instance-type object

          Compute instance type

          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, titan48c, titan, micro, colossus, or tiny.

          • family string

            Instance type family

            Values are gpu3, gpua30, gpu3080ti, gpu2, gpu, memory, gpua5000, gpurtx6000pro, 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, at-vie-2, or hr-zag-1.

        • private-networks array[object]

          Instance Private Networks

          Private Network

          Hide private-networks attributes Show private-networks attributes object
          • id string(uuid)

            Private Network ID

          • mac-address string

            Private Network MAC address

        • template object

          Instance template

          Hide template attributes Show template attributes object
          • application-consistent-snapshot-enabled boolean

            Template with Qemu Guest Agent installed for application consistent snapshot

          • maintainer string

            Template maintainer

          • description string

            Template description

            Maximum length is 255.

          • ssh-key-enabled boolean

            Enable SSH key-based login

          • family string

            Template family

          • name string

            Template name

            Minimum length is 1, maximum length is 255.

          • default-user string

            Template default user

            Minimum length is 1, maximum length is 255.

          • size integer(int64)

            Template size

            Minimum value is 0.

          • password-enabled boolean

            Enable password-based login

          • build string

            Template build

          • checksum string

            Template MD5 checksum

          • boot-mode string

            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, at-vie-2, or hr-zag-1.

          • url string

            Template source URL

          • version string

            Template version

          • created-at string(date-time)

            Template creation date

          • visibility string

            Template visibility

            Values are private or public.

        • state string

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

        • secureboot-enabled boolean

          Indicates if the instance has secure boot enabled

        • ssh-key object

          SSH key

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

            SSH key name

            Minimum length is 1, maximum length is 255.

          • fingerprint string

            SSH key fingerprint

        • user-data string

          Instance Cloud-init user-data (base64 encoded)

          Minimum length is 1.

        • mac-address string

          Instance MAC address

        • manager object

          Resource manager

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

            Manager ID

          • type string

            Manager type

            Values are sks-nodepool or instance-pool.

        • tpm-enabled boolean

          Indicates if the instance has tpm enabled

        • deploy-target object

          Deploy target reference

          Hide deploy-target attribute Show deploy-target attribute object
          • id string(uuid)

            Deploy target ID

        • ipv6-address string

          Instance IPv6 address

        • id string(uuid)

          Instance ID

        • snapshots array[object]

          Instance Snapshots

          Snapshot reference

          Hide snapshots attribute Show snapshots attribute object
          • id string(uuid)

            Snapshot ID

        • disk-size integer(int64)

          Instance disk size in GiB

          Minimum value is 10, maximum value is 51200.

        • ssh-keys array[object]

          Instance SSH Keys

          SSH key

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

            SSH key name

            Minimum length is 1, maximum length is 255.

          • fingerprint string

            SSH key fingerprint

        • created-at string(date-time)

          Instance creation date

        • public-ip string(ipv4)

          Instance public IPv4 address

GET /anti-affinity-group
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/anti-affinity-group'
Response examples (200)
{
  "anti-affinity-groups": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "instances": [
        {
          "application-consistent-snapshot-enabled": true,
          "anti-affinity-groups": [
            {
              "id": "string"
            }
          ],
          "public-ip-assignment": "inet4",
          "labels": {
            "additionalProperty1": "string",
            "additionalProperty2": "string"
          },
          "security-groups": [
            {
              "id": "string"
            }
          ],
          "elastic-ips": [
            {
              "id": "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": {
            "application-consistent-snapshot-enabled": true,
            "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": "2026-05-04T09:42:00Z",
            "visibility": "private"
          },
          "state": "expunging",
          "secureboot-enabled": true,
          "ssh-key": {
            "name": "string",
            "fingerprint": "string"
          },
          "user-data": "string",
          "mac-address": "string",
          "manager": {
            "id": "string",
            "type": "sks-nodepool"
          },
          "tpm-enabled": true,
          "deploy-target": {
            "id": "string"
          },
          "ipv6-address": "string",
          "id": "string",
          "snapshots": [
            {
              "id": "string"
            }
          ],
          "disk-size": 42,
          "ssh-keys": [
            {
              "name": "string",
              "fingerprint": "string"
            }
          ],
          "created-at": "2026-05-04T09:42:00Z",
          "public-ip": "string"
        }
      ]
    }
  ]
}