GET /api/compute_resources/:compute_resource_id/images
列出计算资源的所有映像

GET /api/operatingsystems/:operatingsystem_id/images
列出操作系统的所有映像

GET /api/architectures/:architecture_id/images
列出架构的所有映像

参数

参数名字 描述
compute_resource_id
选填

计算资源 ID


Value:

Must be String

architecture_id
选填

架构 ID


Value:

Must be String

operatingsystem_id
选填

操作系统 ID


Value:

Must be String

search
选填

过滤结果


Value:

Must be String

order
选填

结果排序


Value:

Must be String

page
选填

页数


Value:

Must be String

per_page
选填

每个请求中的条目数


Value:

Must be String


GET /api/compute_resources/:compute_resource_id/images/:id
显示映像

GET /api/operatingsystems/:operatingsystem_id/images/:id
显示映像

GET /api/architectures/:architecture_id/images/:id
显示映像

参数

参数名字 描述
id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
选填

计算资源 ID


Value:

Must be String

architecture_id
选填

架构 ID


Value:

Must be String

operatingsystem_id
选填

操作系统 ID


Value:

Must be String


POST /api/compute_resources/:compute_resource_id/images
生成映像

参数

参数名字 描述
compute_resource_id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
必填

Value:

Must be a Hash

image[name]
必填

Value:

Must be String

image[username]
必填

Value:

Must be String

image[uuid]
必填

Value:

Must be String

image[compute_resource_id]
选填 , 允许空值

计算资源 ID


Value:

Must be String

image[architecture_id]
选填 , 允许空值

架构 ID


Value:

Must be String

image[operatingsystem_id]
选填 , 允许空值

操作系统 ID


Value:

Must be String

image[user_data]
选填 , 允许空值

Whether or not the image supports user data


Value:

Must be 'true' or 'false'


PUT /api/compute_resources/:compute_resource_id/images/:id
更新映像

参数

参数名字 描述
compute_resource_id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
必填

Value:

Must be a Hash

image[name]
选填

Value:

Must be String

image[username]
选填

Value:

Must be String

image[uuid]
选填

Value:

Must be String

image[compute_resource_id]
选填 , 允许空值

计算资源 ID


Value:

Must be String

image[architecture_id]
选填 , 允许空值

架构 ID


Value:

Must be String

image[operatingsystem_id]
选填 , 允许空值

操作系统 ID


Value:

Must be String

image[user_data]
选填 , 允许空值

Whether or not the image supports user data


Value:

Must be 'true' or 'false'


DELETE /api/compute_resources/:compute_resource_id/images/:id
删除映像

参数

参数名字 描述
compute_resource_id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.