AddImage
Adds an image. For
example,
AddImage name=testimage url=http://192.168.200.100/mirror/diskimages/CentOS6-test-image-4G.qcow2 \
system=false format=qcow2 platform=Linux backupStorageUuids=ab3d53288bd14e6eba6ea56324b66a3f \
mediaType=RootVolumeTemplateParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| name | The image name. | 0.6 | ||
| description | The detailed description of the image. | Yes | 0.6 | |
| url | The URL of the image to be added. | 0.6 | ||
| mediaType | The image type. | Yes |
|
0.6 |
| guestOsType | The operating system type of the guest VM instance that corresponds to the image. | Yes | 0.6 | |
| system | Whether the image is a system image. | Yes | 0.6 | |
| format | The image format. |
|
0.6 | |
| platform | The operating system platform of the image. | Yes |
|
0.6 |
| backupStorageUuids | The UUID list of the backup storages on which the image is to be added. | 0.6 | ||
| type | The reserved field for internal use. | Yes | 0.6 | |
| resourceUuid | The resource UUID. If specified, the image will use the specified value as UUID. | Yes | 0.6 | |
| tagUuids | The tag UUIDs. | 4.0.0 | ||
| architecture | 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. | 0.6 | ||
| timeout | Yes |