v1

latestSwagger 2.02026-08-04232286653.5 KB
Kubernetes Node Pools

Lists all VMs in a Kubernetes node pool and returns their details.

get/projects/{project_id}/kubernetes/nodepools/{node_pool_id}/vms

Path parameters

project_idstring required

ID of the project that owns the node pool.

node_pool_idstring required

ID of the node pool.

Query parameters

limitstring

Maximum number of results to return per page.

sortstring

Field to sort results by; prefix with '-' for descending order.

next_tokenstring

Base64-encoded token for the next page of results.

prev_tokenstring

Base64-encoded token for the previous page of results.

Response

next_tokenstring

Base64 encoded token representing the next page of instances. Empty if currently on the last page.

prev_tokenstring

Base64 encoded token representing the previous page of instances. Empty if currently on the first page.

Example response

{
  "items": [
    {
      "created_at": "2021-12-03T19:58:34Z",
      "disks": [
        {
          "attachment_type": "os | data",
          "block_size": 4096,
          "created_at": "2021-12-03T19:58:34Z",
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "location": "us-northcentral1-a",
          "mode": "read-write | read-only",
          "name": "my-disk",
          "serial_number": "96FD14FDBCF7E21E8EC",
          "size": "10GiB",
          "type": "persistent-ssd",
          "updated_at": "2021-12-03T19:58:34Z"
        }
      ],
      "host_channel_adapters": [
        {
          "guid": "946d:ae03:0021:69aa",
          "transport_network_id": "ca39e669-47ee-456b-968d-303234fbf99f",
          "transport_partition_id": "ca39e669-47ee-456b-968d-303234fbf99f",
          "type": "infiniband"
        }
      ],
      "id": "ca39e669-47ee-456b-968d-303234fbf99f",
      "instance_group_id": "707749bd-ecad-4de8-aa00-1ae2fdb99e19",
      "instance_template_id": "75c6712a-8da8-463c-a72d-fc65cf922959",
      "location": "us-centralnorth1-a",
      "name": "my-first-vm",
      "network_interfaces": [
        {
          "id": "ca39e669-47ee-456b-968d-303234fbf99f",
          "interface_type": "ethernet",
          "ips": [
            {
              "private_ipv4": {
                "address": "10.1.2.3"
              },
              "public_ipv4": {
                "address": "121.0.0.0",
                "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
                "type": "dynamic"
              }
            }
          ],
          "mac_address": "00:00:5e:00:53:af",
          "name": "network-interface-1",
          "network": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
          "subnet": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
        }
      ],
      "pod_id": "29d20dc4-90ad-4365-ab05-83f5f5e52d94",
      "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
      "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
      "state": "RUNNING",
      "type": "a100.2x",
      "updated_at": "2023-08-14T09:00:35Z",
      "virtualization_features": {
        "nested_virtualization": true
      }
    }
  ],
  "next_token": "bXktbGFzdC12bQ",
  "prev_token": "bXktZmlyc3Qtdm0"
}