[Deprecated] Retrieve the list of cloud disks in the recycle bin - DescribeRecycleUDisk
Overview
Retrieve the list of cloud disks in the recycle bin
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is DescribeRecycleUDisk . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Region. See List of Regions and Availability Zones | Yes |
Zone | string | Availability Zone. See Availability Zone List | Yes |
ProjectId | string | Project ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface. | No |
Limit | int | Return data length, default is 20 | No |
Offset | int | Data offset, default is 0 | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
TotalCount | int | Number of Disks | Yes |
DataSet | array[RecycleUDiskSet] | Recycle Bin Disk List | No |
Data Model
RecycleUDiskSet
Field Name | Type | Description Information | Required |
---|---|---|---|
UDiskId | string | Disk ID | Yes |
CreateTime | int | Creation Time | Yes |
ExpiredTime | int | Expiration Time | Yes |
CountdownTime | int | Countdown to Destruction | Yes |
Name | string | Disk Name | Yes |
Size | int | Disk Capacity | Yes |
Tag | string | Business Group | No |
Zone | string | Availability Zone | Yes |
Example
Request Example
https://api.dezai.com/?Action=DescribeRecycleUDisk
&Region=cn-bj2
&Zone=cn-bj2-02
&Project=org-xxx
&Limit=20
&Offset=0
Response Example
{
"Action": "DescribeRecycleUDiskResponse",
"DataSet": [
{
"CountdownTime": 602781,
"CreateTime": 1508469548,
"ExpiredTime": 1510309558,
"Name": "sniper",
"Size": 20,
"Tag": "Default",
"UDiskId": "bs-xxx",
"Zone": "cn-bj2-02"
}
],
"RetCode": 0,
"TotalCount": 1
}