拉取回收站中云硬盘列表-DescribeRecycleUDisk

拉取回收站中云硬盘列表

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域Yes
Zonestring可用区Yes
Limitstring返回数据长度, 默认为20No
Offsetint数据偏移量, 默认为0No
ProjectIdstring项目编号,未填写则为默认项目。No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
DataSetobject回收站磁盘列表No
TotalCountint磁盘数量Yes

RecycleUDiskSet

Parameter nameTypeDescriptionRequired
UDiskIdstring磁盘idYes
CreateTimeint创建时间Yes
ExpiredTimeint过期时间Yes
CountdownTimeint销毁倒计时Yes
Namestring磁盘名称Yes
Sizeint磁盘容量Yes
Tagstring业务组No
Zonestring可用区Yes

Request Example

http(s)://api.auto-ai.com.cn/?Action=DescribeRecycleUDisk
&Region=cn-bj2
&Zone=cn-bj2-02
&Project=org-xxx
&Limit=20
&Offset=0

Response Example

{
    "RetCode": 0,
    "Action": "DescribeRecycleUDiskResponse",
    "TotalCount": 1,
    "DataSet": [
        {
            "UDiskId": "bs-2gtqx0",
            "Name": "sniper",
            "Size": 20,
            "CreateTime": 1508469548,
            "ExpiredTime": 1510309558,
            "CountdownTime": 602781,
            "Tag": "Default",
            "Zone": "cn-bj2-02"
        }
    ]
}