CreateRootVolumeTemplateFromRootVolume

Creates a root volume image from a root volume. For example,
CreateRootVolumeTemplateFromRootVolume rootVolumeUuid=cc83fc9639cf456c8e43c35f6d2d52cd \
backupStorageUuids=ab3d53288bd14e6eba6ea56324b66a3f name=new-rootvolume

Parameters

Name Description Optional Valid Value Starting Version
name The name of the root volume image. 0.6
description The detailed description of the root volume image. Yes 0.6
guestOsType The operating system type of the guest VM instance that corresponds to the root volume image. Yes 0.6
backupStorageUuids The backup storage UUID list. Yes 0.6
rootVolumeUuid The root volume UUID. Yes 0.6
platform The operating system platform of the root volume image. Yes
  • Linux
  • Windows
  • Windows Virtio
  • Other
  • Paravirtualization
0.6
system Whether the root volume image is a system root volume image. Yes 0.6
resourceUuid The resource UUID. If specified, the root volume image will use the specified value as UUID. Yes 0.6
architecture Yes 4.0.0
tagUuids The tag UUIDs. Yes 4.0.0
userTags The user tags. For more information, see CreateUserTag. The resource type is ImageVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is ImageVO. Yes 0.6
timeout Yes
Note:
  • When you create an image from a root volume, ZStack Cloud copies the value of the GuestTools tag from VM instance to image. When you use this image to create a VM instance, the value of the GuestTools tag will be copied from the image to the target VM instance. Note that you can add the GuestTools option to SystemTags.
    • Format of the GuestTools option: GuestTools::TOOLS_VERSION. Here, the initial value of TOOLS_VERSION is 1.0.0. This value will change as the version of GuestTools is upgraded.
    • Example: GuestTools::1.0.0
    • Note: When you create an image from the root volume of a VM instance, the value of the GuestTools tag will be copied from the VM instance to the target image.