This API is used to obtain all DB instance specifications.
None
Name |
Type |
Description |
---|---|---|
flavors |
List data structure. For details, see Table 3. |
Indicates the specification information. |
Name |
Type |
Description |
---|---|---|
ram |
Int |
Indicates the memory specifications in megabytes (MB). |
id |
Int |
Indicates the specification ID (Int type). Its default value is 1 because RDS uses UUID to store the specification ID and cannot convert it to the Int type. |
links |
List data structure. For details, see Table 4. |
Indicates the link address. |
name |
String |
Indicates the specification item name. |
str_id |
String |
Indicates the specification ID (String type). |
{ "flavors": [ { "ram": 2048, "id": 1, "links": [ { "rel": "self", "href": "" }, { "rel": "bookmark", "href": "" } ], "name": "rds.pg.c2.medium", "str_id": "9ff2a3a5-c859-bbc0-67f7-86ce59432b1d" }, { "ram": 4096, "id": 1, "links": [ { "rel": "self", "href": "" }, { "rel": "bookmark", "href": "" } ], "name": "rds.pg.c2.large", "str_id": "b77b5b7e-f572-dfd9-57af-910547fe0883" } ] }
For details, see Abnormal Request Results.