GET /api/compute_resources/:compute_resource_id/images
Список всех образов для вычислительного ресурса

GET /api/operatingsystems/:operatingsystem_id/images
Список всех образов для операционных систем

GET /api/architectures/:architecture_id/images
Список всех образов для архитектур

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
необязательно

Код вычислительного ресурса

Validations:

  • Must be a String

architecture_id
необязательно

Код архитектуры

Validations:

  • Must be a String

operatingsystem_id
необязательно

Код операционной системы

Validations:

  • Must be a String

search
необязательно

отфильтровать результаты

Validations:

  • Must be a String

order
необязательно

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
необязательно

Номер страницы, начиная с 1

Validations:

  • Must be a number.

per_page
необязательно

Число элементов на странице

Validations:

  • Must be a number.

Search fields

Field name Тип Possible values
architecture
compute_resource
name
operatingsystem
user_data true, false
username

GET /api/compute_resources/:compute_resource_id/images/:id
Показать образ

GET /api/operatingsystems/:operatingsystem_id/images/:id
Показать образ

GET /api/architectures/:architecture_id/images/:id
Показать образ

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

id
обязательно

Validations:

  • 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
необязательно

Код вычислительного ресурса

Validations:

  • Must be a String

architecture_id
необязательно

Код архитектуры

Validations:

  • Must be a String

operatingsystem_id
необязательно

Код операционной системы

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Создать образ

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
обязательно

Validations:

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

image
обязательно

Validations:

  • Must be a Hash

image[name]
обязательно

Validations:

  • Must be a String

image[username]
обязательно

Validations:

  • Must be a String

image[uuid]
обязательно

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
необязательно , nil разрешен

Validations:

  • Must be a String

image[compute_resource_id]
необязательно , nil разрешен

Код вычислительного ресурса

Validations:

  • Must be a String

image[architecture_id]
необязательно , nil разрешен

Код архитектуры

Validations:

  • Must be a String

image[operatingsystem_id]
необязательно , nil разрешен

Код операционной системы

Validations:

  • Must be a String

image[user_data]
необязательно , nil разрешен

Допускает ли образ использование пользовательских данных

Validations:

  • Must be one of: true, false, 1, 0.


PUT /api/compute_resources/:compute_resource_id/images/:id
Изменить образ

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
обязательно

Validations:

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

id
обязательно

Validations:

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

image
обязательно

Validations:

  • Must be a Hash

image[name]
необязательно

Validations:

  • Must be a String

image[username]
необязательно

Validations:

  • Must be a String

image[uuid]
необязательно

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
необязательно , nil разрешен

Validations:

  • Must be a String

image[compute_resource_id]
необязательно , nil разрешен

Код вычислительного ресурса

Validations:

  • Must be a String

image[architecture_id]
необязательно , nil разрешен

Код архитектуры

Validations:

  • Must be a String

image[operatingsystem_id]
необязательно , nil разрешен

Код операционной системы

Validations:

  • Must be a String

image[user_data]
необязательно , nil разрешен

Допускает ли образ использование пользовательских данных

Validations:

  • Must be one of: true, false, 1, 0.


DELETE /api/compute_resources/:compute_resource_id/images/:id
Удалить образ

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
обязательно

Validations:

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

id
обязательно

Validations:

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