正在加载文档
最近更新时间: 2021-02-26 15:17:18
GET/v1/vm/snapshot
| 名称 | 类型 | 位置 | 必须 | 描述 |
|---|---|---|---|---|
| page | integer | query | 否 | |
| 页码。默认:1 |
| | size | integer | query | 否 |
分页大小,最大 100。默认 20
| | region_id | string | query | 否 |
地域 ID。
您可以调用 DescribeRegions 查看最新的七牛云地域列表。
| | snapshot_id | string | query | 否 |
快照 ID。
| | snapshot_name | string | query | 否 |
快照名称。
| | source_disk_id | string | query | 否 |
源磁盘 ID
|
| 名称 | 类型 | 描述 |
|---|---|---|
| total | integer | 总数 |
| page | integer | 页码 |
| size | integer | 分页大小 |
| request_id | string | 请求 ID |
| data | []Snapshot | 快照列表 |
| 名称 | 类型 | 描述 |
|---|---|---|
| cost_charge_type | string | |
| 付费方式 |
| | cost_charge_mode | string |
计费方式
| | region_id | string |
地域 ID
| | created_at | string |
创建时间
| | updated_at | string |
更新时间
| | snapshot_id | string |
快照 ID
| | snapshot_name | string |
快照名称
| | description | string |
描述
| | status | string |
状态
| | progress | string |
创建进度
| | source_disk_id | string | 源磁盘ID | | source_disk_name | string | 源磁盘名称 | | source_disk_type | string | 源磁盘类型,`data` 数据盘 `system` 系统盘 |
{
"data": [
{
"_id": "5fca940543c29c4c46b79229",
"uid": 123,
"region_id": "cn-shanghai",
"snapshot_id": "s-uf67**",
"snapshot_name": "Created from i-uf6**",
"description": "Created from i-uf6**",
"status": "accomplished",
"progress": "100%",
"source_disk_id": "d-uf62**",
"source_disk_name": "ox2**",
"source_disk_type": "system",
"source_disk_size": 40,
"created_at": "2020-12-05T03:54:45.826+08:00",
"updated_at": "2020-12-05T03:54:49.232+08:00"
}
],
"page": 1,
"size": 10,
"total": 18,
"request_id": "N8cGF3EvRnQOSFMW"
}这篇文档有帮助吗?
正在加载反馈服务…