diff --git a/docs/ims/api-ref/en-us_topic_0020091555.html b/docs/ims/api-ref/en-us_topic_0020091555.html index 0dd2872b..f7105988 100644 --- a/docs/ims/api-ref/en-us_topic_0020091555.html +++ b/docs/ims/api-ref/en-us_topic_0020091555.html @@ -100,393 +100,394 @@
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - 56 - 57 - 58 - 59 - 60 - 61 - 62 - 63 - 64 - 65 - 66 - 67 - 68 - 69 - 70 - 71 - 72 - 73 - 74 - 75 - 76 - 77 - 78 - 79 - 80 - 81 - 82 - 83 - 84 - 85 - 86 - 87 - 88 - 89 - 90 - 91 - 92 - 93 - 94 - 95 - 96 - 97 - 98 - 99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 | {
- "additionalProperties": {
- "type": "string"
- },
- "name": "image",
- "links": [
- {
- "href": "{self}",
- "rel": "self"
- },
- {
- "href": "{file}",
- "rel": "enclosure"
- },
- {
- "href": "{schema}",
- "rel": "describedby"
- }
- ],
- "properties": {
- "status": {
- "enum": [
- "queued",
- "saving",
- "active",
- "killed",
- "deleted",
- "pending_delete"
- ],
- "type": "string",
- "description": "Status of the image (READ-ONLY)"
- },
- "tags": {
- "items": {
- "type": "string",
- "maxLength": 255
- },
- "type": "array",
- "description": "List of strings related to the image"
- },
- "kernel_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
- "is_base": false
- },
- "container_format": {
- "enum": [
- "ami",
- "ari",
- "aki",
- "bare",
- "ovf",
- "ova"
- ],
- "type": "string",
- "description": "Format of the container"
- },
- "min_ram": {
- "type": "integer",
- "description": "Amount of ram (in MB) required to boot image."
- },
- "ramdisk_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
- "is_base": false
- },
- "locations": {
- "items": {
- "required": [
- "url",
- "metadata"
- ],
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "maxLength": 255
- },
- "metadata": {
- "type": "object"
- }
- }
- },
- "type": "array",
- "description": "A set of URLs to access the image file kept in external store"
- },
- "visibility": {
- "enum": [
- "public",
- "private"
- ],
- "type": "string",
- "description": "Scope of image accessibility"
- },
- "updated_at": {
- "type": "string",
- "description": "Date and time of the last image modification (READ-ONLY)"
- },
- "owner": {
- "type": "string",
- "description": "Owner of the image",
- "maxLength": 255
- },
- "file": {
- "type": "string",
- "description": "(READ-ONLY)"
- },
- "min_disk": {
- "type": "integer",
- "description": "Amount of disk space (in GB) required to boot image."
- },
- "virtual_size": {
- "type": "integer",
- "description": "Virtual size of image in bytes (READ-ONLY)"
- },
- "id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "An identifier for the image"
- },
- "size": {
- "type": "integer",
- "description": "Size of image file in bytes (READ-ONLY)"
- },
- "instance_uuid": {
- "type": "string",
- "description": "ID of instance used to create this image.",
- "is_base": false
- },
- "os_distro": {
- "type": "string",
- "description": "Common name of operating system distribution as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
- "is_base": false
- },
- "name": {
- "type": "string",
- "description": "Descriptive name for the image",
- "maxLength": 255
- },
- "checksum": {
- "type": "string",
- "description": "md5 hash of image contents. (READ-ONLY)",
- "maxLength": 32
- },
- "created_at": {
- "type": "string",
- "description": "Date and time of image registration (READ-ONLY)"
- },
- "disk_format": {
- "enum": [
- "ami",
- "ari",
- "aki",
- "vhd",
- "vmdk",
- "raw",
- "qcow2",
- "vdi",
- "iso"
- ],
- "type": "string",
- "description": "Format of the disk"
- },
- "os_version": {
- "type": "string",
- "description": "Operating system version as specified by the distributor",
- "is_base": false
- },
- "protected": {
- "type": "boolean",
- "description": "If true, image will not be deletable."
- },
- "architecture": {
- "type": "string",
- "description": "Operating system architecture as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
- "is_base": false
- },
- "direct_url": {
- "type": "string",
- "description": "URL to access the image file kept in external store (READ-ONLY)"
- },
- "self": {
- "type": "string",
- "description": "(READ-ONLY)"
- },
- "schema": {
- "type": "string",
- "description": "(READ-ONLY)"
- }
- }
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - 56 - 57 - 58 - 59 - 60 - 61 - 62 - 63 - 64 - 65 - 66 - 67 - 68 - 69 - 70 - 71 - 72 - 73 - 74 - 75 - 76 - 77 - 78 - 79 - 80 - 81 - 82 - 83 - 84 - 85 - 86 - 87 - 88 - 89 - 90 - 91 - 92 - 93 - 94 - 95 - 96 - 97 - 98 - 99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 | {
- "name": "images",
- "links": [
- {
- "href": "{first}",
- "rel": "first"
- },
- {
- "href": "{next}",
- "rel": "next"
- },
- {
- "href": "{schema}",
- "rel": "describedby"
- }
- ],
- "properties": {
- "images": {
- "items": {
- "additionalProperties": {
- "type": "String"
- },
- "name": "image",
- "links": [
- {
- "href": "{self}",
- "rel": "self"
- },
- {
- "href": "{file}",
- "rel": "enclosure"
- },
- {
- "href": "{schema}",
- "rel": "describedby"
- }
- ],
- "properties": {
- "status": {
- "enum": [
- "queued",
- "saving",
- "active",
- "killed",
- "deleted",
- "pending_delete"
- ],
- "type": "string",
- "description": "Status of the image (READ-ONLY)"
- },
- "tags": {
- "items": {
- "type": "string",
- "maxLength": 255
- },
- "type": "array",
- "description": "List of strings related to the image"
- },
- "kernel_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
- "is_base": false
- },
- "container_format": {
- "enum": [
- "ami",
- "ari",
- "aki",
- "bare",
- "ovf",
- "ova"
- ],
- "type": "string",
- "description": "Format of the container"
- },
- "min_ram": {
- "type": "integer",
- "description": "Amount of ram (in MB) required to boot image."
- },
- "ramdisk_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
- "is_base": false
- },
- "locations": {
- "items": {
- "required": [
- "url",
- "metadata"
- ],
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "maxLength": 255
- },
- "metadata": {
- "type": "object"
- }
- }
- },
- "type": "array",
- "description": "A set of URLs to access the image file kept in external store"
- },
- "visibility": {
- "enum": [
- "public",
- "private"
- ],
- "type": "string",
- "description": "Scope of image accessibility"
- },
- "updated_at": {
- "type": "string",
- "description": "Date and time of the last image modification (READ-ONLY)"
- },
- "owner": {
- "type": "string",
- "description": "Owner of the image",
- "maxLength": 255
- },
- "file": {
- "type": "string",
- "description": "(READ-ONLY)"
- },
- "min_disk": {
- "type": "integer",
- "description": "Amount of disk space (in GB) required to boot image."
- },
- "virtual_size": {
- "type": "integer",
- "description": "Virtual size of image in bytes (READ-ONLY)"
- },
- "id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "An identifier for the image"
- },
- "size": {
- "type": "integer",
- "description": "Size of image file in bytes (READ-ONLY)"
- },
- "instance_uuid": {
- "type": "string",
- "description": "ID of instance used to create this image.",
- "is_base": false
- },
- "os_distro": {
- "type": "string",
- "description": "Common name of operating system distribution as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
- "is_base": false
- },
- "name": {
- "type": "string",
- "description": "Descriptive name for the image",
- "maxLength": 255
- },
- "checksum": {
- "type": "string",
- "description": "md5 hash of image contents. (READ-ONLY)",
- "maxLength": 32
- },
- "created_at": {
- "type": "string",
- "description": "Date and time of image registration (READ-ONLY)"
- },
- "disk_format": {
- "enum": [
- "ami",
- "ari",
- "aki",
- "vhd",
- "vmdk",
- "raw",
- "qcow2",
- "vdi",
- "iso"
- ],
- "type": "string",
- "description": "Format of the disk"
- },
- "os_version": {
- "type": "string",
- "description": "Operating system version as specified by the distributor",
- "is_base": false
- },
- "protected": {
- "type": "boolean",
- "description": "If true, image will not be deletable."
- },
- "architecture": {
- "type": "string",
- "description": "Operating system architecture as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
- "is_base": false
- },
- "direct_url": {
- "type": "string",
- "description": "URL to access the image file kept in external store (READ-ONLY)"
- },
- "self": {
- "type": "string",
- "description": "(READ-ONLY)"
- },
- "schema": {
- "type": "string",
- "description": "(READ-ONLY)"
- }
- }
- },
- "type": "array"
- },
- "schema": {
- "type": "string"
- },
- "next": {
- "type": "string"
- },
- "first": {
- "type": "string"
- }
- }
+ |
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
@@ -290,21 +290,21 @@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
@@ -327,7 +327,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.
+This attribute cannot co-exist with __support_xen.
__support_kvm_infiniband
@@ -335,7 +335,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.
__is_config_init
diff --git a/docs/ims/api-ref/en-us_topic_0020091565.html b/docs/ims/api-ref/en-us_topic_0020091565.html index 02b6e2a6..26cc5bbc 100644 --- a/docs/ims/api-ref/en-us_topic_0020091565.html +++ b/docs/ims/api-ref/en-us_topic_0020091565.html @@ -127,7 +127,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.
min_ram
@@ -256,7 +256,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 +276,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 +294,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 +304,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 +314,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 +358,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 +459,7 @@String
Specifies the image status. The value can be one of the following:
-tags
@@ -551,7 +551,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 +602,7 @@String
Specifies the image type. The following types are supported:
-created_at
@@ -674,42 +674,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 +717,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
@@ -803,143 +803,144 @@STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 | {
- "images": [
- {
- "schema": "/v2/schemas/image",
- "min_disk": 100,
- "created_at": "2018-09-06T14:03:27Z",
- "__image_source_type": "uds",
- "container_format": "bare",
- "file": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52/file",
- "updated_at": "2018-09-06T15:17:33Z",
- "protected": true,
- "checksum": "d41d8cd98f00b204e9800998ecf8427e",
- "id": "bc6bed6e-ba3a-4447-afcc-449174a3eb52",
- "__isregistered": "true",
- "min_ram": 2048,
- "__lazyloading": "true",
- "owner": "1bed856811654c1cb661a6ca845ebc77",
- "__os_type": "Linux",
- "__imagetype": "gold",
- "visibility": "public",
- "virtual_env_type": "FusionCompute",
- "tags": [],
- "__platform": "CentOS",
- "size": 0,
- "__os_bit": "64",
- "__os_version": "CentOS 7.3 64bit",
- "name": "CentOS 7.3 64bit vivado",
- "self": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52",
- "disk_format": "zvhd2",
- "virtual_size": null,
- "hw_firmware_type": "bios",
- "status": "active",
- "__support_fc_inject":"true"
- },
- {
- "schema": "/v2/schemas/image",
- "min_disk": 100,
- "created_at": "2018-09-06T14:03:05Z",
- "__image_source_type": "uds",
- "container_format": "bare",
- "file": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f/file",
- "updated_at": "2018-09-25T14:27:40Z",
- "protected": true,
- "checksum": "d41d8cd98f00b204e9800998ecf8427e",
- "id": "0328c25e-c840-4496-81ac-c4e01b214b1f",
- "__isregistered": "true",
- "min_ram": 2048,
- "__lazyloading": "true",
- "owner": "1bed856811654c1cb661a6ca845ebc77",
- "__os_type": "Linux",
- "__imagetype": "gold",
- "visibility": "public",
- "virtual_env_type": "FusionCompute",
- "tags": [],
- "__platform": "CentOS",
- "size": 0,
- "__os_bit": "64",
- "__os_version": "CentOS 7.3 64bit",
- "name": "CentOS 7.3 64bit with sdx",
- "self": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f",
- "disk_format": "zvhd2",
- "virtual_size": null,
- "hw_firmware_type": "bios",
- "status": "active",
- "__support_fc_inject":"true"
- }
- ]
+ |
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,81 +436,82 @@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.
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 | {
- "schema": "/v2/schemas/image",
- "min_disk": 100,
- "created_at": "2018-09-06T14:03:27Z",
- "__image_source_type": "uds",
- "container_format": "bare",
- "file": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52/file",
- "updated_at": "2018-09-06T15:17:33Z",
- "protected": true,
- "checksum": "d41d8cd98f00b204e9800998ecf8427e",
- "id": "bc6bed6e-ba3a-4447-afcc-449174a3eb52",
- "__isregistered": "true",
- "min_ram": 2048,
- "__lazyloading": "true",
- "owner": "1bed856811654c1cb661a6ca845ebc77",
- "__os_type": "Linux",
- "__imagetype": "gold",
- "visibility": "public",
- "virtual_env_type": "FusionCompute",
- "tags": [],
- "__platform": "CentOS",
- "size": 0,
- "__os_bit": "64",
- "__os_version": "CentOS 7.3 64bit",
- "name": "CentOS 7.3 64bit vivado",
- "self": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52",
- "disk_format": "zvhd2",
- "virtual_size": null,
- "status": "active"
+ |
Changing an image name to ims_test
-1 -2 -3 -4 -5 -6 -7 -8 | PATCH https://{Endpoint}/v2/cloudimages/33ad552d-1149-471c-8190-ff6776174a00
+ |
Parameter @@ -268,7 +269,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 @@ -441,7 +442,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. |
@@ -450,14 +451,14 @@
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 @@ -472,7 +473,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 @@ -480,7 +481,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 @@ -488,7 +489,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 @@ -522,90 +523,91 @@ |
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. |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 | {
- "file": "/v2/images/33ad552d-1149-471c-8190-ff6776174a00/file",
- "owner": "0b1e494e2660441a957313163095fe5c",
- "id": "33ad552d-1149-471c-8190-ff6776174a00",
- "size": 2,
- "self": "/v2/images/33ad552d-1149-471c-8190-ff6776174a00",
- "schema": "/v2/schemas/image",
- "status": "active",
- "tags": [],
- "visibility": "private",
- "name": "ims_test",
- "checksum": "99914b932bd37a50b983c5e7c90ae93b",
- "hw_vif_multiqueue_enabled": "true",
- "protected": false,
- "container_format": "bare",
- "min_ram": 0,
- "updated_at": "2015-12-08T02:30:49Z",
- "__os_bit": "64",
- "__os_version": "Ubuntu 14.04 server 64bit",
- "__description": "ims test",
- "disk_format": "vhd",
- "__isregistered": "true",
- "__platform": "Ubuntu",
- "__os_type": "Linux",
- "min_disk": 40,
- "virtual_env_type": "FusionCompute",
- "__image_source_type": "uds",
- "__imagetype": "private",
- "created_at": "2015-12-04T09:45:33Z",
- "virtual_size": 0,
- "__originalimagename": "33ad552d-1149-471c-8190-ff6776174a00",
- "__backup_id": "",
- "__productcode": "",
- "__image_size": "449261568",
- "__support_fc_inject":"true",
- "__data_origin": null,
- "hw_firmware_type": "bios"
+ |
Deleting an image
-1 -2 -3 -4 | DELETE https://{Endpoint}/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90
+ |
STATUS CODE 204diff --git a/docs/ims/api-ref/en-us_topic_0020092109.html b/docs/ims/api-ref/en-us_topic_0020092109.html index c4d1e481..000e1b3a 100644 --- a/docs/ims/api-ref/en-us_topic_0020092109.html +++ b/docs/ims/api-ref/en-us_topic_0020092109.html @@ -6,7 +6,7 @@
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.
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
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.
enterprise_project_id
@@ -261,7 +261,7 @@String
Specifies a custom key used for encrypting an image. For its value, see the Key Management Service User Guide.
+Specifies a custom key used for encrypting an image. For its value, see the Key Management Service User Guide.
tags
@@ -280,7 +280,7 @@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.
type
@@ -290,7 +290,7 @@String
Specifies the image type.
-The value can be ECS, BMS, FusionCompute, IsoImage, or Ironic. The default value is ECS.
+The value can be ECS, BMS, FusionCompute, IsoImage, or Ironic. The default value is ECS.
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
@@ -429,7 +429,7 @@Lists the image tags. This parameter is left blank by default.
For detailed parameter descriptions, see Image Tag Data Formats.
-Use either tags or image_tags.
+Use either tags or image_tags.
image_tags
@@ -537,7 +537,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
@@ -547,7 +547,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.
enterprise_project_id
@@ -557,7 +557,7 @@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.
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 | POST https://{Endpoint}/v2/cloudimages/action
+
|
POST https://{Endpoint}/v2/cloudimages/action { @@ -646,88 +648,92 @@ } ] }-
1 -2 -3 -4 -5 -6 -7 -8 | POST /v2/cloudimages/action
+
|
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "8a12fc664fb4daa3014fb4e581380005"
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 | {
- "status": "SUCCESS",
- "entities": {
- "image_id": "e9e91bff-14b6-4a0b-8377-4ed0813e3360",
- "image_name": "asdfasdfasdfas",
- "process_percent": 0.20,
- "current_task": "CreateImageByInstanceTask",
- "results": [{
- "image_id": "49e9447f-7dff-41e0-8036-f66fe5488c8b",
- "project_id": "089b2f9a3d80d3062f24c00ca4ed5cbd",
- "status": "success"
- }
- ]
- },
- "job_id": "ff8080814dbd65d7014dbe0d84db0013",
- "job_type": "createImageByInstance",
- "begin_time": "04-Jun-2015 18:11:06:586",
- "end_time": "",
- "error_code": null,
- "fail_reason": null
+ |
If the returned status code is 400, a customized error message will be returned. This section describes the meaning of each status code.
STATUS CODE 400-
1 -2 -3 -4 -5 -6 | {
- "error": {
- "message": "The imagetype is invalid.",
- "code": "IMG.0024"
- }
+ |
Status Code @@ -147,7 +148,7 @@ | forceCreate must be set to true. |
-forceCreate must be set to true. + | forceCreate must be set to true. |
Set forceCreate to true. |
@@ -422,7 +423,7 @@
An error occurred when the value of asumeToken was obtained. |
-An error occurred when the value of asumeToken was obtained. + | An error occurred when the value of asumeToken was obtained. |
Contact technical support. |
@@ -1402,7 +1403,7 @@
The value of hw_firmware_type is not uefi or bios. |
-The value of hw_firmware_type is not uefi or bios. + | The value of hw_firmware_type is not uefi or bios. |
Set hw_firmware_type to uefi or bios. |
@@ -1919,9 +1920,9 @@
The value of Architecture must be x86 or Arm. |
-The value of Architecture must be x86 or Arm. + | The value of Architecture must be x86 or Arm. |
-Set Architecture to x86 or arm. + | Set Architecture to x86 or arm. |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
400 diff --git a/docs/ims/api-ref/en-us_topic_0024735403.html b/docs/ims/api-ref/en-us_topic_0024735403.html index 304be371..dfdc0642 100644 --- a/docs/ims/api-ref/en-us_topic_0024735403.html +++ b/docs/ims/api-ref/en-us_topic_0024735403.html @@ -8,7 +8,13 @@ | |||||||||||||||||
2024-01-15 + | |||||||||||||||||
2024-05-27 + |
+Modified the following content: +Added the image format description of the is_quick_export parameter for quickly exporting images in Exporting an Image. + |
+||||||||||||||||
2024-01-15 |
Modified the following content: Added a description for os_version and the value IsoImage for type in Creating an Image. @@ -67,7 +73,7 @@ | ||||||||||||||||
2020-08-12 |
Modified the following content: -A CBR backup can be used to create a full-ECS image. The following changes are involved:
A CBR backup can be used to create a full-ECS image. The following changes are involved:
|
||||||||||||||||
2019-01-30 |
Modified the following content: -
|
||||||||||||||||
2018-09-30 @@ -211,7 +217,7 @@ | |||||||||||||||||
2017-02-08 |
-Modified the following content:
Modified the following content:
| ||||||||||||||||
2016-10-29 |
-Added the following content:
Added the following content:
| Boolean |
-Specifies whether the image is protected. A protected image cannot be deleted. The default value is false. + | Specifies whether the image is protected. A protected image cannot be deleted. The default value is false. |
|||||||||||||
container_format @@ -62,7 +62,7 @@ | String |
Specifies the container format. -The default value is bare. +The default value is bare. |
|||||||||||||||
disk_format @@ -92,7 +92,7 @@ |
Integer |
-Specifies the minimum memory size (MB) required for running the image. The parameter value depends on ECS specifications. The default value is 0. + | Specifies the minimum memory size (MB) required for running the image. The parameter value depends on ECS specifications. The default value is 0. |
||||||||||||||
min_disk @@ -161,7 +161,7 @@ | String |
Specifies the container format. -The value is bare. +The value is bare. |
|||||||||||||||
disk_format @@ -260,7 +260,7 @@ |
String |
-Specifies whether the image is registered. Only registered images can be queried on the portal. The value is true. + | Specifies whether the image is registered. Only registered images can be queried on the portal. The value is true. |
||||||||||||||
__os_version @@ -304,7 +304,7 @@ |
Specifies the platform type. Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage. -
|
||||||||||||||||
owner diff --git a/docs/ims/api-ref/en-us_topic_0036994315.html b/docs/ims/api-ref/en-us_topic_0036994315.html index 6fe0f031..c72144e0 100644 --- a/docs/ims/api-ref/en-us_topic_0036994315.html +++ b/docs/ims/api-ref/en-us_topic_0036994315.html @@ -73,7 +73,7 @@ | Boolean |
Whether to enable fast export. The value can be true or false. - NOTE: If fast export is enabled, file_format cannot be specified. + NOTE:
If fast export is enabled, file_format cannot be specified. The exported image file is in the ZVHD2 format. |
1 -2 -3 -4 -5 -6 | POST https://{Endpoint}/v1/cloudimages/d164b5df-1bc3-4c3f-893e-3e471fd16e64/file
+ |
Parameter @@ -117,13 +118,14 @@ |
---|
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "edc89b490d7d4392898e19b2deb34797"
+ |
Adding a tenant who can use the shared image (project ID: edc89b490d7d4392898e19b2deb34797)
-1 -2 -3 -4 | POST https://{Endpoint}/v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members
+ |
Parameter @@ -99,23 +100,24 @@ |
---|
STATUS CODE 200-
1 -2 -3 -4 -5 -6 -7 -8 | {
- "status": "pending",
- "created_at": "2016-09-01T02:05:14Z",
- "updated_at": "2016-09-01T02:05:14Z",
- "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
- "member_id": "edc89b490d7d4392898e19b2deb34797",
- "schema": "/v2/schemas/member"
+ |
1 -2 -3 -4 | PUT https://{Endpoint}/v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members/edc89b490d7d4392898e19b2deb34797
+ |
STATUS CODE 200-
1 -2 -3 -4 -5 -6 -7 -8 | {
- "status": "accepted",
- "created_at": "2016-09-01T02:05:14Z",
- "updated_at": "2016-09-01T02:37:11Z",
- "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
- "member_id": "edc89b490d7d4392898e19b2deb34797",
- "schema": "/v2/schemas/member"
+ |
STATUS CODE 200-
1 -2 -3 -4 -5 -6 -7 -8 | {
- "status": "accepted",
- "created_at": "2016-09-01T02:05:14Z",
- "updated_at": "2016-09-01T02:37:11Z",
- "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
- "member_id": "edc89b490d7d4392898e19b2deb34797",
- "schema": "/v2/schemas/member"
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 | {
- "members": [
- {
- "status": "accepted",
- "created_at": "2016-09-01T02:05:14Z",
- "updated_at": "2016-09-01T02:37:11Z",
- "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
- "member_id": "edc89b490d7d4392898e19b2deb34797",
- "schema": "/v2/schemas/member"
- }
- ],
- "schema": "/v2/schemas/members"
+ |
Adding tenants who can use shared images (image IDs: d164b5df-1bc3-4c3f-893e-3e471fd16e64, 0b680482-acaa-4045-b14c-9a8c7dfe9c70; project IDs: 9c61004714024f9586705d090530f9fa, edc89b490d7d4392898e19b2deb34797)
-1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 | POST https://{Endpoint}/v1/cloudimages/members
+ |
Parameter @@ -88,13 +89,14 @@ |
---|
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "edc89b490d7d4392898e19b2deb34797"
+ |
1 -2 -3 -4 -5 -6 -7 -8 -9 | PUT https://{Endpoint}/v1/cloudimages/members
+ |
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "edc89b490d7d4392898e19b2deb34797"
+ |
Deleting image recipients who can use shared images (image IDs: d164b5df-1bc3-4c3f-893e-3e471fd16e64, 0b680482-acaa-4045-b14c-9a8c7dfe9c70; project IDs: 9c61004714024f9586705d090530f9fa, edc89b490d7d4392898e19b2deb34797)
-1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 | DELETE https://{Endpoint}/v1/cloudimages/members
+ |
Parameter @@ -86,13 +87,14 @@ |
---|
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "edc89b490d7d4392898e19b2deb34797"
+ |
String
Specifies the image ID.
-Registering an image (URL of the image file: bucketname:Centos6.5-disk1.vmdk)
-1 -2 -3 -4 | PUT https://{Endpoint}/v1/cloudimages/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba86/upload
+ |
Parameter @@ -95,13 +96,14 @@ |
---|
HTTP/1.1 200-
1 -2 -3 | {
- "job_id":" b912fb4a4c464b568ecfca1071b21b10"
+ |
Replicating an image (name: ims_encrypted_copy3) within a region
-1 -2 -3 -4 -5 -6 | POST https://{Endpoint}/v1/cloudimages/465076de-dc36-4aec-80f5-ef9d8009428f/copy
+ |
Parameter @@ -123,13 +124,14 @@ |
---|
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "edc89b490d7d4392898e19b2deb34797"
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 | {
- "name": "member",
- "properties": {
- "status": {
- "enum": [
- "pending",
- "accepted",
- "rejected"
- ],
- "type": "string",
- "description": "The status of this image member"
- },
- "created_at": {
- "type": "string",
- "description": "Date and time of image member creation"
- },
- "updated_at": {
- "type": "string",
- "description": "Date and time of last modification of image member"
- },
- "image_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "An identifier for the image"
- },
- "member_id": {
- "type": "string",
- "description": "An identifier for the image member (tenantId)"
- },
- "schema": {
- "readOnly": true,
- "type": "string"
- }
- }
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 | {
- "name": "members",
- "links": [
- {
- "href": "{schema}",
- "rel": "describedby"
- }
- ],
- "properties": {
- "members": {
- "items": {
- "name": "member",
- "properties": {
- "status": {
- "enum": [
- "pending",
- "accepted",
- "rejected"
- ],
- "type": "string",
- "description": "The status of this image member"
- },
- "created_at": {
- "type": "string",
- "description": "Date and time of image member creation"
- },
- "updated_at": {
- "type": "string",
- "description": "Date and time of last modification of image member"
- },
- "image_id": {
- "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
- "type": "string",
- "description": "An identifier for the image"
- },
- "member_id": {
- "type": "string",
- "description": "An identifier for the image member (tenantId)"
- },
- "schema": {
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "type": "array"
- },
- "schema": {
- "type": "string"
- }
- }
+ |
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
@@ -241,7 +241,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. For details about the image OSs supported by large-memory ECSs, see Table 4.
+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 details about the image OSs supported by large-memory ECSs, see Table 4.
__support_diskintensive
@@ -250,7 +250,7 @@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. For details about the image OSs supported by disk-intensive ECSs, see Table 4.
+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. For details about the image OSs supported by disk-intensive ECSs, see Table 4.
__support_highperformance
@@ -259,7 +259,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. For details about the image OSs supported by high-performance computing ECSs, see Table 4.
+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. For details about the image OSs supported by high-performance computing ECSs, see Table 4.
__support_xen_gpu_type
@@ -277,7 +277,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
@@ -287,7 +287,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
@@ -297,7 +297,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.
created_at
@@ -319,10 +319,10 @@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.
+The time format is yyyy-MM-ddThh:mm:ssZ or yyyy-MM-dd hh:mm:ss.
For example, to query images updated before Oct 28, 2018 10:00:00, set the value of updated_at to lt:2018-10-28T10:00:00Z.
GET https://{Endpoint}/v2/images
Parameter +
STATUS CODE 200-
|
---|
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 | {
- "quotas": {
- "resources": [
- {
- "type": "image",
- "used": 0,
- "quota": 20,
- "min": 1,
- "max": 1000
- }
- ]
- }
+ |
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 | POST https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/resource_instances/action
+ |
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 | POST https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/resource_instances/action
+
|
STATUS CODE 200-
1 -2 -3 | {
- "total_count": 36
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 | {
- "total_count": 36,
- "resources": [{
- "resource_name": "test10002",
- "resource_detail": {"status": "active"},
- "tags": [{
- "value": "value4",
- "key": "key4"
- },
- {
- "value": "valueXX",
- "key": "key3"
- },
- {
- "value": "value2",
- "key": "key2"
- },
- {
- "value": "value5",
- "key": "key5"
- },
- {
- "value": "value8",
- "key": "key8"
- },
- {
- "value": "valueXX",
- "key": "key6"
- },
- {
- "value": "valueXX",
- "key": "key0"
- },
- {
- "value": "value1",
- "key": "key1"
- },
- {
- "value": "value7",
- "key": "key7"
- },
- {
- "value": "valueXX",
- "key": "key9"
- }],
- "resource_id": "8693187d-1590-4f9f-ae34-eb9e3037cf68"
- }]
+ |
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 | POST https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/67e17426-359e-49fb-aa12-0bd1756ec240/tags/action
+ |
Adding an image tag (key1:value1)
-1 -2 -3 -4 -5 -6 -7 | POST https://{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/67e17426-359e-49fb-aa12-0bd1756ec240/tags
+ |
STATUS CODE 204diff --git a/docs/ims/api-ref/en-us_topic_0102682865.html b/docs/ims/api-ref/en-us_topic_0102682865.html index 7e9886f7..d86f3dfe 100644 --- a/docs/ims/api-ref/en-us_topic_0102682865.html +++ b/docs/ims/api-ref/en-us_topic_0102682865.html @@ -90,27 +90,28 @@
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 | {
- "tags": [{
- "value": "value0",
- "key": "key0"
- },
- {
- "value": "value0",
- "key": "key1"
- }]
+ |
STATUS CODE 200-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 -16 | {
- "tags": [{
- "values": ["value9"],
- "key": "key9"
- },
- {
- "values": [""],
- "key": "key8"
- },
- {
- "values":
- ["valueXX",
- "value3"],
- "key": "key3"
- }]
+ |
The fast image creation function is only available for image files in RAW or ZVHD2 format. For other formats of image files that are smaller than 128 GB, you are advised to import these files with the common method.
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.
For how to convert image file formats and generate a bitmap file, see section "Quickly Importing an Image File" in the Image Management Service User Guide.
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.
-The storage class of the OBS bucket must be Standard.
+The storage class of the OBS bucket must be Standard.
String
Specifies the image type. The parameter value is DataImage for data disk images.
+enterprise_project_id
@@ -229,7 +230,7 @@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.
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 -15 | POST https://{Endpoint}/v2/cloudimages/quickimport/action
-{
- "name": "ims_test_file",
- "description": "Create an image using a file in the OBS bucket.",
- "image_url": "ims-image:centos70.zvhd2",
- "os_version": "CentOS 7.0 64bit",
- "min_disk": 40,
- "type": "ECS",
- "tags":
- [
- "aaa.111",
- "bbb.333",
- "ccc.444"
- ]
+ |
STATUS CODE 200-
1 -2 -3 | {
- "job_id": "8a12fc664fb4daa3014fb4e581380005"
+ |
STATUS CODE 300-
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 -13 -14 | {
- "versions": [
- {
- "status": "SUPPORTED",
- "id": "v2.0",
- "links": [
- {
- "href": "https://image.az1.dc1.domainname.com/v2/",
- "rel": "self"
- }
- ]
- }
- ]
+ |