最近更新时间: 2021-02-26 14:16:48
GET/v1/vm/image/:image_id
| 名称 | 类型 | 位置 | 必须 | 描述 |
|---|---|---|---|---|
| image_id | string | path | 是 | 镜像 ID |
| region_id | string | query | 是 | 实例所属的地域 ID |
| 名称 | 类型 | 描述 |
|---|---|---|
| request_id | string | 请求 ID |
| data | Image | 镜像详情 |
| 名称 | 类型 | 描述 |
|---|---|---|
| cost_charge_type | string | |
| 付费方式 |
| | cost_charge_mode | string |
计费方式
| | region_id | string |
实例所属的地域 ID。
| | created_at | string |
创建时间
| | updated_at | string |
更新时间
| | instance_id | string |
实例 ID
| | instance_name | string |
实例名称
| | image_id | string |
镜像 ID
| | image_name | string |
镜像的名称
| | description | string |
镜像描述
| | os_type | string |
操作系统类型。可能值:windows, linux
| | os_name | string |
操作系统的中文显示名称。
| | architecture | string |
镜像的体系架构。取值范围:i386, x86_64
| | image_owner_alias | string |
镜像来源。取值范围:
system :七牛云提供的公共镜像。 - self :您创建的自定义镜像。 - others :其他七牛云用户共享给您的镜像。 - marketplace :镜像市场提供的镜像。您查询到的云市场镜像可以直接使用,无需提前订阅。您需要自行留意云市场镜像的收费详情。| | progress | string | 镜像完成的进度,单位为百分比。 | | usage | string |
镜像是否已经运行在 ECS 实例中。取值范围:
| | image_version | string |
镜像版本
| | status | string |
镜像的状态。可能值:
| | is_self_shared | string |
是否共享过该自定义镜像给其他用户
| | platform | string |
操作系统平台
| | size | integer |
镜像大小,单位 GiB
| | is_support_cloudinit | boolean |
是否支持 Cloud Init
| | is_support_io_optimized | boolean |
是否可以在 I/O 优化实例上运行
| | is_copied | boolean |
是否是拷贝的镜像
| | is_subscribed | boolean |
是否订阅了该镜像的商品码对应的镜像商品的服务条款
| | snapshot_id | string |
根据某一快照 ID 创建的自定义镜像
| | min_disk_size | string |
镜像要求的最小系统盘盘容量
|
{
"data": {
"region_id": "grand-cn-southwest-2",
"created_at": "2020-12-14T18:14:17.248+08:00",
"updated_at": "2020-12-14T18:14:47.078+08:00",
"image_id": "0ab29702-015d-404e-b51f-026c0b5f3518",
"description": "",
"product_code": "",
"os_type": "linux",
"architecture": "",
"os_name": "M-lGBib",
"image_owner_alias": "self",
"progress": "100%",
"usage": "",
"image_version": "CentOS 8.0 64bit",
"status": "Available",
"image_name": "M-lGBib",
"is_self_shared": "False",
"platform": "CentOS",
"size": 2,
"is_support_cloudinit": false,
"is_support_io_optimized": false,
"is_copied": true,
"is_subscribed": false,
"disk_device_mappings": null,
"snapshot_id": "3df4161c-656f-4636-8695-704437d4fd3d",
"min_disk_size": "",
"instance_id": "d29c254c-def9-4af0-8541-200616f5c06c",
"instance_name": "test_hw_guizhou",
"cost_charge_type": "PostPaid",
"cost_charge_mode": "PayByDisk"
},
"request_id": "N8cGF3EvRnQOSFMW"
}这篇文档有帮助吗?
正在加载反馈服务…