This API is used to obtain a DB instance list.
None
Name |
Type |
Description |
|---|---|---|
instances |
List data structure. For details, see Table 4. |
Indicates the DB instance information. |
Name |
Type |
Description |
|---|---|---|
instance |
Dictionary data structure. For details, see Table 4. |
Indicates the DB instance information. |
Name |
Type |
Description |
|---|---|---|
status |
String |
Indicates the DB instance status. Value:
|
name |
String |
Indicates the DB instance name. |
links |
List data structure. For details, see Table 5. |
Indicates the link address. |
id |
String |
Indicates the DB instance ID. |
volume |
Dictionary data structure. For details, see Table 6. |
Indicates the volume information. |
flavor |
Dictionary data structure. For details, see Table 7. |
Indicates the DB instance specifications. |
datastore |
Dictionary data structure. For details, see Table 8. |
Indicates the database information. |
region |
String |
Indicates the region where the DB instance is deployed. |
ip |
String |
Indicates the DB instance IP address. |
replica_of |
Dictionary data structure. For details, see Table 9. |
Indicates the primary DB instance ID corresponding to the read replica. |
hostname |
String |
Indicates the domain name. Its value is null. Currently, this parameter is not supported. |
Name |
Type |
Description |
|---|---|---|
rel |
String |
Its value is self or bookmark. |
href |
String |
Its value is "". |
Name |
Type |
Description |
|---|---|---|
type |
String |
Indicates the volume type. |
size |
Int |
Indicates the volume size. |
Name |
Type |
Description |
|---|---|---|
id |
String |
Indicates the specification ID. |
links |
List data structure. For details, see Table 5. |
Indicates the link address. |
Name |
Type |
Description |
|---|---|---|
type |
String |
Indicates the DB engine type. |
version |
String |
Indicates the database version. |
Name |
Type |
Description |
|---|---|---|
id |
String |
Indicates the primary DB instance ID. |
links |
List data structure. For details, see Table 5. |
Indicates the link address. |
{
"instances": [
{
"instance": {
"status": "ACTIVE",
"name": "rds-new-channle-read",
"links": [
{
"rel": "self",
"href": ""
},
{
"rel": "bookmark",
"href": ""
}
],
"id": "37f52707-2fb3-482c-a444-77a70a4eafd6",
"volume": {
"type": "COMMON",
"size": 100
},
"flavor": {
"id": "7fbf27c5-07e5-43dc-cf13-ad7a0f1c5d9a",
"links": [
{
"rel": "self",
"href": ""
},
{
"rel": "bookmark",
"href": ""
}
]
},
"datastore": {
"type": "PostgreSQL",
"version": "PostgreSQL-9.5.5"
},
"region": "eu-de",
"ip": "192.168.1.29",
"replica_of": [
{
"id": "c42cdd29-9912-4b57-91a8-c37a845566b1",
"links": [
{
"rel": "self",
"href": ""
},
{
"rel": "bookmark",
"href": ""
}
]
}
],
"hostname": null
}
}
]
}
For details, see Abnormal Request Results.