This API is used to query the database disk type in the current region.
GET https://{Endpoint}/v3/{project_id}/storage-type?engine_name={engine_name}
Name |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
engine_name |
No |
Specifies the database type. The value is DDS-Community. |
Name |
Type |
Description |
|---|---|---|
storage_type |
Array of objects |
Indicates the database disk information list. For more information, see Table 3. |
dss_pool_info |
Array of objects |
Indicates the dss_pool specifications information list. For more information, see Table 4. NOTE:
Only Dedicated Cloud (DeC) users are supported. |
Name |
Type |
Description |
|---|---|---|
name |
String |
Indicates the storage type. Its value can be: ULTRAHIGH: indicates the SSD type. |
az_status |
Object |
Indicates the status of specifications in an AZ. Its value can be any of the following:
|
Name |
Type |
Description |
|---|---|---|
az_name |
String |
Indicates the name of the AZ where the dss_pool is located. |
free_capacity_gb |
String |
Indicates the available capacity of DSS. Unit: GB |
dss_pool_volume_type |
String |
Indicates the disk type of DSS storage pool. |
dss_pool_id |
String |
Indicates the DSS pool ID. |
dss_pool_status |
String |
Indicates the dss_pool status. Its value can be any of the following:
|
The value of az_status is used as an example.
{
"storage_type": [
{
"name": "ULTRAHIGH",
"az_status": {
"eu-de-01": "normal",
"eu-de-02": "normal",
"eu-de-03": "unsupported"
}
}
],
"dsspool_info": []
}
For more information, see Error Code.