GET /api/compute_resources
Список всех вычислительных ресурсов

Params

Param Name Description
search
Optional

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


Value: Must be String
order
Optional

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


Value: Must be String
page
Optional

разместить результат на нескольких страницах


Value: Must be String
per_page
Optional

количество записей на запрос


Value: Must be String

GET /api/compute_resources/:id
Показать вычислительный ресурс

Params

Param Name Description
id
Required

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
Создать вычислительный ресурс

Params

Param Name Description
compute_resource
Required

Value: Must be a Hash
compute_resource[name]
Required

Value: Must be String
compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Поставщики включают


Value: Must be String
compute_resource[url]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

URL для Libvirt, oVirt, и OpenStack


Value: Must be String
compute_resource[description]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
compute_resource[user]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Имя пользователя для oVirt, EC2, VMware, OpenStack. Ключ доступа для EC2.


Value: Must be String
compute_resource[password]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Пароль для oVirt, EC2, VMware, OpenStack. Секретный ключ для EC2


Value: Must be String
compute_resource[uuid]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

для oVirt, VMware Datacenter


Value: Must be String
compute_resource[region]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для EC2


Value: Must be String
compute_resource[tenant]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для OpenStack


Value: Must be String
compute_resource[server]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

для VMware


Value: Must be String
compute_resource[set_console_password]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для Libvirt и VMware


Value: Must be 'true' or 'false'

PUT /api/compute_resources/:id
Изменить вычислительный ресурс

Params

Param Name Description
id
Required

Value: Must be String
compute_resource
Required

Value: Must be a Hash
compute_resource[name]
Optional

Value: Must be String
compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Поставщики включают


Value: Must be String
compute_resource[url]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

URL для Libvirt, oVirt, и OpenStack


Value: Must be String
compute_resource[description]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
compute_resource[user]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Имя пользователя для oVirt, EC2, VMware, OpenStack. Ключ доступа для EC2.


Value: Must be String
compute_resource[password]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Пароль для oVirt, EC2, VMware, OpenStack. Секретный ключ для EC2


Value: Must be String
compute_resource[uuid]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

для oVirt, VMware Datacenter


Value: Must be String
compute_resource[region]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для EC2


Value: Must be String
compute_resource[tenant]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для OpenStack


Value: Must be String
compute_resource[server]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

для VMware


Value: Must be String
compute_resource[set_console_password]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

только для Libvirt и VMware


Value: Must be 'true' or 'false'

DELETE /api/compute_resources/:id
Удалить вычислительный ресурс

Params

Param Name Description
id
Required

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/:id/available_images
Список доступных образов для вычислительного ресурса

Params

Param Name Description
id
Required

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/:id/available_clusters
Список доступных кластеров для вычислительного ресурса

Params

Param Name Description
id
Required

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/:id/available_flavors
List available flavors for a compute resource

Params

Param Name Description
id
Required

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/:id/available_folders
Список доступных папок для вычислительного ресурса

Params

Param Name Description
id
Required

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/:id/available_zones
List available zone for a compute resource

Params

Param Name Description
id
Required

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/:id/available_networks
Список доступных сетей для вычислительного ресурса

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Список доступных сетей для кластера вычислительных ресурсов

Params

Param Name Description
id
Required

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

Value: Must be String

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools
Список ресурсных пулов для кластера вычислительных ресурсов

Params

Param Name Description
id
Required

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

Value: Must be String

GET /api/compute_resources/:id/available_storage_domains
List storage_domains for a compute resource

GET /api/compute_resources/:id/available_storage_domains
Список областей хранилища для вычислительного ресурса

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Список атрибутов для данной области хранилища

Params

Param Name Description
id
Required

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

Value: Must be String

GET /api/compute_resources/:id/available_security_groups
List available security groups for a compute resource

Params

Param Name Description
id
Required

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

PUT /api/compute_resources/:id/associate
Связать ВМ с узлами

Params

Param Name Description
id
Required

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