diff --git a/docs/ims/api-ref/ALL_META.TXT.json b/docs/ims/api-ref/ALL_META.TXT.json index 4d061fee5..9f756670f 100644 --- a/docs/ims/api-ref/ALL_META.TXT.json +++ b/docs/ims/api-ref/ALL_META.TXT.json @@ -64,7 +64,7 @@ "node_id":"en-us_topic_0020091565.xml", "product_code":"ims", "code":"4", - "des":"This API is used to query images using search criteria and to display the images in a list.GET /v2/cloudimages{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "des":"This API is used to query images using search criteria and to display the images in a list.GET /v2/cloudimagesYou can type a question mark (?) and an ampersand (&) at the", "doc_type":"api", "kw":"Querying Images,Image,API Reference", "search_title":"", @@ -161,7 +161,7 @@ "code":"9", "des":"This API is used to create a full-ECS image from an ECS, Cloud Server Backup Service (CSBS) backup, or Cloud Backup and Recovery (CBR) backup. The API is an asynchronous ", "doc_type":"api", - "kw":"SAN policies,Creating a Full-ECS Image,Image,API Reference", + "kw":"Creating a Full-ECS Image,Image,API Reference", "search_title":"", "metedata":[ { @@ -254,7 +254,7 @@ "node_id":"en-us_topic_0067360382.xml", "product_code":"ims", "code":"14", - "des":"This API is used to query image tags using search criteria and display them in a list.GET /v1/cloudimages/tags{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "des":"This API is used to query image tags using search criteria and display them in a list.GET /v1/cloudimages/tagsYou can type a question mark (?) and an ampersand (&) at the", "doc_type":"api", "kw":"Querying Tags,Image Tagging,API Reference", "search_title":"", @@ -1090,7 +1090,7 @@ "node_id":"en-us_topic_0170918588.xml", "product_code":"ims", "code":"58", - "des":"This API is used to query a specified API version, such as version compatibility and domain name information of an API.GET /{api_version}Table 1 lists the parameters in t", + "des":"This API is used to query a specified API version, such as version compatibility and domain name information of an API.GET /{version}Table 1 lists the parameters in the U", "doc_type":"api", "kw":"Querying an API Version (Native OpenStack API),API Version Query (Native OpenStack API),API Referenc", "search_title":"", diff --git a/docs/ims/api-ref/CLASS.TXT.json b/docs/ims/api-ref/CLASS.TXT.json index 65473c14f..273bd1535 100644 --- a/docs/ims/api-ref/CLASS.TXT.json +++ b/docs/ims/api-ref/CLASS.TXT.json @@ -27,7 +27,7 @@ "code":"3" }, { - "desc":"This API is used to query images using search criteria and to display the images in a list.GET /v2/cloudimages{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "desc":"This API is used to query images using search criteria and to display the images in a list.GET /v2/cloudimagesYou can type a question mark (?) and an ampersand (&) at the", "product_code":"ims", "title":"Querying Images", "uri":"en-us_topic_0020091565.html", @@ -117,7 +117,7 @@ "code":"13" }, { - "desc":"This API is used to query image tags using search criteria and display them in a list.GET /v1/cloudimages/tags{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "desc":"This API is used to query image tags using search criteria and display them in a list.GET /v1/cloudimages/tagsYou can type a question mark (?) and an ampersand (&) at the", "product_code":"ims", "title":"Querying Tags", "uri":"en-us_topic_0067360382.html", @@ -513,7 +513,7 @@ "code":"57" }, { - "desc":"This API is used to query a specified API version, such as version compatibility and domain name information of an API.GET /{api_version}Table 1 lists the parameters in t", + "desc":"This API is used to query a specified API version, such as version compatibility and domain name information of an API.GET /{version}Table 1 lists the parameters in the U", "product_code":"ims", "title":"Querying an API Version (Native OpenStack API)", "uri":"en-us_topic_0170918588.html", diff --git a/docs/ims/api-ref/en-us_topic_0020091562.html b/docs/ims/api-ref/en-us_topic_0020091562.html index 5d36c82ef..ca0e46ba6 100644 --- a/docs/ims/api-ref/en-us_topic_0020091562.html +++ b/docs/ims/api-ref/en-us_topic_0020091562.html @@ -58,7 +58,9 @@
String
Specifies the image status. The value can be active, queued, saving, deleted, or killed. An image can be used only when it is in the active state.
+Specifies the image status.
+The value can be:
+tags
@@ -145,14 +147,14 @@String
Provides supplementary information about the image.
-The value contains a maximum of 1024 characters, including letters and digits. Carriage returns and angle brackets (< >) are not allowed.
+The value contains a maximum of 1,024 characters, including letters and digits. Carriage returns and angle brackets (< >) are not allowed.
disk_format
String
Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
+Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
__isregistered
@@ -282,7 +284,7 @@String
Specifies the ECS boot mode. The following values are supported:
+Specifies the ECS boot mode. The value can be:
String
Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
__support_diskintensive
String
Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
__support_highperformance
String
Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
__support_xen_gpu_type
@@ -341,7 +343,7 @@String
Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen and __support_kvm.
+This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_infiniband
@@ -349,7 +351,7 @@String
Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen.
+This attribute cannot co-exist with __support_xen.
__support_fc_inject
diff --git a/docs/ims/api-ref/en-us_topic_0020091565.html b/docs/ims/api-ref/en-us_topic_0020091565.html index 0385afbde..d4db9862f 100644 --- a/docs/ims/api-ref/en-us_topic_0020091565.html +++ b/docs/ims/api-ref/en-us_topic_0020091565.html @@ -3,7 +3,7 @@This API is used to query images using search criteria and to display the images in a list.
GET /v2/cloudimages{?__isregistered,__imagetype,__whole_image,__system__cmkid,protected,visibility,owner,id,status,name,container_format,disk_format,min_ram,min_disk,__os_bit,__platform,marker,limit,sort_key,sort_dir,__os_type,tag,member_status,__support_kvm,__support_xen,__support_largememory,__support_diskintensive,__support_highperformance,__support_xen_gpu_type,__support_kvm_gpu_type,__support_xen_hana,__support_kvm_infiniband,virtual_env_type,enterprise_project_id,created_at,updated_at}
+GET /v2/cloudimages
You can type a question mark (?) and an ampersand (&) at the end of the URI to define multiple search criteria. For details, see the example request.
String
Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
+Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
min_ram
@@ -190,7 +190,11 @@String
Specifies the field for sorting the query results. The value can be an attribute of the image: name, container_format, disk_format, status, id, size, or created_at. The default value is created_at.
+Specifies the field for sorting the query results.
+The value can be:
+Default value:
+created_at
sort_dir
@@ -199,7 +203,7 @@String
Specifies whether the query results are sorted in ascending or descending order. Its value can be desc (default) or asc. This parameter is used together with parameter sort_key. The default value is desc.
+Specifies whether the query results are sorted in ascending or descending order. Its value can be desc (default) or asc. This parameter is used together with parameter sort_key. The default value is desc.
__os_type
@@ -256,7 +260,7 @@String
Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
For the supported OSs, see Table 4.
String
Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
__support_highperformance
@@ -276,7 +280,7 @@String
Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
__support_xen_gpu_type
@@ -294,7 +298,7 @@String
Specifies whether the image supports GPU-accelerated ECSs on the KVM platform. See Table 3 for its value. If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
+Specifies whether the image supports GPU-accelerated ECSs on the KVM platform. See Table 3 for its value. If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
__support_xen_hana
@@ -304,7 +308,7 @@String
Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen and __support_kvm.
+This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_infiniband
@@ -314,7 +318,7 @@String
Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen.
+This attribute cannot co-exist with __support_xen.
virtual_env_type
@@ -358,7 +362,7 @@String
Specifies the time when the image was modified. Images can be queried by time. The value is in the format of Operator:UTC time.
+Specifies the time when the image was modified. Images can be queried by time. The value is in the format of Operator:UTC time.
The following operators are supported:
The time format is yyyy-MM-ddThh:mm:ssZ or yyyy-MM-dd hh:mm:ss.
@@ -459,7 +463,7 @@String
Specifies the image status. The value can be one of the following:
-tags
@@ -551,7 +555,7 @@String
Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
+Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
__isregistered
@@ -602,7 +606,7 @@String
Specifies the image type. The following types are supported:
-created_at
@@ -674,42 +678,42 @@String
Specifies whether the image supports KVM. If yes, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports KVM. If yes, the value is true. Otherwise, this parameter is not required.
__support_xen
String
Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.
__support_largememory
String
Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
__support_diskintensive
String
Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
__support_highperformance
String
Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
__support_xen_gpu_type
String
Specifies whether the image supports GPU-accelerated ECSs on the Xen platform. See Table 2 for its value. If the image does not support GPU-accelerated ECSs on the Xen platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
+Specifies whether the image supports GPU-accelerated ECSs on the Xen platform. See Table 2 for its value. If the image does not support GPU-accelerated ECSs on the Xen platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_gpu_type
@@ -717,23 +721,23 @@String
Specifies whether the image supports GPU-accelerated ECSs on the KVM platform. See Table 3 for its value.
-If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
+If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
__support_xen_hana
String
Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen and __support_kvm.
+Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
+This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_infiniband
String
Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen.
+Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
+This attribute cannot co-exist with __support_xen.
enterprise_project_id
@@ -765,7 +769,7 @@String
Specifies whether the image supports password/private key injection using Cloud-Init.
-If the value is set to true, password/private key injection using Cloud-Init is not supported.
+true indicates password/private key injection using Cloud-Init is not supported. Other values indicate the injection is supported.
This parameter is valid only for ECS system disk images.
String
Specifies the ECS boot mode. Available values include:
+Specifies the ECS boot mode. The value can be:
String
Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
+Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
__isregistered
@@ -350,14 +350,14 @@String
Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
__support_highperformance
String
Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
__support_xen_gpu_type
@@ -372,7 +372,7 @@String
Specifies whether the image supports GPU-accelerated ECSs on the KVM platform. See Table 3 for its value.
-If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
+If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
__support_xen_hana
@@ -380,7 +380,7 @@String
Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen and __support_kvm.
+This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_infiniband
@@ -388,7 +388,7 @@String
Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen.
+This attribute cannot co-exist with __support_xen.
__support_fc_inject
@@ -436,14 +436,14 @@String
Specifies whether initial configuration is complete. The value can be true or false.
+Specifies whether initial configuration is complete. The value can be true or false.
__support_amd
String
Specifies whether the image uses AMD's x86 architecture. The value can be true or false.
+Specifies whether the image uses AMD's x86 architecture. The value can be true or false.
[Array]
+[Array]
Yes
String
Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
+Specifies the image format. The value can be zvhd2, vhd, zvhd, raw, or qcow2. The default value is zvhd2.
__isregistered
@@ -443,7 +443,7 @@String
Specifies whether the image can be used to create large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image can be used to create large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.
For the supported OSs, see Table 4.
String
Specifies whether the image can be used to create disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image can be used to create disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required.
__support_highperformance
String
Specifies whether the image can be used to create high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
+Specifies whether the image can be used to create high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required.
__support_xen_gpu_type
@@ -474,7 +474,7 @@String
Specifies whether the image supports GPU-accelerated ECSs on the KVM platform. See Table 3 for its value.
-If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
+If the image does not support GPU-accelerated ECSs on the KVM platform, this parameter is not required. This attribute cannot co-exist with __support_xen and __support_kvm.
__support_xen_hana
@@ -482,7 +482,7 @@String
Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen and __support_kvm.
+This attribute cannot co-exist with __support_xen and __support_kvm.
__support_kvm_infiniband
@@ -490,7 +490,7 @@String
Specifies whether the image supports ECSs with InfiniBand NICs on the KVM platform. If yes, the value is true. Otherwise, this parameter is not required.
-This attribute cannot co-exist with __support_xen.
+This attribute cannot co-exist with __support_xen.
enterprise_project_id
@@ -524,7 +524,7 @@String
Specifies whether the image uses AMD's x86 architecture. The value can be true or false.
+Specifies whether the image uses AMD's x86 architecture. The value can be true or false.
__support_kvm_hi1822_hisriov
diff --git a/docs/ims/api-ref/en-us_topic_0020092109.html b/docs/ims/api-ref/en-us_topic_0020092109.html index 15d136946..bd875fb8a 100644 --- a/docs/ims/api-ref/en-us_topic_0020092109.html +++ b/docs/ims/api-ref/en-us_topic_0020092109.html @@ -3,10 +3,10 @@This API is used to create a private image. The following methods are supported:
The API is an asynchronous one. If it is successfully called, the cloud service system receives the request. However, 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.
+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.
POST /v2/cloudimages/action
name
Yes
+No
String
Specifies the name of the system disk image. For detailed description, see Image Attributes.
+This parameter is mandatory when you use a cloud server to create a system disk image.
+description
@@ -41,13 +43,15 @@instance_id
Yes
+No
String
Specifies the ID of the ECS used to create the image.
To obtain the ECS ID, perform the following operations:
-This parameter is mandatory when you use a cloud server to create a system disk image.
+data_images
@@ -79,7 +83,7 @@Array of objects
Lists the image tags. This parameter is left blank by default.
-Use either tags or image_tags.
+Use either tags or image_tags.
For details about image_tags, see Table 3.
Specifies the OS version.
This parameter is valid if an external image file uploaded to the OBS bucket is used to create an image. For its value, see Values of Related Parameters.
-This parameter is mandatory when the value of is_quick_import is true, that is, a system disk image is imported using the quick import method.
+If the uploaded file is in ISO format, this parameter is mandatory.
+This parameter is mandatory when the value of is_quick_import is true, that is, a system disk image is imported using the quick import method.
Specifies the URL of the external image file in the OBS bucket.
This parameter is mandatory if an external image file in the OBS bucket is used to create an image. The format is OBS bucket name:Image file name.
-All OBS buckets are displayed in the list.
+All OBS buckets are displayed in the list.
All OBS buckets are displayed in the list.
+All OBS buckets are displayed in the list.
The storage class of the OBS bucket must be Standard.
@@ -251,7 +256,7 @@Specifies whether automatic configuration is enabled.
The value can be true or false.
-If automatic configuration is required, set the value to true. Otherwise, set the value to false The default value is false.
+If automatic configuration is required, set the value to true. Otherwise, set it to false. The default value is false.
For details about automatic configuration, see Creating a Linux System Disk Image from an External Image File > Registering an External Image File as a Private Image (Linux) in Image Management Service User Guide.
Array of objects
Lists the image tags. This parameter is left blank by default. Use either tags or image_tags.
+Lists the image tags. This parameter is left blank by default. Use either tags or image_tags.
For details about image_tags, see Table 3.
String
Specifies the enterprise project that the image belongs to.
-For more information about enterprise projects and how to obtain enterprise project IDs, see Enterprise Management User Guide.
+For more information about enterprise projects and how to obtain enterprise project IDs, see Enterprise Management User Guide.
Integer
Specifies the minimum memory required by the image in the unit of MB. The default value is 0, indicating that the memory is not restricted.
+Specifies the minimum memory required by the image in the unit of MB. The default value is 0, indicating that the memory is not restricted.
data_images
@@ -403,9 +408,9 @@Specifies the URL of the external image file in the OBS bucket.
The format is OBS bucket name:Image file name.
-All OBS buckets are displayed in the list.
+All OBS buckets are displayed in the list.
All OBS buckets are displayed in the list.
+All OBS buckets are displayed in the list.
The storage class of the OBS bucket must be Standard.
@@ -442,7 +447,7 @@Lists the image tags. This parameter is left blank by default.
For detailed parameter descriptions, see Image Tag Format.
-Use either tags or image_tags.
+Use either tags or image_tags.
image_tags
@@ -551,7 +556,7 @@Array of strings
Specifies tags of the image. This parameter is left blank by default.
-Use either tags or image_tags.
+Use either tags or image_tags.
image_tags
@@ -561,7 +566,7 @@Array of objects
Specifies tags of the image. This parameter is left blank by default.
-Use either tags or image_tags.
+Use either tags or image_tags.
For details about image_tags, see Table 3.
String
Specifies the enterprise project that the image belongs to.
-For more information about enterprise projects and how to obtain enterprise project IDs, see Enterprise Management User Guide.
+For more information about enterprise projects and how to obtain enterprise project IDs, see Enterprise Management User Guide.
POST https://{Endpoint}/v2/cloudimages/action
{
"name": "ims_test",
- "description": "Create a system disk image from an ECS",
+ "description": "Create a system disk image from an ECS",
"instance_id": "877a2cda-ba63-4e1e-b95f-e67e48b6129a",
"tags": [
"aaa.111",
@@ -664,7 +669,7 @@
13POST https://{Endpoint}/v2/cloudimages/action { "name": "ims_test_file", - "description": "Create an image from a file in an OBS bucket", + "description": "Create an image from a file in an OBS bucket", "image_url": "ims-image:centos70.qcow2", "os_version": "CentOS 7.0 64bit", "min_disk": 40, @@ -729,6 +734,26 @@ }
POST https://{Endpoint}/v2/cloudimages/action
+{
+ "name": "ims_test_file",
+ "min_disk": 40,
+ "image_url": "ims-image:centos70.iso",
+ "description": "Create an image from an ISO file",
+ "type": "IsoImage",
+ "os_version": "CentOS 7.0 64bit",
+ "tags": ["aaa.111", "bbb.333", "ccc.444"]
+}
+POST https://{Endpoint}/v2/cloudimages/action
+{
+ "name": "ims_test_file",
+ "min_disk": 40,
+ "image_url": "ims-image:centos70.iso",
+ "description": "Create an image from an ISO file",
+ "type": "IsoImage",
+ "os_version": "CentOS 7.0 64bit",
+ "image_tags": [{"key":"key2","value":"value2"},{"key":"key1","value":"value1"}]
+}
1 2 3 diff --git a/docs/ims/api-ref/en-us_topic_0022473688.html b/docs/ims/api-ref/en-us_topic_0022473688.html index b7ad5b00e..ca4aaf97c 100644 --- a/docs/ims/api-ref/en-us_topic_0022473688.html +++ b/docs/ims/api-ref/en-us_topic_0022473688.html @@ -113,7 +113,7 @@ |
Parameter +
|
|---|