diff --git a/docs/ims/api-ref/.placeholder b/docs/ims/api-ref/.placeholder deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/ims/api-ref/ALL_META.TXT.json b/docs/ims/api-ref/ALL_META.TXT.json new file mode 100644 index 000000000..d2da3b6f0 --- /dev/null +++ b/docs/ims/api-ref/ALL_META.TXT.json @@ -0,0 +1,652 @@ +[ + { + "uri":"en-us_topic_0000001411119537.html", + "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", + "title":"API Usage Guidelines", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399165.html", + "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", + "title":"IMS APIs", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199212.html", + "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", + "title":"Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879728.html", + "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", + "title":"Querying Images", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039272.html", + "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 ", + "doc_type":"api", + "kw":"Updating Image Information,Image,API Reference", + "title":"Updating Image Information", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039228.html", + "product_code":"ims", + "code":"6", + "des":"This API is used to create a private image. The following methods are supported:Create a private image from an ECS.Create a private image from an external image file uplo", + "doc_type":"api", + "kw":"Creating an Image,Image,API Reference", + "title":"Creating an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239209.html", + "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", + "title":"Importing an Image File Quickly", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239225.html", + "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", + "title":"Creating a Data Disk Image Using an External Image File", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239213.html", + "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", + "title":"Creating a Full-ECS Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119529.html", + "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", + "title":"Registering an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479465.html", + "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 of OBS.Th", + "doc_type":"api", + "kw":"Exporting an Image,Image,API Reference", + "title":"Exporting an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479477.html", + "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", + "title":"Image Tagging", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239269.html", + "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", + "title":"Adding or Modifying a Tag", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879736.html", + "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", + "title":"Querying Tags", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119557.html", + "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", + "title":"Querying Images by Tag", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239245.html", + "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", + "title":"Adding or Deleting Image Tags in Batches", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479473.html", + "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", + "title":"Adding an Image Tag", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399169.html", + "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", + "title":"Deleting an Image Tag", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039260.html", + "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", + "title":"Querying Tags of an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879712.html", + "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", + "title":"Querying All Image Tags", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399137.html", + "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", + "title":"Image Sharing", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879740.html", + "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", + "doc_type":"api", + "kw":"Deleting Image Members in Batches,Image Sharing,API Reference", + "title":"Deleting Image Members in Batches", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119577.html", + "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", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039284.html", + "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", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199268.html", + "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", + "title":"Image Replication", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479505.html", + "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", + "title":"Replicating an Image Within a Region", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479501.html", + "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", + "title":"Image Quota", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119581.html", + "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", + "doc_type":"api", + "kw":"Querying the Image Quota,Image Quota,API Reference", + "title":"Querying the Image Quota", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199224.html", + "product_code":"ims", + "code":"29", + "des":"This API is an extension one. It is used to query the execution status of an asynchronous job, for example, an image exporting job.GET /v1/{project_id}/jobs/{job_id}Table", + "doc_type":"api", + "kw":"Asynchronous Job Query,IMS APIs,API Reference", + "title":"Asynchronous Job Query", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119541.html", + "product_code":"ims", + "code":"30", + "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", + "title":"Native OpenStack APIs", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479469.html", + "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":"Image (Native OpenStack APIs)", + "title":"Image (Native OpenStack APIs)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199228.html", + "product_code":"ims", + "code":"32", + "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", + "title":"Querying Images (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399181.html", + "product_code":"ims", + "code":"33", + "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", + "doc_type":"api", + "kw":"Querying Image Details (Native OpenStack API),Image (Native OpenStack APIs),API Reference", + "title":"Querying Image Details (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399161.html", + "product_code":"ims", + "code":"34", + "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", + "title":"Updating Image Information (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479437.html", + "product_code":"ims", + "code":"35", + "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", + "title":"Uploading an Image (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879684.html", + "product_code":"ims", + "code":"36", + "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", + "title":"Deleting an Image (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119517.html", + "product_code":"ims", + "code":"37", + "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", + "title":"Creating Image Metadata (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399145.html", + "product_code":"ims", + "code":"38", + "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", + "title":"Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039236.html", + "product_code":"ims", + "code":"39", + "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", + "title":"Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879692.html", + "product_code":"ims", + "code":"40", + "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", + "title":"Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879704.html", + "product_code":"ims", + "code":"41", + "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)", + "title":"Image Tagging (Native OpenStack APIs)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879672.html", + "product_code":"ims", + "code":"42", + "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", + "title":"Adding a Tag (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479493.html", + "product_code":"ims", + "code":"43", + "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", + "title":"Deleting a Tag (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399189.html", + "product_code":"ims", + "code":"44", + "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)", + "title":"Image Schema (Native OpenStack APIs)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879732.html", + "product_code":"ims", + "code":"45", + "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", + "doc_type":"api", + "kw":"Querying an Image Schema (Native OpenStack API),Image Schema (Native OpenStack APIs),API Reference", + "title":"Querying an Image Schema (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119573.html", + "product_code":"ims", + "code":"46", + "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", + "title":"Querying an Image List Schema (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119565.html", + "product_code":"ims", + "code":"47", + "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", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239253.html", + "product_code":"ims", + "code":"48", + "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", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039248.html", + "product_code":"ims", + "code":"49", + "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)", + "title":"Image Sharing (Native OpenStack APIs)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411119549.html", + "product_code":"ims", + "code":"50", + "des":"This API is used to add a project ID of a tenant with whom the image is to be shared.POST /v2/images/{image_id}/membersRequest parametersParameterMandatoryTypeDescription", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039252.html", + "product_code":"ims", + "code":"51", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001360879708.html", + "product_code":"ims", + "code":"52", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479497.html", + "product_code":"ims", + "code":"53", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199260.html", + "product_code":"ims", + "code":"54", + "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)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399153.html", + "product_code":"ims", + "code":"55", + "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)", + "title":"API Version Query (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479461.html", + "product_code":"ims", + "code":"56", + "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", + "doc_type":"api", + "kw":"Querying API Versions (Native OpenStack API),API Version Query (Native OpenStack API),API Reference", + "title":"Querying API Versions (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479457.html", + "product_code":"ims", + "code":"57", + "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", + "title":"Querying an API Version (Native OpenStack API)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361039264.html", + "product_code":"ims", + "code":"58", + "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", + "title":"Common Parameters", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199252.html", + "product_code":"ims", + "code":"59", + "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", + "doc_type":"api", + "kw":"Image Attributes,Common Parameters,API Reference", + "title":"Image Attributes", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411479433.html", + "product_code":"ims", + "code":"60", + "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", + "title":"Image Tag Data Formats", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199232.html", + "product_code":"ims", + "code":"61", + "des":"You can use the image sharing function to share your private images with other users.Images can only be shared within a region.Each image can be shared with a maximum of ", + "doc_type":"api", + "kw":"Restrictions on Image Sharing,Common Parameters,API Reference", + "title":"Restrictions on Image Sharing", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239237.html", + "product_code":"ims", + "code":"62", + "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", + "title":"Values of Related Parameters", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411399133.html", + "product_code":"ims", + "code":"63", + "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", + "title":"Status Codes", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001411239233.html", + "product_code":"ims", + "code":"64", + "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", + "title":"Error Codes", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001361199244.html", + "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":"Change History,API Reference", + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/ims/api-ref/CLASS.TXT.json b/docs/ims/api-ref/CLASS.TXT.json new file mode 100644 index 000000000..a1ba8626a --- /dev/null +++ b/docs/ims/api-ref/CLASS.TXT.json @@ -0,0 +1,587 @@ +[ + { + "desc":"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 ", + "product_code":"ims", + "title":"API Usage Guidelines", + "uri":"en-us_topic_0000001411119537.html", + "doc_type":"api", + "p_code":"", + "code":"1" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"IMS APIs", + "uri":"en-us_topic_0000001411399165.html", + "doc_type":"api", + "p_code":"", + "code":"2" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image", + "uri":"en-us_topic_0000001361199212.html", + "doc_type":"api", + "p_code":"2", + "code":"3" + }, + { + "desc":"This API is used to query images using search criteria and to display the images in a list.GET /v2/cloudimages{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "product_code":"ims", + "title":"Querying Images", + "uri":"en-us_topic_0000001360879728.html", + "doc_type":"api", + "p_code":"3", + "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 ", + "product_code":"ims", + "title":"Updating Image Information", + "uri":"en-us_topic_0000001361039272.html", + "doc_type":"api", + "p_code":"3", + "code":"5" + }, + { + "desc":"This API is used to create a private image. The following methods are supported:Create a private image from an ECS.Create a private image from an external image file uplo", + "product_code":"ims", + "title":"Creating an Image", + "uri":"en-us_topic_0000001361039228.html", + "doc_type":"api", + "p_code":"3", + "code":"6" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Importing an Image File Quickly", + "uri":"en-us_topic_0000001411239209.html", + "doc_type":"api", + "p_code":"3", + "code":"7" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Creating a Data Disk Image Using an External Image File", + "uri":"en-us_topic_0000001411239225.html", + "doc_type":"api", + "p_code":"3", + "code":"8" + }, + { + "desc":"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 ", + "product_code":"ims", + "title":"Creating a Full-ECS Image", + "uri":"en-us_topic_0000001411239213.html", + "doc_type":"api", + "p_code":"3", + "code":"9" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Registering an Image", + "uri":"en-us_topic_0000001411119529.html", + "doc_type":"api", + "p_code":"3", + "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 of OBS.Th", + "product_code":"ims", + "title":"Exporting an Image", + "uri":"en-us_topic_0000001411479465.html", + "doc_type":"api", + "p_code":"3", + "code":"11" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Tagging", + "uri":"en-us_topic_0000001411479477.html", + "doc_type":"api", + "p_code":"2", + "code":"12" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Adding or Modifying a Tag", + "uri":"en-us_topic_0000001411239269.html", + "doc_type":"api", + "p_code":"12", + "code":"13" + }, + { + "desc":"This API is used to query image tags using search criteria and display them in a list.GET /v1/cloudimages/tags{?__isregistered,__imagetype,__whole_image,__system__cmkid,p", + "product_code":"ims", + "title":"Querying Tags", + "uri":"en-us_topic_0000001360879736.html", + "doc_type":"api", + "p_code":"12", + "code":"14" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying Images by Tag", + "uri":"en-us_topic_0000001411119557.html", + "doc_type":"api", + "p_code":"12", + "code":"15" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Adding or Deleting Image Tags in Batches", + "uri":"en-us_topic_0000001411239245.html", + "doc_type":"api", + "p_code":"12", + "code":"16" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Adding an Image Tag", + "uri":"en-us_topic_0000001411479473.html", + "doc_type":"api", + "p_code":"12", + "code":"17" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Deleting an Image Tag", + "uri":"en-us_topic_0000001411399169.html", + "doc_type":"api", + "p_code":"12", + "code":"18" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying Tags of an Image", + "uri":"en-us_topic_0000001361039260.html", + "doc_type":"api", + "p_code":"12", + "code":"19" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying All Image Tags", + "uri":"en-us_topic_0000001360879712.html", + "doc_type":"api", + "p_code":"12", + "code":"20" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Sharing", + "uri":"en-us_topic_0000001411399137.html", + "doc_type":"api", + "p_code":"2", + "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", + "product_code":"ims", + "title":"Deleting Image Members in Batches", + "uri":"en-us_topic_0000001360879740.html", + "doc_type":"api", + "p_code":"21", + "code":"22" + }, + { + "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", + "uri":"en-us_topic_0000001411119577.html", + "doc_type":"api", + "p_code":"21", + "code":"23" + }, + { + "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", + "uri":"en-us_topic_0000001361039284.html", + "doc_type":"api", + "p_code":"21", + "code":"24" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Replication", + "uri":"en-us_topic_0000001361199268.html", + "doc_type":"api", + "p_code":"2", + "code":"25" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Replicating an Image Within a Region", + "uri":"en-us_topic_0000001411479505.html", + "doc_type":"api", + "p_code":"25", + "code":"26" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Quota", + "uri":"en-us_topic_0000001411479501.html", + "doc_type":"api", + "p_code":"2", + "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", + "product_code":"ims", + "title":"Querying the Image Quota", + "uri":"en-us_topic_0000001411119581.html", + "doc_type":"api", + "p_code":"27", + "code":"28" + }, + { + "desc":"This API is an extension one. It is used to query the execution status of an asynchronous job, for example, an image exporting job.GET /v1/{project_id}/jobs/{job_id}Table", + "product_code":"ims", + "title":"Asynchronous Job Query", + "uri":"en-us_topic_0000001361199224.html", + "doc_type":"api", + "p_code":"2", + "code":"29" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Native OpenStack APIs", + "uri":"en-us_topic_0000001411119541.html", + "doc_type":"api", + "p_code":"", + "code":"30" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image (Native OpenStack APIs)", + "uri":"en-us_topic_0000001411479469.html", + "doc_type":"api", + "p_code":"30", + "code":"31" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying Images (Native OpenStack API)", + "uri":"en-us_topic_0000001361199228.html", + "doc_type":"api", + "p_code":"31", + "code":"32" + }, + { + "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", + "product_code":"ims", + "title":"Querying Image Details (Native OpenStack API)", + "uri":"en-us_topic_0000001411399181.html", + "doc_type":"api", + "p_code":"31", + "code":"33" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Updating Image Information (Native OpenStack API)", + "uri":"en-us_topic_0000001411399161.html", + "doc_type":"api", + "p_code":"31", + "code":"34" + }, + { + "desc":"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 ", + "product_code":"ims", + "title":"Uploading an Image (Native OpenStack API)", + "uri":"en-us_topic_0000001411479437.html", + "doc_type":"api", + "p_code":"31", + "code":"35" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Deleting an Image (Native OpenStack API)", + "uri":"en-us_topic_0000001360879684.html", + "doc_type":"api", + "p_code":"31", + "code":"36" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Creating Image Metadata (Native OpenStack API)", + "uri":"en-us_topic_0000001411119517.html", + "doc_type":"api", + "p_code":"31", + "code":"37" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)", + "uri":"en-us_topic_0000001411399145.html", + "doc_type":"api", + "p_code":"31", + "code":"38" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)", + "uri":"en-us_topic_0000001361039236.html", + "doc_type":"api", + "p_code":"31", + "code":"39" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)", + "uri":"en-us_topic_0000001360879692.html", + "doc_type":"api", + "p_code":"31", + "code":"40" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Tagging (Native OpenStack APIs)", + "uri":"en-us_topic_0000001360879704.html", + "doc_type":"api", + "p_code":"30", + "code":"41" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Adding a Tag (Native OpenStack API)", + "uri":"en-us_topic_0000001360879672.html", + "doc_type":"api", + "p_code":"41", + "code":"42" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Deleting a Tag (Native OpenStack API)", + "uri":"en-us_topic_0000001411479493.html", + "doc_type":"api", + "p_code":"41", + "code":"43" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Schema (Native OpenStack APIs)", + "uri":"en-us_topic_0000001411399189.html", + "doc_type":"api", + "p_code":"30", + "code":"44" + }, + { + "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", + "product_code":"ims", + "title":"Querying an Image Schema (Native OpenStack API)", + "uri":"en-us_topic_0000001360879732.html", + "doc_type":"api", + "p_code":"44", + "code":"45" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Querying an Image List Schema (Native OpenStack API)", + "uri":"en-us_topic_0000001411119573.html", + "doc_type":"api", + "p_code":"44", + "code":"46" + }, + { + "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", + "product_code":"ims", + "title":"Querying an Image Member Schema (Native OpenStack API)", + "uri":"en-us_topic_0000001411119565.html", + "doc_type":"api", + "p_code":"44", + "code":"47" + }, + { + "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", + "product_code":"ims", + "title":"Querying an Image Member List Schema (Native OpenStack API)", + "uri":"en-us_topic_0000001411239253.html", + "doc_type":"api", + "p_code":"44", + "code":"48" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Image Sharing (Native OpenStack APIs)", + "uri":"en-us_topic_0000001361039248.html", + "doc_type":"api", + "p_code":"30", + "code":"49" + }, + { + "desc":"This API is used to add a project ID of a tenant with whom the image is to be shared.POST /v2/images/{image_id}/membersRequest parametersParameterMandatoryTypeDescription", + "product_code":"ims", + "title":"Adding an Image Member (Native OpenStack API)", + "uri":"en-us_topic_0000001411119549.html", + "doc_type":"api", + "p_code":"49", + "code":"50" + }, + { + "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)", + "uri":"en-us_topic_0000001361039252.html", + "doc_type":"api", + "p_code":"49", + "code":"51" + }, + { + "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)", + "uri":"en-us_topic_0000001360879708.html", + "doc_type":"api", + "p_code":"49", + "code":"52" + }, + { + "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)", + "uri":"en-us_topic_0000001411479497.html", + "doc_type":"api", + "p_code":"49", + "code":"53" + }, + { + "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)", + "uri":"en-us_topic_0000001361199260.html", + "doc_type":"api", + "p_code":"49", + "code":"54" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"API Version Query (Native OpenStack API)", + "uri":"en-us_topic_0000001411399153.html", + "doc_type":"api", + "p_code":"30", + "code":"55" + }, + { + "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", + "product_code":"ims", + "title":"Querying API Versions (Native OpenStack API)", + "uri":"en-us_topic_0000001411479461.html", + "doc_type":"api", + "p_code":"55", + "code":"56" + }, + { + "desc":"This API is used to query a specified API version, such as version compatibility and domain name information of an API.GET /{api_version}Table 1 lists the parameters in t", + "product_code":"ims", + "title":"Querying an API Version (Native OpenStack API)", + "uri":"en-us_topic_0000001411479457.html", + "doc_type":"api", + "p_code":"55", + "code":"57" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Common Parameters", + "uri":"en-us_topic_0000001361039264.html", + "doc_type":"api", + "p_code":"", + "code":"58" + }, + { + "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", + "product_code":"ims", + "title":"Image Attributes", + "uri":"en-us_topic_0000001361199252.html", + "doc_type":"api", + "p_code":"58", + "code":"59" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Image Tag Data Formats", + "uri":"en-us_topic_0000001411479433.html", + "doc_type":"api", + "p_code":"58", + "code":"60" + }, + { + "desc":"You can use the image sharing function to share your private images with other users.Images can only be shared within a region.Each image can be shared with a maximum of ", + "product_code":"ims", + "title":"Restrictions on Image Sharing", + "uri":"en-us_topic_0000001361199232.html", + "doc_type":"api", + "p_code":"58", + "code":"61" + }, + { + "desc":"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", + "product_code":"ims", + "title":"Values of Related Parameters", + "uri":"en-us_topic_0000001411239237.html", + "doc_type":"api", + "p_code":"58", + "code":"62" + }, + { + "desc":"NormalReturned ValueDescription200 OKThe results of GET and PUT operations are returned as expected.201 CreatedThe results of the POST operation are returned as expected.", + "product_code":"ims", + "title":"Status Codes", + "uri":"en-us_topic_0000001411399133.html", + "doc_type":"api", + "p_code":"", + "code":"63" + }, + { + "desc":"If the returned status code is 400, a customized error message will be returned. This section describes the meaning of each status code.", + "product_code":"ims", + "title":"Error Codes", + "uri":"en-us_topic_0000001411239233.html", + "doc_type":"api", + "p_code":"", + "code":"64" + }, + { + "desc":"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.", + "product_code":"ims", + "title":"Change History", + "uri":"en-us_topic_0000001361199244.html", + "doc_type":"api", + "p_code":"", + "code":"65" + } +] \ No newline at end of file diff --git a/docs/ims/api-ref/PARAMETERS.txt b/docs/ims/api-ref/PARAMETERS.txt new file mode 100644 index 000000000..6da8d5f07 --- /dev/null +++ b/docs/ims/api-ref/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/ims/api-ref/en-us_topic_0000001360879672.html b/docs/ims/api-ref/en-us_topic_0000001360879672.html new file mode 100644 index 000000000..9f9136926 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879672.html @@ -0,0 +1,101 @@ + + +

Adding a Tag (Native OpenStack API)

+

Function

This API is used to add a custom tag to an image. With tags, you can manage easily the images.

+
+

URI

PUT /v2/images/{image_id}/tags/{tag}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

tag

+

Yes

+

String

+

Specifies the tag to be added.

+

The tag can contain only digits, letters, underscores (_), and hyphens (-).

+
NOTE:

This API can only be used to add a tag key. To add a tag value, use the PUT /v1/cloudimages/tags API. For details, see Adding or Modifying a Tag.

+
+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879684.html b/docs/ims/api-ref/en-us_topic_0000001360879684.html new file mode 100644 index 000000000..820c8e6f7 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879684.html @@ -0,0 +1,119 @@ + + +

Deleting an Image (Native OpenStack API)

+

Function

This API is used to delete a private image. You can only delete your own private images.

+
+

URI

DELETE /v2/images/{image_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879692.html b/docs/ims/api-ref/en-us_topic_0000001360879692.html new file mode 100644 index 000000000..e570b9678 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879692.html @@ -0,0 +1,339 @@ + + +

Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended)

+

Function

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.

+
+

URI

GET /v1.1/images/detail

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879704.html b/docs/ims/api-ref/en-us_topic_0000001360879704.html new file mode 100644 index 000000000..bbaffb1ad --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879704.html @@ -0,0 +1,17 @@ + + +

Image Tagging (Native OpenStack APIs)

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879708.html b/docs/ims/api-ref/en-us_topic_0000001360879708.html new file mode 100644 index 000000000..4e5dc4522 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879708.html @@ -0,0 +1,168 @@ + + +

Querying Image Member Details (Native OpenStack API)

+

Function

This API is used to query details about a tenant with whom the image is shared.

+
+

URI

GET /v2/images/{image_id}/members/{member_id}

+

Table 1 lists the parameters in the URI.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

member_id

+

Yes

+

String

+

Specifies the member ID.

+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879712.html b/docs/ims/api-ref/en-us_topic_0000001360879712.html new file mode 100644 index 000000000..052fa0450 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879712.html @@ -0,0 +1,166 @@ + + +

Querying All Image Tags

+

Function

This API is used to query all the image tags.

+
+

URI

GET /v2/{project_id}/images/tags

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879728.html b/docs/ims/api-ref/en-us_topic_0000001360879728.html new file mode 100644 index 000000000..fe43d8641 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879728.html @@ -0,0 +1,966 @@ + + +

Querying Images

+

Function

This API is used to query images using search criteria and to display the images in a list.

+
+

URI

GET /v2/cloudimages{?__isregistered,__imagetype,__whole_image,__system__cmkid,protected,visibility,owner,id,status,name,container_format,disk_format,min_ram,min_disk,__os_bit,__platform,marker,limit,sort_key,sort_dir,__os_type,tag,member_status,__support_kvm,__support_xen,__support_largememory,__support_diskintensive,__support_highperformance,__support_xen_gpu_type,__support_kvm_gpu_type,__support_xen_hana,__support_kvm_infiniband,virtual_env_type,created_at,updated_at}

+

You can type a question mark (?) and an ampersand (&) at the end of the URI to define multiple search criteria. For details, see the example request.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

__isregistered

+

No

+

String

+

Specifies whether the image is available. The value can be true. The value is true for all extension APIs by default. Common users can query only the images for which the value of this parameter is true.

+

__imagetype

+

No

+

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.
+
NOTE:

The __imagetype of images you share with other tenants or those other tenants share with you and you have accepted is shared. You can use field owner to distinguish the two types of shared images. You can use member_status to filter out shared images you have accepted.

+
+

__whole_image

+

No

+

Boolean

+

Specifies whether the image is a full-ECS image. The value can be true or false.

+

__system__cmkid

+

No

+

String

+

Specifies the ID of the key used to encrypt the image. You can obtain the ID from the IMS console or by calling the Querying Image Details (Native OpenStack API) API.

+

protected

+

No

+

Boolean

+

Specifies whether the image is protected. The value can be true or false. Set it to true when you query public images. This parameter is optional when you query private images.

+

visibility

+

No

+

String

+

Specifies whether the image is available to other tenants. Available values include:

+
  • public: public image
  • private: private image
  • shared: shared image
+

owner

+

No

+

String

+

Specifies the tenant to which the image belongs.

+

id

+

No

+

String

+

Specifies the image ID.

+

status

+

No

+

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.
+

name

+

No

+

String

+

Specifies the image name. Exact matching is used. For detailed description, see Image Attributes.

+

container_format

+

No

+

String

+

Specifies the container type. The value is bare.

+

disk_format

+

No

+

String

+

Specifies the image format. The value can be vhd, raw, zvhd, or qcow2. The default value is zvhd2.

+

min_ram

+

No

+

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.

+

min_disk

+

No

+

Integer

+

Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.

+

__os_bit

+

No

+

String

+

Specifies the OS architecture, 32 bit or 64 bit.

+

__platform

+

No

+

String

+

Specifies the image platform type. The value can be Windows, Ubuntu, RedHat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.

+

marker

+

No

+

String

+

Specifies the start number from which images are queried. The value is the image ID.

+

limit

+

No

+

Integer

+

Specifies the number of images to be queried. The value is an integer and is 500 by default.

+

sort_key

+

No

+

String

+

Specifies the field for sorting the query results. The value can be an attribute of the image: name, container_format, disk_format, status, id, size, or created_at. The default value is created_at.

+

sort_dir

+

No

+

String

+

Specifies whether the query results are sorted in ascending or descending order. Its value can be desc (default) or asc. This parameter is used together with parameter sort_key. The default value is desc.

+

__os_type

+

No

+

String

+

Specifies the image OS type. Available values include:

+
  • Linux
  • Windows
  • Other
+

tag

+

No

+

String

+

Specifies a tag added to an image. Tags can be used as a filter to query images.

+
NOTE:

The tagging function has been upgraded. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key=Value". For example, an existing tag is a.b. After the tag function upgrade, query the tag using "tag=a=b".

+
+

member_status

+

No

+

String

+

Specifies the member status. The value can be accepted, rejected, or pending. accepted: indicates that the shared image is accepted. rejected indicates that the image shared by others is rejected. pending indicates that the image shared by others needs to be confirmed. To use this parameter, set visibility to shared during the query.

+

__support_kvm

+

No

+

String

+

Specifies whether the image supports KVM. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_xen

+

No

+

String

+

Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_largememory

+

No

+

String

+

Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.

+

For the supported OSs, see Table 4.

+

+

__support_diskintensive

+

No

+

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.

+

__support_highperformance

+

No

+

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.

+

__support_xen_gpu_type

+

No

+

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.

+

__support_kvm_gpu_type

+

No

+

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.

+

__support_xen_hana

+

No

+

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.

+

__support_kvm_infiniband

+

No

+

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.

+

virtual_env_type

+

No

+

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.
+

created_at

+

No

+

String

+

Specifies the time when the image was created. 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.

+

For example, to query images created before Oct 28, 2018 10:00:00, set the value of created_at as follows:

+

created_at=lt:2018-10-28T10:00:00Z

+

updated_at

+

No

+

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.

+

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.

+

For example, to query images updated before Oct 28, 2018 10:00:00, set the value of updated_at as follows:

+

updated_at=lt:2018-10-28T10:00:00Z

+
+
+
+

Request

+
+

Common Query Methods

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879732.html b/docs/ims/api-ref/en-us_topic_0000001360879732.html new file mode 100644 index 000000000..5ac665c41 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879732.html @@ -0,0 +1,539 @@ + + +

Querying an Image Schema (Native OpenStack API)

+

Function

This API is used to query the image schema, which allows you to view image attributes and their data types.

+
+

URI

GET /v2/schemas/image

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879736.html b/docs/ims/api-ref/en-us_topic_0000001360879736.html new file mode 100644 index 000000000..2df26ae4d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879736.html @@ -0,0 +1,458 @@ + + +

Querying Tags

+

Function

This API is used to query image tags using search criteria and display them in a list.

+
+

URI

GET /v1/cloudimages/tags{?__isregistered,__imagetype,__whole_image,__system__cmkid,protected,visibility,owner,id,status,name,container_format,disk_format,min_ram,min_disk,__os_bit,__platform,marker,limit,sort_key,sort_dir,__os_type,tag,member_status,__support_kvm,__support_xen,__support_largememory,__support_diskintensive,__support_highperformance,__support_xen_gpu_type,__support_kvm_gpu_type,__support_xen_hana,__support_kvm_infiniband,virtual_env_type,created_at,updated_at}

+

You can type a question mark (?) and an ampersand (&) at the end of the URI to define multiple search criteria. For details, see the example request.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

__isregistered

+

No

+

String

+

Specifies whether the image is available. The value can be true. The value is true for all extension APIs by default. Common users can query only the images for which the value of this parameter is true.

+

__imagetype

+

No

+

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.
+
NOTE:

The __imagetype of images you share with other tenants or those other tenants share with you and you have accepted is shared. You can use field owner to distinguish the two types of shared images. You can use member_status to filter out shared images you have accepted.

+
+

__whole_image

+

No

+

Boolean

+

Specifies whether the image is a full-ECS image. The value can be true or false.

+

__system__cmkid

+

No

+

String

+

Specifies the ID of the key used to encrypt the image. You can obtain the ID from the IMS console or by calling the Querying Image Details (Native OpenStack API) API.

+

protected

+

No

+

Boolean

+

Specifies whether the image is protected. The value can be true or false. Set it to true when you query public images. This parameter is optional when you query private images.

+

visibility

+

No

+

String

+

Specifies whether the image is available to other tenants. Available values include:

+
  • public: public image
  • private: private image
  • shared: shared image
+

owner

+

No

+

String

+

Specifies the tenant to which the image belongs.

+

id

+

No

+

String

+

Specifies the image ID.

+

status

+

No

+

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.
+

name

+

No

+

String

+

Specifies the image name. Exact matching is used. For detailed description, see Image Attributes.

+

container_format

+

No

+

String

+

Specifies the container type. The value is bare.

+

disk_format

+

No

+

String

+

Specifies the image format. The value can be vhd, raw, zvhd, or qcow2. The default value is zvhd2.

+

min_ram

+

No

+

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.

+

min_disk

+

No

+

Integer

+

Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.

+

__os_bit

+

No

+

String

+

Specifies the OS architecture, 32 bit or 64 bit.

+

__platform

+

No

+

String

+

Specifies the image platform type. The value can be Windows, Ubuntu, RedHat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.

+

marker

+

No

+

String

+

Specifies the start number from which images are queried. The value is the image ID.

+

limit

+

No

+

Integer

+

Specifies the number of images to be queried. The value is an integer and is 500 by default.

+

sort_key

+

No

+

String

+

Specifies the field for sorting the query results. The value can be an attribute of the image: name, container_format, disk_format, status, id, size, or created_at. The default value is created_at.

+

sort_dir

+

No

+

String

+

Specifies whether the query results are sorted in ascending or descending order. Its value can be desc (default) or asc. This parameter is used together with parameter sort_key. The default value is desc.

+

__os_type

+

No

+

String

+

Specifies the image OS type. Available values include:

+
  • Linux
  • Windows
  • Other
+

tag

+

No

+

String

+

Specifies a tag added to an image. Tags can be used as a filter to query images.

+
NOTE:

The tagging function has been upgraded. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key=Value". For example, an existing tag is a.b. After the tag function upgrade, query the tag using "tag=a=b".

+
+

member_status

+

No

+

String

+

Specifies the member status. The value can be accepted, rejected, or pending. accepted: indicates that the shared image is accepted. rejected indicates that the image shared by others is rejected. pending indicates that the image shared by others needs to be confirmed. To use this parameter, set visibility to shared during the query.

+

__support_kvm

+

No

+

String

+

Specifies whether the image supports KVM. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_xen

+

No

+

String

+

Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_largememory

+

No

+

String

+

Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.

+

For the supported OSs, see Table 4.

+

+

__support_diskintensive

+

No

+

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.

+

__support_highperformance

+

No

+

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.

+

__support_xen_gpu_type

+

No

+

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.

+

__support_kvm_gpu_type

+

No

+

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.

+

__support_xen_hana

+

No

+

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.

+

__support_kvm_infiniband

+

No

+

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.

+

virtual_env_type

+

No

+

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.
+

created_at

+

No

+

String

+

Specifies the time when the image was created. 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.

+

For example, to query images created before Oct 28, 2018 10:00:00, set the value of created_at as follows:

+

created_at=lt:2018-10-28T10:00:00Z

+

updated_at

+

No

+

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.

+

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.

+

For example, to query images updated before Oct 28, 2018 10:00:00, set the value of updated_at as follows:

+

updated_at=lt:2018-10-28T10:00:00Z

+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001360879740.html b/docs/ims/api-ref/en-us_topic_0000001360879740.html new file mode 100644 index 000000000..0fb345943 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001360879740.html @@ -0,0 +1,144 @@ + + +

Deleting Image Members in Batches

+

Function

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 returned, the task is successfully delivered. You need to query the status of the asynchronous task. If the status is success, the task is successfully executed. If the status is failed, the task fails. For details about how to query the status of an asynchronous task, see Asynchronous Job Query.

+
+

URI

DELETE /v1/cloudimages/members

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039228.html b/docs/ims/api-ref/en-us_topic_0000001361039228.html new file mode 100644 index 000000000..c7ae38497 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039228.html @@ -0,0 +1,627 @@ + + +

Creating an Image

+

Function

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

+ +

+

The API is an asynchronous one. If it is successfully called, the cloud service system receives the request. However, you need to use the asynchronous job query API to query the image creation status. For details, see Asynchronous Job Query.

+

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

+
+

URI

POST /v2/cloudimages/action

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039236.html b/docs/ims/api-ref/en-us_topic_0000001361039236.html new file mode 100644 index 000000000..40bce4f78 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039236.html @@ -0,0 +1,269 @@ + + +

Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended)

+

Function

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.

+
+

URI

HEAD /v1/images/{image_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039248.html b/docs/ims/api-ref/en-us_topic_0000001361039248.html new file mode 100644 index 000000000..afadcf13d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039248.html @@ -0,0 +1,23 @@ + + +

Image Sharing (Native OpenStack APIs)

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039252.html b/docs/ims/api-ref/en-us_topic_0000001361039252.html new file mode 100644 index 000000000..715c3b6b6 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039252.html @@ -0,0 +1,221 @@ + + +

Updating the Image Sharing Status in Batches (Native OpenStack API)

+

Function

This API is used to update the image sharing status when a tenant accepts or rejects a shared image.

+
+

URI

PUT /v2/images/{image_id}/members/{member_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

member_id

+

Yes

+

String

+

Specifies the member ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039260.html b/docs/ims/api-ref/en-us_topic_0000001361039260.html new file mode 100644 index 000000000..15f159f4c --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039260.html @@ -0,0 +1,163 @@ + + +

Querying Tags of an Image

+

Function

This API is used to query all the tags of a specified image.

+
+

URI

GET /v2/{project_id}/images/{image_id}/tags

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039264.html b/docs/ims/api-ref/en-us_topic_0000001361039264.html new file mode 100644 index 000000000..22b6f2be1 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039264.html @@ -0,0 +1,17 @@ + + +

Common Parameters

+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039272.html b/docs/ims/api-ref/en-us_topic_0000001361039272.html new file mode 100644 index 000000000..ce8f2817d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039272.html @@ -0,0 +1,643 @@ + + +

Updating Image Information

+

Function

This API is used to modify image attributes and update image information.

+

Only information of images in active status can be changed.

+
+
+

URI

PATCH /v2/cloudimages/{image_id}

+

Table 1 describes the parameters in the URI.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

For details about how to obtain the image ID, see Querying Images.

+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361039284.html b/docs/ims/api-ref/en-us_topic_0000001361039284.html new file mode 100644 index 000000000..d52996283 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361039284.html @@ -0,0 +1,183 @@ + + +

Updating the Status of Image Members in Batches

+

Function

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 is returned, the task is successfully delivered. You need to query the status of the asynchronous task. If the status is success, the task is successfully executed. If the status is failed, the task fails. For details about how to query the status of an asynchronous task, see Asynchronous Job Query.

+
+

URI

PUT /v1/cloudimages/members

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199212.html b/docs/ims/api-ref/en-us_topic_0000001361199212.html new file mode 100644 index 000000000..40d482017 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199212.html @@ -0,0 +1,29 @@ + + +

Image

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199224.html b/docs/ims/api-ref/en-us_topic_0000001361199224.html new file mode 100644 index 000000000..90431fff4 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199224.html @@ -0,0 +1,202 @@ + + +

Asynchronous Job Query

+

Function

This API is an extension one. It is used to query the execution status of an asynchronous job, for example, an image exporting job.

+
+

URI

GET /v1/{project_id}/jobs/{job_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Description

+

project_id

+

Yes

+

Specifies the project ID.

+

job_id

+

Yes

+

Specifies the asynchronous job ID.

+
+
+
+
+

Request

+
+

Response

+ +
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199228.html b/docs/ims/api-ref/en-us_topic_0000001361199228.html new file mode 100644 index 000000000..457b4b295 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199228.html @@ -0,0 +1,956 @@ + + +

Querying Images (Native OpenStack API)

+

Function

This API is used to obtain the image list.

+

This API does not return the complete result at once, but uses pagination.

+
+

Pagination

Pagination refers to the function of returning a subset of a group of images, a link to obtain the next set of images, and a link of the set of images. By default, a set contains 25 images. You can also use the limit and marker parameters to paginate through images manually and specify the number of images that can be returned.

+

The parameter first in the response indicates the URL of the first page of images, and parameter next indicates the URL of the next page of images. When the last page of images is queried, there is no parameter next.

+
+

URI

GET /v2/images

+
  • You can type a question mark (?) and an ampersand (&) at the end of the URI to define multiple search criteria. For details, see the example request.
+
+
Table 1 lists the parameters. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

__isregistered

+

No

+

String

+

Specifies whether the image is available. The value can be true. The value is true for all extension APIs by default. Common users can query only the images for which the value of this parameter is true.

+

__imagetype

+

No

+

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.
+

protected

+

No

+

Boolean

+

Specifies whether the image is protected. The value is true or false. Set it to true when you query public images. This parameter is optional when you query private images.

+

visibility

+

No

+

String

+

Specifies whether the image is available to other tenants. Available values include:

+
  • public: public image
  • private: private image
  • shared: shared image
+

owner

+

No

+

String

+

Specifies the tenant to which the image belongs.

+

id

+

No

+

String

+

Specifies the image ID.

+

status

+

No

+

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.
+

name

+

No

+

String

+

Specifies the image name. Exact matching is used. For detailed description, see Image Attributes.

+

container_format

+

No

+

String

+

Specifies the container type. The default value is bare.

+

disk_format

+

No

+

String

+

Specifies the image format. The value can be vhd, raw, zvhd, or qcow2. The default value is vhd.

+

min_ram

+

No

+

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.

+

min_disk

+

No

+

Integer

+

Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1024 GB.

+

__os_bit

+

No

+

String

+

Specifies the OS architecture, 32 bit or 64 bit.

+

__platform

+

No

+

String

+

Specifies the image platform type. The value can be Windows, Ubuntu, RedHat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.

+

marker

+

No

+

String

+

Specifies the start number from which images are queried. The value is the image ID.

+

limit

+

No

+

Integer

+

Specifies the number of images to be queried. The value is an integer. By default, 25 images can be queried.

+

sort_key

+

No

+

String

+

Specifies the field for sorting the query results. The value can be an attribute of the image: name, container_format, disk_format, status, id, size, or create_at. The default value is create_at.

+

sort_dir

+

No

+

String

+

Specifies whether the query results are sorted in ascending or descending order. Its value can be desc (default) or asc. This parameter is used together with parameter sort_key. The default value is desc.

+

__os_type

+

No

+

String

+

Specifies the image OS type. The value can be Linux, Windows, or Other.

+

tag

+

No

+

String

+

Specifies a tag added to an image. Tags can be used as a filter to query images.

+
NOTE:

The tagging function has been upgraded. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key=Value". For example, an existing tag is a.b. After the tag function upgrade, query the tag using "tag=a=b".

+
+

member_status

+

No

+

String

+

Specifies the member status. The value can be accepted, rejected, or pending. accepted: indicates that the shared image is accepted. rejected indicates that the image shared by others is rejected. pending indicates that the image shared by others needs to be confirmed. To use this parameter, set visibility to shared during the query.

+

__support_kvm

+

No

+

String

+

Specifies whether the image supports KVM. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_xen

+

No

+

String

+

Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_largememory

+

No

+

String

+

Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required. For details about the image OSs supported by large-memory ECSs, see Table 4.

+

__support_diskintensive

+

No

+

String

+

Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this parameter is not required. For details about the image OSs supported by disk-intensive ECSs, see Table 4.

+

__support_highperformance

+

No

+

String

+

Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this parameter is not required. For details about the image OSs supported by high-performance computing ECSs, see Table 4.

+

__support_xen_gpu_type

+

No

+

String

+

Specifies whether the image supports GPU-accelerated ECSs on the Xen platform. For details about the image OSs supported by GPU-accelerated ECSs, see Table 2. 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

+

No

+

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.

+

__support_xen_hana

+

No

+

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.

+

__support_kvm_infiniband

+

No

+

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.

+

created_at

+

No

+

String

+

Specifies the time when the image was created. 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.

+

For example, to query images created before Oct 28, 2018 10:00:00, set the value of created_at to lt:2018-10-28T10:00:00Z.

+

updated_at

+

No

+

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.

+

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.

+

For example, to query images updated before Oct 28, 2018 10:00:00, set the value of updated_at to lt:2018-10-28T10:00:00Z.

+
+
+
+
+

Common Query Methods

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199232.html b/docs/ims/api-ref/en-us_topic_0000001361199232.html new file mode 100644 index 000000000..ce9ebae16 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199232.html @@ -0,0 +1,14 @@ + + +

Restrictions on Image Sharing

+

Description

You can use the image sharing function to share your private images with other users.

+
+

Constraints

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199244.html b/docs/ims/api-ref/en-us_topic_0000001361199244.html new file mode 100644 index 000000000..3882f6570 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199244.html @@ -0,0 +1,235 @@ + + +

Change History

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Released On

+

Description

+

2021-08-15

+

Modified the following content:

+
  • Added the methods of querying OBS bucket names and OBS bucket object names in the description of the image_url parameter in Creating an Image.
+

Deleted the following content:

+
  • Marketplace images
+

2020-08-12

+

Modified the following content:

+
A CBR backup can be used to create a full-ECS image. The following changes are involved: +
+

2020-07-20

+

Modified the following content:

+ +

2019-11-15

+

Modified the following content:

+ +

2019-03-13

+

Modified the following content:

+

Added Native OpenStack APIs.

+

2019-02-13

+

Modified the following content:

+ +

2019-01-30

+

Modified the following content:

+ +

2018-09-30

+

Added the following content:

+ +
Modified the following content: +
+

2018-08-30

+
Added the following content: +
+

2018-07-30

+
Modified the following content:
  • Adjusted the outline.
  • Adjusted the sequences of extension APIs and native APIs.
+
+

2018-06-30

+

Added the following content:

+
  • Added section "Asynchronous Job Progress Query."
+

2018-04-30

+

Modified the following content:

+ +

2018-03-30

+

Added the following content:

+ +

2018-01-30

+
Added the following content: +
+

2017-12-30

+

Added the following content:

+
  • Supported the upload of images in VHDX format.
+

2017-11-30

+
Added the following content: +
+

2017-10-30

+
Modified the following content:
  • Changed the maximum value of min_disk to 1024.
+
+

2017-09-30

+
Added the following content:
  • Supported the upload of images in RAW format.
+
+
Modified the following content: +
+

2017-08-30

+
Added the following content:
  • Supported image creation from a BMS.
+
+

2017-07-29

+
+

2017-06-30

+
Modified the following content: +
+

2017-05-30

+
+

2017-03-30

+

Added the following content:

+
  • Added response parameter __system_support_market in Querying Images. (This parameter specifies whether an image can be published in the Marketplace).
+
Modified the following content:
  • Updated the values of __os_version and image types.
+
+

2017-02-28

+
+
Modified the following content:
  • Updated the values of __os_version.
+
+

2017-02-08

+
Modified the following content:
  • Updated the values of __os_version.
+
+

2017-01-20

+
Added the following content:
  • Added support for image encryption and parameter cmk_id during image creation using an external image file in Creating an Image.
+
+
Modified the following content: +
+

2016-11-24

+
Added the following content:
  • Added the Anti-DDoS and KMS services in "Regions and Endpoints."
  • Supported the upload of image files in format of QCOW2, VMDK, VHD, and ZVHD.
  • Added the file_format parameter in Exporting an Image.
+
+
Modified the following content:
  • Modified the operation for generating the AK and SK.
  • Optimized descriptions about parameters min_disk, min_ram, status, created_at, and updated_at in multiple sections.
+
+

2016-10-29

+
Added the following content: +
+

2016-09-30

+
Modified the following content: +
+

2016-09-18

+
Added the following content:
  • Added "Registering an Image File as a Private Image".
  • Added "Exporting an Image".
  • Added "Sharing an Image".
+
+
Modified the following content:
  • Modified the function description and example request in "Uploading an Image".
+
+

2016-08-25

+
Added the following content:
  • Added the Cloud Container Engine (CCE), Relational Database Service (RDS), and Domain Name Service (DNS) services in "Regions and Endpoints."
+
+

2016-06-16

+
Added the following content: +
+

2016-04-14

+
Modified the following content:
  • Modified the URL parameter description in "Service Usage".
  • Modified the procedure for making API calls for token authentication.
  • Added the Identity and Access Management (IAM) service in Regions and Endpoints.
+
+

2016-03-09

+

This issue is the first official release.

+
+
+
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199252.html b/docs/ims/api-ref/en-us_topic_0000001361199252.html new file mode 100644 index 000000000..d8e16716f --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199252.html @@ -0,0 +1,359 @@ + + +

Image Attributes

+

Description

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 software. Image is the core object of IMS.

+
+

Image Attributes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Name

+

Type

+

Description

+

file

+

String

+

Specifies the URL for uploading and downloading the image file.

+

owner

+

String

+

Specifies the tenant to which the image belongs.

+

id

+

String

+

Specifies the image ID.

+

size

+

Long

+

This parameter is unavailable currently.

+

self

+

String

+

Specifies the image URL.

+

schema

+

String

+

Specifies the image schema.

+

status

+

String

+

Specifies the image status. The value can be active, queued, saving, deleted, or killed. An image can be used only when it is in the active state.

+

tags

+

Array of strings

+

Lists the image tags.

+

visibility

+

String

+

Specifies whether the image can be seen by other tenants. The value can be private, public, or shared.

+

name

+

String

+

Specifies the image name.

+
  • The name cannot start or end with space.
  • The name contains 1 to 128 characters.
  • The name contains the following four types of characters:
    • Uppercase letters
    • Lowercase letters
    • Numerals
    • Special characters include hyphens (-), periods (.), underscores (_), and space.
    +
+

checksum

+

String

+

This parameter is unavailable currently.

+

deleted

+

Boolean

+

Specifies whether the image has been deleted. The value can be true or false.

+

protected

+

Boolean

+

Specifies whether the image is protected. A protected image cannot be deleted. The value can be true or false.

+

container_format

+

String

+

Specifies the container type.

+

min_ram

+

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.

+

update_at

+

String

+

Specifies the time when the image was updated.

+

__os_bit

+

String

+

Specifies the OS architecture, 32 bit or 64 bit.

+

__os_version

+

String

+

Specifies the OS version.

+

__description

+

String

+

Provides supplementary information about the image.

+

The value contains a maximum of 1024 characters and consists of only letters and digits. Carriage returns and angle brackets (< >) are not allowed.

+

disk_format

+

String

+

Specifies the image format. The value can be vhd, raw, zvhd, or qcow2. The default value is vhd.

+

__isregistered

+

String

+

Specifies whether the image has been registered. The value can be true or false.

+

__platform

+

String

+

Specifies the image platform type. The value can be Windows, Ubuntu, RedHat, SUSE, CentOS, Debian, OpenSUSE, Oracle Linux, Fedora, Other, CoreOS, or EulerOS.

+

__os_type

+

String

+

Specifies the OS type. The value can be Linux, Windows, or Other.

+

min_disk

+

Integer

+

Specifies the minimum disk space (GB) required for running the image.

+

virtual_env_type

+

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.
+

__image_source_type

+

String

+

Specifies the image backend storage type. Only UDS is supported currently.

+

__imagetype

+

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.
+

__whole_image

+

Boolean

+

Specifies whether the image is a full-ECS image. The value can be true or false.

+

create_at

+

String

+

Specifies the time when the image was created.

+

virtual_size

+

Integer

+

This parameter is unavailable currently.

+

deleted_at

+

String

+

Specifies the time when the image was deleted.

+

__originalimagename

+

String

+

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

+

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.

+

__image_location

+

String

+

Specifies the location where the image is stored.

+

__image_size

+

String

+

Specifies the size (bytes) of the image file.

+

__data_origin

+

String

+

Specifies the image source.

+

If the image is a public image, this parameter is left empty.

+

hw_frimware_type

+

String

+

Specifies the ECS boot mode. The following values are supported:

+
  • bios indicates the BIOS boot mode.
  • uefi indicates the UEFI boot mode.
+

__support_xen

+

String

+

Specifies whether the image supports Xen. If yes, the value is true. Otherwise, this parameter is not required.

+

__support_largememory

+

String

+

Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this parameter is not required.

+

__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.

+

__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.

+

__support_xen_gpu_type

+

String

+

Specifies whether the image supports GPU-accelerated ECSs on the Xen platform. For the supported OSs, see Table 2. 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

+

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.

+

__support_xen_hana

+

String

+

Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this parameter is not required.

+

This attribute cannot co-exist with __support_xen.

+

__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.

+

__is_config_init

+

String

+

Specifies whether initial configuration is complete. The value can be true or false.

+

If initial configuration is complete, the value is set to true. Otherwise, the value is set to false. The default value is false.

+
+
+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199260.html b/docs/ims/api-ref/en-us_topic_0000001361199260.html new file mode 100644 index 000000000..950eec58e --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199260.html @@ -0,0 +1,98 @@ + + +

Deleting an Image Member (Native OpenStack API)

+

Function

This API is used to stop image sharing by deleting the tenant with whom the image is shared.

+
+

URI

DELETE /v2/images/{image_id}/members/{member_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

member_id

+

Yes

+

String

+

Specifies the member ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001361199268.html b/docs/ims/api-ref/en-us_topic_0000001361199268.html new file mode 100644 index 000000000..468eaeb0d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001361199268.html @@ -0,0 +1,15 @@ + + +

Image Replication

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119517.html b/docs/ims/api-ref/en-us_topic_0000001411119517.html new file mode 100644 index 000000000..abec06787 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119517.html @@ -0,0 +1,436 @@ + + +

Creating Image Metadata (Native OpenStack API)

+

Function

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.

+
+

URI

POST /v2/images

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119529.html b/docs/ims/api-ref/en-us_topic_0000001411119529.html new file mode 100644 index 000000000..2825a187d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119529.html @@ -0,0 +1,143 @@ + + +

Registering an Image

+

Function

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:

+
  1. Upload the image file to an OBS bucket. For details, see "Object Storage Service User Guide".
  2. Use the image metadata creation API to create image metadata. After the API is invoked successfully, save the image ID. For how to create image metadata, see Creating Image Metadata (Native OpenStack API).
  3. Use the API for registering images and the image ID obtained in 2 to register the image file as a private image.
  4. After the API is successfully invoked as an asynchronous one, the cloud service system receives a request. Query the image status using the image ID and check whether the image file is successfully registered. When the image status changes to active, the image file is successfully registered as a private image.

    For details about how to query the status of an asynchronous task, see Asynchronous Job Query.

    +
+

Before registering an image file, ensure that you have the Tenant Administrator permission of OBS.

+
+
+

URI

PUT /v1/cloudimages/{image_id}/upload

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
  • image_id is the ID of the image you created by invoking the API for creating image metadata. Registration may fail if you use other image IDs.
  • After this API is invoked, you can check the image status with the image ID. When the image status changes to active, the image file is successfully registered. For details, see Querying Image Details (Native OpenStack API).
+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+ +
+ + + + + + + + + + + + + + + + +

Returned Value

+

Description

+

400 Bad Request

+

Request error. For details about the returned error code, see Error Codes.

+

401 Unauthorized

+

Authentication failed.

+

403 Forbidden

+

You do not have the rights to perform the operation.

+

404 Not Found

+

The requested resource was not found.

+
+
+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119537.html b/docs/ims/api-ref/en-us_topic_0000001411119537.html new file mode 100644 index 000000000..fae98534b --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119537.html @@ -0,0 +1,8 @@ + + +

API Usage Guidelines

+

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 Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.

+

Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted using JSON messages, with the media type represented by Application/json.

+

For details about how to use APIs, see API Usage Guidelines.

+
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119541.html b/docs/ims/api-ref/en-us_topic_0000001411119541.html new file mode 100644 index 000000000..2c31cc6eb --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119541.html @@ -0,0 +1,19 @@ + + +

Native OpenStack APIs

+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119549.html b/docs/ims/api-ref/en-us_topic_0000001411119549.html new file mode 100644 index 000000000..3f519047c --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119549.html @@ -0,0 +1,165 @@ + + +

Adding an Image Member (Native OpenStack API)

+

Function

This API is used to add a project ID of a tenant with whom the image is to be shared.

+
+

URI

POST /v2/images/{image_id}/members

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119557.html b/docs/ims/api-ref/en-us_topic_0000001411119557.html new file mode 100644 index 000000000..eff0a33b9 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119557.html @@ -0,0 +1,563 @@ + + +

Querying Images by Tag

+

Function

This API is used to filter or count images using tags or other conditions.

+
+

Constraints

To be compatible with remaining tags, the system will not verify the character set of the tag keys and values in the query condition when parameters tags not_tags, tags_any, and not_tags_any are used.

+
+

URI

POST /v2/{project_id}/images/resource_instances/action

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+
+
+
+
+

Request

+
+

Response

+ +
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119565.html b/docs/ims/api-ref/en-us_topic_0000001411119565.html new file mode 100644 index 000000000..134a509db --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119565.html @@ -0,0 +1,162 @@ + + +

Querying an Image Member Schema (Native OpenStack API)

+

Function

This API is used to query an image member schema, which allows you to view image member attributes and their data types.

+
+

URI

GET /v2/schemas/member

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119573.html b/docs/ims/api-ref/en-us_topic_0000001411119573.html new file mode 100644 index 000000000..64b374d40 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119573.html @@ -0,0 +1,574 @@ + + +

Querying an Image List Schema (Native OpenStack API)

+

Function

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.

+
+

URI

GET /v2/schemas/images

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119577.html b/docs/ims/api-ref/en-us_topic_0000001411119577.html new file mode 100644 index 000000000..c320449a1 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119577.html @@ -0,0 +1,144 @@ + + +

Adding Image Members in Batches

+

Function

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 delivered. You need to query the status of the asynchronous task. If the status is success, the task is successfully executed. If the status is failed, the task fails. For details about how to query the status of an asynchronous task, see Asynchronous Job Query.

+
+

URI

POST /v1/cloudimages/members

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411119581.html b/docs/ims/api-ref/en-us_topic_0000001411119581.html new file mode 100644 index 000000000..1efeba7bd --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411119581.html @@ -0,0 +1,178 @@ + + +

Querying the Image Quota

+

Function

This extension API is used to query the quota of private images of a tenant in the current region.

+
+

URI

GET /v1/cloudimages/quota

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239209.html b/docs/ims/api-ref/en-us_topic_0000001411239209.html new file mode 100644 index 000000000..c9d6e4272 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239209.html @@ -0,0 +1,399 @@ + + +

Importing an Image File Quickly

+

Function

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 are supported, and the size of an image file cannot exceed 1 TB.

+

The fast image creation function is only available for image files in RAW or ZVHD2 format. For other formats of image files that are smaller than 128 GB, you are advised to import these files with the common method.

+

The API is an asynchronous one. If it is successfully called, the cloud service system receives the request. However, you need to use the asynchronous job query API to query the image creation status. For details, see Asynchronous Job Query.

+
+

Constraints

Before importing image files, ensure that the file format is RAW or ZVHD2 and the following have been done:
  • RAW image files have been optimized, and bitmap files have been generated.
  • ZVHD2 image files have been optimized as required.
+
+

For how to convert image file formats and generate a bitmap file, see section "Quickly Importing an Image File" in the Image Management Service User Guide.

+
+
+

URI

POST /v2/cloudimages/quickimport/action

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239213.html b/docs/ims/api-ref/en-us_topic_0000001411239213.html new file mode 100644 index 000000000..62cef5871 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239213.html @@ -0,0 +1,395 @@ + + +

Creating a Full-ECS Image

+

Function

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 one. If it is successfully called, the cloud system receives the request to create a full-ECS image. However, you need to use the asynchronous job query API to query the image creation status. For details, see Asynchronous Job Query.

+
+

Constraints (Creating a Full-ECS Image Using an ECS)

+
+

Constraints (Creating a Full-ECS Image Using a CSBS Backup)

+
+

Constraints (Creating a Full-ECS Image Using a CBR Backup)

+
+

URI

POST /v1/cloudimages/wholeimages/action

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239225.html b/docs/ims/api-ref/en-us_topic_0000001411239225.html new file mode 100644 index 000000000..3d9f8086d --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239225.html @@ -0,0 +1,227 @@ + + +

Creating a Data Disk Image Using an External Image File

+

Function

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 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.

+
+

URI

POST /v1/cloudimages/dataimages/action

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239233.html b/docs/ims/api-ref/en-us_topic_0000001411239233.html new file mode 100644 index 000000000..ffd135326 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239233.html @@ -0,0 +1,1757 @@ + + +

Error Codes

+

Function Description

If the returned status code is 400, a customized error message will be returned. This section describes the meaning of each status code.

+
+

Response Format

STATUS CODE 400
+
1
+2
+3
+4
+5
+6
{
+    "error": {
+        "message": "The imagetype is invalid.",
+        "code": "IMG.0024"
+    }
+}
+
+
+
+

Error Message Description

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Error codes

Status Code

+

Error Code

+

Message

+

Description

+

Handling Measure

+

400

+

IMG.0001

+

The request message format is invalid.

+

The request message format is invalid.

+

Use the correct format.

+

400

+

IMG.0002

+

The image name contains more than 128 characters.

+

The image name contains more than 128 characters.

+

Reduce the length of the image name.

+

400

+

IMG.0003

+

The image name format is invalid.

+

The image name format is invalid.

+

Check whether the image name is valid.

+

400

+

IMG.0004

+

The description contains more than 1024 characters.

+

The image name contains more than 1024 characters.

+

Reduce the length of the image description to within 1024 characters.

+

400

+

IMG.0005

+

The ECS does not exist.

+

The ECS does not exist.

+

Check whether the ECS exists.

+

400

+

IMG.0006

+

The ECS system disk cannot be used to create an image.

+

The system disk of the ECS cannot be used to create an image.

+

Check the system disk status of the ECS.

+

400

+

IMG.0007

+

The request body is empty.

+

The message body is empty.

+

Check whether the message body is valid.

+

400

+

IMG.0008

+

The ECS cannot be used to create images because it is not in stopped state.

+

The ECS cannot be used to create an image because it is not in the Stopped state.

+

Stop the ECS and try again.

+

400

+

IMG.0009

+

The image name already exists.

+

The image name already exists.

+

Change another image name.

+

400

+

IMG.0010

+

The ECS cannot be used to create an image because it has in-progress tasks.

+

The ECS cannot be used to create an image because it has in-progress tasks.

+

Try again after the tasks are complete.

+

400

+

IMG.0011

+

forceCreate must be set to true.

+

forceCreate must be set to true.

+

Set forceCreate to true.

+

400

+

IMG.0012

+

The ECS ID is not specified.

+

The ECS ID is invalid.

+

Enter a valid ECS ID.

+

400

+

IMG.0013

+

The image name is not specified.

+

The image name is not specified.

+

Enter a valid image name.

+

400

+

IMG.0014

+

An exception occurred when IaaS OpenStack was executing the task.

+

An exception occurred when IaaS OpenStack was executing the task.

+

Contact technical support.

+

400

+

IMG.0015

+

The number of private images has reached the maximum allowed.

+

The number of private images has reached the quota.

+

Increase the quota or delete existing images.

+

400

+

IMG.0016

+

An error occurred when the request body was deleted.

+

An error occurred when the request body was deleted.

+

Contact technical support.

+

400

+

IMG.0017

+

The URL format is incorrect.

+

The URL format is incorrect.

+

Check whether the URL format is valid.

+

400

+

IMG.0018

+

An error occurred when the job was submitted.

+

An error occurred when the job was submitted.

+

Contact technical support.

+

400

+

IMG.0019

+

The backup ID is not specified.

+

The backup ID is not specified.

+

Check whether the current backup ID is valid.

+

400

+

IMG.0020

+

The backup does not exist.

+

The backup does not exist.

+

Check whether the backup file exists.

+

400

+

IMG.0021

+

The resource type is unknown.

+

The source type is unknown.

+

Select a correct source type.

+

400

+

IMG.0022

+

The disk in the current state cannot be used to create images.

+

A disk in the current state cannot be used to create images.

+

Check the disk status.

+

400

+

IMG.0023

+

An exception occurred during task query.

+

An exception occurred during job query.

+

Contact technical support.

+

400

+

IMG.0024

+

The image type in the request is incorrect.

+

The image type in the request is incorrect.

+

Select either BMS or ECS.

+

400

+

IMG.0025

+

The user type in the request is incorrect.

+

The user type in the request is incorrect.

+

Check whether the user type is valid.

+

400

+

IMG.0026

+

The role is invalid. You need to apply for the required permissions or pass the real-name authentication.

+

You do not have the rights to perform the operation.

+

Contact technical support.

+

400

+

IMG.0027

+

The image ID in the request does not exist.

+

The image ID in the request does not exist.

+

Use a valid image ID.

+

400

+

IMG.0028

+

The image in the request is protected.

+

The image in the request is protected.

+

Contact technical support.

+

400

+

IMG.0029

+

The backup in the request has already been used to create an image.

+

The backup in the request has already been used to create an image.

+

Select another backup that has not been used.

+

400

+

IMG.0030

+

The project ID and token in the request are invalid.

+

The project ID and token in the request are invalid.

+

Enter a correct project ID and token.

+

400

+

IMG.0031

+

The resource ID in the request is incorrect.

+

The resource ID in the request is incorrect.

+

Use a valid image ID.

+

400

+

IMG.0032

+

The backup is unavailable.

+

The backup is unavailable.

+

Check whether the backup is available.

+

400

+

IMG.0033

+

The backup is not a system disk backup.

+

The backup is not a system disk backup.

+

Check whether the backup is a system disk backup.

+

400

+

IMG.0034

+

The number of images cannot be modified.

+

The number of images cannot be modified.

+

Contact technical support.

+

400

+

IMG.0035

+

An attribute conflict occurred during the modification.

+

An attribute conflict occurred during the modification.

+

Contact technical support.

+

400

+

IMG.0036

+

An error occurred when the value of asumeToken was obtained.

+

An error occurred when the value of asumeToken was obtained.

+

Contact technical support.

+

400

+

IMG.0037

+

An error occurred in the AK/SK was obtained.

+

An error occurred in the AK/SK was obtained.

+

Contact technical support.

+

400

+

IMG.0038

+

An error occurred when the bucket was created.

+

An error occurred when the bucket was created.

+

Contact technical support.

+

400

+

IMG.0039

+

An error occurred when read and write permissions of the bucket were granted to a specified user.

+

An error occurred when read and write permissions of the bucket were granted to a specified user.

+

Contact technical support.

+

400

+

IMG.0040

+

An error occurred in the object storage address was obtained.

+

An error occurred in the object storage address was obtained.

+

Contact technical support.

+

400

+

IMG.0041

+

The authorized account is empty.

+

The authorized account is empty.

+

Use a valid account.

+

400

+

IMG.0045

+

Failed to generate the image product code.

+

Failed to generate the image product code.

+

Contact technical support.

+

400

+

IMG.0046

+

The image is unavailable.

+

The image is unavailable.

+

Check the image status.

+

400

+

IMG.0047

+

This operation can be performed only by the image owner.

+

This operation can be performed only by the image owner.

+

Check whether you have the permission to operate the image.

+

400

+

IMG.0053

+

An error occurred when the domain information of the shadow account was obtained.

+

An error occurred when the domain information of the shadow account was obtained.

+

Contact technical support.

+

400

+

IMG.0054

+

The image description format is invalid.

+

The image description format is invalid.

+

Check the image description. It can contain no more than 1024 characters that consist of only letters and digits. Spaces and angle brackets (< >) are not allowed.

+

400

+

IMG.0055

+

The memory or disk size is invalid.

+

The memory or disk size is invalid.

+

Check the memory (MB) or disk size (GB) supported by the image.

+

400

+

IMG.0056

+

The OS type is invalid.

+

The OS type is invalid.

+

Select Windows or Linux.

+

400

+

IMG.0057

+

The image file does not exist, is empty, or in the incorrect format.

+

The image file does not exist, is empty, or in the incorrect format.

+

Select a valid image file.

+

400

+

IMG.0058

+

The region of the bucket where the image file is stored is inconsistent with that of the user.

+

The region of the bucket where the image file is stored is inconsistent with that of the user.

+

Ensure that the bucket where the image is stored is in region as the user.

+

400

+

IMG.0059

+

The size of the image file exceeds the maximum allowed.

+

The size of the image file exceeds the maximum allowed.

+

Check whether the size of the image file is less than or equal to 128 GB.

+

400

+

IMG.0060

+

The number of tasks exceeds the flow control limit.

+

The number of tasks exceeds the flow control limit.

+

Wait for a while and then try again.

+

400

+

IMG.0061

+

Unknown system error.

+

Unknown system error.

+

Contact technical support.

+

400

+

IMG.0062

+

The image name is incorrect.

+

The image name is incorrect.

+

Check whether the image name is valid.

+

400

+

IMG.0063

+

The VM type does not support image creation.

+

The ECS type does not support image creation.

+

Select an ECS that supports image creation.

+

400

+

IMG.0064

+

Failed to obtain tenant information from IAM.

+

Failed to obtain tenant information from IAM.

+

Contact technical support.

+

400

+

IMG.0065

+

Failed to obtain the tenant domain from IAM.

+

Failed to obtain the tenant domain from IAM.

+

Contact technical support.

+

400

+

IMG.0066

+

The image ID is incorrect.

+

The image ID is incorrect.

+

Enter a correct image ID.

+

400

+

IMG.0067

+

The project ID is incorrect.

+

The project ID is incorrect.

+

Enter a correct project ID.

+

400

+

IMG.0068

+

The specified bucket name is empty.

+

The specified bucket name is empty.

+

Check whether the specified bucket name is empty and enter a correct bucket name.

+

400

+

IMG.0069

+

The specified bucket cannot be accessed.

+

The specified bucket cannot be accessed.

+

Contact technical support.

+

400

+

IMG.0070

+

The image file already exists. Confirm the file in the corresponding directory of the OBS bucket or in the OBS bucket.

+

The image file already exists.

+

Check whether the file exists in the corresponding directory of the OBS bucket or in the OBS bucket.

+

400

+

IMG.0071

+

The image cannot be exported.

+

The image cannot be exported.

+

Select another image.

+

400

+

IMG.0072

+

The specified image format is not supported.

+

The specified image format is not supported.

+

Check the image format. Only VHD, RAW, ZVHD, and QCOW2 are supported. The default format is VHD.

+

400

+

IMG.0073

+

The name of the exported file is empty.

+

The name of the exported file is empty.

+

Enter a correct file name.

+

400

+

IMG.0074

+

The file name length exceeds the limit.

+

The file name length exceeds the limit.

+

Reduce the length of the file name.

+

400

+

IMG.0075

+

The file name contains invalid characters.

+

The file name contains invalid characters.

+

Ensure that the image file name meets the following requirements:

+
  • The name cannot start or end with space.
  • The name contains 1 to 128 characters.
  • The name contains the following four types of characters:
  • Uppercase letters
  • Lowercase letters
  • Digits
  • Special characters, including hyphens (-), periods (.), underscores (_), and space
+

400

+

IMG.0076

+

You cannot share an image with yourself.

+

You cannot share an image with yourself.

+

Do not share images with yourself.

+

400

+

IMG.0077

+

The public image cannot be exported.

+

The public image cannot be exported.

+

Select another image.

+

400

+

IMG.0079

+

The system disk image created from a charged image cannot be exported.

+

A system disk image created from a charged image cannot be exported.

+

Select another image.

+

400

+

IMG.0080

+

The image created from a CSBS backup cannot be exported.

+

The image created from a CSBS backup cannot be exported.

+

Export the image after the backup is created.

+

400

+

IMG.0081

+

The image cannot be exported because it is created from an image file.

+

The image cannot be exported because it is created from an image file.

+

Select another image.

+

400

+

IMG.0083

+

The image is a public image.

+

The image is a public image.

+

-

+

400

+

IMG.0084

+

The image is a private image.

+

The image is a private image.

+

-

+

400

+

IMG.0085

+

The publishing mode is incorrect.

+

The publishing mode is incorrect.

+

-

+

400

+

IMG.0086

+

No image was found.

+

No image was found.

+

Check whether the image exists.

+

400

+

IMG.0087

+

The token is incorrect.

+

The token is incorrect.

+

Enter a correct token.

+

400

+

IMG.0088

+

The number of shared images has reached the maximum allowed.

+

The number of shared images has reached the quota.

+

Increase the quota.

+

400

+

IMG.0089

+

The public image or Marketplace image cannot be shared.

+

A public image or marketplace image cannot be shared.

+

Check the constraints of image sharing.

+

400

+

IMG.0090

+

The image being created cannot be deleted.

+

An image being created cannot be deleted.

+

Delete the image after the image is created.

+

400

+

IMG.0092

+

The image can only be deleted by the owner.

+

The image can only be deleted by the owner.

+

Ask the image owner to delete the image.

+

400

+

IMG.0094

+

The public image cannot be deleted.

+

The public image cannot be deleted.

+

Do not delete public images.

+

400

+

IMG.0095

+

The KMS key does not exist.

+

The key does not exist.

+

Check whether the key exists.

+

400

+

IMG.0096

+

The specified KMS key ID must be different from the image key ID.

+

The specified KMS key ID must be different from the image key ID.

+

Check whether the specified KMS key ID is the same as the image key ID.

+

400

+

IMG.0097

+

The key is not enabled.

+

The key is not enabled.

+

Enable the key.

+

400

+

IMG.0098

+

The encrypted image cannot be shared or published in Marketplace.

+

The encrypted image cannot be shared or published in the Marketplace.

+

Copy the image to a non-encrypted image and then share or release the non-encrypted image.

+

400

+

IMG.0099

+

You do not have the permission to access the key.

+

You do not have the permission to access the key.

+

Check whether you have the permission to access the key.

+

400

+

IMG.0100

+

You do not have OBT permission for KMS.

+

You do not have OBT permission for KMS.

+

Check whether you have the OBT permission for KMS.

+

400

+

IMG.0101

+

The original key does not exist.

+

The original key does not exist.

+

Check whether the key is valid.

+

400

+

IMG.0102

+

The original key is not enabled.

+

The original key is not enabled.

+

Enable the original key.

+

400

+

IMG.0103

+

You do not have the permission to access the original key.

+

You do not have the permission to access the original key.

+

Check whether you have the permission to access the key.

+

400

+

IMG.0104

+

Enter the project name if there are multiple projects in the same region.

+

Enter the project name if there are multiple projects in the same region.

+

Enter the project name.

+

400

+

IMG.0105

+

The operation is not supported.

+

The operation is not supported.

+

Contact technical support.

+

400

+

IMG.0106

+

The image owner is another tenant.

+

The image owner is another tenant.

+

Confirm the image owner.

+

400

+

IMG.0108

+

The tenant ID was not found in the current region.

+

The tenant ID was not found in the current region.

+

Contact technical support.

+

400

+

IMG.0109

+

The bucket name contains invalid characters.

+

The bucket name contains invalid characters.

+

Check whether the bucket name is valid.

+

400

+

IMG.0110

+

The system disk is unavailable and cannot be used to create images.

+

The system disk is unavailable and cannot be used to create images.

+

Create an image when the system disk is available.

+

400

+

IMG.0111

+

The size of the system disk exceeds the maximum allowed.

+

The size of the system disk exceeds the maximum allowed.

+

Ensure that the ECS system disk size is greater than or equal to the system disk size of the image and smaller than 1024 GB.

+

400

+

IMG.0112

+

Failed to add the tenant.

+

Failed to add the tenant.

+

Contact technical support.

+

400

+

IMG.0113

+

Failed to delete the tenant.

+

Failed to delete the tenant.

+

Contact technical support.

+

400

+

IMG.0114

+

Failed to query the tenant details.

+

Failed to query the tenant details.

+

Contact technical support.

+

400

+

IMG.0115

+

The image tag is invalid.

+

The image tag is invalid.

+

Check the validity of the image tag.

+

400

+

IMG.0116

+

The number of image tags exceeds the quota.

+

The number of image tags exceeds the quota.

+

Delete tags that are unnecessary or not in use.

+

400

+

IMG.0117

+

The image source can only be BMS or ECS.

+

The image type can only be BMS or ECS.

+

Select a BMS or ECS as the image source.

+

400

+

IMG.0118

+

The BMS image does not support KMS encryption.

+

The BMS image does not support KMS encryption.

+

Modify the BMS image configuration.

+

400

+

IMG.0119

+

The VM does not have a system disk.

+

The ECS does not have a system disk.

+

Attach a system disk to the ECS.

+

400

+

IMG.0120

+

The specified data disk ID is unavailable.

+

The specified data disk ID is unavailable.

+

Check whether the current data disk ID is valid.

+

400

+

IMG.0121

+

The object cannot be found.

+

The object cannot be found.

+

Check whether the object exists.

+

400

+

IMG.0122

+

The OS type is invalid.

+

The OS type is invalid.

+

Select an OS supported by IMS.

+

400

+

IMG.0123

+

The image file address in the request is duplicate.

+

The image file address in the request is duplicate.

+

Delete the duplicate image file address.

+

400

+

IMG.0125

+

The data disk image cannot be converted to a public image.

+

The data disk image cannot be published as a public image.

+

Check the constraints on data disk images.

+

400

+

IMG.0126

+

The VM in the current stage cannot be used to create a full-ECS image.

+

The ECS in the current status cannot be used to create a full-ECS image.

+

Check the ECS status. Ensure that the ECS is in the Running or Stopped state.

+

400

+

IMG.0127

+

The CSBS backup does not exist.

+

The CSBS backup does not exist.

+

Check whether the CSBS backup exists.

+

400

+

IMG.0128

+

The full-ECS image cannot be exported.

+

A full-ECS image cannot be exported.

+

Check the constraints on image export.

+

400

+

IMG.0130

+

The full-ECS image cannot be exported or replicated.

+

A full-ECS image cannot be exported or replicated.

+

Check the constraints on full-ECS images.

+

400

+

IMG.0132

+

The CSBS backup in the current state cannot be used to create a full-ECS image.

+

A CSBS backup in the current state cannot be used to create a full-ECS image.

+

Wait until the CSBS backup becomes available.

+

400

+

IMG.0133

+

You are not allowed to access the CSBS backup.

+

You are not allowed to access the CSBS backup.

+

Apply for the permissions.

+

400

+

IMG.0134

+

The CSBS backup has been registered as an image.

+

The CSBS backup has been registered as an image.

+

A CSBS backup can be used to create only one full-ECS image. Select another CSBS backup.

+

400

+

IMG.0135

+

The full-ECS image cannot be shared.

+

A full-ECS image cannot be shared.

+

Check the constraints of image sharing.

+

400

+

IMG.0136

+

Failed to create a full-ECS image because the ECS is being backed up.

+

Failed to create a full-ECS image because a backup is being created for the ECS.

+

Wait until the CSBS backup becomes available.

+

400

+

IMG.0137

+

Failed to obtain the VM information.

+

Failed to obtain the ECS information.

+

Check whether the ECS ID is correct and whether you have the permission to perform operations on the ECS.

+

400

+

IMG.0138

+

Failed to obtain the OS type information.

+

Failed to obtain the OS type information.

+

Contact technical support.

+

400

+

IMG.0139

+

Other disks on the VM are being used to created VMs.

+

Other disks on the ECS are being used to create ECSs.

+

Contact technical support.

+

400

+

IMG.0140

+

The disks in the request come from different ECSs.

+

The disks in the request are from different ECSs.

+

Ensure that the ECS to which the disks are attached is the same.

+

400

+

IMG.0141

+

The value of hw_firmware_type is not uefi or bios.

+

The value of hw_firmware_type is not uefi or bios.

+

Set hw_firmware_type to uefi or bios.

+

400

+

IMG.0144

+

The image does not exist.

+

The image does not exist.

+

Check whether the image exists.

+

400

+

IMG.0145

+

The project name is incorrect.

+

The project name is incorrect.

+

Enter a correct project name.

+

400

+

IMG.0148

+

The image is being exported.

+

The image is being exported.

+

Wait until the image is exported.

+

400

+

IMG.0153

+

DESS or DSS disks cannot be used to create images.

+

DESS or DSS disks cannot be used to create images.

+

Select another ECS.

+

400

+

IMG.0154

+

Failed to communicate with Enterprise Project Management Service (EPS).

+

Failed to communicate with EPS.

+

Contact technical support.

+

400

+

IMG.0160

+

Only images less than 128 GB can be exported.

+

Only images smaller than 128 GB can be exported.

+

Images larger than 128 GB cannot be exported.

+

400

+

IMG.0165

+

You do not have permission to access the CSBS backup.

+

You do not have permission to access the CSBS backup.

+

Contact technical support.

+

400

+

IMG.0166

+

OS information must be contained in the ISO files used to create images.

+

OS version information must be contained when an ISO file is used to create an image.

+

OS version information must be contained when an ISO file is used to create an image.

+

400

+

IMG.0167

+

This operation cannot be performed for ISO images.

+

The ISO image does not support this function.

+

Contact technical support.

+

400

+

IMG.0168

+

Data disk images cannot be updated.

+

Data disk images cannot be updated.

+

Contact technical support.

+

400

+

IMG.0169

+

Failed to update the image because the OS versions are different.

+

Failed to update the image because the OS versions are different.

+

Contact technical support.

+

400

+

IMG.0170

+

Failed to update the image because the image formats are different.

+

Failed to update the image because the image formats are different.

+

Contact technical support.

+

400

+

IMG.0171

+

Failed to update the image because the minimum disk space is less than that of the source image.

+

Failed to update the image because the minimum disk space is less than that of the source image.

+

Contact technical support.

+

400

+

IMG.0172

+

Failed to update the image because the minimum memory is less than that of the source image.

+

Failed to update the image because the minimum memory is less than that of the source image.

+

Contact technical support.

+

400

+

IMG.0173

+

Failed to update the image because the image environment types are different.

+

Failed to update the image because the image environment types are different.

+

Contact technical support.

+

400

+

IMG.0174

+

Failed to update the image because the name of the source image is different from that of the target image.

+

Failed to update the image because the name of the source image is different from that of the target image.

+

Contact technical support.

+

400

+

IMG.0175

+

The folder name and image file name cannot contain spaces.

+

The folder name and image file name cannot contain spaces.

+

Check whether the file name is valid.

+

400

+

IMG.0176

+

Failed to delete the full-ECS backup.

+

Failed to delete the full-ECS backup.

+

Contact technical support.

+

400

+

IMG.0177

+

The source and target tenants reside in different regions.

+

The source and target tenants reside in different regions.

+

Check whether the source and target tenants reside in the same region.

+

400

+

IMG.0178

+

The target tenant is the same as the source tenant.

+

The target tenant is the same as the source tenant.

+

The target tenant cannot be the same as the source tenant. Please check.

+

400

+

IMG.0179

+

The token of the source image agency is invalid.

+

The token of the source image agency is invalid.

+

Contact technical support.

+

400

+

IMG.0181

+

Failed to obtain ECSs that can be protected.

+

Failed to obtain ECSs that can be protected.

+

Contact technical support.

+

400

+

IMG.0186

+

The ECS is associated with the CSBS service.

+

The ECS is associated with the CSBS service.

+

Contact technical support.

+

400

+

IMG.0187

+

KMS access traffic has reached the upper limit.

+

KMS access traffic has reached the upper limit.

+

Contact technical support.

+

400

+

IMG.0191

+

Failed to query ECS flavors.

+

Failed to query ECS flavors.

+

Contact technical support.

+

400

+

IMG.0192

+

The flavor used to query images is invalid.

+

The flavor used to query images is invalid.

+

Contact technical support.

+

400

+

IMG.0194

+

The maximum number of images that can be imported at one time has been reached.

+

The maximum number of images that can be imported at one time has been reached.

+

Contact technical support.

+

400

+

IMG.0195

+

Full-ECS images created from CBR backups must contain an OS.

+

Full-ECS images created from CBR backups must contain the OS version.

+

Specify the OS version.

+

400

+

IMG.0196

+

The image cannot be replicated because it is not accepted by the recipient.

+

The image cannot be replicated because it is not accepted by the recipient.

+

Accept the shared image.

+

400

+

IMG.0197

+

Failed to replicate the shared image because it is encrypted using KMS.

+

Failed to replicate the shared image because it is encrypted using KMS.

+

Shared encrypted images cannot be replicated.

+

400

+

IMG.0198

+

Backup ID does not match the backup type or does not exist.

+

Backup ID does not match the backup type or the backup does not exist.

+

Check whether the backup ID matches the backup type.

+
+
+
+
+
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239237.html b/docs/ims/api-ref/en-us_topic_0000001411239237.html new file mode 100644 index 000000000..34e63db2a --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239237.html @@ -0,0 +1,350 @@ + + +

Values of Related Parameters

+

__os_version Values

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 __os_version values

OS Type

+

OS Version (__os_version)

+

Windows

+

Windows 10 64bit

+

Windows 7 Enterprise 64bit

+

Windows Server 2016 Standard 64bit

+

Windows Server 2016 Datacenter 64bit

+

Windows Server 2012 R2 Standard 64bit

+

Windows Server 2012 Essentials R2 64bit

+

Windows Server 2012 R2 Datacenter 64bit

+

Windows Server 2012 Datacenter 64bit

+

Windows Server 2012 Standard 64bit

+

Windows Server 2008 R2 WEB 64bit

+

Windows Server 2008 R2 Standard 64bit

+

Windows Server 2008 R2 Enterprise 64bit

+

Windows Server 2008 R2 Datacenter 64bit

+

SUSE

+

SUSE Linux Enterprise Server 15 SP1 64bit

+

SUSE Linux Enterprise Server 15 64bit

+

SUSE Linux Enterprise Server 12 SP5 64bit

+

SUSE Linux Enterprise Server 12 SP3 64bit

+

SUSE Linux Enterprise Server 12 SP2 64bit

+

SUSE Linux Enterprise Server 12 SP1 64bit

+

SUSE Linux Enterprise Server 12 64bit

+

SUSE Linux Enterprise Server 11 SP4 64bit

+

SUSE Linux Enterprise Server 11 SP3 64bit

+

SUSE Linux Enterprise Server 11 SP3 32bit

+

SUSE Linux Enterprise Server 11 SP1 64bit

+

Oracle Linux

+

Oracle Linux Server release 7.6 64bit

+

Oracle Linux Server release 7.5 64bit

+

Oracle Linux Server release 7.4 64bit

+

Oracle Linux Server release 7.3 64bit

+

Oracle Linux Server release 7.2 64bit

+

Oracle Linux Server release 7.1 64bit

+

Oracle Linux Server release 7.0 64bit

+

Oracle Linux Server release 6.10 64bit

+

Oracle Linux Server release 6.9 64bit

+

Oracle Linux Server release 6.8 64bit

+

Oracle Linux Server release 6.7 64bit

+

Oracle Linux Server release 6.5 64bit

+

Red Hat

+

Redhat Linux Enterprise 8.0 64bit

+

Redhat Linux Enterprise 7.6 64bit

+

Redhat Linux Enterprise 7.5 64bit

+

Redhat Linux Enterprise 7.4 64bit

+

Redhat Linux Enterprise 7.3 64bit

+

Redhat Linux Enterprise 7.2 64bit

+

Redhat Linux Enterprise 7.1 64bit

+

Redhat Linux Enterprise 7.0 64bit

+

Redhat Linux Enterprise 6.10 64bit

+

Redhat Linux Enterprise 6.9 64bit

+

Redhat Linux Enterprise 6.8 64bit

+

Redhat Linux Enterprise 6.7 64bit

+

Redhat Linux Enterprise 6.6 64bit

+

Redhat Linux Enterprise 6.6 32bit

+

Redhat Linux Enterprise 6.5 64bit

+

Redhat Linux Enterprise 6.4 64bit

+

Redhat Linux Enterprise 6.4 32bit

+

Ubuntu

+

Ubuntu 19.04 server 64bit

+

Ubuntu 18.04 server 64bit

+

Ubuntu 16.04.3 Server 64bit

+

Ubuntu 16.04.2 Server 64bit

+

Ubuntu 16.04 server 64bit

+

Ubuntu 14.04.5 server 64bit

+

Ubuntu 14.04.4 server 64bit

+

Ubuntu 14.04.4 server 32bit

+

Ubuntu 14.04.3 server 64bit

+

Ubuntu 14.04.3 server 32bit

+

Ubuntu 14.04.1 server 64bit

+

Ubuntu 14.04.1 server 32bit

+

Ubuntu 14.04 server 64bit

+

Ubuntu 14.04 server 32bit

+

openSUSE

+

openSUSE 42.3 64bit

+

openSUSE 42.2 64bit

+

openSUSE 42.1 64bit

+

openSUSE 15.1 64bit

+

openSUSE 15.0 64bit

+

openSUSE 13.2 64bit

+

openSUSE 11.3 64bit

+

CentOS

+

CentOS 8.0 64bit

+

CentOS 7.7 64bit

+

CentOS 7.6 64bit

+

CentOS 7.5 64bit

+

CentOS 7.4 64bit

+

CentOS 7.3 64bit

+

CentOS 7.2 64bit

+

CentOS 7.1 64bit

+

CentOS 7.0 64bit

+

CentOS 7.0 32bit

+

CentOS 6.10 64bit

+

CentOS 6.10 32bit

+

CentOS 6.9 64bit

+

CentOS 6.9 32bit

+

CentOS 6.8 64bit

+

CentOS 6.7 64bit

+

CentOS 6.7 32bit

+

CentOS 6.6 64bit

+

CentOS 6.6 32bit

+

CentOS 6.5 64bit

+

CentOS 6.5 32bit

+

CentOS 6.4 64bit

+

CentOS 6.4 32bit

+

CentOS 6.3 64bit

+

CentOS 6.3 32bit

+

Debian

+

Debian GNU/Linux 10.0.0 64bit

+

Debian GNU/Linux 9.3.0 64bit

+

Debian GNU/Linux 9.0.0 64bit

+

Debian GNU/Linux 8.8.0 64bit

+

Debian GNU/Linux 8.7.0 64bit

+

Debian GNU/Linux 8.6.0 64bit

+

Debian GNU/Linux 8.5.0 64bit

+

Debian GNU/Linux 8.4.0 64bit

+

Debian GNU/Linux 8.2.0 64bit

+

Debian GNU/Linux 8.1.0 64bit

+

Fedora

+

Fedora 30 64bit

+

Fedora 29 64bit

+

Fedora 28 64bit

+

Fedora 27 64bit

+

Fedora 26 64bit

+

Fedora 25 64bit

+

Fedora 24 64bit

+

Fedora 23 64bit

+

Fedora 22 64bit

+

EulerOS

+

EulerOS 2.9 64bit

+

EulerOS 2.5 64bit

+

EulerOS 2.3 64bit

+

EulerOS 2.2 64bit

+

EulerOS 2.1 64bit

+

CoreOS

+

CoreOS 1068.10.0

+

CoreOS 1010.5.0

+

CoreOS 1298.6.0

+

openEuler

+

openEuler 20.03 64bit

+
+
+

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 this image unavailable and needs to be disabled.

+
+
+

__support_xen_gpu_type Values

+
+ + + + + + + +
Table 2 Supported GPU types

Supported GPU (__support_xen_gpu_type)

+

Description

+

M60_vGPU

+

The image has a hardware virtualization drive with the M60 video card installed and supports g1.xlarge and g1.2xlarge ECSs.

+
+
+
+

__support_kvm_gpu_type Values

+
+ + + + + + + + + + + + + + + + + + + + + + +
Table 3 Supported GPU types

Supported GPU (__support_kvm_gpu_type)

+

Description

+

P4

+

The image has a hardware virtualization driver with the P4 video card installed and supports pi1.2xlarge.4 and pi1.4xlarge.4 ECSs.

+

M60

+

The image has a hardware virtualization drive with the M60 video card installed and supports g1.xlarge, g1.2xlarge, and g3.4xlarge.4 ECSs.

+

V100_vGPU

+

The image has a hardware virtualization drive with the V100 video card installed and supports g5.8xlarge.4 ECSs.

+

P2V_V100

+

The image has a hardware virtualization drive with the V100 video card installed and supports p2v.2xlarge.8 ECSs.

+

P100

+

The image has a hardware virtualization drive with the P100 video card installed and supports p1.2xlarge.8 and p1.4xlarge.8 ECSs.

+

V100

+

The image has a hardware virtualization drive with the V100 video card installed and supports p2.2xlarge.8 and p2.4xlarge.8 ECSs.

+
+
+
+

Special Images and Supported OSs

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Special image types and supported OSs

Image Type

+

Supported OS

+

Memory-optimized generation II (m2)

+

CentOS 7.2 64bit

+

CentOS 6.5 64bit

+

SUSE SLES 11 SP4 64bit

+

Redhat 7.2 64bit

+

Windows 2012DC edition

+

Large-memory

+

CentOS 6.6 64bit

+

CentOS 6.7 64bit

+

CentOS 6.8 64bit

+

CentOS 7.1 64bit

+

CentOS 7.2 64bit

+

CentOS 7.3 64bit

+

SUSE Enterprise Linux Server 11 SP3 64bit

+

SUSE Enterprise Linux Server 11 SP4 64bit

+

SUSE Enterprise Linux Server 12 SP1 64bit

+

SUSE Enterprise Linux Server 12 SP2 64bit

+

Redhat Linux Enterprise 6.8 64bit

+

Redhat Linux Enterprise 7.3 64bit

+

GPU-accelerated (G1)

+

Windows Server 2008

+

Windows Server 2012

+

Windows Server 2016

+

GPU-accelerated (G2)

+

Windows Server 2008

+

Windows Server 2012

+

Disk-intensive

+

CentOS 7.2 64bit

+

CentOS 7.3 64bit

+

CentOS 6.8 64bit

+

SUSE Enterprise Linux Server 11 SP3 64bit

+

SUSE Enterprise Linux Server 11 SP4 64bit

+

SUSE Enterprise Linux Server 12 SP1 64bit

+

SUSE Enterprise Linux Server 12 SP2 64bit

+

Redhat Linux Enterprise 6.8 64bit

+

Redhat Linux Enterprise 7.3 64bit

+

High-performance generation I (H1)

+

CentOS 6.8 64bit

+

CentOS 7.2 64bit

+

CentOS 7.3 64bit

+

Windows Server 2008

+

Windows Server 2012

+

Windows Server 2016

+

SUSE Enterprise Linux Server 11 SP3 64bit

+

SUSE Enterprise Linux Server 11 SP4 64bit

+

SUSE Enterprise Linux Server 12 SP1 64bit

+

SUSE Enterprise Linux Server 12 SP2 64bit

+

Redhat Linux Enterprise 6.8 64bit

+

Redhat Linux Enterprise 7.3 64bit

+

High-performance generation II (H2)

+

CentOS 6.5 64bit

+

CentOS 7.2 64bit

+

SUSE SLES 11 SP4 64bit

+

Redhat 7.2 64bit

+

Memory-optimized generation II (m2)

+

CentOS 7.2 64bit

+

CentOS 6.5 64bit

+

SUSE SLES 11 SP4 64bit

+

Redhat 7.2 64bit

+

Windows 2012DC edition

+
+
+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239245.html b/docs/ims/api-ref/en-us_topic_0000001411239245.html new file mode 100644 index 000000000..f78b026fb --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239245.html @@ -0,0 +1,231 @@ + + +

Adding or Deleting Image Tags in Batches

+

Function

This API is used to add tags to, update tags of, or delete tags from an image in batches.

+
+

Constraints

+ +
+

URI

POST /v2/{project_id}/images/{image_id}/tags/action

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239253.html b/docs/ims/api-ref/en-us_topic_0000001411239253.html new file mode 100644 index 000000000..33e7cefa9 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239253.html @@ -0,0 +1,230 @@ + + +

Querying an Image Member List Schema (Native OpenStack API)

+

Function

This API is used to query an image member list schema, which allows you to view image member attributes and their data types.

+
+

URI

GET /v2/schemas/members

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411239269.html b/docs/ims/api-ref/en-us_topic_0000001411239269.html new file mode 100644 index 000000000..fca7d6643 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411239269.html @@ -0,0 +1,160 @@ + + +

Adding or Modifying a Tag

+

Function

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.

+
+

URI

PUT /v1/cloudimages/tags

+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399133.html b/docs/ims/api-ref/en-us_topic_0000001411399133.html new file mode 100644 index 000000000..f39eb947e --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399133.html @@ -0,0 +1,116 @@ + + +

Status Codes

+
+
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399137.html b/docs/ims/api-ref/en-us_topic_0000001411399137.html new file mode 100644 index 000000000..144144d1c --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399137.html @@ -0,0 +1,19 @@ + + +

Image Sharing

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399145.html b/docs/ims/api-ref/en-us_topic_0000001411399145.html new file mode 100644 index 000000000..e1f05b3df --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399145.html @@ -0,0 +1,99 @@ + + +

Deleting an Image (Native OpenStack API v1.1 - Abandoned and Not Recommended)

+

Function

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 deleted status.

+

This API has been discarded. Deleting an Image (Native OpenStack API) is recommended.

+
+

URI

DELETE /v1.1/images/{image_id}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399153.html b/docs/ims/api-ref/en-us_topic_0000001411399153.html new file mode 100644 index 000000000..ba0c208c3 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399153.html @@ -0,0 +1,17 @@ + + +

API Version Query (Native OpenStack API)

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399161.html b/docs/ims/api-ref/en-us_topic_0000001411399161.html new file mode 100644 index 000000000..c6a4ed7d3 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399161.html @@ -0,0 +1,729 @@ + + +

Updating Image Information (Native OpenStack API)

+

Function

This API is used to modify image information.

+
+

Constraints

Only customized attributes, image name, and image description can be modified.

+
+

URI

PATCH /v2/images/{image_id}

+

Table 1 lists the parameters.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

For details about how to obtain the image ID, see Querying Images.

+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399165.html b/docs/ims/api-ref/en-us_topic_0000001411399165.html new file mode 100644 index 000000000..f4190d6ee --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399165.html @@ -0,0 +1,21 @@ + + +

IMS APIs

+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399169.html b/docs/ims/api-ref/en-us_topic_0000001411399169.html new file mode 100644 index 000000000..79f0aa67a --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399169.html @@ -0,0 +1,109 @@ + + +

Deleting an Image Tag

+

Function

This API is used to delete a specified tag from an image.

+
+

Constraints

+
+

URI

DELETE /v2/{project_id}/images/{image_id}/tags/{key}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

key

+

Yes

+

String

+

Specifies the key of the tag to be deleted.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399181.html b/docs/ims/api-ref/en-us_topic_0000001411399181.html new file mode 100644 index 000000000..2a52ae3f0 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399181.html @@ -0,0 +1,546 @@ + + +

Querying Image Details (Native OpenStack API)

+

Function

This API is used to query details about a public or private image.

+
+

URI

GET /v2/images/{image_id}

+
Table 1 lists the parameters. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411399189.html b/docs/ims/api-ref/en-us_topic_0000001411399189.html new file mode 100644 index 000000000..a936e55bc --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411399189.html @@ -0,0 +1,21 @@ + + +

Image Schema (Native OpenStack APIs)

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479433.html b/docs/ims/api-ref/en-us_topic_0000001411479433.html new file mode 100644 index 000000000..9adb5414e --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479433.html @@ -0,0 +1,20 @@ + + +

Image Tag Data Formats

+

Description

You can attach a custom tag to a private image to facilitate private image management.

+
+

Data Formats

Data format of tag
  • The data format is key.value. If a key is added, a tag is added. In other cases, the tag is modified.
  • The tag key can contain a maximum of 36 characters, and the tag value can contain a maximum of 43 characters. The tag value can be an empty character string.
  • The tag can contain only digits, letters, underscores (_), and hyphens (-).
+
+
Data format of image_tags
  • The data format is {"key": "keyA", "value": "valueA"}. If the added key A exists, the tag is updated.
  • The tag key can contain a maximum of 36 characters, and the tag value can contain a maximum of 43 characters. The tag value can be an empty character string.
  • If the first and last characters of the tag key and value are spaces, the system deletes the space by default.
+
+
+

Data Formats (Native OpenStack)

Data format of tag
  • The data format is key. If a key is added, a tag is added. In other cases, the tag is modified.
  • The tag key can contain a maximum of 255 characters.
  • The tag can contain only digits, letters, underscores (_), and hyphens (-).
+
+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479437.html b/docs/ims/api-ref/en-us_topic_0000001411479437.html new file mode 100644 index 000000000..373b48748 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479437.html @@ -0,0 +1,118 @@ + + +

Uploading an Image (Native OpenStack API)

+

Function

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 to create images, see sections "Creating a Private Windows Image Using an External Image File" and "Creating a Private Linux Image Using an External Image File" in Image Management Service User Guide.

+

The following describes how to use this API:

+
  1. Prepare the image to be uploaded. The image can be in QCOW2, VMDK, VHD, RAW, VHDX, QED, VDI, QCOW, ZVHD2, or ZVHD format.
  2. Create metadata for the image by performing the operations in Creating Image Metadata (Native OpenStack API). After the API is invoked successfully, save the image ID.
  3. Upload the image file with the image ID obtained in 2.
+
+

URI

PUT /v2/images/{image_id}/file

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
  • image_id is the ID of the image you created by invoking the API for creating image metadata. Image upload may fail if you use other image IDs.
  • After this API is invoked, you can check the image status with the image ID. When the image status changes to active, the image is uploaded successfully.
+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479457.html b/docs/ims/api-ref/en-us_topic_0000001411479457.html new file mode 100644 index 000000000..d914ce93a --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479457.html @@ -0,0 +1,197 @@ + + +

Querying an API Version (Native OpenStack API)

+

Function

This API is used to query a specified API version, such as version compatibility and domain name information of an API.

+
+

URI

GET /{api_version}

+

Table 1 lists the parameters in the URI.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

api_version

+

Yes

+

String

+

Specifies the API version, for example v2.0.

+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479461.html b/docs/ims/api-ref/en-us_topic_0000001411479461.html new file mode 100644 index 000000000..be4542976 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479461.html @@ -0,0 +1,253 @@ + + +

Querying API Versions (Native OpenStack API)

+

Function

This API is used to query API versions, such as version compatibility and domain name information of APIs.

+
+

URI

GET /

+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479465.html b/docs/ims/api-ref/en-us_topic_0000001411479465.html new file mode 100644 index 000000000..f3b2a4852 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479465.html @@ -0,0 +1,176 @@ + + +

Exporting an Image

+

Function

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 of OBS.

+
+
+

Constraints

+
+

URI

POST /v1/cloudimages/{image_id}/file

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

For details about how to obtain the image ID, see Querying Images.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479469.html b/docs/ims/api-ref/en-us_topic_0000001411479469.html new file mode 100644 index 000000000..b5a08dd08 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479469.html @@ -0,0 +1,31 @@ + + +

Image (Native OpenStack APIs)

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479473.html b/docs/ims/api-ref/en-us_topic_0000001411479473.html new file mode 100644 index 000000000..698f83ea9 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479473.html @@ -0,0 +1,167 @@ + + +

Adding an Image Tag

+

Function

This API is used to add a tag to an image or update a tag.

+
+

Constraints

+
+

URI

POST /v2/{project_id}/images/{image_id}/tags

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Specifies the project ID.

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479477.html b/docs/ims/api-ref/en-us_topic_0000001411479477.html new file mode 100644 index 000000000..dabe21304 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479477.html @@ -0,0 +1,29 @@ + + +

Image Tagging

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479493.html b/docs/ims/api-ref/en-us_topic_0000001411479493.html new file mode 100644 index 000000000..13ffb868c --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479493.html @@ -0,0 +1,99 @@ + + +

Deleting a Tag (Native OpenStack API)

+

Function

This API is used to delete a custom tag from a private image.

+
+

URI

DELETE /v2/images/{image_id}/tags/{tag}

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

tag

+

Yes

+

String

+

Specifies the image tag.

+

The tag can contain only digits, letters, underscores (_), and hyphens (-).

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479497.html b/docs/ims/api-ref/en-us_topic_0000001411479497.html new file mode 100644 index 000000000..3bb7342d8 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479497.html @@ -0,0 +1,196 @@ + + +

Querying Image Members (Native OpenStack API)

+

Function

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.

+
+

URI

GET /v2/images/{image_id}/members

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Values

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479501.html b/docs/ims/api-ref/en-us_topic_0000001411479501.html new file mode 100644 index 000000000..f076ca121 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479501.html @@ -0,0 +1,15 @@ + + +

Image Quota

+
+
+ + + +
+ diff --git a/docs/ims/api-ref/en-us_topic_0000001411479505.html b/docs/ims/api-ref/en-us_topic_0000001411479505.html new file mode 100644 index 000000000..34dc92e90 --- /dev/null +++ b/docs/ims/api-ref/en-us_topic_0000001411479505.html @@ -0,0 +1,170 @@ + + +

Replicating an Image Within a Region

+

Function

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 requirements of different scenarios.

+

This API is an asynchronous one. If job_id is returned, the task is successfully delivered. You need to query the status of the asynchronous task. If the status is success, the task is successfully executed. If the status is failed, the task fails. For details about how to query the status of an asynchronous task, see Asynchronous Job Query.

+
+

Constraints

+
+

URI

POST /v1/cloudimages/{image_id}/copy

+
Table 1 lists the parameters in the URI. +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Mandatory

+

Type

+

Description

+

image_id

+

Yes

+

String

+

Specifies the image ID.

+

For details about how to obtain the image ID, see Querying Images.

+
+
+
+
+

Request

+
+

Response

+
+

Returned Value

+
+
+
+ +
+ diff --git a/docs/ims/api-ref/public_sys-resources/ExpandCollapse.js b/docs/ims/api-ref/public_sys-resources/ExpandCollapse.js new file mode 100644 index 000000000..116ddaabf --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/ExpandCollapse.js @@ -0,0 +1 @@ +var expandClassName="dropdownexpand";var collapseClassName="dropdowncollapse";var collapseTableClassName="dropdowncollapsetable";function ExpandorCollapseNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseClassName}else{a.className=expandClassName}}function ExpandorCollapseTableNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseTableClassName}else{a.className=expandClassName}}function ExpandorCollapseAllNodes(g,h,c){var a=g.getAttribute("title");var b=g.parentNode;if(a=="collapse"){g.setAttribute("title","expand");g.className="dropdownAllButtonexpand";g.innerHTML=h}else{g.setAttribute("title","collapse");g.className="dropdownAllButtoncollapse";g.innerHTML=c}var f=b.getElementsByTagName("*");for(var d=0;d-1){ExpandForHref(a.substring(a.lastIndexOf("#")+1))}}catch(c){}}; \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/caution_3.0-en-us.png b/docs/ims/api-ref/public_sys-resources/caution_3.0-en-us.png new file mode 100644 index 000000000..60f607621 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/caution_3.0-en-us.png differ diff --git a/docs/ims/api-ref/public_sys-resources/commonltr.css b/docs/ims/api-ref/public_sys-resources/commonltr.css new file mode 100644 index 000000000..c5480b0ab --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/commonltr.css @@ -0,0 +1 @@ +body{font-size:10pt;font-family:Arial;margin:1.5em;border-top:2pt;padding-top:1em;padding-bottom:2em}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:.6em;margin-bottom:.6em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.figcap{font-size:10pt}img{margin-top:.3em}.figdesc{font-style:normal}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.fignone{font-size:10pt;margin-top:8pt;margin-bottom:8pt}.familylinks{margin-top:1.5em;margin-bottom:1em}.ullinks{list-style-type:none}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-top:.6em;margin-bottom:.6em}.reltasks{margin-top:.6em;margin-bottom:.6em}.relref{margin-top:.6em;margin-bottom:.6em}.relinfo{margin-top:.6em;margin-bottom:.6em}.breadcrumb{font-size:smaller;margin-bottom:.6em}.prereq{margin-left:20px}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.topictitle1{margin-top:0;margin-bottom:1em;font-size:14pt;color:#007af4}.topictitle2{margin-top:1pc;margin-bottom:.45em;font-size:1.17em;color:#007af4}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-size:1.17em;font-weight:bold;color:#007af4}.topictitle4{margin-top:.83em;font-size:1.17em;font-weight:bold}.topictitle5{font-size:1.17em;font-weight:bold}.topictitle6{font-size:1.17em;font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:1em;color:black;font-size:10.5pt;font-weight:bold;color:#007af4;overflow:auto}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}.sectiontitle2contents:link{color:#007af4}.sectiontitle2contents:visited{color:#800080}.note{margin-top:1em;margin-bottom:1em;background-color:#ffc}.notetitle{font-weight:bold}.notelisttitle{font-weight:bold}.tip{margin-top:1em;margin-bottom:1em;background-color:#ffc}.tiptitle{font-weight:bold}.fastpath{margin-top:1em;margin-bottom:1em;background-color:#ffc}.fastpathtitle{font-weight:bold}.important{margin-top:1em;margin-bottom:1em;background-color:#ffc}.importanttitle{font-weight:bold}.remember{margin-top:1em;margin-bottom:1em;background-color:#ffc}.remembertitle{font-weight:bold}.restriction{margin-top:1em;margin-bottom:1em;background-color:#ffc}.restrictiontitle{font-weight:bold}.attention{margin-top:1em;margin-bottom:1em;background-color:#ffc}.attentiontitle{font-weight:bold}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;background-color:#ffc}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;background-color:#ffc}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;background-color:#ffc}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;background-color:#ffc}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}ol{margin-top:1em;margin-bottom:1em;margin-left:2.4em;padding-left:0}ul{margin-top:1em;margin-bottom:1em;margin-left:2.0em;padding-left:0}ol ul{list-style:disc}ul ul{list-style:square}ol ul ul{list-style:square}ol ul{list-style-type:disc}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}.firstcol{font-weight:bold}th{background-color:#cfcfcf}table{margin-top:8pt;margin-bottom:12pt;width:100%}table caption{margin-top:8pt;text-align:left}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:.3em;margin-bottom:.3em}.substepexpand{margin-top:.3em;margin-bottom:.3em}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}.hrcopyright{color:#3f4e5d;margin-top:18pt}.hwcopyright{text-align:center}.comment{margin:2px 2px 2px 2px;font-family:Arial;font-size:10pt;background-color:#bfb;color:#000}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowncontext{display:none}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdowncollapsetable{border:0}.dropdowncollapsetable .dropdowncontext{display:none}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}pre{font-size:10pt;font-weight:normal;margin-left:9;margin-top:2;margin-bottom:2}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0} \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/commonltr_print.css b/docs/ims/api-ref/public_sys-resources/commonltr_print.css new file mode 100644 index 000000000..a59823141 --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/commonltr_print.css @@ -0,0 +1 @@ +body{font-size:12.0pt;margin:1.5em;margin-left:1.6cm}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:1em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.covertable{border:0;width:100% cellpadding:8pt;cellspacing:8pt}.cover_productname{font-size:15.0pt;font-family:"Arial"}.cover_manualtitle{font-size:24.0pt;font-weight:bold;font-family:"Arial"}.cover_manualsubtitle{font-size:18.0pt;font-weight:bold;font-family:"Arial"}.cover_heading{font-size:12.0pt;font-weight:bold;font-family:"Arial"}.cover_text{font-size:9.0pt;font-family:"Arial"}.tocheading,.heading1,.topictitle1{margin-top:40.0pt;margin-right:0;margin-bottom:20.0pt;margin-left:-1cm;text-align:left;border:0;border-bottom:solid windowtext .5pt;font-size:22.0pt;font-family:"Arial";font-weight:bold}.topictitlenumber1{font-size:72.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle2{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Arial";font-weight:bold}.topictitle3{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:16.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle4{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:14.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle5{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.blocklabel,.topictitle6{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.sectiontitle{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:-1cm;text-indent:0;font-size:13.0pt;font-family:"Arial";font-weight:bold}.tocentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Book Antiqua";font-weight:bold}.tocentry2{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry3{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry4{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry5{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tofentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.totentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.indexheading{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.indexentry1{margin-top:4pt;margin-right:0;margin-bottom:0;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Times New Roman"}.indexentry2{margin-top:0;margin-right:0;margin-bottom:0;margin-left:24.0pt;line-height:12.0pt;font-size:12.0pt}.indexentry3{margin-top:0;margin-right:0;margin-bottom:0;margin-left:48pt;line-height:12.0pt;font-size:12.0pt}.figurenumber{font-weight:bold}.tablenumber{font-weight:bold}.familylinks{margin-top:1.5em;margin-bottom:1em}.figcap{font-size:11.0pt}.tablecap{font-size:11.0pt}.figdesc{font-style:normal}.fignone{margin-top:8.0pt}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.ullinks{margin-left:0;list-style-type:none}.ulchildlink{margin-top:1em;margin-bottom:1em}.olchildlink{margin-top:1em;margin-bottom:1em;margin-left:1em}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-left:1cm;margin-top:1em;margin-bottom:1em}.reltasks{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relref{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relinfo{margin-top:1em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-left:0}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}table .note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.notetitle{font-weight:bold;font-size:11.0pt}.notelisttitle{font-weight:bold}table .tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.tiptitle{font-weight:bold;font-size:11.0pt}table .fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.fastpathtitle{font-weight:bold;font-size:11.0pt}table .important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.importanttitle{font-weight:bold;font-size:11.0pt}table .remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.remembertitle{font-weight:bold;font-size:11.0pt}table .restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.restrictiontitle{font-weight:bold;font-size:11.0pt}table .attention{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.attention{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}.attentiontitle{font-weight:bold}table .danger{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .notice{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .warning{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .caution{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}table caption{margin-top:8pt;text-align:left;font-weight:bold}.tablenoborder{margin-top:8pt}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}.firstcol{font-weight:bold}th{background-color:#cfcfcf}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:1em;margin-bottom:1em}.substepexpand{margin-top:1em;margin-bottom:1em}table{margin-top:8pt;margin-bottom:10.0pt;width:100%}thead{font-size:10.0pt;font-family:"Book Antiqua";font-weight:bold}tbody{font-size:11.0pt}ol{margin-top:1em;margin-bottom:1em;margin-left:1.7em;-webkit-padding-start:0}ul{margin-top:1em;margin-bottom:1em;margin-left:1.2em;-webkit-padding-start:0}ol ul{list-style:disc}ul ul{list-style:square}ol ol{list-style-type:lower-alpha}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre{font-size:10.0pt;border-width:2px;padding:2px;margin-top:5px;margin-bottom:5px;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.prefacesectiontitle1{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Book Antiqua";font-weight:bold;overflow:auto}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0}.hrcopyright{color:#3f4e5d;margin-top:18pt;margin-left:-1cm}.hwcopyright{text-align:center;font-family:Arial;margin-left:-1cm} \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/commonrtl.css b/docs/ims/api-ref/public_sys-resources/commonrtl.css new file mode 100644 index 000000000..f261da752 --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/commonrtl.css @@ -0,0 +1,2 @@ +/*! Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved. */.msgph{font-family:Courier New}.unresolved{background-color:#87ceeb}.noTemplate{background-color:#ff0}.base{background-color:#fff}/*! Add space for top level topics */.nested0,.p{margin-top:1em}/*! div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid *//*! Default of italics to set apart figure captions */.figcap,.italic,.var{font-style:italic}.figdesc{font-style:normal}/*! Use @frame to create frames on figures */.figborder{padding-left:3px;padding-right:3px;margin-top:1em;border:2px solid Silver}.figsides{margin-top:1em;padding-left:3px;padding-right:3px;border-left:2px solid Silver;border-right:2px solid Silver}.figtop{border-top:2px solid Silver;margin-top:1em}.figbottom{border-bottom:2px solid Silver}.figtopbot{border-top:2px solid Silver;border-bottom:2px solid Silver;margin-top:1em}/*! Most link groups are created with
. Ensure they have space before and after. */.ullinks,ul.simple{list-style-type:none}.attention,.danger,.ddexpand,.dlexpand,.example,.fastpath,.important,.liexpand,.linklist,.note,.notice,.olchildlink,.relconcepts,.relinfo,.relref,.reltasks,.remember,.restriction,.section,.sliexpand,.stepexpand,.substepexpand,.tip,.ulchildlink,.warning{margin-top:1em;margin-bottom:1em}.linklistwithchild,.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-right:20px}/*! Set heading sizes, getting smaller for deeper nesting */.topictitle1{font-size:1.34em;margin-top:0;margin-bottom:.1em}.topictitle2,.topictitle3,.topictitle4,.topictitle5,.topictitle6,.sectiontitle{font-size:1.17em}.topictitle2{margin-top:1pc;margin-bottom:.45em}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-weight:700}.topictitle4{margin-top:.83em;font-weight:700}.topictitle5{font-weight:700}.topictitle6{font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:0;color:#000;font-weight:700}/*! All note formats have the same default presentation */.attentiontitle,.bold,.cautiontitle,.dangertitle,.dlterm,.fastpathtitle,.firstcol,.importanttitle,.notelisttitle,.notetitle,.noticetitle,.parmname,.remembertitle,.restrictiontitle,.tiptitle,.uicontrol,.warningtitle{font-weight:700}.caution{font-weight:700;margin-bottom:1em}/*! Simple lists do not get a bullet *//*! Used on the first column of a table, when rowheader="firstcol" is used *//*! Various basic phrase styles */.boldItalic{font-weight:700;font-style:italic}.shortcut,.underlined{text-decoration:underline}/*! 2008-10-27 keyword采用跟随上下文的样式 +*//*! Default of bold for definition list terms *//*! Use CSS to expand lists with @compact="no" */.dltermexpand{font-weight:700;margin-top:1em}[compact="yes"]>li{margin-top:0}[compact="no"]>li{margin-top:.53em}/*! Align images based on @align on topic/image */div.imageleft,.text-align-left{text-align:left}div.imagecenter,.text-align-center{text-align:center}div.imageright,.text-align-right{text-align:right}div.imagejustify,.text-align-justify{text-align:justify}.cellrowborder{border-right:0;border-top:0;border-left:1px solid;border-bottom:1px solid}.row-nocellborder{border-left:hidden;border-right:0;border-top:0;border-bottom:1px solid}.cell-norowborder{border-top:0;border-bottom:hidden;border-right:0;border-left:1px solid}.nocellnorowborder{border:0;border-left:hidden;border-bottom:hidden}pre.codeblock,pre.screen{padding:5px;border:outset;background-color:#ccc;margin-top:2px;margin-bottom:2px;white-space:pre} \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/danger_3.0-en-us.png b/docs/ims/api-ref/public_sys-resources/danger_3.0-en-us.png new file mode 100644 index 000000000..47a9c7235 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/danger_3.0-en-us.png differ diff --git a/docs/ims/api-ref/public_sys-resources/delta.gif b/docs/ims/api-ref/public_sys-resources/delta.gif new file mode 100644 index 000000000..0d1b1f674 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/delta.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/deltaend.gif b/docs/ims/api-ref/public_sys-resources/deltaend.gif new file mode 100644 index 000000000..cc7da0fc8 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/deltaend.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-arrowdn.gif b/docs/ims/api-ref/public_sys-resources/icon-arrowdn.gif new file mode 100644 index 000000000..84eec9be2 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-arrowdn.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-arrowrt.gif b/docs/ims/api-ref/public_sys-resources/icon-arrowrt.gif new file mode 100644 index 000000000..39583d168 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-arrowrt.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-caution.gif b/docs/ims/api-ref/public_sys-resources/icon-caution.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-caution.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-danger.gif b/docs/ims/api-ref/public_sys-resources/icon-danger.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-danger.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-huawei.gif b/docs/ims/api-ref/public_sys-resources/icon-huawei.gif new file mode 100644 index 000000000..a31d60f89 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-huawei.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-note.gif b/docs/ims/api-ref/public_sys-resources/icon-note.gif new file mode 100644 index 000000000..31be2b039 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-note.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-notice.gif b/docs/ims/api-ref/public_sys-resources/icon-notice.gif new file mode 100644 index 000000000..409070650 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-notice.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-tip.gif b/docs/ims/api-ref/public_sys-resources/icon-tip.gif new file mode 100644 index 000000000..c47bae05c Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-tip.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/icon-warning.gif b/docs/ims/api-ref/public_sys-resources/icon-warning.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/icon-warning.gif differ diff --git a/docs/ims/api-ref/public_sys-resources/note_3.0-en-us.png b/docs/ims/api-ref/public_sys-resources/note_3.0-en-us.png new file mode 100644 index 000000000..57a0e1f53 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/note_3.0-en-us.png differ diff --git a/docs/ims/api-ref/public_sys-resources/notice_3.0-en-us.png b/docs/ims/api-ref/public_sys-resources/notice_3.0-en-us.png new file mode 100644 index 000000000..fa4b64990 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/notice_3.0-en-us.png differ diff --git a/docs/ims/api-ref/public_sys-resources/popup.js b/docs/ims/api-ref/public_sys-resources/popup.js new file mode 100644 index 000000000..a550862ed --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/popup.js @@ -0,0 +1 @@ +var i=0;var dhtmlgoodies_tooltipFlag=false;var dhtmlgoodies_tooltip="";var dhtmlgoodies_tooltipShadow="";var dhtmlgoodies_shadowSize=3;var dhtmlgoodies_tooltipMaxWidth=500;var dhtmlgoodies_tooltipMinWidth=100;var dhtmlgoodies_iframe=false;var timeId;var clickFlag=false;var tooltip_is_msie=(navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("opera")==-1&&document.all)?true:false;var xPos;var yPos;window.document.onmousemove=function(a){a=a||window.event;if(a.pageX){xPos=a.pageX;yPos=a.pageY}else{if(document.body!==null&&typeof document.body!=="undefined"){xPos=a.clientX+document.body.scrollLeft-document.body.clientLeft;yPos=a.clientY+document.body.scrollTop-document.body.clientTop}}};function showTooltip(e){if(document.body===null||typeof document.body==="undefined"){return}if(i==0){return}clickFlag=true;var f=Json.parse("jsonData."+e);var a=Math.max(document.body.clientWidth,document.documentElement.clientWidth)-20;if(!dhtmlgoodies_tooltipFlag){dhtmlgoodies_tooltip=document.createElement("DIV");dhtmlgoodies_tooltip.id="dhtmlgoodies_tooltip";dhtmlgoodies_tooltipShadow=document.createElement("DIV");dhtmlgoodies_tooltipShadow.id="dhtmlgoodies_tooltipShadow";document.body.appendChild(dhtmlgoodies_tooltip);document.body.appendChild(dhtmlgoodies_tooltipShadow);if(tooltip_is_msie){dhtmlgoodies_iframe=document.createElement("IFRAME");dhtmlgoodies_iframe.frameborder="5";dhtmlgoodies_iframe.style.backgroundColor="#FFFFFF";dhtmlgoodies_iframe.src="#";dhtmlgoodies_iframe.style.zIndex=100;dhtmlgoodies_iframe.style.position="absolute";document.body.appendChild(dhtmlgoodies_iframe)}}dhtmlgoodies_tooltip.style.display="block";dhtmlgoodies_tooltipShadow.style.display="block";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="block"}var b=Math.max(document.body.scrollTop,document.documentElement.scrollTop);if(navigator.userAgent.toLowerCase().indexOf("safari")>=0){b=0}var c=xPos+10;dhtmlgoodies_tooltip.style.width=null;dhtmlgoodies_tooltip.innerHTML=f;dhtmlgoodies_tooltip.style.left=c+"px";if(tooltip_is_msie){dhtmlgoodies_tooltip.style.top=yPos+20+b+"px"}else{dhtmlgoodies_tooltip.style.top=yPos+20+"px"}dhtmlgoodies_tooltipShadow.style.left=c+dhtmlgoodies_shadowSize+"px";if(tooltip_is_msie){dhtmlgoodies_tooltipShadow.style.top=yPos+20+b+dhtmlgoodies_shadowSize+"px"}else{dhtmlgoodies_tooltipShadow.style.top=yPos+20+dhtmlgoodies_shadowSize+"px"}if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){dhtmlgoodies_tooltip.style.width=dhtmlgoodies_tooltipMaxWidth+"px"}var d=dhtmlgoodies_tooltip.offsetWidth;if(da){dhtmlgoodies_tooltip.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a))+"px";dhtmlgoodies_tooltipShadow.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a)+dhtmlgoodies_shadowSize)+"px"}if(tooltip_is_msie){dhtmlgoodies_iframe.style.left=dhtmlgoodies_tooltip.style.left;dhtmlgoodies_iframe.style.top=dhtmlgoodies_tooltip.style.top;dhtmlgoodies_iframe.style.width=dhtmlgoodies_tooltip.offsetWidth+"px";dhtmlgoodies_iframe.style.height=dhtmlgoodies_tooltip.offsetHeight+"px"}}function hideTooltip(){i=0;clickFlag=false;if((dhtmlgoodies_tooltip!==null&&typeof dhtmlgoodies_tooltip!=="undefined")&&+(dhtmlgoodies_tooltip.style!==null&&typeof dhtmlgoodies_tooltip.style!=="undefined")){dhtmlgoodies_tooltip.style.display="none";dhtmlgoodies_tooltipShadow.style.display="none";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="none"}}if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}function showText(a){i=1;timeId=setTimeout(function(){showTooltip(a)},500)}function showText2(a){if(!clickFlag){i=1;showTooltip(a);i=0;if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}}function anchorScroll(b){var d=document.getElementsByName(b);if(d!=null&&d.length>0){var c=d[0];var a=c.getBoundingClientRect().left+(document.body.scrollLeft||(document.documentElement&&document.documentElement.scrollLeft));var e=c.getBoundingClientRect().top+(document.body.scrollTop||(document.documentElement&&document.documentElement.scrollTop));window.scrollTo(a,e-30)}}; \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/pygments.css b/docs/ims/api-ref/public_sys-resources/pygments.css new file mode 100644 index 000000000..53c536579 --- /dev/null +++ b/docs/ims/api-ref/public_sys-resources/pygments.css @@ -0,0 +1 @@ +.hll{background-color:#ffc}.c{color:#069;font-style:italic}.err{color:black}.k{color:#069;font-weight:bold}.ch{color:#069;font-style:italic}.cm{color:#008200}.cp{color:black}.cpf{color:#069;font-style:italic}.c1{color:#008200}.cs{color:#069;font-weight:bold}.gd{color:#000;background-color:#fdd}.ge{font-style:italic}.gr{color:#a00}.gh{color:#999}.gi{color:#000;background-color:#dfd}.go{color:#888}.gp{color:#555}.gs{font-weight:bold}.gu{color:#aaa}.gt{color:#a00}.kc{color:#000080;font-weight:bold}.kd{color:#069;font-weight:bold}.kn{color:#000080;font-weight:bold}.kp{color:#069;font-weight:bold}.kr{color:#000080;font-weight:bold}.kt{color:#069;font-weight:bold}.m{color:blue}.s{color:blue}.na{color:gray}.nt{color:#069;font-weight:bold}.ow{font-weight:bold}.w{color:#bbb}.mb{color:blue}.mf{color:blue}.mh{color:blue}.mi{color:black}.mo{color:blue}.sa{color:blue}.sb{color:blue}.sc{color:#800080}.dl{color:blue}.sd{color:blue}.s2{color:blue}.se{color:blue}.sh{color:blue}.si{color:blue}.sx{color:blue}.sr{color:blue}.s1{color:blue}.ss{color:blue}.il{color:blue}.linenos{width:15px}.linenos{border-right:3px solid #6ce26c;color:#afafaf;text-align:right;padding:0 .5em 0 1em}.codecoloring{line-height:1.1em}.code,.highlight pre{font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace}.code,.highlight pre span{font-size:1em}.nb{color:#ff1493}.nv{color:#a70}.nx,.o,.n,.nf{color:black}.vc,.vi{color:#a70}.code,.highlight pre{padding:0 1em}.highlighttable pre{box-sizing:border-box;margin:0} \ No newline at end of file diff --git a/docs/ims/api-ref/public_sys-resources/warning_3.0-en-us.png b/docs/ims/api-ref/public_sys-resources/warning_3.0-en-us.png new file mode 100644 index 000000000..def5c3565 Binary files /dev/null and b/docs/ims/api-ref/public_sys-resources/warning_3.0-en-us.png differ