Docs
api
Cloud Disk(UDisk)
DescribeRecycleUDisk

[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 NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeRecycleUDisk.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListYes
ProjectIdstringProject 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
LimitintReturn data length, default is 20No
OffsetintData offset, default is 0No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
TotalCountintNumber of DisksYes
DataSetarray[RecycleUDiskSet]Recycle Bin Disk ListNo

Data Model

RecycleUDiskSet

Field NameTypeDescription InformationRequired
UDiskIdstringDisk IDYes
CreateTimeintCreation TimeYes
ExpiredTimeintExpiration TimeYes
CountdownTimeintCountdown to DestructionYes
NamestringDisk NameYes
SizeintDisk CapacityYes
TagstringBusiness GroupNo
ZonestringAvailability ZoneYes

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
}