GET /api/compute_resources/:compute_resource_id/images
List all images for compute resource

參數

參數名字 描述
search
選填

篩選結果


Value:

Must be String

order
選填

排序結果


Value:

Must be String

page
選填

編頁結果


Value:

Must be String

per_page
選填

每個請求的項目數量


Value:

Must be String

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.


GET /api/compute_resources/:compute_resource_id/images/:id
Show an image

參數

參數名字 描述
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
必填

Value:

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


POST /api/compute_resources/:compute_resource_id/images
Create a image

參數

參數名字 描述
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]
必填

Value:

Must be a number.

image[architecture_id]
必填

Value:

Must be a number.

image[operatingsystem_id]
必填

Value:

Must be a number.


PUT /api/compute_resources/:compute_resource_id/images/:id
Update a image.

參數

參數名字 描述
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]
選填

Value:

Must be a number.

image[architecture_id]
選填

Value:

Must be a number.

image[operatingsystem_id]
選填

Value:

Must be a number.


DELETE /api/compute_resources/:compute_resource_id/images/:id
Delete an image.

參數

參數名字 描述
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.