Image Management

Permission

API

Action

IAM Project

Enterprise Project

Querying Images

GET /v2/cloudimages

ims:images:list

Y

Y

Querying Supported Image OSs

GET /v1/cloudimages/os_version

ims:images:list

Y

x

Updating Image Information

PATCH /v2/cloudimages/{image_id}

  • ims:images:update

  • ims:serverImages:create (only for migration to enterprise projects)

Y

Y

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

Y

Y

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.

  • ims:serverImages:create (required only for quickly importing system disk images)

  • ims:dataImages:create (required only for quickly importing data disk images)

Y

Y

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

Y

Y

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

Y

Y

Registering an Image

PUT /v1/cloudimages/{image_id}/upload

Note

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

  • You have the permissions to use enterprise projects when you register an image only if you select the default enterprise project.

ims:images:upload

Y

Y

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

Y

Y

Querying Images (Native OpenStack API)

GET /v2/images

ims:images:list

Y

x

Querying Image Details (Native OpenStack API)

GET /v2/images/{image_id}

ims:images:get

Y

Y

Updating Image Information (Native OpenStack API)

PATCH /v2/images/{image_id}

ims:images:update

Y

Y

Deleting an Image (Native OpenStack API)

DELETE /v2/images/{image_id}

ims:images:delete

Y

Y

Creating Image Metadata (Native OpenStack API)

POST /v2/images

ims:images:create

Y

x

Uploading an Image (Native OpenStack API)

PUT /v2/images/{image_id}/file

  • ims:images:get

  • ims:images:update

  • ims:images:upload

Y

x

Querying the API Version (Native OpenStack API)

GET /

N/A

Y

x

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

GET /v1.1/images/detail

ims:images:list

Y

x

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

HEAD /v1/images/{image_id}

ims:images:get

Y

x

Deleting an Image (Native OpenStack API V1.1, Abandoned and Not Recommended)

DELETE /v1.1/images/{image_id}

ims:images:delete

Y

x