diff --git a/docs/ecs/umn/test1702972479873.txt b/docs/ecs/umn/test1702972479873.txt
new file mode 100644
index 000000000..1614bf75e
--- /dev/null
+++ b/docs/ecs/umn/test1702972479873.txt
@@ -0,0 +1 @@
+D:\02CBR\13gitea\doc-exports\docs\ecs\umn
diff --git a/docs/ims/api-ref/ALL_META.TXT.json b/docs/ims/api-ref/ALL_META.TXT.json
index 7d6bde523..60c18a669 100644
--- a/docs/ims/api-ref/ALL_META.TXT.json
+++ b/docs/ims/api-ref/ALL_META.TXT.json
@@ -1,741 +1,1410 @@
[
+ {
+ "dockw":"API Reference"
+ },
{
"uri":"en-us_topic_0020507759.html",
+ "node_id":"en-us_topic_0020507759.xml",
"product_code":"ims",
"code":"1",
"des":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ",
"doc_type":"api",
"kw":"API Usage Guidelines,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"API Usage Guidelines",
"githuburl":""
},
{
"uri":"en-us_topic_0122410333.html",
+ "node_id":"en-us_topic_0122410333.xml",
"product_code":"ims",
"code":"2",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"IMS APIs",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"IMS APIs",
"githuburl":""
},
{
"uri":"en-us_topic_0135460761.html",
+ "node_id":"en-us_topic_0135460761.xml",
"product_code":"ims",
"code":"3",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image",
"githuburl":""
},
{
"uri":"en-us_topic_0020091565.html",
+ "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",
"doc_type":"api",
"kw":"Querying Images,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Images",
"githuburl":""
},
{
"uri":"en-us_topic_0020091567.html",
+ "node_id":"en-us_topic_0020091567.xml",
"product_code":"ims",
"code":"5",
- "des":"This API is used to modify image attributes and update image information.Only information of images in active status can be changed.PATCH /v2/cloudimages/{image_id}Table ",
+ "des":"This API is used to update image information.Only active images can be updated.PATCH /v2/cloudimages/{image_id}Table 1 lists the parameters in the URI.Request parametersP",
"doc_type":"api",
"kw":"Updating Image Information,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Updating Image Information",
"githuburl":""
},
{
"uri":"en-us_topic_0020092109.html",
+ "node_id":"en-us_topic_0020092109.xml",
"product_code":"ims",
"code":"6",
"des":"This API is used to create a private image. The following methods are supported:Create a system or data disk image from an ECS.Create a system disk image from an external",
"doc_type":"api",
"kw":"Creating an Image,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Creating an Image",
"githuburl":""
},
{
"uri":"en-us_topic_0133188204.html",
+ "node_id":"en-us_topic_0133188204.xml",
"product_code":"ims",
"code":"7",
"des":"This API is used to quickly create a private image from an oversized external image file that has uploaded to the OBS bucket. Currently, only ZVHD2 and RAW image files ar",
"doc_type":"api",
"kw":"Importing an Image File Quickly,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Importing an Image File Quickly",
"githuburl":""
},
{
"uri":"en-us_topic_0083905788.html",
+ "node_id":"en-us_topic_0083905788.xml",
"product_code":"ims",
"code":"8",
"des":"This API is used to create a data disk image from a data disk image file uploaded to the OBS bucket. The API is an asynchronous one. If it is successfully called, the clo",
"doc_type":"api",
"kw":"Creating a Data Disk Image Using an External Image File,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Creating a Data Disk Image Using an External Image File",
"githuburl":""
},
{
"uri":"en-us_topic_0092380109.html",
+ "node_id":"en-us_topic_0092380109.xml",
"product_code":"ims",
"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",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Creating a Full-ECS Image",
"githuburl":""
},
{
"uri":"en-us_topic_0037131984.html",
+ "node_id":"en-us_topic_0037131984.xml",
"product_code":"ims",
"code":"10",
"des":"This API is used to register an image file as an uninitialized private image on the cloud platform.The following describes how to use this API:Upload the image file to an",
"doc_type":"api",
"kw":"Registering an Image,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Registering an Image",
"githuburl":""
},
{
"uri":"en-us_topic_0036994315.html",
+ "node_id":"en-us_topic_0036994315.xml",
"product_code":"ims",
"code":"11",
- "des":"This is an extension API and used to export a private image to an OBS bucket.Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.T",
+ "des":"This is an extension API and used to export a private image to an OBS bucket.Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.A",
"doc_type":"api",
"kw":"Exporting an Image,Image,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Exporting an Image",
"githuburl":""
},
{
"uri":"en-us_topic_0135481402.html",
+ "node_id":"en-us_topic_0135481402.xml",
"product_code":"ims",
"code":"12",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Tagging",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Tagging",
"githuburl":""
},
{
"uri":"en-us_topic_0067360381.html",
+ "node_id":"en-us_topic_0067360381.xml",
"product_code":"ims",
"code":"13",
"des":"This API is used to add a tag to an image or modify a tag of an image. With tags, you can manage easily the images.PUT /v1/cloudimages/tagsRequest parametersParameterMand",
"doc_type":"api",
"kw":"Adding or Modifying a Tag,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Adding or Modifying a Tag",
"githuburl":""
},
{
"uri":"en-us_topic_0067360382.html",
+ "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",
"doc_type":"api",
"kw":"Querying Tags,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Tags",
"githuburl":""
},
{
"uri":"en-us_topic_0102682861.html",
+ "node_id":"en-us_topic_0102682861.xml",
"product_code":"ims",
"code":"15",
"des":"This API is used to filter or count images using tags or other conditions.To be compatible with remaining tags, the system will not verify the character set of the tag ke",
"doc_type":"api",
"kw":"Querying Images by Tag,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Images by Tag",
"githuburl":""
},
{
"uri":"en-us_topic_0102682862.html",
+ "node_id":"en-us_topic_0102682862.xml",
"product_code":"ims",
"code":"16",
"des":"This API is used to add tags to, update tags of, or delete tags from an image in batches.Each tag consists of a key and a value. The key contains at most 36 characters, a",
"doc_type":"api",
"kw":"Adding or Deleting Image Tags in Batches,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Adding or Deleting Image Tags in Batches",
"githuburl":""
},
{
"uri":"en-us_topic_0102682863.html",
+ "node_id":"en-us_topic_0102682863.xml",
"product_code":"ims",
"code":"17",
"des":"This API is used to add a tag to an image or update a tag.Each tag consists of a key and a value. The key contains at most 36 characters, and the value contains at most 4",
"doc_type":"api",
"kw":"Adding an Image Tag,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Adding an Image Tag",
"githuburl":""
},
{
"uri":"en-us_topic_0102682864.html",
+ "node_id":"en-us_topic_0102682864.xml",
"product_code":"ims",
"code":"18",
"des":"This API is used to delete a specified tag from an image.To be compatible with remaining tags, the system will not verify the character set and length of the keys and val",
"doc_type":"api",
"kw":"Deleting an Image Tag,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Deleting an Image Tag",
"githuburl":""
},
{
"uri":"en-us_topic_0102682865.html",
+ "node_id":"en-us_topic_0102682865.xml",
"product_code":"ims",
"code":"19",
"des":"This API is used to query all the tags of a specified image.GET /v2/{project_id}/images/{image_id}/tagsTable 1 lists the parameters in the URI.Parameter descriptionParame",
"doc_type":"api",
"kw":"Querying Tags of an Image,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Tags of an Image",
"githuburl":""
},
{
"uri":"en-us_topic_0102682866.html",
+ "node_id":"en-us_topic_0102682866.xml",
"product_code":"ims",
"code":"20",
"des":"This API is used to query all the image tags.GET /v2/{project_id}/images/tagsTable 1 lists the parameters in the URI.Parameter descriptionParameterMandatoryTypeDescriptio",
"doc_type":"api",
"kw":"Querying All Image Tags,Image Tagging,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying All Image Tags",
"githuburl":""
},
{
"uri":"en-us_topic_0135482660.html",
+ "node_id":"en-us_topic_0135482660.xml",
"product_code":"ims",
"code":"21",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Sharing",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Sharing",
"githuburl":""
},
{
"uri":"en-us_topic_0036994324.html",
+ "node_id":"en-us_topic_0036994324.xml",
"product_code":"ims",
"code":"22",
- "des":"This API is an extension one and used to stop sharing images by deleting tenants with whom the image is shared in batches.This API is an asynchronous one. If job_id is re",
+ "des":"This API is an extension one and used to stop sharing images by deleting tenants the image is shared with.This API is an asynchronous one. If job_id is returned, the task",
"doc_type":"api",
- "kw":"Deleting Image Members in Batches,Image Sharing,API Reference",
- "title":"Deleting Image Members in Batches",
+ "kw":"Deleting Image Sharing Members,Image Sharing,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Deleting Image Sharing Members",
"githuburl":""
},
{
"uri":"en-us_topic_0036994322.html",
+ "node_id":"en-us_topic_0036994322.xml",
"product_code":"ims",
"code":"23",
"des":"This API is an extension one and used to share more than one image with multiple tenants.This API is an asynchronous one. If job_id is returned, the task is successfully ",
"doc_type":"api",
- "kw":"Adding Image Members in Batches,Image Sharing,API Reference",
- "title":"Adding Image Members in Batches",
+ "kw":"Adding Image Sharing Members,Image Sharing,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Adding Image Sharing Members",
"githuburl":""
},
{
"uri":"en-us_topic_0036994323.html",
+ "node_id":"en-us_topic_0036994323.xml",
"product_code":"ims",
"code":"24",
"des":"This API is an extension one and used to update the image sharing status after the tenant accepts or rejects the shared images.This API is an asynchronous one. If job_id ",
"doc_type":"api",
- "kw":"Updating the Status of Image Members in Batches,Image Sharing,API Reference",
- "title":"Updating the Status of Image Members in Batches",
+ "kw":"Updating the Sharing Status for Images,Image Sharing,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Updating the Sharing Status for Images",
"githuburl":""
},
{
"uri":"en-us_topic_0049147855.html",
+ "node_id":"en-us_topic_0049147855.xml",
"product_code":"ims",
"code":"25",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Replication",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Replication",
"githuburl":""
},
{
"uri":"en-us_topic_0049147856.html",
+ "node_id":"en-us_topic_0049147856.xml",
"product_code":"ims",
"code":"26",
"des":"This API is an extension one and is used to copy an existing image to another image. When replicating an image, you can change the image attributes to meet the requiremen",
"doc_type":"api",
"kw":"Replicating an Image Within a Region,Image Replication,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Replicating an Image Within a Region",
"githuburl":""
},
{
"uri":"en-us_topic_0093967371.html",
+ "node_id":"en-us_topic_0093967371.xml",
"product_code":"ims",
"code":"27",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Quota",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Quota",
"githuburl":""
},
{
"uri":"en-us_topic_0093967372.html",
+ "node_id":"en-us_topic_0093967372.xml",
"product_code":"ims",
"code":"28",
- "des":"This extension API is used to query the quota of private images of a tenant in the current region.GET /v1/cloudimages/quotaRequest parametersNoneNoneExample requestGET ht",
+ "des":"This extension API is used to query the quota of private images of a tenant in the current region.GET /v1/cloudimages/quotaRequest parametersNoneQuerying the image quotaR",
"doc_type":"api",
"kw":"Querying the Image Quota,Image Quota,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying the Image Quota",
"githuburl":""
},
{
"uri":"en-us_topic_0000001311190309.html",
+ "node_id":"en-us_topic_0000001311190309.xml",
"product_code":"ims",
"code":"29",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Jobs",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Jobs",
"githuburl":""
},
{
"uri":"en-us_topic_0022473688.html",
+ "node_id":"en-us_topic_0022473688.xml",
"product_code":"ims",
"code":"30",
"des":"This is an extension API. It is used to query for the execution status of an asynchronous job, for example, querying for the execution status of an image exporting job.GE",
"doc_type":"api",
- "kw":"Asynchronous Job Query,Image Jobs,API Reference",
- "title":"Asynchronous Job Query",
+ "kw":"Querying the Status of an Asynchronous Job,Image Jobs,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Querying the Status of an Asynchronous Job",
"githuburl":""
},
{
"uri":"en-us_topic_0160121770.html",
+ "node_id":"en-us_topic_0160121770.xml",
"product_code":"ims",
"code":"31",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Native OpenStack APIs",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Native OpenStack APIs",
"githuburl":""
},
{
"uri":"en-us_topic_0122410334.html",
+ "node_id":"en-us_topic_0122410334.xml",
"product_code":"ims",
"code":"32",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image (Native OpenStack APIs)",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image (Native OpenStack APIs)",
"githuburl":""
},
{
"uri":"en-us_topic_0060804959.html",
+ "node_id":"en-us_topic_0060804959.xml",
"product_code":"ims",
"code":"33",
"des":"This API is used to obtain the image list.This API does not return the complete result at once, but uses pagination.Pagination refers to the function of returning a subse",
"doc_type":"api",
"kw":"Querying Images (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Images (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0020091566.html",
+ "node_id":"en-us_topic_0020091566.xml",
"product_code":"ims",
"code":"34",
- "des":"This API is used to query details about a public or private image.GET /v2/images/{image_id}Table 1 lists the parameters.Parameter descriptionParameterMandatoryTypeDescrip",
+ "des":"This API is used to query details about a public or private image.GET /v2/images/{image_id}Table 1 lists the parameters in the URI.Parameter descriptionParameterMandatory",
"doc_type":"api",
"kw":"Querying Image Details (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Image Details (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0060804960.html",
+ "node_id":"en-us_topic_0060804960.xml",
"product_code":"ims",
"code":"35",
"des":"This API is used to modify image information.Only customized attributes, image name, and image description can be modified.PATCH /v2/images/{image_id}Table 1 lists the pa",
"doc_type":"api",
"kw":"Updating Image Information (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Updating Image Information (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0031615566.html",
+ "node_id":"en-us_topic_0031615566.xml",
"product_code":"ims",
"code":"36",
"des":"This API is used to upload a local image to the cloud platform. The image to be uploaded must be smaller than 128 GB.For more information about how to use external files ",
"doc_type":"api",
"kw":"Uploading an Image (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Uploading an Image (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0020092108.html",
+ "node_id":"en-us_topic_0020092108.xml",
"product_code":"ims",
"code":"37",
"des":"This API is used to delete a private image. You can only delete your own private images.DELETE /v2/images/{image_id}Table 1 lists the parameters in the URI.Parameter desc",
"doc_type":"api",
"kw":"Deleting an Image (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Deleting an Image (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0031615565.html",
+ "node_id":"en-us_topic_0031615565.xml",
"product_code":"ims",
"code":"38",
"des":"This API is used to create image metadata.After the API is successfully invoked, the image metadata is created, but the image file does not exist yet.POST /v2/imagesReque",
"doc_type":"api",
"kw":"Creating Image Metadata (Native OpenStack API),Image (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Creating Image Metadata (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0066978722.html",
+ "node_id":"en-us_topic_0066978722.xml",
"product_code":"ims",
"code":"39",
"des":"This API is used to delete an image. If you soft delete the image with a specified ID, the image persists in the database, but in the deletedstatus.This API has been disc",
"doc_type":"api",
"kw":"Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended),Image (Native OpenStac",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)",
"githuburl":""
},
{
"uri":"en-us_topic_0066978721.html",
+ "node_id":"en-us_topic_0066978721.xml",
"product_code":"ims",
"code":"40",
"des":"This API is used to query image metadata.This API has been discarded. The API for querying image details (Querying Image Details (Native OpenStack API)) is recommended.HE",
"doc_type":"api",
"kw":"Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended),Image (Native Open",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)",
"githuburl":""
},
{
"uri":"en-us_topic_0066978720.html",
+ "node_id":"en-us_topic_0066978720.xml",
"product_code":"ims",
"code":"41",
"des":"This API is used to query details of images.This API has been discarded. The image query API (Querying Images (Native OpenStack API)) is recommended.GET /v1.1/images/deta",
"doc_type":"api",
"kw":"Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended),Image (Native Ope",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)",
"githuburl":""
},
{
"uri":"en-us_topic_0122410335.html",
+ "node_id":"en-us_topic_0122410335.xml",
"product_code":"ims",
"code":"42",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Tagging (Native OpenStack APIs)",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Tagging (Native OpenStack APIs)",
"githuburl":""
},
{
"uri":"en-us_topic_0020092111.html",
+ "node_id":"en-us_topic_0020092111.xml",
"product_code":"ims",
"code":"43",
"des":"This API is used to add a custom tag to an image. With tags, you can manage easily the images.PUT /v2/images/{image_id}/tags/{tag}Table 1 lists the parameters in the URI.",
"doc_type":"api",
"kw":"Adding a Tag (Native OpenStack API),Image Tagging (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Adding a Tag (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0020091553.html",
+ "node_id":"en-us_topic_0020091553.xml",
"product_code":"ims",
"code":"44",
"des":"This API is used to delete a custom tag from a private image.DELETE /v2/images/{image_id}/tags/{tag}Table 1 lists the parameters in the URI.Parameter descriptionParameter",
"doc_type":"api",
"kw":"Deleting a Tag (Native OpenStack API),Image Tagging (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Deleting a Tag (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0020091554.html",
+ "node_id":"en-us_topic_0020091554.xml",
"product_code":"ims",
"code":"45",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Schema (Native OpenStack APIs)",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Schema (Native OpenStack APIs)",
"githuburl":""
},
{
"uri":"en-us_topic_0020091555.html",
+ "node_id":"en-us_topic_0020091555.xml",
"product_code":"ims",
"code":"46",
- "des":"This API is used to query the image schema, which allows you to view image attributes and their data types.GET /v2/schemas/imageRequest parametersNoneNoneExample requestG",
+ "des":"This API is used to query the image schema, which allows you to view image attributes and their data types.GET /v2/schemas/imageRequest parametersNoneQuerying an image sc",
"doc_type":"api",
"kw":"Querying an Image Schema (Native OpenStack API),Image Schema (Native OpenStack APIs),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying an Image Schema (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0020091556.html",
+ "node_id":"en-us_topic_0020091556.xml",
"product_code":"ims",
"code":"47",
"des":"This API is used to query an image list schema, which allows you to know details about and the data structure of the image list.GET /v2/schemas/imagesRequest parametersNo",
"doc_type":"api",
"kw":"Querying an Image List Schema (Native OpenStack API),Image Schema (Native OpenStack APIs),API Refere",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying an Image List Schema (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0049147876.html",
+ "node_id":"en-us_topic_0049147876.xml",
"product_code":"ims",
"code":"48",
- "des":"This API is used to query an image member schema, which allows you to view image member attributes and their data types.GET /v2/schemas/memberRequest parametersNoneNoneEx",
+ "des":"This API is used to query an image sharing member schema, which allows you to view image sharing member attributes and their data types.GET /v2/schemas/memberRequest para",
"doc_type":"api",
- "kw":"Querying an Image Member Schema (Native OpenStack API),Image Schema (Native OpenStack APIs),API Refe",
- "title":"Querying an Image Member Schema (Native OpenStack API)",
+ "kw":"Querying a Schema for an Image Sharing Member (Native OpenStack API),Image Schema (Native OpenStack ",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Querying a Schema for an Image Sharing Member (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0049147877.html",
+ "node_id":"en-us_topic_0049147877.xml",
"product_code":"ims",
"code":"49",
- "des":"This API is used to query an image member list schema, which allows you to view image member attributes and their data types.GET /v2/schemas/membersRequest parametersNone",
+ "des":"This API is used to query an image sharing member list schema, which allows you to view image sharing member attributes and their data types.GET /v2/schemas/membersReques",
"doc_type":"api",
- "kw":"Querying an Image Member List Schema (Native OpenStack API),Image Schema (Native OpenStack APIs),API",
- "title":"Querying an Image Member List Schema (Native OpenStack API)",
+ "kw":"Querying a Schema for an Image Sharing Member List (Native OpenStack API),Image Schema (Native OpenS",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Querying a Schema for an Image Sharing Member List (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0122410336.html",
+ "node_id":"en-us_topic_0122410336.xml",
"product_code":"ims",
"code":"50",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Sharing (Native OpenStack APIs)",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Sharing (Native OpenStack APIs)",
"githuburl":""
},
{
"uri":"en-us_topic_0036994317.html",
+ "node_id":"en-us_topic_0036994317.xml",
"product_code":"ims",
"code":"51",
- "des":"This API is used to add a project ID of a tenant with whom the image is to be shared.For an encrypted image, you need to authorize the key used by the image before adding",
+ "des":"This API is used to add a project ID of a tenant the image is to be shared with.For an encrypted image, you need to authorize the key used by the image before using this ",
"doc_type":"api",
- "kw":"Adding an Image Member (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Reference",
- "title":"Adding an Image Member (Native OpenStack API)",
+ "kw":"Adding an Image Sharing Member (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Refe",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Adding an Image Sharing Member (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0036994318.html",
+ "node_id":"en-us_topic_0036994318.xml",
"product_code":"ims",
"code":"52",
"des":"This API is used to update the image sharing status when a tenant accepts or rejects a shared image.PUT /v2/images/{image_id}/members/{member_id}Table 1 lists the paramet",
"doc_type":"api",
- "kw":"Updating the Image Sharing Status in Batches (Native OpenStack API),Image Sharing (Native OpenStack ",
- "title":"Updating the Image Sharing Status in Batches (Native OpenStack API)",
+ "kw":"Updating the Image Sharing Status (Native OpenStack API),Image Sharing (Native OpenStack APIs),API R",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Updating the Image Sharing Status (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0036994319.html",
+ "node_id":"en-us_topic_0036994319.xml",
"product_code":"ims",
"code":"53",
"des":"This API is used to query details about a tenant with whom the image is shared.GET /v2/images/{image_id}/members/{member_id}Table 1 lists the parameters in the URI.Reques",
"doc_type":"api",
- "kw":"Querying Image Member Details (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Refer",
- "title":"Querying Image Member Details (Native OpenStack API)",
+ "kw":"Querying Image Sharing Member Details (Native OpenStack API),Image Sharing (Native OpenStack APIs),A",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Querying Image Sharing Member Details (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0036994320.html",
+ "node_id":"en-us_topic_0036994320.xml",
"product_code":"ims",
"code":"54",
"des":"This API is used to query the tenants with whom an image is shared using search criteria and to display the tenants in a list.GET /v2/images/{image_id}/membersTable 1 lis",
"doc_type":"api",
- "kw":"Querying Image Members (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Reference",
- "title":"Querying Image Members (Native OpenStack API)",
+ "kw":"Querying Image Sharing Members (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Refe",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Querying Image Sharing Members (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0036994321.html",
+ "node_id":"en-us_topic_0036994321.xml",
"product_code":"ims",
"code":"55",
"des":"This API is used to stop image sharing by deleting the tenant with whom the image is shared.DELETE /v2/images/{image_id}/members/{member_id}Table 1 lists the parameters i",
"doc_type":"api",
- "kw":"Deleting an Image Member (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Reference",
- "title":"Deleting an Image Member (Native OpenStack API)",
+ "kw":"Deleting an Image Sharing Member (Native OpenStack API),Image Sharing (Native OpenStack APIs),API Re",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
+ "title":"Deleting an Image Sharing Member (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0170918587.html",
+ "node_id":"en-us_topic_0170918587.xml",
"product_code":"ims",
"code":"56",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"API Version Query (Native OpenStack API)",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"API Version Query (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0066978719.html",
+ "node_id":"en-us_topic_0066978719.xml",
"product_code":"ims",
"code":"57",
- "des":"This API is used to query API versions, such as version compatibility and domain name information of APIs.GET /Request parametersNoneNoneExample requestGET https://{Endpo",
+ "des":"This API is used to query API versions, such as version compatibility and domain name information of APIs.GET /Request parametersNoneNoneQuerying API versionsResponse par",
"doc_type":"api",
"kw":"Querying API Versions (Native OpenStack API),API Version Query (Native OpenStack API),API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying API Versions (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0170918588.html",
+ "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",
"doc_type":"api",
"kw":"Querying an API Version (Native OpenStack API),API Version Query (Native OpenStack API),API Referenc",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Querying an API Version (Native OpenStack API)",
"githuburl":""
},
{
"uri":"en-us_topic_0125866389.html",
+ "node_id":"en-us_topic_0125866389.xml",
"product_code":"ims",
"code":"59",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Permission Policies and Supported Actions",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Permission Policies and Supported Actions",
"githuburl":""
},
{
"uri":"en-us_topic_0171654733.html",
+ "node_id":"en-us_topic_0171654733.xml",
"product_code":"ims",
"code":"60",
"des":"This section describes fine-grained permissions management for your IMS. If your account does not need individual IAM users, you may skip over this section.By default, ne",
"doc_type":"api",
"kw":"Introduction,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Introduction",
"githuburl":""
},
{
"uri":"en-us_topic_0125866390.html",
+ "node_id":"en-us_topic_0125866390.xml",
"product_code":"ims",
"code":"61",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Management,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Management",
"githuburl":""
},
{
"uri":"en-us_topic_0125866391.html",
+ "node_id":"en-us_topic_0125866391.xml",
"product_code":"ims",
"code":"62",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Tagging,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Tagging",
"githuburl":""
},
{
"uri":"en-us_topic_0125866392.html",
+ "node_id":"en-us_topic_0125866392.xml",
"product_code":"ims",
"code":"63",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Schema,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Schema",
"githuburl":""
},
{
"uri":"en-us_topic_0125866393.html",
+ "node_id":"en-us_topic_0125866393.xml",
"product_code":"ims",
"code":"64",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Sharing,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Sharing",
"githuburl":""
},
{
"uri":"en-us_topic_0125866394.html",
+ "node_id":"en-us_topic_0125866394.xml",
"product_code":"ims",
"code":"65",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Replication,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Replication",
"githuburl":""
},
{
"uri":"en-us_topic_0125866395.html",
+ "node_id":"en-us_topic_0125866395.xml",
"product_code":"ims",
"code":"66",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Image Quota,Permission Policies and Supported Actions,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Quota",
"githuburl":""
},
{
"uri":"en-us_topic_0135481403.html",
+ "node_id":"en-us_topic_0135481403.xml",
"product_code":"ims",
"code":"67",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Common Parameters",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Common Parameters",
"githuburl":""
},
{
"uri":"en-us_topic_0020091562.html",
+ "node_id":"en-us_topic_0020091562.xml",
"product_code":"ims",
"code":"68",
- "des":"An image is an ECS template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary s",
+ "des":"An image is a template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary softwa",
"doc_type":"api",
"kw":"Image Attributes,Common Parameters,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Attributes",
"githuburl":""
},
{
"uri":"en-us_topic_0020092110.html",
+ "node_id":"en-us_topic_0020092110.xml",
"product_code":"ims",
"code":"69",
"des":"You can attach a custom tag to a private image to facilitate private image management.Data format of tagThe data format is key.value. If a key is added, a tag is added. I",
"doc_type":"api",
"kw":"Image Tag Data Formats,Common Parameters,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Image Tag Data Formats",
"githuburl":""
},
{
"uri":"en-us_topic_0036994316.html",
+ "node_id":"en-us_topic_0036994316.xml",
"product_code":"ims",
"code":"70",
"des":"You can use the image sharing function to share your private images with other users.Images can only be shared within a region.A system disk image or data disk image can ",
"doc_type":"api",
"kw":"Restrictions on Image Sharing,Common Parameters,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Restrictions on Image Sharing",
"githuburl":""
},
{
"uri":"en-us_topic_0031617666.html",
+ "node_id":"en-us_topic_0031617666.xml",
"product_code":"ims",
"code":"71",
"des":"For CoreOS, only the 1010.5.0 and 1068.10.0 versions are supported and it must have coreos-cloudinit installed. The automatic system upgrade may make ECSs created using t",
"doc_type":"api",
"kw":"Values of Related Parameters,Common Parameters,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Values of Related Parameters",
"githuburl":""
},
{
"uri":"en-us_topic_0121643825.html",
+ "node_id":"en-us_topic_0121643825.xml",
"product_code":"ims",
"code":"72",
"des":"NormalReturned ValueDescription200 OKThe results of GET and PUT operations are returned as expected.201 CreatedThe results of the POST operation are returned as expected.",
"doc_type":"api",
"kw":"Status Codes,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Status Codes",
"githuburl":""
},
{
"uri":"en-us_topic_0022473689.html",
+ "node_id":"en-us_topic_0022473689.xml",
"product_code":"ims",
"code":"73",
"des":"If the returned status code is 400, a customized error message will be returned. This section describes the meaning of each status code.",
"doc_type":"api",
"kw":"Error Codes,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Error Codes",
"githuburl":""
},
{
"uri":"en-us_topic_0024735403.html",
+ "node_id":"en-us_topic_0024735403.xml",
"product_code":"ims",
"code":"74",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"api",
"kw":"Change History,API Reference",
+ "search_title":"",
+ "metedata":[
+ {
+ "documenttype":"api",
+ "prodname":"ims",
+ "opensource":"true"
+ }
+ ],
"title":"Change History",
"githuburl":""
}
diff --git a/docs/ims/api-ref/CLASS.TXT.json b/docs/ims/api-ref/CLASS.TXT.json
index c16a77f73..c7c076f79 100644
--- a/docs/ims/api-ref/CLASS.TXT.json
+++ b/docs/ims/api-ref/CLASS.TXT.json
@@ -36,7 +36,7 @@
"code":"4"
},
{
- "desc":"This API is used to modify image attributes and update image information.Only information of images in active status can be changed.PATCH /v2/cloudimages/{image_id}Table ",
+ "desc":"This API is used to update image information.Only active images can be updated.PATCH /v2/cloudimages/{image_id}Table 1 lists the parameters in the URI.Request parametersP",
"product_code":"ims",
"title":"Updating Image Information",
"uri":"en-us_topic_0020091567.html",
@@ -90,7 +90,7 @@
"code":"10"
},
{
- "desc":"This is an extension API and used to export a private image to an OBS bucket.Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.T",
+ "desc":"This is an extension API and used to export a private image to an OBS bucket.Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.A",
"product_code":"ims",
"title":"Exporting an Image",
"uri":"en-us_topic_0036994315.html",
@@ -189,9 +189,9 @@
"code":"21"
},
{
- "desc":"This API is an extension one and used to stop sharing images by deleting tenants with whom the image is shared in batches.This API is an asynchronous one. If job_id is re",
+ "desc":"This API is an extension one and used to stop sharing images by deleting tenants the image is shared with.This API is an asynchronous one. If job_id is returned, the task",
"product_code":"ims",
- "title":"Deleting Image Members in Batches",
+ "title":"Deleting Image Sharing Members",
"uri":"en-us_topic_0036994324.html",
"doc_type":"api",
"p_code":"21",
@@ -200,7 +200,7 @@
{
"desc":"This API is an extension one and used to share more than one image with multiple tenants.This API is an asynchronous one. If job_id is returned, the task is successfully ",
"product_code":"ims",
- "title":"Adding Image Members in Batches",
+ "title":"Adding Image Sharing Members",
"uri":"en-us_topic_0036994322.html",
"doc_type":"api",
"p_code":"21",
@@ -209,7 +209,7 @@
{
"desc":"This API is an extension one and used to update the image sharing status after the tenant accepts or rejects the shared images.This API is an asynchronous one. If job_id ",
"product_code":"ims",
- "title":"Updating the Status of Image Members in Batches",
+ "title":"Updating the Sharing Status for Images",
"uri":"en-us_topic_0036994323.html",
"doc_type":"api",
"p_code":"21",
@@ -243,7 +243,7 @@
"code":"27"
},
{
- "desc":"This extension API is used to query the quota of private images of a tenant in the current region.GET /v1/cloudimages/quotaRequest parametersNoneNoneExample requestGET ht",
+ "desc":"This extension API is used to query the quota of private images of a tenant in the current region.GET /v1/cloudimages/quotaRequest parametersNoneQuerying the image quotaR",
"product_code":"ims",
"title":"Querying the Image Quota",
"uri":"en-us_topic_0093967372.html",
@@ -263,7 +263,7 @@
{
"desc":"This is an extension API. It is used to query for the execution status of an asynchronous job, for example, querying for the execution status of an image exporting job.GE",
"product_code":"ims",
- "title":"Asynchronous Job Query",
+ "title":"Querying the Status of an Asynchronous Job",
"uri":"en-us_topic_0022473688.html",
"doc_type":"api",
"p_code":"29",
@@ -297,7 +297,7 @@
"code":"33"
},
{
- "desc":"This API is used to query details about a public or private image.GET /v2/images/{image_id}Table 1 lists the parameters.Parameter descriptionParameterMandatoryTypeDescrip",
+ "desc":"This API is used to query details about a public or private image.GET /v2/images/{image_id}Table 1 lists the parameters in the URI.Parameter descriptionParameterMandatory",
"product_code":"ims",
"title":"Querying Image Details (Native OpenStack API)",
"uri":"en-us_topic_0020091566.html",
@@ -405,7 +405,7 @@
"code":"45"
},
{
- "desc":"This API is used to query the image schema, which allows you to view image attributes and their data types.GET /v2/schemas/imageRequest parametersNoneNoneExample requestG",
+ "desc":"This API is used to query the image schema, which allows you to view image attributes and their data types.GET /v2/schemas/imageRequest parametersNoneQuerying an image sc",
"product_code":"ims",
"title":"Querying an Image Schema (Native OpenStack API)",
"uri":"en-us_topic_0020091555.html",
@@ -423,18 +423,18 @@
"code":"47"
},
{
- "desc":"This API is used to query an image member schema, which allows you to view image member attributes and their data types.GET /v2/schemas/memberRequest parametersNoneNoneEx",
+ "desc":"This API is used to query an image sharing member schema, which allows you to view image sharing member attributes and their data types.GET /v2/schemas/memberRequest para",
"product_code":"ims",
- "title":"Querying an Image Member Schema (Native OpenStack API)",
+ "title":"Querying a Schema for an Image Sharing Member (Native OpenStack API)",
"uri":"en-us_topic_0049147876.html",
"doc_type":"api",
"p_code":"45",
"code":"48"
},
{
- "desc":"This API is used to query an image member list schema, which allows you to view image member attributes and their data types.GET /v2/schemas/membersRequest parametersNone",
+ "desc":"This API is used to query an image sharing member list schema, which allows you to view image sharing member attributes and their data types.GET /v2/schemas/membersReques",
"product_code":"ims",
- "title":"Querying an Image Member List Schema (Native OpenStack API)",
+ "title":"Querying a Schema for an Image Sharing Member List (Native OpenStack API)",
"uri":"en-us_topic_0049147877.html",
"doc_type":"api",
"p_code":"45",
@@ -450,9 +450,9 @@
"code":"50"
},
{
- "desc":"This API is used to add a project ID of a tenant with whom the image is to be shared.For an encrypted image, you need to authorize the key used by the image before adding",
+ "desc":"This API is used to add a project ID of a tenant the image is to be shared with.For an encrypted image, you need to authorize the key used by the image before using this ",
"product_code":"ims",
- "title":"Adding an Image Member (Native OpenStack API)",
+ "title":"Adding an Image Sharing Member (Native OpenStack API)",
"uri":"en-us_topic_0036994317.html",
"doc_type":"api",
"p_code":"50",
@@ -461,7 +461,7 @@
{
"desc":"This API is used to update the image sharing status when a tenant accepts or rejects a shared image.PUT /v2/images/{image_id}/members/{member_id}Table 1 lists the paramet",
"product_code":"ims",
- "title":"Updating the Image Sharing Status in Batches (Native OpenStack API)",
+ "title":"Updating the Image Sharing Status (Native OpenStack API)",
"uri":"en-us_topic_0036994318.html",
"doc_type":"api",
"p_code":"50",
@@ -470,7 +470,7 @@
{
"desc":"This API is used to query details about a tenant with whom the image is shared.GET /v2/images/{image_id}/members/{member_id}Table 1 lists the parameters in the URI.Reques",
"product_code":"ims",
- "title":"Querying Image Member Details (Native OpenStack API)",
+ "title":"Querying Image Sharing Member Details (Native OpenStack API)",
"uri":"en-us_topic_0036994319.html",
"doc_type":"api",
"p_code":"50",
@@ -479,7 +479,7 @@
{
"desc":"This API is used to query the tenants with whom an image is shared using search criteria and to display the tenants in a list.GET /v2/images/{image_id}/membersTable 1 lis",
"product_code":"ims",
- "title":"Querying Image Members (Native OpenStack API)",
+ "title":"Querying Image Sharing Members (Native OpenStack API)",
"uri":"en-us_topic_0036994320.html",
"doc_type":"api",
"p_code":"50",
@@ -488,7 +488,7 @@
{
"desc":"This API is used to stop image sharing by deleting the tenant with whom the image is shared.DELETE /v2/images/{image_id}/members/{member_id}Table 1 lists the parameters i",
"product_code":"ims",
- "title":"Deleting an Image Member (Native OpenStack API)",
+ "title":"Deleting an Image Sharing Member (Native OpenStack API)",
"uri":"en-us_topic_0036994321.html",
"doc_type":"api",
"p_code":"50",
@@ -504,7 +504,7 @@
"code":"56"
},
{
- "desc":"This API is used to query API versions, such as version compatibility and domain name information of APIs.GET /Request parametersNoneNoneExample requestGET https://{Endpo",
+ "desc":"This API is used to query API versions, such as version compatibility and domain name information of APIs.GET /Request parametersNoneNoneQuerying API versionsResponse par",
"product_code":"ims",
"title":"Querying API Versions (Native OpenStack API)",
"uri":"en-us_topic_0066978719.html",
@@ -603,7 +603,7 @@
"code":"67"
},
{
- "desc":"An image is an ECS template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary s",
+ "desc":"An image is a template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary softwa",
"product_code":"ims",
"title":"Image Attributes",
"uri":"en-us_topic_0020091562.html",
diff --git a/docs/ims/api-ref/en-us_topic_0000001311190309.html b/docs/ims/api-ref/en-us_topic_0000001311190309.html
index 3e871c6b3..01075ae62 100644
--- a/docs/ims/api-ref/en-us_topic_0000001311190309.html
+++ b/docs/ims/api-ref/en-us_topic_0000001311190309.html
@@ -8,7 +8,7 @@
diff --git a/docs/ims/api-ref/en-us_topic_0020091553.html b/docs/ims/api-ref/en-us_topic_0020091553.html
index dc234b9c4..463ca1c31 100644
--- a/docs/ims/api-ref/en-us_topic_0020091553.html
+++ b/docs/ims/api-ref/en-us_topic_0020091553.html
@@ -39,9 +39,11 @@
-Request
+
Request
Request parameters
+
None
+
+
Example Request
Deleting an image tag
+
DELETE https://{Endpoint}/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90/tags/aaaa
Response
- Response parameters
None
- Example response
STATUS CODE 204
@@ -49,40 +51,40 @@
Returned Values
- Normal
204
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error.
+ | Request error.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020091554.html b/docs/ims/api-ref/en-us_topic_0020091554.html
index 46cda8a2c..5bb4805d9 100644
--- a/docs/ims/api-ref/en-us_topic_0020091554.html
+++ b/docs/ims/api-ref/en-us_topic_0020091554.html
@@ -8,9 +8,9 @@
- Querying an Image List Schema (Native OpenStack API)
-- Querying an Image Member Schema (Native OpenStack API)
+ - Querying a Schema for an Image Sharing Member (Native OpenStack API)
-- Querying an Image Member List Schema (Native OpenStack API)
+ - Querying a Schema for an Image Sharing Member List (Native OpenStack API)
diff --git a/docs/ims/api-ref/en-us_topic_0020091555.html b/docs/ims/api-ref/en-us_topic_0020091555.html
index 44bbfeaae..0dd2872bf 100644
--- a/docs/ims/api-ref/en-us_topic_0020091555.html
+++ b/docs/ims/api-ref/en-us_topic_0020091555.html
@@ -5,47 +5,49 @@
-Request
+ RequestRequest parameters
+ None
+
+ Example RequestQuerying an image schema
+ GET https://{Endpoint}/v2/schemas/image
Response- Response parameters
-
Parameter
+Parameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-additionalProperties
+ | additionalProperties
|
-Object
+ | Object
|
-Specifies the additional attributes.
+ | Specifies the additional attributes.
For details, see Table 1.
|
-name
+ | name
|
-String
+ | String
|
-Specifies the schema name.
+ | Specifies the schema name.
|
-links
+ | links
|
-Array of objects
+ | Array of objects
|
-Specifies the URL for accessing the schema.
+ | Specifies the URL for accessing the schema.
For details, see Table 2.
|
-properties
+ | properties
|
-Object
+ | Object
|
-Describes basic image attributes, including the type and usage of each attribute.
+ | Describes basic image attributes, including the type and usage of each attribute.
For details about the parameters, see Image Attributes.
|
@@ -53,477 +55,476 @@
-Table 1 Data structure description of the additionalProperties fieldParameter
+Table 1 Data structure description of the additionalProperties fieldParameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-type
+ | type
|
-String
+ | String
|
-Type
+ | Type
|
-Table 2 Data structure description of the links fieldParameter
+Table 2 Data structure description of the links fieldParameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-href
+ | href
|
-String
+ | String
|
-Specifies the domain name.
+ | Specifies the domain name.
|
-rel
+ | rel
|
-String
+ | String
|
-Specifies the domain name description.
+ | Specifies the domain name description.
|
- Example response
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)"
- }
- }
+ 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)"
+ }
+ }
}
- |
-
-
+
+ |
Returned Values- Normal
200
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error.
+ | Request error.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020091556.html b/docs/ims/api-ref/en-us_topic_0020091556.html
index 873eff589..a474f6dff 100644
--- a/docs/ims/api-ref/en-us_topic_0020091556.html
+++ b/docs/ims/api-ref/en-us_topic_0020091556.html
@@ -5,39 +5,41 @@
URIGET /v2/schemas/images
-Request
+ RequestRequest parameters
+ None
+
+ Example RequestQuerying an image list schema
+ GET https://{Endpoint}/v2/schemas/images
Response- Response parameters
-
Parameter
+Parameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-name
+ | name
|
-String
+ | String
|
-Specifies the schema name.
+ | Specifies the schema name.
|
-links
+ | links
|
-Array of objects
+ | Array of objects
|
-Specifies the URL for accessing the schema.
+ | Specifies the URL for accessing the schema.
For details, see Table 1.
|
-properties
+ | properties
|
-Object
+ | Object
|
-Describes basic image attributes, including the type and usage of each attribute.
+ | Describes basic image attributes, including the type and usage of each attribute.
For details about the parameters, see Image Attributes.
|
@@ -45,520 +47,519 @@
-Table 1 Data structure description of the links fieldParameter
+Table 1 Data structure description of the links fieldParameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-href
+ | href
|
-String
+ | String
|
-Specifies the domain name.
+ | Specifies the domain name.
|
-rel
+ | rel
|
-String
+ | String
|
-Specifies the domain name description.
+ | Specifies the domain name description.
|
- Example response
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"
- }
- }
+ 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"
+ }
+ }
}
- |
-
-
+
+ |
Returned Values- Normal
200
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error.
+ | Request error.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020091562.html b/docs/ims/api-ref/en-us_topic_0020091562.html
index d576aae58..0d01df4e1 100644
--- a/docs/ims/api-ref/en-us_topic_0020091562.html
+++ b/docs/ims/api-ref/en-us_topic_0020091562.html
@@ -1,7 +1,7 @@
Image Attributes
-DescriptionAn image is an ECS template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary software. Image is the core object of IMS.
+ DescriptionAn image is a template containing mandatory software, such as an OS. The template may also contain application software, such as database software, and proprietary software. Image is the core object of IMS.
Image Attributes
Name
@@ -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,15 +327,15 @@
| 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
|
String
|
-Specifies whether the image supports ECSs with the InfiniBand NIC 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.
|
__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 d4f7aa29e..02b6e2a6e 100644
--- a/docs/ims/api-ref/en-us_topic_0020091565.html
+++ b/docs/ims/api-ref/en-us_topic_0020091565.html
@@ -145,7 +145,7 @@
|
Integer
|
-Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.
+ | Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1,024 GB.
|
__os_bit
@@ -163,7 +163,7 @@
|
String
|
-Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
+ | Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, CoreOS, EulerOS, or Other.
|
marker
@@ -181,7 +181,7 @@
|
Integer
|
-Specifies the number of images to be queried. The value is an integer and is 500 by default.
+ | Specifies the number of images that will be returned. The value is an integer and is 500 by default.
|
sort_key
@@ -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.
|
@@ -267,7 +267,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.
+ | 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
@@ -313,8 +313,8 @@
|
String
|
-Specifies whether the image supports ECSs with the InfiniBand NIC 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.
|
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:
- gt: greater than
- gte: greater than or equal to
- lt: less than
- lte: less than or equal to
- eq: equal to
- neq: not equal to
The time format is yyyy-MM-ddThh:mm:ssZ or yyyy-MM-dd hh:mm:ss.
@@ -370,9 +370,11 @@
|
- Request
+ RequestRequest parameters
+ None
+
+ Example RequestQuerying public images (the results will be sorted by image name and only one image will be returned)
+ GET https://{Endpoint}/v2/cloudimages?__imagetype=gold&sort_key=name&limit=1
Response- Response parameters
-
Parameter
+Parameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-images
+ | images
|
-Array of objects
+ | Array of objects
|
-Specifies image details.
+ | Specifies image details.
For details, see Table 2.
|
@@ -402,581 +404,580 @@
-Table 2 Data structure description of the images fieldParameter
+Table 2 Data structure description of the images fieldParameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-file
+ | file
|
-String
+ | String
|
-Specifies the URL for uploading and downloading the image file.
+ | Specifies the URL for uploading and downloading the image file.
|
-owner
+ | owner
|
-String
+ | String
|
-Specifies the tenant to which the image belongs.
+ | Specifies the tenant to which the image belongs.
|
-id
+ | id
|
-String
+ | String
|
-Specifies the image ID.
+ | Specifies the image ID.
|
-size
+ | size
|
-Long
+ | Long
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-self
+ | self
|
-String
+ | String
|
-Specifies the image URL.
+ | Specifies the image URL.
|
-schema
+ | schema
|
-String
+ | String
|
-Specifies the image schema.
+ | Specifies the image schema.
|
-status
+ | status
|
-String
+ | String
|
-Specifies the image status. The value can be one of the following:
-- queued: indicates that the image metadata has already been created, and it is ready for the image file to upload.
- saving: indicates that the image file is being uploaded to the backend storage.
- deleted: indicates that the image has been deleted.
- killed: indicates that an error occurs on the image uploading.
- active: indicates that the image is available for use.
+ | Specifies the image status. The value can be one of the following:
+- queued: indicates that the image metadata has already been created, and it is ready for the image file to upload.
- saving: indicates that the image file is being uploaded to the backend storage.
- deleted: indicates that the image has been deleted.
- killed: indicates that an error occurs on the image uploading.
- active: indicates that the image is available for use.
|
-tags
+ | tags
|
-Array of strings
+ | Array of strings
|
-Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
+ | Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
|
-visibility
+ | visibility
|
-String
+ | String
|
-Specifies whether the image is available to other tenants. Available values include:
+ | Specifies whether the image is available to other tenants. Available values include:
- private: private image
- public: public image
- shared: shared image
|
-name
+ | name
|
-String
+ | String
|
-Specifies the image name. For detailed description, see Image Attributes.
+ | Specifies the image name. For detailed description, see Image Attributes.
|
-checksum
+ | checksum
|
-String
+ | String
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-protected
+ | protected
|
-Boolean
+ | Boolean
|
-Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
+ | Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
|
-container_format
+ | container_format
|
-String
+ | String
|
-Specifies the container type.
+ | Specifies the container type.
|
-min_ram
+ | min_ram
|
-Integer
+ | Integer
|
-Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. Generally, the value is 0.
+ | Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. Generally, the value is 0.
|
-max_ram
+ | max_ram
|
-String
+ | String
|
-Specifies the maximum memory (MB) of the image. You can set this parameter based on the ECS specifications. Generally, you do not need to set this parameter.
+ | Specifies the maximum memory (MB) of the image. You can set this parameter based on the ECS specifications. Generally, you do not need to set this parameter.
|
-updated_at
+ | updated_at
|
-String
+ | String
|
-Specifies the time when the image was updated. The value is in UTC format.
+ | Specifies the time when the image was updated. The value is in UTC format.
|
-__os_bit
+ | __os_bit
|
-String
+ | String
|
-Specifies the OS architecture, 32 bit or 64 bit.
+ | Specifies the OS architecture, 32 bit or 64 bit.
|
-__os_version
+ | __os_version
|
-String
+ | String
|
-Specifies the OS version.
+ | Specifies the OS version.
|
-__description
+ | __description
|
-String
+ | String
|
-Specifies the image description. For detailed description, see Image Attributes.
+ | Provides supplementary information about the image. For detailed description, see Image Attributes.
|
-disk_format
+ | disk_format
|
-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
+ | __isregistered
|
-String
+ | String
|
-Specifies whether the image has been registered. The value can be true or false.
+ | Specifies whether the image has been registered. The value can be true or false.
|
-__platform
+ | __platform
|
-String
+ | String
|
-Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
+ | Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
|
-__os_type
+ | __os_type
|
-String
+ | String
|
-Specifies the OS type. The value can be Linux, Windows, or Other.
+ | Specifies the OS type. The value can be Linux, Windows, or Other.
|
-min_disk
+ | min_disk
|
-Integer
+ | Integer
|
-Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.
+ | Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1,024 GB.
|
-virtual_env_type
+ | virtual_env_type
|
-String
+ | String
|
-Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
+ | Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
- For an ECS image, the value is FusionCompute.
- For a data disk image, the value is DataImage.
- For a BMS image, the value is Ironic.
- For an ISO image, the value is IsoImage.
|
-__image_source_type
+ | __image_source_type
|
-String
+ | String
|
-Specifies the image backend storage type. Only UDS is supported currently.
+ | Specifies the image backend storage type. Only UDS is supported currently.
|
-__imagetype
+ | __imagetype
|
-String
+ | String
|
-Specifies the image type. The following types are supported:
-- Public image: The value is gold.
- Private image: The value is private.
- Shared image: The value is shared.
+ | Specifies the image type. The following types are supported:
+- Public image: The value is gold.
- Private image: The value is private.
- Shared image: The value is shared.
|
-created_at
+ | created_at
|
-String
+ | String
|
-Specifies the time when the image was created. The value is in UTC format.
+ | Specifies the time when the image was created. The value is in UTC format.
|
-virtual_size
+ | virtual_size
|
-Integer
+ | Integer
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-__originalimagename
+ | __originalimagename
|
-String
+ | String
|
-Specifies the parent image ID.
+ | Specifies the parent image ID.
If the image is a public image or created from an image file, this value is left empty.
|
-__backup_id
+ | __backup_id
|
-String
+ | String
|
-Specifies the backup ID. To create an image using a backup, set the value to the backup ID. Otherwise, this value is left empty.
+ | Specifies the backup ID. To create an image using a backup, set the value to the backup ID. Otherwise, this value is left empty.
|
-__image_size
+ | __image_size
|
-String
+ | String
|
-Specifies the size (bytes) of the image file.
+ | Specifies the size (bytes) of the image file.
|
-__data_origin
+ | __data_origin
|
-String
+ | String
|
-Specifies the image source.
+ | Specifies the image source.
If the image is a public image, this parameter is left empty.
|
-__lazyloading
+ | __lazyloading
|
-String
+ | String
|
-Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
+ | Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
|
-active_at
+ | active_at
|
-String
+ | String
|
-Specifies the time when the image status became active.
+ | Specifies the time when the image status became active.
|
-__os_feature_list
+ | __os_feature_list
|
-String
+ | String
|
-Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
+ | Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
|
-__support_kvm
+ | __support_kvm
|
-String
+ | 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
+ | __support_xen
|
-String
+ | 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
+ | __support_largememory
|
-String
+ | 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
+ | __support_diskintensive
|
-String
+ | 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
+ | __support_highperformance
|
-String
+ | 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
+ | __support_xen_gpu_type
|
-String
+ | 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
+ | __support_kvm_gpu_type
|
-String
+ | 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
+ | __support_xen_hana
|
-String
+ | 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
+ | __support_kvm_infiniband
|
-String
+ | String
|
-Specifies whether the image supports ECSs with the InfiniBand NIC 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
+ | enterprise_project_id
|
-String
+ | String
|
-Specifies the enterprise project that the image belongs to.
+ | Specifies the enterprise project that the image belongs to.
|
-__root_origin
+ | __root_origin
|
-String
+ | String
|
-Specifies that the image is created from an external image file. Value: file
+ | Specifies that the image is created from an external image file. Value: file
|
-__sequence_num
+ | __sequence_num
|
-String
+ | String
|
-Specifies the ECS system disk slot number corresponding to the image.
+ | Specifies the ECS system disk slot number of the image.
Example value: 0
|
-__support_fc_inject
+ | __support_fc_inject
|
-String
+ | String
|
-Specifies whether the image supports password/private key injection using Cloud-Init.
+ | 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.
NOTE: This parameter is valid only for ECS system disk images.
|
-hw_firmware_type
+ | hw_firmware_type
|
-String
+ | String
|
-Specifies the ECS boot mode. Available values include:
+ | Specifies the ECS boot mode. Available values include:
- bios indicates the BIOS boot mode.
- uefi indicates the UEFI boot mode.
|
-hw_vif_multiqueue_enabled
+ | hw_vif_multiqueue_enabled
|
-String
+ | String
|
-Specifies whether the image supports NIC multi-queue. The value can be true or false.
+ | Specifies whether the image supports NIC multi-queue. The value can be true or false.
|
-__system__cmkid
+ | __system__cmkid
|
-String
+ | String
|
-Specifies the ID of the key used to encrypt the image.
+ | Specifies the ID of the key used to encrypt the image.
|
-__support_amd
+ | __support_amd
|
-String
+ | 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.
|
- Example response
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"
- }
- ]
+ 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"
+ }
+ ]
}
- |
-
-
+
+ |
Returned Values- Normal
200
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error. For details about the returned error code, see Error Codes.
+ | Request error. For details about the returned error code, see Error Codes.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020091566.html b/docs/ims/api-ref/en-us_topic_0020091566.html
index e4be5f11e..a0fafc2b4 100644
--- a/docs/ims/api-ref/en-us_topic_0020091566.html
+++ b/docs/ims/api-ref/en-us_topic_0020091566.html
@@ -4,7 +4,7 @@
FunctionThis API is used to query details about a public or private image.
URIGET /v2/images/{image_id}
- Table 1 lists the parameters.
+ Table 1 lists the parameters in the URI.
Table 1 Parameter descriptionParameter
|
Mandatory
@@ -29,525 +29,526 @@
-Request
+ RequestRequest parameters
+ None
+
+ Example RequestQuerying details of an image
+ GET https://{Endpoint}/v2/images/33ad552d-1149-471c-8190-ff6776174a00
Response- Response parameters
-
Parameter
+Parameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-file
+ | file
|
-String
+ | String
|
-Specifies the URL for uploading and downloading the image file.
+ | Specifies the URL for uploading and downloading the image file.
|
-owner
+ | owner
|
-String
+ | String
|
-Specifies the tenant to which the image belongs.
+ | Specifies the tenant to which the image belongs.
|
-id
+ | id
|
-String
+ | String
|
-Specifies the image ID.
+ | Specifies the image ID.
|
-size
+ | size
|
-Long
+ | Long
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-self
+ | self
|
-String
+ | String
|
-Specifies the image URL.
+ | Specifies the image URL.
|
-schema
+ | schema
|
-String
+ | String
|
-Specifies the image schema.
+ | Specifies the image schema.
|
-status
+ | status
|
-String
+ | String
|
-Specifies the image status. The value can be one of the following:
+ | Specifies the image status. The value can be one of the following:
- queued: indicates that the image metadata has already been created, and it is ready for the image file to upload.
- saving: indicates that the image file is being uploaded to the backend storage.
- deleted: indicates that the image has been deleted.
- killed: indicates that an error occurs on the image uploading.
- active: indicates that the image is available for use.
|
-tags
+ | tags
|
-Array of strings
+ | Array of strings
|
-Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
+ | Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
|
-visibility
+ | visibility
|
-String
+ | String
|
-Specifies whether the image is available to other tenants. Available values include:
+ | Specifies whether the image is available to other tenants. Available values include:
- private: private image
- public: public image
- shared: shared image
|
-name
+ | name
|
-String
+ | String
|
-Specifies the image name. For detailed description, see Image Attributes.
+ | Specifies the image name. For detailed description, see Image Attributes.
|
-checksum
+ | checksum
|
-String
+ | String
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-protected
+ | protected
|
-Boolean
+ | Boolean
|
-Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
+ | Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
|
-container_format
+ | container_format
|
-String
+ | String
|
-Specifies the container type.
+ | Specifies the container type.
|
-min_ram
+ | min_ram
|
-Integer
+ | Integer
|
-Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. Generally, the value is 0.
+ | Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. Generally, the value is 0.
|
-max_ram
+ | max_ram
|
-String
+ | String
|
-Specifies the maximum memory (MB) of the image. You can set this parameter based on the ECS specifications. Generally, you do not need to set this parameter.
+ | Specifies the maximum memory (MB) of the image. You can set this parameter based on the ECS specifications. Generally, you do not need to set this parameter.
|
-updated_at
+ | updated_at
|
-String
+ | String
|
-Specifies the time when the image was updated. The value is in UTC format.
+ | Specifies the time when the image was updated. The value is in UTC format.
|
-__os_bit
+ | __os_bit
|
-String
+ | String
|
-Specifies the OS architecture, 32 bit or 64 bit.
+ | Specifies the OS architecture, 32 bit or 64 bit.
|
-__os_version
+ | __os_version
|
-String
+ | String
|
-Specifies the OS version.
+ | Specifies the OS version.
|
-__description
+ | __description
|
-String
+ | String
|
-Specifies the image description. For detailed description, see Image Attributes.
+ | Specifies the image description. For detailed description, see Image Attributes.
|
-disk_format
+ | disk_format
|
-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
+ | __isregistered
|
-String
+ | String
|
-Specifies whether the image has been registered. The value can be true or false.
+ | Specifies whether the image has been registered. The value can be true or false.
|
-__platform
+ | __platform
|
-String
+ | String
|
-Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
+ | Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
|
-__os_type
+ | __os_type
|
-String
+ | String
|
-Specifies the OS type. The value can be Linux, Windows, or Other.
+ | Specifies the OS type. The value can be Linux, Windows, or Other.
|
-__system__cmkid
+ | __system__cmkid
|
-String
+ | String
|
-Specifies the ID of the key used to encrypt the image.
+ | Specifies the ID of the key used to encrypt the image.
|
-min_disk
+ | min_disk
|
-Integer
+ | Integer
|
-Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.
+ | Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1,024 GB.
|
-virtual_env_type
+ | virtual_env_type
|
-String
+ | String
|
-Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
+ | Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
- For an ECS image (system disk image), the value is FusionCompute.
- For a data disk image, the value is DataImage.
- For a BMS image, the value is Ironic.
- For an ISO image, the value is IsoImage.
|
-__image_source_type
+ | __image_source_type
|
-String
+ | String
|
-Specifies the backend storage of the image. Only UDS is supported currently.
+ | Specifies the backend storage of the image. Only UDS is supported currently.
|
-__imagetype
+ | __imagetype
|
-String
+ | String
|
-Specifies the image type. The following types are supported:
+ | Specifies the image type. The following types are supported:
- Public image: The value is gold.
- Private image: The value is private.
- Shared image: The value is shared.
|
-created_at
+ | created_at
|
-String
+ | String
|
-Specifies the time when the image was created. The value is in UTC format.
+ | Specifies the time when the image was created. The value is in UTC format.
|
-virtual_size
+ | virtual_size
|
-Integer
+ | Integer
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-__originalimagename
+ | __originalimagename
|
-String
+ | String
|
-Specifies the parent image ID.
+ | Specifies the parent image ID.
If the image is a public image or created from an image file, this value is left empty.
|
-__backup_id
+ | __backup_id
|
-String
+ | String
|
-Specifies the backup ID. To create an image using a backup, set the value to the backup ID. Otherwise, this value is left empty.
+ | Specifies the backup ID. To create an image using a backup, set the value to the backup ID. Otherwise, this value is left empty.
|
-__image_size
+ | __image_size
|
-String
+ | String
|
-Specifies the size (bytes) of the image file. The value is greater than 0.
+ | Specifies the size (bytes) of the image file. The value is greater than 0.
|
-__data_origin
+ | __data_origin
|
-String
+ | String
|
-Specifies the image source.
+ | Specifies the image source.
If the image is a public image, this parameter is left empty.
|
-__root_origin
+ | __root_origin
|
-String
+ | String
|
-Specifies that the image is created from an external image file. Value: file
+ | Specifies that the image is created from an external image file. Value: file
|
-__lazyloading
+ | __lazyloading
|
-String
+ | String
|
-Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
+ | Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
|
-active_at
+ | active_at
|
-String
+ | String
|
-Specifies the time when the image status became active.
+ | Specifies the time when the image status became active.
|
-__os_feature_list
+ | __os_feature_list
|
-String
+ | String
|
-Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
+ | Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
|
-__sequence_num
+ | __sequence_num
|
-String
+ | String
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-__support_kvm
+ | __support_kvm
|
-String
+ | 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
+ | __support_xen
|
-String
+ | 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
+ | __support_largememory
|
-String
+ | 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.
|
-__support_diskintensive
+ | __support_diskintensive
|
-String
+ | 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
+ | __support_highperformance
|
-String
+ | 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
+ | __support_xen_gpu_type
|
-String
+ | 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 parameter 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 parameter cannot co-exist with __support_xen and __support_kvm.
|
-__support_kvm_gpu_type
+ | __support_kvm_gpu_type
|
-String
+ | 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
+ | __support_xen_hana
|
-String
+ | 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
+ | __support_kvm_infiniband
|
-String
+ | String
|
-Specifies whether the image supports ECSs with the InfiniBand NIC 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.
|
-__support_fc_inject
+ | __support_fc_inject
|
-String
+ | String
|
-Specifies whether the image supports password/private key injection using Cloud-Init. The parameter value can be true or false.
+ | Specifies whether the image supports password/private key injection using Cloud-Init. The parameter value can be true or false.
If the value is set to true, password/private key injection using Cloud-Init is not supported.
NOTE: This parameter is valid only for ECS system disk images.
|
-enterprise_project_id
+ | enterprise_project_id
|
-String
+ | String
|
-Specifies the enterprise project that the image belongs to.
+ | Specifies the enterprise project that the image belongs to.
|
-hw_firmware_type
+ | hw_firmware_type
|
-String
+ | String
|
-Specifies the ECS boot mode. Available values include:
+ | Specifies the ECS boot mode. Available values include:
- bios indicates the BIOS boot mode.
- uefi indicates the UEFI boot mode.
|
-hw_vif_multiqueue_enabled
+ | hw_vif_multiqueue_enabled
|
-String
+ | String
|
-Specifies whether the image supports NIC multi-queue. The value can be true or false.
+ | Specifies whether the image supports NIC multi-queue. The value can be true or false.
|
-__image_location
+ | __image_location
|
-String
+ | String
|
-Specifies the location where the image is stored.
+ | Specifies the location where the image is stored.
|
-__is_config_init
+ | __is_config_init
|
-String
+ | 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
+ | __support_amd
|
-String
+ | 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.
|
- Example response
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"
+ 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"
}
- |
-
-
+
+ |
Returned Values- Normal
200
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error.
+ | Request error.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020091567.html b/docs/ims/api-ref/en-us_topic_0020091567.html
index ec045582a..578e03ce8 100644
--- a/docs/ims/api-ref/en-us_topic_0020091567.html
+++ b/docs/ims/api-ref/en-us_topic_0020091567.html
@@ -1,12 +1,12 @@
Updating Image Information
-FunctionThis API is used to modify image attributes and update image information.
- Only information of images in active status can be changed.
+ FunctionThis API is used to update image information.
+ Only active images can be updated.
URIPATCH /v2/cloudimages/{image_id}
- Table 1 describes the parameters in the URI.
+ Table 1 lists the parameters in the URI.
Table 1 Parameter descriptionParameter
|
@@ -81,8 +81,8 @@
String
|
-Specifies the name of the attribute to be modified. / needs to be added in front of it.
-You can modify the following attributes:
+ | Specifies the name of the attribute to be updated. / needs to be added in front of it.
+You can update the following attributes:
- name: specifies the image name.
- __description: specifies the image description.
- __support_xen: Xen is supported.
- __support_largememory: Ultra-large memory is supported.
- __support_diskintensive: Intensive storage is supported.
- __support_highperformance: High-performance computing (HPC) is supported.
- __support_xen_gpu_type: GPU-accelerated ECSs that use Xen for virtualization are supported.
- __support_kvm_gpu_type: GPU-accelerated ECSs that use KVM for virtualization are supported.
- __support_xen_hana: HANA ECSs that use Xen for virtualization are supported.
- __is_config_init: specifies whether initialization configuration is complete.
- enterprise_project_id: specifies the enterprise project ID.
- min_ram: specifies the minimum memory.
- hw_vif_multiqueue_enabled: The NIC multi-queue feature is supported.
- hw_firmware_type: specifies the boot mode. The value can be bios or uefi.
You can add or delete extension attributes.
|
@@ -98,551 +98,552 @@
-
- - Example request
PATCH https://{Endpoint}/v2/cloudimages/33ad552d-1149-471c-8190-ff6776174a00
- | [
- {
- "op": "replace",
- "path": "/name",
- "value": "ims_test"
- }
-]
- |
-
+ Example RequestChanging an image name to ims_test
+ | PATCH https://{Endpoint}/v2/cloudimages/33ad552d-1149-471c-8190-ff6776174a00
+[
+ {
+ "op": "replace",
+ "path": "/name",
+ "value": "ims_test"
+ }
+]
+
+ |
+
Response- Response parameters
-
Parameter
+Parameter
|
-Type
+ | Type
|
-Description
+ | Description
|
-file
+ | file
|
-String
+ | String
|
-Specifies the URL for uploading and downloading the image file.
+ | Specifies the URL for uploading and downloading the image file.
|
-owner
+ | owner
|
-String
+ | String
|
-Specifies the tenant to which the image belongs.
+ | Specifies the tenant to which the image belongs.
|
-id
+ | id
|
-String
+ | String
|
-Specifies the image ID.
+ | Specifies the image ID.
|
-size
+ | size
|
-Long
+ | Long
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-self
+ | self
|
-String
+ | String
|
-Specifies the image URL.
+ | Specifies the image URL.
|
-schema
+ | schema
|
-String
+ | String
|
-Specifies the image schema.
+ | Specifies the image schema.
|
-status
+ | status
|
-String
+ | String
|
-Specifies the image status. The value can be one of the following:
+ | Specifies the image status. The value can be one of the following:
- queued: indicates that the image metadata has already been created, and it is ready for the image file to upload.
- saving: indicates that the image file is being uploaded to the backend storage.
- deleted: indicates that the image has been deleted.
- killed: indicates that an error occurs on the image uploading.
- active: indicates that the image is available for use.
|
-tags
+ | tags
|
-Array of strings
+ | Array of strings
|
-Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
+ | Specifies tags of the image, through which you can manage private images in your own way. You can use the image tag API to add different tags to each image and filter images by tag.
|
-visibility
+ | visibility
|
-String
+ | String
|
-Specifies whether the image is available to other tenants. The value can be one of the following:
+ | Specifies whether the image is available to other tenants. The value can be one of the following:
- private: private image
- public: public image
- shared: shared image
|
-name
+ | name
|
-String
+ | String
|
-Specifies the image name. For detailed description, see Image Attributes.
+ | Specifies the image name. For detailed description, see Image Attributes.
|
-checksum
+ | checksum
|
-String
+ | String
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-protected
+ | protected
|
-Boolean
+ | Boolean
|
-Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
+ | Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.
|
-container_format
+ | container_format
|
-String
+ | String
|
-Specifies the container type.
+ | Specifies the container type.
|
-min_ram
+ | min_ram
|
-Integer
+ | Integer
|
-Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. The default value is 0.
+ | Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications. The default value is 0.
|
-max_ram
+ | max_ram
|
-String
+ | String
|
-Specifies the maximum memory (MB) of the image. The parameter value depends on the ECS specifications and is not configured by default.
+ | Specifies the maximum memory (MB) of the image. The parameter value depends on the ECS specifications and is not configured by default.
|
-updated_at
+ | updated_at
|
-String
+ | String
|
-Specifies the time when the image was updated. The value is in UTC format.
+ | Specifies the time when the image was updated. The value is in UTC format.
|
-__os_bit
+ | __os_bit
|
-String
+ | String
|
-Specifies the OS architecture, 32 bit or 64 bit.
+ | Specifies the OS architecture, 32 bit or 64 bit.
|
-__os_version
+ | __os_version
|
-String
+ | String
|
-Specifies the OS version.
+ | Specifies the OS version.
|
-__description
+ | __description
|
-String
+ | String
|
-Provides supplementary information about the image. For detailed description, see Image Attributes.
+ | Provides supplementary information about the image. For detailed description, see Image Attributes.
|
-disk_format
+ | disk_format
|
-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
+ | __isregistered
|
-String
+ | String
|
-Specifies whether the image has been registered. The value can be true or false.
+ | Specifies whether the image has been registered. The value can be true or false.
|
-__platform
+ | __platform
|
-String
+ | String
|
-Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
+ | Specifies the image platform type. The value can be Windows, Ubuntu, Red Hat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.
|
-__os_type
+ | __os_type
|
-String
+ | String
|
-Specifies the OS type. The value can be Linux, Windows, or Other.
+ | Specifies the OS type. The value can be Linux, Windows, or Other.
|
-__system__cmkid
+ | __system__cmkid
|
-String
+ | String
|
-Specifies the ID of the key used to encrypt the image.
+ | Specifies the ID of the key used to encrypt the image.
|
-min_disk
+ | min_disk
|
-Integer
+ | Integer
|
-Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.
+ | Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1,024 GB.
|
-virtual_env_type
+ | virtual_env_type
|
-String
+ | String
|
-Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
-- For an ECS image (system disk image), the value is FusionCompute.
- For a data disk image, the value is DataImage.
- For a BMS image, the value is Ironic.
- For an ISO image, the value is IsoImage.
+ | Specifies the environment where the image is used. The value can be FusionCompute, Ironic, DataImage, or IsoImage.
+- For an ECS image (system disk image), the value is FusionCompute.
- For a data disk image, the value is DataImage.
- For a BMS image, the value is Ironic.
- For an ISO image, the value is IsoImage.
|
-__image_source_type
+ | __image_source_type
|
-String
+ | String
|
-Specifies the backend storage of the image. Only UDS is supported currently.
+ | Specifies the backend storage of the image. Only UDS is supported currently.
|
-__imagetype
+ | __imagetype
|
-String
+ | String
|
-Specifies the image type. The following types are supported:
+ | Specifies the image type. The following types are supported:
- Public image: The value is gold.
- Private image: The value is private.
- Shared image: The value is shared.
|
-created_at
+ | created_at
|
-String
+ | String
|
-Specifies the time when the image was created. The value is in UTC format.
+ | Specifies the time when the image was created. The value is in UTC format.
|
-virtual_size
+ | virtual_size
|
-Integer
+ | Integer
|
-This parameter is unavailable currently.
+ | This parameter is unavailable currently.
|
-__originalimagename
+ | __originalimagename
|
-String
+ | String
|
-Specifies the parent image ID.
+ | Specifies the parent image ID.
If the image is a public image or created from an image file, this value is left empty.
|
-__backup_id
+ | __backup_id
|
-String
+ | String
|
-Specifies the backup ID. If the image is created from a backup, set the value to the backup ID. Otherwise, this parameter is not required.
+ | Specifies the backup ID. If the image is created from a backup, set the value to the backup ID. Otherwise, this parameter is not required.
|
-__image_size
+ | __image_size
|
-String
+ | String
|
-Specifies the size (bytes) of the image file. The value must be greater than 0.
+ | Specifies the size (bytes) of the image file. The value must be greater than 0.
|
-__data_origin
+ | __data_origin
|
-String
+ | String
|
-Specifies the image source.
+ | Specifies the image source.
If the image is a public image, this parameter is left empty.
|
-__root_origin
+ | __root_origin
|
-String
+ | String
|
-Specifies that the image is created from an external image file. Value: file
+ | Specifies that the image is created from an external image file. Value: file
|
-__lazyloading
+ | __lazyloading
|
-String
+ | String
|
-Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
+ | Specifies whether the image supports lazy loading. The value can be true, false, True, or False.
|
-active_at
+ | active_at
|
-String
+ | String
|
-Specifies the time when the image status became active.
+ | Specifies the time when the image status became active.
|
-__os_feature_list
+ | __os_feature_list
|
-String
+ | String
|
-Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
+ | Specifies additional attributes of the image. The value is a list (in JSON format) of advanced features supported by the image.
|
-__account_code
+ | __account_code
|
-String
+ | String
|
-Specifies the charging identifier for the image.
+ | Specifies the charging identifier for the image.
|
-hw_firmware_type
+ | hw_firmware_type
|
-String
+ | String
|
-Specifies the ECS boot mode. The following values are supported:
+ | Specifies the ECS boot mode. The following values are supported:
- bios indicates the BIOS boot mode. This value will be used by fault if this parameter does not exist in the response.
- uefi indicates the UEFI boot mode.
|
-hw_vif_multiqueue_enabled
+ | hw_vif_multiqueue_enabled
|
-String
+ | String
|
-Specifies whether the image supports NIC multi-queue. The value can be true or false.
+ | Specifies whether the image supports NIC multi-queue. The value can be true or false.
|
-__support_kvm
+ | __support_kvm
|
-String
+ | 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
+ | __support_xen
|
-String
+ | 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
+ | __support_largememory
|
-String
+ | 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.
|
-__support_diskintensive
+ | __support_diskintensive
|
-String
+ | 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
+ | __support_highperformance
|
-String
+ | 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
+ | __support_xen_gpu_type
|
-String
+ | 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
+ | __support_kvm_gpu_type
|
-String
+ | 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
+ | __support_xen_hana
|
-String
+ | 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
+ | __support_kvm_infiniband
|
-String
+ | String
|
-Specifies whether the image supports ECSs with the InfiniBand NIC 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
+ | enterprise_project_id
|
-String
+ | String
|
-Specifies the enterprise project that the image belongs to.
+ | Specifies the enterprise project that the image belongs to.
|
-__sequence_num
+ | __sequence_num
|
-String
+ | String
|
-Specifies the ECS system disk slot number corresponding to the image.
+ | Specifies the ECS system disk slot number of the image.
This parameter is unavailable currently.
|
-__support_fc_inject
+ | __support_fc_inject
|
-String
+ | String
|
-Specifies whether the image supports password/private key injection using Cloud-Init.
+ | 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.
NOTE: This parameter is valid only for ECS system disk images.
|
-__support_amd
+ | __support_amd
|
-String
+ | 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.
|
- Example response
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"
+ 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"
}
- |
-
-
+
+ |
Returned Values- Normal
200
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error. For details about the returned error code, see Error Codes.
+ | Request error. For details about the returned error code, see Error Codes.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020092108.html b/docs/ims/api-ref/en-us_topic_0020092108.html
index 132d28fae..ef6d91cb3 100644
--- a/docs/ims/api-ref/en-us_topic_0020092108.html
+++ b/docs/ims/api-ref/en-us_topic_0020092108.html
@@ -29,40 +29,42 @@
-Request- Request parameters
-
Parameter
+RequestRequest parameters
+ Parameter
|
-Mandatory
+ | Mandatory
|
-Type
+ | Type
|
-Description
+ | Description
|
-delete_backup
+ | delete_backup
|
-No
+ | No
|
-Boolean
+ | Boolean
|
-Specifies whether to delete the CSBS backups or CBR backups associated with a full-ECS image when the image is deleted. The value can be true or false.
+ | Specifies whether to delete the CSBS backups or CBR backups associated with a full-ECS image when the image is deleted. The value can be true or false.
- true: When a full-ECS image is deleted, its CSBS backups or CBR backups are also deleted.
- false: When a full-ECS image is deleted, its CSBS backups or CBR backups are not deleted.
|
- - Example request
DELETE https://{Endpoint}/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90
- | {
- "delete_backup": true
-}
- |
-
-
+
+ Example RequestDeleting an image
+ | DELETE https://{Endpoint}/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90
+{
+ "delete_backup": true
+}
+
+ |
Response- Response parameters
None
- Example response
STATUS CODE 204
@@ -70,40 +72,40 @@
Returned Values- Normal
204
- Abnormal
-
Returned Value
+Returned Value
|
-Description
+ | Description
|
-400 Bad Request
+ | 400 Bad Request
|
-Request error.
+ | Request error.
|
-401 Unauthorized
+ | 401 Unauthorized
|
-Authentication failed.
+ | Authentication failed.
|
-403 Forbidden
+ | 403 Forbidden
|
-You do not have the rights to perform the operation.
+ | You do not have the rights to perform the operation.
|
-404 Not Found
+ | 404 Not Found
|
-The requested resource was not found.
+ | The requested resource was not found.
|
-500 Internal Server Error
+ | 500 Internal Server Error
|
-Internal service error.
+ | Internal service error.
|
-503 Service Unavailable
+ | 503 Service Unavailable
|
-The service is unavailable.
+ | The service is unavailable.
|
diff --git a/docs/ims/api-ref/en-us_topic_0020092109.html b/docs/ims/api-ref/en-us_topic_0020092109.html
index 31193fcca..daf528fc2 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 @@
Creating an Image
FunctionThis API is used to create a private image. The following methods are supported:
- Create a system or data disk image from an ECS.
- Create a system disk image from an external image file uploaded to an OBS bucket.
- Create a system disk image from a data disk.
- 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 Asynchronous Job Query.
+ 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.
- Constraints (Creating a System Disk Image Using a Data Disk)- Before using a data disk to create a system disk image, ensure that an OS has been installed on the data disk and has been optimized. For details about the optimization, see "Optimizing a Windows Private Image" and "Optimizing a Linux Private Image" in the Image Management Service User Guide.
- The system cannot verify that an OS has been installed on the data disk. Therefore, ensure that the value of os_version is valid when creating a system disk image from the data disk. For details, see Values of Related Parameters.
+ Constraints (Creating a System Disk Image Using a Data Disk)- Before using a data disk to create a system disk image, ensure that an OS has been installed on the data disk and has been optimized. For details about the optimization, see "Optimizing a Windows Private Image" and "Optimizing a Linux Private Image" in the Image Management Service User Guide.
- The system cannot verify that an OS has been installed on the data disk. Therefore, ensure that the value of os_version is valid when creating a system disk image from the data disk. For details, see Values of Related Parameters.
URIPOST /v2/cloudimages/action
@@ -36,7 +36,7 @@
String
|
- Specifies the image description. For details, see Image Attributes. The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed. This parameter is left blank by default.
+ | Provides supplementary information about the image. For details, see Image Attributes. The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed. This parameter is left blank by default.
|
instance_id
@@ -68,7 +68,7 @@
|
Array of strings
|
-Specifies tags of the image. This parameter is left blank by default.
+ | Lists the image tags. This parameter is left blank by default.
Use either tags or image_tags.
|
@@ -78,8 +78,8 @@
Array of objects
|
- Specifies tags of the image. 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.
|
enterprise_project_id
@@ -190,7 +190,7 @@
|
String
|
-Specifies the image description. For detailed description, see Image Attributes. The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed. This parameter is left blank by default.
+ | Provides supplementary information about the image. For detailed description, see Image Attributes. The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed. This parameter is left blank by default.
|
os_type
@@ -239,7 +239,7 @@
| Integer
|
Specifies the minimum size of the system disk in the unit of GB.
-This parameter is mandatory if an external image file in the OBS bucket is used to create an image. The value ranges from 1 GB to 1024 GB.
+This parameter is mandatory if an external image file in the OBS bucket is used to create an image. The value ranges from 1 GB to 1,024 GB.
|
is_config
@@ -260,7 +260,7 @@
|
String
|
-Specifies the master 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
@@ -269,7 +269,7 @@
|
Array of strings
|
-Specifies tags of the image. The value is left blank by default.
+ | Lists the image tags. This parameter is left blank by default.
Use either tags or image_tags.
|
@@ -279,7 +279,7 @@
Array of objects
|
- Specifies tags of the image. 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
@@ -300,7 +300,7 @@
| String
|
Specifies the enterprise project that the image belongs to.
- |
@@ -319,7 +319,7 @@
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
@@ -376,7 +376,7 @@
|
String
|
-Specifies the image description. The value is left blank by default.
+ | Provides supplementary information about the image. This parameter is left blank by default.
The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed.
For more details, see Image Attributes.
|
@@ -426,9 +426,9 @@
Array of strings
|
-Specifies tags of the image. The value is left blank by default.
+ | 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
@@ -437,7 +437,7 @@
|
Array of objects
|
-Specifies tags of the image. The value is left blank by default.
+ | 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.
|
@@ -536,7 +536,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
@@ -546,7 +546,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
@@ -556,15 +556,17 @@
| String
|
Specifies the enterprise project that the image belongs to.
- |
-- Example requests
+
+
Example Request- Creating a system disk image with parameter tags using an ECS (ID: 877a2cda-ba63-4e1e-b95f-e67e48b6129a)
POST https://{Endpoint}/v2/cloudimages/action
+{
"name": "ims_test",
"description": "Create a system disk image from an ECS",
"instance_id": "877a2cda-ba63-4e1e-b95f-e67e48b6129a",
@@ -574,61 +576,61 @@
"ccc.444"
]
}
- - Request for creating a data disk image with parameter tags using the data disk of an ECS
POST https://{Endpoint}/v2/cloudimages/action
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11 | {
- "data_images": [{"name": "ims_data_image_test",
- "description": "Create a data disk image from the data disk of an ECS",
- "volume_id": "c5dfbd0c-bf0a-4798-a453-61dc6b54aa30",
- "tags": [
- "aaa.111",
- "bbb.333",
- "ccc.444"
- ]
- }]
+- Creating a data disk image with parameter tags using a data disk (ID: c5dfbd0c-bf0a-4798-a453-61dc6b54aa30) of an ECS
1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12 | POST https://{Endpoint}/v2/cloudimages/action
+{
+ "data_images": [{"name": "ims_data_image_test",
+ "description": "Create a data disk image from the data disk of an ECS",
+ "volume_id": "c5dfbd0c-bf0a-4798-a453-61dc6b54aa30",
+ "tags": [
+ "aaa.111",
+ "bbb.333",
+ "ccc.444"
+ ]
+ }]
}
- |
-
-
-- Request for creating an image with parameter tags using an external image file uploaded to the OBS bucket
POST https://{Endpoint}/v2/cloudimages/action
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-12 | {
- "name": "ims_test_file",
- "description": "Create an image from a file in the OBS bucket",
- "image_url": "ims-image:centos70.qcow2",
- "os_version": "CentOS 7.0 64bit",
- "min_disk": 40,
- "tags": [
- "aaa.111",
- "bbb.333",
- "ccc.444"
- ]
+
+ |
+ - Creating an image with parameter tags using a file in an OBS bucket (file address in the bucket: ims-image:centos70.qcow2)
1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13 | POST https://{Endpoint}/v2/cloudimages/action
+{
+ "name": "ims_test_file",
+ "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,
+ "tags": [
+ "aaa.111",
+ "bbb.333",
+ "ccc.444"
+ ]
}
- |
-
-
+
+ |
-
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|