describeDisk
Description
describe disk param
Request Method
GET
Request Path
/customer/disk/describe
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
instanceId | Query | String | Yes | No sample value for this parameter. | disk id |
regionId | Query | String | Yes | No sample value for this parameter. | region id |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"instanceId":"d-nj301ppyjl2b308lvvuf","diskProperties":"Data Disk","encryption":false,"regionId":"cn-wulan-sta1-d01","billingMethod":"Subscription","userSnapshot":false,"diskType":"Ultra Disk","expiredTime":"1470591240768","capacity":40.0}` | No description for this parameter. |
resultCode | string | 0 | result code |
resultMsg | string | success | result message |
Example
Successful Response example
{
"result":
{
"instanceId":"d-nj301ppyjl2b308lvvuf",
"diskProperties":"Data Disk",
"encryption":false,
"regionId":"cn-wulan-sta1-d01",
"billingMethod":"Subscription",
"userSnapshot":false,
"diskType":"Ultra Disk",
"expiredTime":"1470591240768",
"capacity":40.0
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}