Queries the snapshots and their details for a cloud desktop.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The ID of the region. Call DescribeRegions to get a list of regions that support Elastic Desktop Service (EDS). | cn-hangzhou |
DesktopId | string | No | The ID of the cloud desktop. | ecd-gx2x1dhsmucyy**** |
DesktopName | string | No | The name of the cloud desktop. | testName |
SnapshotId | string | No | The snapshot ID. | s-2ze81owrnv9pity4**** |
SnapshotName | string | No | The display name of the snapshot. The name must be 2 to 127 characters long. It must start with a letter. It can contain digits, underscores (_), and hyphens (-). The name cannot start with | test数据盘 |
SourceDiskType | string | No | The disk from which to create the snapshot. Note The value is case-insensitive. Valid values:
| system |
SnapshotType | string | No | The snapshot type. Valid values:
| user |
OsType | string | No | The operating system type. Valid values:
| Windows |
Creator | string | No | The creator. | Administrator |
StartTime | string | No | The start time to query for snapshots. The time follows the ISO 8601 standard and is in UTC. The format is | 2020-11-30T06:32:31Z |
EndTime | string | No | The end time to query for snapshots. The time follows the ISO 8601 standard and is in UTC. The format is | 2020-11-31T06:32:31Z |
NextToken | string | No | The token for the next page of results. This is the NextToken value from the previous API call. | 8051af8d01b5479bec9f5ddf02e4a8fbd0ab6e7e43f8**** |
MaxResults | integer | No | The number of entries per page.
| 10 |
Response elements
Element | Type | Description | Example |
object | Returns a collection of information. | ||
NextToken | string | The token that marks the start of the next page of results. If NextToken is empty, no more pages exist. | AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL**** |
RequestId | string | The request ID. | 51592A88-0F2C-55E6-AD2C-2AD9C10D**** |
| Snapshots | array<object> | A collection of snapshots. | |
object | The snapshot. | ||
CreationTime | string | The point in time at which the snapshot was created. The time follows the ISO 8601 standard in the | 2020-12-20T14:52:28Z |
Status | string | The status of the snapshot. Valid values:
| ACCOMPLISHED |
SnapshotType | string | The type of the snapshot. Valid values:
| USER |
SnapshotName | string | The name of the snapshot. | testSnapshotName |
Progress | string | The progress of creating the snapshot. Unit: %. | 100% |
Description | string | The description of the snapshot. | testDescription |
SnapshotId | string | The snapshot ID. | s-2zeipxmnhej803x7**** |
RemainTime | integer | The remaining time to complete snapshot creation. Unit: seconds. Note When | 30 |
SourceDiskSize | string | The capacity of the source disk. Unit: GiB. | 150 |
SourceDiskType | string | The type of the source disk. Valid values:
| SYSTEM |
DesktopId | string | The ID of the cloud desktop to which the snapshot belongs. | ecd-g03l3tlm8djoj**** |
DesktopName | string | The name of the cloud desktop. | test |
DesktopStatus | string | The status of the cloud desktop. Valid values:
| Running |
DiskStatus | string | Status of the disk to which the snapshot belongs. Valid values:
| Available |
Creator | string | The user who creates the snapshot. | Administrator |
ProtocolType | string | The protocol type. Valid values:
| ASP |
OsType | string | The operating system type. Valid values:
| Windows |
VolumeEncryptionEnabled | boolean | Indicates whether disk encryption is enabled. | false |
VolumeEncryptionKey | string | The ID of the Key Management Service (KMS) key that is used when disk encryption is enabled. You can call the ListKeys operation to query the list of KMS keys. | 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4**** |
DeletionTime | string | The snapshot creation time follows the ISO 8601 standard. It uses UTC+0 time and is formatted as | 2020-12-20T14:52:28Z |
RestorePointId | string | The ID of the restore point. | rp-btgmaa20wkcju**** |
RestorePointName | string | The name of the restore point. | 数据盘备份 |
EnvType | string | ||
EnvId | string |
Examples
Success response
JSON format
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****",
"RequestId": "51592A88-0F2C-55E6-AD2C-2AD9C10D****",
"Snapshots": [
{
"CreationTime": "2020-12-20T14:52:28Z",
"Status": "ACCOMPLISHED",
"SnapshotType": "USER",
"SnapshotName": "testSnapshotName",
"Progress": "100%",
"Description": "testDescription",
"SnapshotId": "s-2zeipxmnhej803x7****",
"RemainTime": 30,
"SourceDiskSize": "150",
"SourceDiskType": "SYSTEM",
"DesktopId": "ecd-g03l3tlm8djoj****",
"DesktopName": "test",
"DesktopStatus": "Running",
"DiskStatus": "Available",
"Creator": "Administrator",
"ProtocolType": "ASP",
"OsType": "Windows",
"VolumeEncryptionEnabled": false,
"VolumeEncryptionKey": "08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****",
"DeletionTime": "2020-12-20T14:52:28Z\n",
"RestorePointId": "rp-btgmaa20wkcju****",
"RestorePointName": "数据盘备份",
"EnvType": "",
"EnvId": ""
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.