创建根云盘镜像(CreateRootVolumeTemplateFromVolumeSnapshot)
管理员可以使用CreateRootVolumeTemplateFromVolumeSnapshot从云盘快照创建根云盘镜像。例如:
CreateRootVolumeTemplateFromVolumeSnapshot name=root-volume-template \
snapshotUuid=30a129c7f06243499b1ed5ec9e4a778e backupStorageUuids=e05cad1e1e3a4778a3a0b57cddd847f3
参数(Parameters)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
name | 根云盘镜像名称 | 0.6 | ||
description | 根云盘镜像的详细描述 | 是 | 0.6 | |
guestOsType | 根云盘镜像对应客户机操作系统类型 | 是 | 0.6 | |
backupStorageUuids | 镜像服务器uuid列表 | 0.6 | ||
snapshotUuid | 快照uuid | 是 | 0.6 | |
platform | 根云盘镜像对应的系统平台 | 是 |
|
0.6 |
system | 是否系统根云盘镜像 | 是 | 0.6 | |
resourceUuid | 资源uuid。若指定,根云盘镜像会使用该字段值作为uuid | 是 | 0.6 | |
userTags | 用户标签,请参见 创建用户标签(CreateUserTag);资源类型是 ImageVO | 是 | 0.6 | |
systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag); 资源类型是 ImageVO | 是 | 0.6 | |
timeout | 是 |