2.2. Showing Instance DetailsΒΆ
GET /instances/{instance_id}
Shows the details of the specified instance.
Request example:
# 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:
{
"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"
}
Dec 08, 2021