ims__ImportImageQuick
Create a private image from a RAW or ZVHD2 file stored in an OBS bucket by specifying the image URL, minimum disk size, and OS version, for ECS, BMS, or data disk images.
Instructions
[IMS] 使用上传至OBS桶中的超大外部镜像文件制作私有镜像,目前仅支持RAW或ZVHD2格式镜像文件。且要求镜像文件大小不能超过1TB。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_url": "<image_url>",
"min_disk": "<min_disk>",
"name": "<name>",
"os_version": "<os_version>"
},
"name": "ims__ImportImageQuick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 镜像名称 | |
| tags | No | 镜像标签列表。默认为空。 | |
| type | No | 制作的镜像类型。系统盘镜像为ECS/BMS,数据盘镜像为DataImage. | ECS |
| os_type | No | 操作系统版本。 | |
| min_disk | Yes | 最小系统盘大小。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为1至1024GB。 | |
| image_url | Yes | OBS桶中外部镜像文件地址。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。格式为<OBS桶名>:<OBS镜像文件名称>。注意:此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。 | |
| image_tags | No | 新规范的镜像标签列表。默认为空。 | |
| os_version | Yes | 操作系统版本。使用上传至OBS桶中的外部镜像文件制作镜像时生效 | |
| description | No | 镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。 | |
| architecture | No | 镜像的架构类型。取值包括: | x86 |
| license_type | No | 操作系统使用的许可证类型。取值范围: | |
| hw_firmware_type | No | 云主机云服务器的启动方式。目前支持: | |
| enterprise_project_id | No | 表示当前镜像所属的企业项目。 | 0 |