This API is used to query the list of DSS storage pools. Only SSD dedicated resource pools that you enabled can be queried.
For details, see Calling APIs.
GET /v1.0/{project_id}/dss-pools
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Definition Project ID. To obtain the value, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
None
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
pools |
Array of DssPool objects |
Definition Details of the DSS storage pools. Range N/A |
count |
Integer |
Definition Number of the DSS storage pools. Range N/A |
Parameter |
Type |
Description |
|---|---|---|
id |
String |
Definition DSS storage pool name. Range N/A |
name |
String |
Definition DSS storage pool ID. Range N/A |
type |
String |
Definition DSS storage pool type.
Range N/A |
project_id |
String |
Definition Project ID. To obtain the value, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
availability_zone |
String |
Definition AZ where the DSS storage pool is located. Range N/A |
capacity |
Integer |
Definition DSS storage pool capacity, in TB. Range N/A |
status |
String |
Definition DSS storage pool status. Range available: The DSS storage pool is available. deploying: The DSS storage pool is being deployed and cannot be used. extending: The DSS storage pool is being expanded and can be used. |
created_at |
String |
Definition Time when the DSS storage pool was created. Range Time format: UTC YYYY-MM-DDTHH:MM:SS |
Query the list of dedicated distributed storage pools.
GET https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/dss-pools
Status code: 200
DSS storage pool list queried.
{
"pools" : [ {
"id" : "c950ee97-587c-4f24-8a74-3367e3da570f",
"name" : "pool-1",
"type" : "SSD",
"project_id" : "63d910f2705a487ebe4e1c274748d9e1",
"capacity" : "1000",
"availability_zone" : "AZ1",
"status" : "available",
"created_at" : "2014-12-18T15:57:56.299000"
} ],
"count" : 1
}
Status Code |
Description |
|---|---|
200 |
DSS storage pool list queried. |
400 |
Request error. |
401 |
Authentication failed. |
403 |
You do not have required permissions. |
404 |
No resources found. |
500 |
Internal server error. |
503 |
Service unavailable. |