diff --git a/docs/ims/dev/.placeholder b/docs/ims/dev/.placeholder deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/ims/dev/ALL_META.TXT.json b/docs/ims/dev/ALL_META.TXT.json new file mode 100644 index 000000000..c8c5b3d8b --- /dev/null +++ b/docs/ims/dev/ALL_META.TXT.json @@ -0,0 +1,262 @@ +[ + { + "uri":"en-us_topic_0109822377.html", + "product_code":"ims", + "code":"1", + "des":"This document describes how to make calls to APIs designed for Image Management Service (IMS).For how to call APIs, see the Image Management Service API Reference.", + "doc_type":"devg", + "kw":"Overview,Developer Guide", + "title":"Overview", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822378.html", + "product_code":"ims", + "code":"2", + "des":"An image is a server or disk template that contains an operating system (OS) or service data and necessary software, such as database software. IMS provides public, priva", + "doc_type":"devg", + "kw":"Product Introduction,Developer Guide", + "title":"Product Introduction", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110299138.html", + "product_code":"ims", + "code":"3", + "des":"You need to learn how to call the APIs before you start.For details about how to call REST APIs, see API Usage Guidelines.", + "doc_type":"devg", + "kw":"Before You Start,Developer Guide", + "title":"Before You Start", + "githuburl":"" + }, + { + "uri":"en-us_topic_0219492328.html", + "product_code":"ims", + "code":"4", + "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":"devg", + "kw":"Common Scenarios", + "title":"Common Scenarios", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822381.html", + "product_code":"ims", + "code":"5", + "des":"A Windows or Linux ECS can be used to create a private image.Before creating the image, ensure that the ECS is stopped.The token obtained from Identity and Access Managem", + "doc_type":"devg", + "kw":"Creating an Image Using an ECS,Common Scenarios,Developer Guide", + "title":"Creating an Image Using an ECS", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822382.html", + "product_code":"ims", + "code":"6", + "des":"An external image file can also be used to create a private image.The API used here is the same as the one for creating a private image from an ECS except for the paramet", + "doc_type":"devg", + "kw":"Creating an Image Using an External Image File,Common Scenarios,Developer Guide", + "title":"Creating an Image Using an External Image File", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822403.html", + "product_code":"ims", + "code":"7", + "des":"Images can be created using search criteria.You can type question marks (?) and ampersands (&) at the end of the URI to define multiple search criteria. For details, see ", + "doc_type":"devg", + "kw":"Querying an Images List,Common Scenarios,Developer Guide", + "title":"Querying an Images List", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822404.html", + "product_code":"ims", + "code":"8", + "des":"Details about a private or public image can be queried.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cach", + "doc_type":"devg", + "kw":"Queries Details About an Image,Common Scenarios,Developer Guide", + "title":"Queries Details About an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822367.html", + "product_code":"ims", + "code":"9", + "des":"Image attributes can be modified to update image information.Only the name and description of private images can be changed.The token obtained from Identity and Access Ma", + "doc_type":"devg", + "kw":"Updating Image Information,Common Scenarios,Developer Guide", + "title":"Updating Image Information", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822368.html", + "product_code":"ims", + "code":"10", + "des":"A private image can be deleted if it is no longer needed.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can ca", + "doc_type":"devg", + "kw":"Deleting an Image,Common Scenarios,Developer Guide", + "title":"Deleting an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822369.html", + "product_code":"ims", + "code":"11", + "des":"If you need to use a private image in a storage device or on other platforms, you can export the image.All available private images can be exported to an OBS bucket in a ", + "doc_type":"devg", + "kw":"Exporting an Image,Common Scenarios,Developer Guide", + "title":"Exporting an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822370.html", + "product_code":"ims", + "code":"12", + "des":"A private image can be copied within a region as another one. The API used is an extension API. When replicating an image, you can change the image attributes to meet the", + "doc_type":"devg", + "kw":"Replicating an Images Within a Region,Common Scenarios,Developer Guide", + "title":"Replicating an Images Within a Region", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300591.html", + "product_code":"ims", + "code":"13", + "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":"devg", + "kw":"Sharing an Image", + "title":"Sharing an Image", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300592.html", + "product_code":"ims", + "code":"14", + "des":"A private image can be shared with other tenants. When sharing an image, you need add a project ID of the tenant with whom you are going to share the image.Currently, ima", + "doc_type":"devg", + "kw":"Adding an Image Member,Sharing an Image,Developer Guide", + "title":"Adding an Image Member", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300593.html", + "product_code":"ims", + "code":"15", + "des":"The status of a shared image can be updated after the tenant accepts or rejects the image.The token obtained from IAM is valid for only 24 hours. If you want to use a tok", + "doc_type":"devg", + "kw":"Updating the Image Sharing Status,Sharing an Image,Developer Guide", + "title":"Updating the Image Sharing Status", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300594.html", + "product_code":"ims", + "code":"16", + "des":"Details about a tenant with whom you have shared images can be queried.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authenticati", + "doc_type":"devg", + "kw":"Querying Details About an Image Member,Sharing an Image,Developer Guide", + "title":"Querying Details About an Image Member", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300595.html", + "product_code":"ims", + "code":"17", + "des":"Tenants with whom you have shared an image can be filtered using search criteria and displayed in a list.The token obtained from IAM is valid for only 24 hours. If you wa", + "doc_type":"devg", + "kw":"Querying Tenants,Sharing an Image,Developer Guide", + "title":"Querying Tenants", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300596.html", + "product_code":"ims", + "code":"18", + "des":"Image sharing can be stopped if you do not want to share your images any more.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authe", + "doc_type":"devg", + "kw":"Deleting an Image Member,Sharing an Image,Developer Guide", + "title":"Deleting an Image Member", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300597.html", + "product_code":"ims", + "code":"19", + "des":"An image can be shared with multiple tenants. The API used add tenants is an extension API.The token obtained from IAM is valid for only 24 hours. If you want to use a to", + "doc_type":"devg", + "kw":"Adding Image Members,Sharing an Image,Developer Guide", + "title":"Adding Image Members", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300598.html", + "product_code":"ims", + "code":"20", + "des":"The image sharing status can be updated in batches after a tenant accepts or rejects multiple shared images. The API used is an extension API.The token obtained from IAM ", + "doc_type":"devg", + "kw":"Updating the Image Sharing Status in Batches,Sharing an Image,Developer Guide", + "title":"Updating the Image Sharing Status in Batches", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110300599.html", + "product_code":"ims", + "code":"21", + "des":"Image sharing with multiple tenants can be stopped at the same time.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication,", + "doc_type":"devg", + "kw":"Deleting Image Members,Sharing an Image,Developer Guide", + "title":"Deleting Image Members", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822371.html", + "product_code":"ims", + "code":"22", + "des":"After a request is successfully received, a job id is returned. You can run the job to query the execution status. This part describes how to use a job ID to query job de", + "doc_type":"devg", + "kw":"Querying Job Details,Common Scenarios,Developer Guide", + "title":"Querying Job Details", + "githuburl":"" + }, + { + "uri":"en-us_topic_0109822372.html", + "product_code":"ims", + "code":"23", + "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":"devg", + "kw":"Appendix", + "title":"Appendix", + "githuburl":"" + }, + { + "uri":"en-us_topic_0124290300.html", + "product_code":"ims", + "code":"24", + "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":"devg", + "kw":"Status Codes,Appendix,Developer Guide", + "title":"Status Codes", + "githuburl":"" + }, + { + "uri":"en-us_topic_0110943799.html", + "product_code":"ims", + "code":"25", + "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":"devg", + "kw":"Error Codes,Appendix,Developer Guide", + "title":"Error Codes", + "githuburl":"" + }, + { + "uri":"en-us_topic_0139609146.html", + "product_code":"ims", + "code":"26", + "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":"devg", + "kw":"Change History,Appendix,Developer Guide", + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/ims/dev/CLASS.TXT.json b/docs/ims/dev/CLASS.TXT.json new file mode 100644 index 000000000..f490ff621 --- /dev/null +++ b/docs/ims/dev/CLASS.TXT.json @@ -0,0 +1,236 @@ +[ + { + "desc":"This document describes how to make calls to APIs designed for Image Management Service (IMS).For how to call APIs, see the Image Management Service API Reference.", + "product_code":"ims", + "title":"Overview", + "uri":"en-us_topic_0109822377.html", + "doc_type":"devg", + "p_code":"", + "code":"1" + }, + { + "desc":"An image is a server or disk template that contains an operating system (OS) or service data and necessary software, such as database software. IMS provides public, priva", + "product_code":"ims", + "title":"Product Introduction", + "uri":"en-us_topic_0109822378.html", + "doc_type":"devg", + "p_code":"", + "code":"2" + }, + { + "desc":"You need to learn how to call the APIs before you start.For details about how to call REST APIs, see API Usage Guidelines.", + "product_code":"ims", + "title":"Before You Start", + "uri":"en-us_topic_0110299138.html", + "doc_type":"devg", + "p_code":"", + "code":"3" + }, + { + "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 Scenarios", + "uri":"en-us_topic_0219492328.html", + "doc_type":"devg", + "p_code":"", + "code":"4" + }, + { + "desc":"A Windows or Linux ECS can be used to create a private image.Before creating the image, ensure that the ECS is stopped.The token obtained from Identity and Access Managem", + "product_code":"ims", + "title":"Creating an Image Using an ECS", + "uri":"en-us_topic_0109822381.html", + "doc_type":"devg", + "p_code":"4", + "code":"5" + }, + { + "desc":"An external image file can also be used to create a private image.The API used here is the same as the one for creating a private image from an ECS except for the paramet", + "product_code":"ims", + "title":"Creating an Image Using an External Image File", + "uri":"en-us_topic_0109822382.html", + "doc_type":"devg", + "p_code":"4", + "code":"6" + }, + { + "desc":"Images can be created using search criteria.You can type question marks (?) and ampersands (&) at the end of the URI to define multiple search criteria. For details, see ", + "product_code":"ims", + "title":"Querying an Images List", + "uri":"en-us_topic_0109822403.html", + "doc_type":"devg", + "p_code":"4", + "code":"7" + }, + { + "desc":"Details about a private or public image can be queried.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cach", + "product_code":"ims", + "title":"Queries Details About an Image", + "uri":"en-us_topic_0109822404.html", + "doc_type":"devg", + "p_code":"4", + "code":"8" + }, + { + "desc":"Image attributes can be modified to update image information.Only the name and description of private images can be changed.The token obtained from Identity and Access Ma", + "product_code":"ims", + "title":"Updating Image Information", + "uri":"en-us_topic_0109822367.html", + "doc_type":"devg", + "p_code":"4", + "code":"9" + }, + { + "desc":"A private image can be deleted if it is no longer needed.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can ca", + "product_code":"ims", + "title":"Deleting an Image", + "uri":"en-us_topic_0109822368.html", + "doc_type":"devg", + "p_code":"4", + "code":"10" + }, + { + "desc":"If you need to use a private image in a storage device or on other platforms, you can export the image.All available private images can be exported to an OBS bucket in a ", + "product_code":"ims", + "title":"Exporting an Image", + "uri":"en-us_topic_0109822369.html", + "doc_type":"devg", + "p_code":"4", + "code":"11" + }, + { + "desc":"A private image can be copied within a region as another one. The API used is an extension API. When replicating an image, you can change the image attributes to meet the", + "product_code":"ims", + "title":"Replicating an Images Within a Region", + "uri":"en-us_topic_0109822370.html", + "doc_type":"devg", + "p_code":"4", + "code":"12" + }, + { + "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":"Sharing an Image", + "uri":"en-us_topic_0110300591.html", + "doc_type":"devg", + "p_code":"4", + "code":"13" + }, + { + "desc":"A private image can be shared with other tenants. When sharing an image, you need add a project ID of the tenant with whom you are going to share the image.Currently, ima", + "product_code":"ims", + "title":"Adding an Image Member", + "uri":"en-us_topic_0110300592.html", + "doc_type":"devg", + "p_code":"13", + "code":"14" + }, + { + "desc":"The status of a shared image can be updated after the tenant accepts or rejects the image.The token obtained from IAM is valid for only 24 hours. If you want to use a tok", + "product_code":"ims", + "title":"Updating the Image Sharing Status", + "uri":"en-us_topic_0110300593.html", + "doc_type":"devg", + "p_code":"13", + "code":"15" + }, + { + "desc":"Details about a tenant with whom you have shared images can be queried.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authenticati", + "product_code":"ims", + "title":"Querying Details About an Image Member", + "uri":"en-us_topic_0110300594.html", + "doc_type":"devg", + "p_code":"13", + "code":"16" + }, + { + "desc":"Tenants with whom you have shared an image can be filtered using search criteria and displayed in a list.The token obtained from IAM is valid for only 24 hours. If you wa", + "product_code":"ims", + "title":"Querying Tenants", + "uri":"en-us_topic_0110300595.html", + "doc_type":"devg", + "p_code":"13", + "code":"17" + }, + { + "desc":"Image sharing can be stopped if you do not want to share your images any more.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authe", + "product_code":"ims", + "title":"Deleting an Image Member", + "uri":"en-us_topic_0110300596.html", + "doc_type":"devg", + "p_code":"13", + "code":"18" + }, + { + "desc":"An image can be shared with multiple tenants. The API used add tenants is an extension API.The token obtained from IAM is valid for only 24 hours. If you want to use a to", + "product_code":"ims", + "title":"Adding Image Members", + "uri":"en-us_topic_0110300597.html", + "doc_type":"devg", + "p_code":"13", + "code":"19" + }, + { + "desc":"The image sharing status can be updated in batches after a tenant accepts or rejects multiple shared images. The API used is an extension API.The token obtained from IAM ", + "product_code":"ims", + "title":"Updating the Image Sharing Status in Batches", + "uri":"en-us_topic_0110300598.html", + "doc_type":"devg", + "p_code":"13", + "code":"20" + }, + { + "desc":"Image sharing with multiple tenants can be stopped at the same time.The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication,", + "product_code":"ims", + "title":"Deleting Image Members", + "uri":"en-us_topic_0110300599.html", + "doc_type":"devg", + "p_code":"13", + "code":"21" + }, + { + "desc":"After a request is successfully received, a job id is returned. You can run the job to query the execution status. This part describes how to use a job ID to query job de", + "product_code":"ims", + "title":"Querying Job Details", + "uri":"en-us_topic_0109822371.html", + "doc_type":"devg", + "p_code":"4", + "code":"22" + }, + { + "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":"Appendix", + "uri":"en-us_topic_0109822372.html", + "doc_type":"devg", + "p_code":"", + "code":"23" + }, + { + "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_0124290300.html", + "doc_type":"devg", + "p_code":"23", + "code":"24" + }, + { + "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_0110943799.html", + "doc_type":"devg", + "p_code":"23", + "code":"25" + }, + { + "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_0139609146.html", + "doc_type":"devg", + "p_code":"23", + "code":"26" + } +] \ No newline at end of file diff --git a/docs/ims/dev/PARAMETERS.txt b/docs/ims/dev/PARAMETERS.txt new file mode 100644 index 000000000..6da8d5f07 --- /dev/null +++ b/docs/ims/dev/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/ims/dev/en-us_topic_0109822367.html b/docs/ims/dev/en-us_topic_0109822367.html new file mode 100644 index 000000000..ba61784b6 --- /dev/null +++ b/docs/ims/dev/en-us_topic_0109822367.html @@ -0,0 +1,74 @@ + + +
Image attributes can be modified to update image information.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
|---|---|---|---|
op + |
+Yes + |
+String + |
+Specifies the operation. The value can be add, replace, or remove. + |
+
path + |
+Yes + |
+String + |
+Specifies the name of the attribute to be modified. A slash (/) needs to be added in front of it. +You can modify the following attributes: +
You can add or delete extended attributes. + |
+
value + |
+Yes + |
+Determined by the attribute value + |
+Specifies the new value of the attribute. + |
+
Example request:
+[
+ {
+ "op": "replace",
+ "path": "/name",
+ "value": "ims_test"
+ }
+]
+For details about status codes for request exceptions, see Status Codes.
+A private image can be deleted if it is no longer needed.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +For details about status codes for request exceptions, see Status Codes.
+If you need to use a private image in a storage device or on other platforms, you can export the image.
+All available private images can be exported to an OBS bucket in a specific format. After you have exported an image, you can download it from the OBS bucket to the specified storage device.
+Images exported in different formats may vary in size. You will be charged for the space used to store these images.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "bucket_url":"ims-image:centos7_5.qcow2", //URL of the target file in the format of <Bucket name>:<File name> (mandatory, string)
+ "file_format":"qcow2" //File format, which can be qcow2, vhd, zvhd, or vmdk (mandatory, string)
+}
+If the request is successful, a job ID is returned.
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+A private image can be copied within a region as another one. The API used is an extension API. When replicating an image, you can change the image attributes to meet the requirements of different scenarios.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "name": "ims_encrypted_copy3", //Image name (mandatory, string)
+ "description": "test copy", //Image description (optional, string)
+ "cmk_id": "bd66288c-9081-460a-8227-4cbd0c814cb4" //Encryption key (optional, string)
+}
+If the request is successful, a job ID is returned.
+If the job status is SUCCESS, the image is successfully replicated.
+For details about status codes for request exceptions, see Status Codes.
+After a request is successfully received, a job id is returned. You can run the job to query the execution status. This part describes how to use a job ID to query job details.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +This document describes how to make calls to APIs designed for Image Management Service (IMS).
+
For how to call APIs, see the Image Management Service API Reference.
+An image is a server or disk template that contains an operating system (OS) or service data and necessary software, such as database software. IMS provides public, private, and shared images.
+Image Management Service (IMS) allows you to manage the entire lifecycle of your images. You can create ECSs or BMSs from public, private, or shared images. You can also create a private image from a cloud server or an external image file to make it easier to migrate workloads to the cloud or on the cloud.
+Public image
+A public image is a standard OS image provided by the cloud platform and is visible to all users. It consists of an OS and pre-installed public applications. You can deploy personal applications as needed.
+Private image
+A private image is an image available only to the image owner. It contains an OS, pre-installed public applications, and the image owner's private applications. Using a private image to create servers removes the need to configure multiple servers repeatedly.
+External image file
+An external image file is a template that can be used to create ECSs or BMSs. The template provides information required to create the servers, including the OS and pre-installed applications.
+A Windows or Linux ECS can be used to create a private image.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "name": "ims_test", //Image name (mandatory, string)
+ "description": "Image creation from an ECS", //Image description (optional, string)
+ "instance_id": "877a2cda-ba63-4e1e-b95f-e67e48b6129a", //ECS ID (mandatory, string)
+ "tags": [
+ "aaa.111",
+ "bbb.333",
+ "ccc.444"
+ ] //Image tag list (optional, array of objects)
+}
+
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+An external image file can also be used to create a private image.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "name": "ims_test_file", //Image name (mandatory, string)
+ "description": "Image creation using an image file uploaded to the OBS bucket", //Image description (optional, string)
+ "image_url": "ims-image:centos70.qcow2", //Image file address (mandatory, string)
+ "os_version": "CentOS 7.0 64bit", //OS version (optional, string)
+ "is_config_init":true, //Initialized or not (optional, boolean)
+ "min_disk": 40, //Minimum system disk space (mandatory, integer)
+ "is_config":true, //Whether to enable automatic configuration (optional, boolean)
+ "tags": [
+ "aaa.111",
+ "bbb.333",
+ "ccc.444"
+ ] //Image tag list (optional, array of objects)
+}
+
For how to obtain the address of the image file in the OBS bucket, see "Operations on Buckets" in the Object Storage Service API Reference.
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+Images can be created using search criteria.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +For details about status codes for request exceptions, see Status Codes.
+GET /v2/images?__imagetype=gold&visibility=public&protected=true
+GET /v2/images?member_status=accepted&visibility=shared&__imagetype=shared
+GET /v2/images?member_status=rejected&visibility=shared&__imagetype=shared
+GET /v2/images?member_status=pending&visibility=shared&__imagetype=shared
+Details about a private or public image can be queried.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +An example request is as follows: https://IMS endpoint/v2/images/33ad552d-1149-471c-8190-ff6776174a00.
+For details about status codes for request exceptions, see Status Codes.
+You need to learn how to call the APIs before you start.
+For details about how to call REST APIs, see API Usage Guidelines.
+A private image can be shared with other tenants. When sharing an image, you need add a project ID of the tenant with whom you are going to share the image.
+
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "member": "edc89b490d7d4392898e19b2deb34797" //Member ID (that is, project ID of the image recipient)
+}
+{
+ "status": "pending", //Image is being shared
+ "created_at": "2016-09-01T02:05:14Z", //Time when the image is shared
+ "updated_at": "2016-09-01T02:05:14Z", //Time when the image is updated
+ "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64", //Image ID
+ "member_id": "edc89b490d7d4392898e19b2deb34797" //Member ID (that is, project ID of the image recipient)
+ "schema": "/v2/schemas/member" //Image sharing schema
+}
+For details about status codes for request exceptions, see Status Codes.
+The status of a shared image can be updated after the tenant accepts or rejects the image.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "status": "accepted" //accepted indicates that the shared image will be accepted.
+}
+{
+ "status": "accepted", //Sharing status (accepted indicates that the shared image will be accepted.)
+ "created_at": "2016-09-01T02:05:14Z", //Time when the image is shared
+ "updated_at": "2016-09-01T02:37:11Z", //Time when the image is updated
+ "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64", //Image ID
+ "member_id": "edc89b490d7d4392898e19b2deb34797" //Member ID (that is, project ID of the image recipient)
+ "schema": "/v2/schemas/member" //Image sharing schema
+}
+For details about status codes for request exceptions, see Status Codes.
+Details about a tenant with whom you have shared images can be queried.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "status": "accepted", //Sharing status (accepted indicates that the shared image will be accepted.)
+ "created_at": "2016-09-01T02:05:14Z", //Time when the image is shared
+ "updated_at": "2016-09-01T02:37:11Z", //Time when the image is updated
+ "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64", //Image ID
+ "member_id": "edc89b490d7d4392898e19b2deb34797" //Member ID (that is, project ID of the image recipient)
+ "schema": "/v2/schemas/member" //Image sharing schema
+}
+For details about status codes for request exceptions, see Status Codes.
+Tenants with whom you have shared an image can be filtered using search criteria and displayed in a list.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "status": "accepted", //Sharing status (accepted indicates that the shared image will be accepted.)
+ "created_at": "2016-09-01T02:05:14Z", //Time when the image is shared
+ "updated_at": "2016-09-01T02:37:11Z", //Time when the image is updated
+ "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64", //Image ID
+ "member_id": "edc89b490d7d4392898e19b2deb34797" //Member ID (that is, project ID of the image recipient)
+ "schema": "/v2/schemas/member" //Image sharing schema
+}
+For details about status codes for request exceptions, see Status Codes.
+Image sharing can be stopped if you do not want to share your images any more.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +If the request is successful, status code 204 is returned.
+For details about status codes for request exceptions, see Status Codes.
+An image can be shared with multiple tenants. The API used add tenants is an extension API.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "images": [
+ "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
+ "0b680482-acaa-4045-b14c-9a8c7dfe9c70"
+ ], //Image IDs (mandatory, list<string>)
+ "projects": [
+ "9c61004714024f9586705d090530f9fa",
+ "edc89b490d7d4392898e19b2deb34797"
+ ], //Project IDs (mandatory, list<string>)
+}
+If the request is successful, a job ID is returned.
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+The image sharing status can be updated in batches after a tenant accepts or rejects multiple shared images. The API used is an extension API.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "images": [
+ "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
+ "0b680482-acaa-4045-b14c-9a8c7dfe9c70"
+ ], //Image IDs (mandatory, list<string>)
+ "project_id": "edc89b490d7d4392898e19b2deb34797", //Project IDs (mandatory, string)
+ "status": "accepted" //Image sharing status: accepted indicates that shared images will be accepted. (mandatory, string)
+}
+If the request is successful, a job ID is returned.
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+Image sharing with multiple tenants can be stopped at the same time.
+
The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequently calling the IAM API.
+If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
+ +{
+ "images": [
+ "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
+ "0b680482-acaa-4045-b14c-9a8c7dfe9c70"
+ ], //Image IDs (mandatory, list<string>)
+ "projects": [
+ "9c61004714024f9586705d090530f9fa",
+ "edc89b490d7d4392898e19b2deb34797"
+ ], //Project IDs (mandatory, list<string>)
+}
+If the request is successful, a job ID is returned.
+If the job status is SUCCESS, the private image is successfully created.
+For details about status codes for request exceptions, see Status Codes.
+If the returned status code is 400, a customized error message will be returned. This section describes the meaning of each status code.
+STATUS CODE 400+
1 +2 +3 +4 +5 +6 | {
+ "error": {
+ "message": "The imagetype is invalid.",
+ "code": "IMG.0024"
+ }
+}
+ |
Status Code + |
+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: +
|
+
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. + |
+
Returned Value + |
+Description + |
+
|---|---|
200 OK + |
+The results of GET and PUT operations are returned as expected. + |
+
201 Created + |
+The results of the POST operation are returned as expected. + |
+
202 Accepted + |
+The request has been accepted for processing. + |
+
204 No Content + |
+The results of the DELETE operation are returned as expected. + |
+
Returned Value + |
+Description + |
+
|---|---|
400 Bad Request + |
+The server failed to process the request. + |
+
401 Unauthorized + |
+You must enter a username and password to access the requested page. + |
+
403 Forbidden + |
+You are forbidden to access the requested page. + |
+
404 Not Found + |
+The server cannot find the requested page. + |
+
405 Method Not Allowed + |
+You are not allowed to use the method specified in the request. + |
+
406 Not Acceptable + |
+The response generated by the server cannot be accepted by the client. + |
+
407 Proxy Authentication Required + |
+You must use the proxy server for authentication so that the request can be processed. + |
+
408 Request Timeout + |
+The request timed out. + |
+
409 Conflict + |
+The request could not be processed due to a conflict. + |
+
500 Internal Server Error + |
+Failed to complete the request because of a service error. + |
+
501 Not Implemented + |
+Failed to complete the request because the server does not support the requested function. + |
+
502 Bad Gateway + |
+Failed to complete the request because the request is invalid. + |
+
503 Service Unavailable + |
+Failed to complete the request. The service is unavailable. + |
+
504 Gateway Timeout + |
+A gateway timeout error occurred. + |
+
Released On + |
+Description + |
+
|---|---|
2021-08-16 + |
+This issue is the second official release. +
|
+
2018-11-08 + |
+This issue is the first official release. + |
+