Global InfraGlobal Infra Cloud
Compute

List Virtual Machines

Returns a paginated list of virtual machines.

GET
/api/v1/giservices/compute/virtual_machines

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Query Parameters

filter?array<string>

Filter results by field (e.g. attributes.name[eq]=value)

sort?array<string>

Sort results by field

skip?integer

Number of results to skip

Default0
limit?integer

Maximum number of results

Default100

Response Body

application/json

curl -X GET "https://example.com/api/v1/giservices/compute/virtual_machines"
{
  "elements": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "service": "string",
      "attributes": {
        "bios_serial_number": "string",
        "cdc_security": {
          "anti_tamper": "string",
          "connectivity": "string",
          "customer_id": "string",
          "s1_version": "string",
          "uuid": "string"
        },
        "cmdb_application_service": "string",
        "cmdb_management_group": "string",
        "cpu": 0,
        "creation_date": "2019-08-24T14:15:22Z",
        "datacenter": "string",
        "global_status": {
          "label": "string",
          "status": 0
        },
        "instance": "string",
        "ip": "string",
        "last_reboot_date": "2019-08-24T14:15:22Z",
        "memory_used_percent": 0,
        "name": "string",
        "operating_system": "string",
        "partitions": [
          {
            "capacity": 0,
            "free": 0,
            "path": "string"
          }
        ],
        "puppet_classes": [
          "string"
        ],
        "status": "string",
        "subnet": {
          "dns": "string",
          "gateway": "string",
          "mask": "string",
          "network": "string"
        },
        "team": "string",
        "vm_ram": 0,
        "volumes": [
          {
            "name": "string",
            "size_gb": 0
          }
        ]
      },
      "platform": "string",
      "region": "string",
      "tenant": "string"
    }
  ],
  "total": 0,
  "skip": 0,
  "limit": 0
}
Empty
Empty