Image Management
Permission |
API |
Action |
IAM Project |
Enterprise Project |
---|---|---|---|---|
Querying Images |
GET /v2/cloudimages |
ims:images:list |
√ |
√
NOTE:
For shared images, enterprise projects are not supported. |
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:
If you use an external image file to create an image, you must have Tenant Administrator permissions for OBS. |
ims:serverImages:create |
√ |
√ |
Importing an Image File Quickly |
POST /v2/cloudimages/quickimport/action
NOTE:
You must have Tenant Administrator permissions for OBS. |
|
√ |
√ |
Creating a Data Disk Image Using an External Image File |
POST /v1/cloudimages/dataimages/action
NOTE:
You must have Tenant Administrator permissions for OBS. |
ims:dataImages:create |
√ |
√ |
Creating a Full-ECS Image |
POST /v1/cloudimages/wholeimages/action
NOTE:
You must have Administrator permissions for CSBS or Admin permissions for CBR. |
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:
You must have Tenant Administrator permissions 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, Discarded) |
GET /v1.1/images/detail |
ims:images:list |
√ |
x |
Querying Image Metadata (Native OpenStack API V1, Discarded) |
HEAD /v1/images/{image_id} |
ims:images:get |
√ |
x |
Deleting an Image (Native OpenStack API V1.1, Discarded) |
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