Image Management
Permission |
API |
Action |
IAM Project |
Enterprise Project |
---|---|---|---|---|
Querying Images |
GET /v2/cloudimages |
ims:images:list |
√ |
√
NOTE:
Shared image query is only supported in IAM projects. |
Querying Supported Image OSs |
GET /v1/cloudimages/os_version |
ims:images:list |
√ |
× |
Updating Image Information |
PATCH /v2/cloudimages/{image_id} |
|
√ |
√ |
Creating an Image |
POST /v2/cloudimages/action
NOTE:
Before creating an image using an external image file, ensure that you have the Tenant Administrator permission for OBS. |
ims:serverImages:create |
√ |
√ |
Importing an Image File Quickly |
POST /v2/cloudimages/quickimport/action
NOTE:
Before quickly importing an image file, ensure that you have the Tenant Administrator permission for OBS. |
|
√ |
√ |
Creating a Data Disk Image Using an External Image File |
POST /v1/cloudimages/dataimages/action
NOTE:
Before using an external image file, ensure that you have the Tenant Administrator permission for OBS. |
ims:dataImages:create |
√ |
√ |
Creating a Full-ECS Image |
POST /v1/cloudimages/wholeimages/action
NOTE:
Before creating a full-ECS image, ensure that you have the CSBS Administrator permission of the CSBS service or the CBR Admin permission of the CBR service. |
ims:wholeImages:create |
√ |
√ |
Registering an Image |
PUT /v1/cloudimages/{image_id}/upload
NOTE:
|
ims:images:upload |
√ |
√ |
Exporting an Image |
POST /v1/cloudimages/{image_id}/file
NOTE:
Before exporting an image, ensure that you have the Tenant Administrator permission for OBS. |
ims:images:export |
√ |
√ |
Querying Images (Native OpenStack API) |
GET /v2/images |
ims:images:list |
√ |
x |
Querying Image Details (Native OpenStack API) |
GET /v2/images/{image_id} |
ims:images:get |
√ |
√ |
Updating Image Information (Native OpenStack API) |
PATCH /v2/images/{image_id} |
ims:images:update |
√ |
√ |
Deleting an Image (Native OpenStack API) |
DELETE /v2/images/{image_id} |
ims:images:delete |
√ |
√ |
Creating Image Metadata (Native OpenStack API) |
POST /v2/images |
ims:images:create |
√ |
x |
Uploading an Image (Native OpenStack API) |
PUT /v2/images/{image_id}/file |
|
√ |
x |
Querying the API Version (Native OpenStack API) |
GET / |
N/A |
√ |
x |
Querying Image Details (Native OpenStack API v1.1 - Abandoned and Not Recommended) |
GET /v1.1/images/detail |
ims:images:list |
√ |
x |
Querying Image Metadata (Native OpenStack API v1 - Abandoned and Not Recommended) |
HEAD /v1/images/{image_id} |
ims:images:get |
√ |
x |
Deleting an Image (Native OpenStack API V1.1, Abandoned and Not Recommended) |
DELETE /v1.1/images/{image_id} |
ims:images:delete |
√ |
x |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot