目录
获取快照列表-DescribeUDiskSnapshot
获取UDisk快照
Request Parameters
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
DataSet | array | JSON 格式的Snapshot列表, 详细参见 UDiskSnapshotSet | No |
TotalCount | int | 根据过滤条件得到的总数 | No |
UDiskSnapshotSet
Parameter name | Type | Description | Required |
SnapshotId | string | 快照Id | Yes |
Name | string | 快照名称 | Yes |
UDiskId | string | 快照的源UDisk的Id | Yes |
UDiskName | string | 快照的源UDisk的Name | Yes |
CreateTime | int | 创建时间 | Yes |
ExpiredTime | int | 过期时间 | No |
Size | int | 容量单位GB | Yes |
Comment | string | 快照描述 | No |
Status | string | 快照状态,Normal:正常,Failed:失败,Creating:制作中 | Yes |
IsUDiskAvailable | bool | 对应磁盘是否处于可用状态 | No |
Version | string | 快照版本 | No |
UHostId | string | 对应磁盘制作快照时所挂载的主机 | No |
DiskType | int | 磁盘类型,0:数据盘,1:系统盘 | Yes |
Request Example
https://api.auto-ai.com.cn/?Action=DescribeUDiskSnapshot &Region=cn-east-01 &SnapshotId=736aac0a-0fcc-4ba7-b2d6-30661387e02c
Response Example
{ "Action": "DescribeUDiskSnapshotResponse", "TotalCount": 1, "RetCode": 0, "DataSet": [ { "Comment": "test", "ChargeType": "Year", "Name": "test", "UDiskName": "apidoctest", "ExpiredTime": 1402039500, "UDiskId": "2afcd36a-2a47-4d26-8514-caa3fc2dc6bf", "SnapshotId": "736aac0a-0fcc-4ba7-b2d6-30661387e02c", "CreateTime": 1402039500, "Size": "100", "Status": "Normal", "IsUDiskAvailable": true, "Version": "1.0", "DiskType": 0, "UHostId": "xxxx" } ] }