Global InfraGlobal Infra Cloud
Compute

List Machines

Returns a paginated list of machines.

GET
/api/v1/giservices/compute/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/machines"
{
  "elements": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "service": "string",
      "attributes": {
        "component": "mycomponent",
        "configuration_management": {
          "classes": [
            "mytenant_mymodule"
          ],
          "run_status": 0,
          "run_summary": "string"
        },
        "cpu": 2,
        "creation_date": "2019-08-24T14:15:22Z",
        "datacenter": "dc1",
        "ecosystem": "ecosystem",
        "external_interface": {
          "ip": "10.99.0.5",
          "subnet": {
            "dns": "10.99.0.53",
            "gateway": "10.99.0.1",
            "mask": "255.255.255.0",
            "network": "10.99.0.0/24"
          }
        },
        "external_interface_enabled": false,
        "fqdn": "mycustomvm0101e1.mytenant.sb.eu.ginfra.net",
        "hardware": {
          "cn": "cn12345",
          "health": "OK",
          "location": {
            "position": "U23",
            "rack": "A17",
            "room": "PAR1-R2"
          },
          "mac_addresses": [
            "F4:02:70:85:D6:7B"
          ],
          "model": "PowerEdge R760",
          "network_adapters": [
            {
              "adapter_id": "NIC.Integrated.1",
              "model": "Broadcom NetXtreme BCM5720 2-port",
              "ports": [
                {
                  "current_speed_gbps": 25,
                  "enabled": true,
                  "id": "NIC.Integrated.1-1",
                  "is_ethernet": true,
                  "mac_address": "F4:02:70:85:D6:7B",
                  "port_number": "1"
                }
              ]
            }
          ],
          "oob_ip": "10.42.250.7",
          "profile": "fc",
          "role": "server"
        },
        "instance": "01",
        "internal_interface": {
          "ip": "10.42.13.7",
          "subnet": {
            "dns": "10.42.0.53",
            "gateway": "10.42.13.1",
            "mask": "255.255.255.0",
            "network": "10.42.13.0/24"
          }
        },
        "kind": "virtual",
        "name": "mycustomvm0101e1",
        "operating_system": "rhel9",
        "partitions": [
          {
            "capacity": 53687091200,
            "free": 21474836480,
            "path": "/"
          }
        ],
        "ram": 4096,
        "ram_used_percent": 42.5,
        "serial_number": "CZ2938XY01",
        "status": "ON",
        "team": "sre-i",
        "volumes": [
          {
            "name": "Hard disk 2",
            "size_gb": 50
          }
        ],
        "worldline_configuration_management": {
          "application_service": "Online Payments",
          "management_group": "EMEA Platform Ops"
        }
      },
      "platform": "string",
      "region": "string",
      "tenant": "string"
    }
  ],
  "total": 0,
  "skip": 0,
  "limit": 0
}
Empty
Empty