This API is used to query the disk type of a DB instance. Before calling this API:
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
version |
Yes |
String |
DB version number. To obtain the DB version number, see Querying DB Engine Versions. |
ha_mode |
No |
String |
Instance type. The value can be enterprise (distributed). It is case-insensitive. Value:
|
None
Parameter |
Type |
Description |
|---|---|---|
storage_type |
Array of objects |
Storage type information. For details, see Table 3. |
Parameter |
Type |
Description |
|---|---|---|
name |
String |
Storage type. Its value can be: ULTRAHIGH: indicates the SSD. |
az_status |
map<String, String> |
key indicates the AZ ID, and value indicates the specification status in the AZ. Its value can be any of the following:
|
support_compute_group_type |
List<String> |
Performance specifications. Its value can be any of the following:
|
Database disk types:
{
"storage_type": [
{
"name": "ULTRAHIGH",
"az_status": {
"eu-de-01": "normal",
"eu-de-02": "normal",
"eu-de-03": "normal"
},
"support_compute_group_type": [
"normal",
"armFlavors",
"normal2"
]
}
]
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.