trove/api-ref/source/samples/instance-list-response.json
Lingxian Kong ca04c94ef6 Support instance operating_status
Added a new field ``operating_status`` for the instance to show the actual
operational status of user's database.

Change-Id: I7c52cff0ec48289fe1a260e99e02a506d4f8ddec
2020-12-09 14:17:16 +13:00

36 lines
1000 B
JSON

{
"instances": [
{
"datastore": {
"type": "mysql",
"version": "5.7"
},
"flavor": {
"id": "6"
},
"id": "7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"ip": [
"10.1.0.62",
"172.24.5.114"
],
"links": [
{
"href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/instances/7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"rel": "self"
},
{
"href": "https://127.0.0.1:8779/instances/7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"rel": "bookmark"
}
],
"name": "test",
"operating_status": "HEALTHY",
"region": "RegionOne",
"status": "ACTIVE",
"volume": {
"size": 1
}
}
]
}