Showing Instance Details

1
GET /instances/{instance_id}

Shows the details of the specified instance.

Request example:

1
2
3
4
# curl -s -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
-H 'X-Effective-User-ID: c3862f44c4bc48358db62ae22d684f33' \
-H 'X-Effective-Project-ID: 04e0d744d0f544c69ff7c17db5c8b4b9' \
https://<controller_hostname>/api/v1/instances/6e634127-5c8c-4205-8ac6-a8113cdc58a1

Response example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "user_id": "c3862f44c4bc48358db62ae22d684f33",
  "uuid": "6e634127-5c8c-4205-8ac6-a8113cdc58a1",
  "config": {
    "memory": "512",
    "vnc-encrypted": "False",
    "tools-state": "possibly_installed",
    "vnc-port": "0",
    "is_attach_limited": "1",
    "hostname": "ct1.local.site",
    "storage": "75776",
    "vnc-status": "False",
    "tools-version": "",
    "vnc-key": "",
    "cpu": "8",
    "os-name": "CentOS Linux"
  },
  "image": "centos-7",
  "host": "ppnode1.local.site",
  "ips": [
    "10.94.52.10"
  ],
  "state": "running",
  "backup_limit": 3,
  "backup_mode": "always_full",
  "project_id": "04e0d744d0f544c69ff7c17db5c8b4b9",
  "type": "ct",
  "name": "ve-6e634127-5c8c-4205-8ac6-a8113cdc58a1"
}