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

Parâmentros

Nome parâmetro Descrição
search
opcional

filtrar resultados


Value:

Must be String

order
opcional

ordenar resultados


Value:

Must be String

page
opcional

paginar resultados


Value:

Must be String

per_page
opcional

número de entradas por requisições


Value:

Must be String

compute_resource_id
requerido

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
Exibir uma imagem

Parâmentros

Nome parâmetro Descrição
id
requerido

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
requerido

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

Parâmentros

Nome parâmetro Descrição
compute_resource_id
requerido

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
requerido

Value:

Must be a Hash

image[name]
requerido

Value:

Must be String

image[username]
requerido

Value:

Must be String

image[uuid]
requerido

Value:

Must be String

image[compute_resource_id]
requerido

Value:

Must be a number.

image[architecture_id]
requerido

Value:

Must be a number.

image[operatingsystem_id]
requerido

Value:

Must be a number.


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

Parâmentros

Nome parâmetro Descrição
compute_resource_id
requerido

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
requerido

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
requerido

Value:

Must be a Hash

image[name]
opcional

Value:

Must be String

image[username]
opcional

Value:

Must be String

image[uuid]
opcional

Value:

Must be String

image[compute_resource_id]
opcional

Value:

Must be a number.

image[architecture_id]
opcional

Value:

Must be a number.

image[operatingsystem_id]
opcional

Value:

Must be a number.


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

Parâmentros

Nome parâmetro Descrição
compute_resource_id
requerido

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
requerido

Value:

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