Creating an Image

Function

This API is used to create a private image. The following methods are supported:

This API is asynchronous. A successful call only means the cloud service system has received the request. To see if an image is created successfully, you need to use the asynchronous job query API to query the image creation status. For details, see Querying the Status of an Asynchronous Job.

You cannot export public images (such as Windows, SUSE, Red Hat, Oracle Linux, and Ubuntu) or private images created using these public images.

Constraints (Creating a System Disk Image Using a Data Disk)

URI

POST /v2/cloudimages/action

Request

Table 3 Data structure of the image_tags field

Parameter

Mandatory

Type

Description

key

Yes

String

Specifies the tag key.

value

Yes

String

Specifies the tag value.

Example Request

Response

Returned Values