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

Параметры

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

Ограничить местоположением

Validations:

  • Must be a Integer

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

Ограничить организацией

Validations:

  • Must be a Integer

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
id
location
location_id
name
organization
organization_id
type

GET /api/compute_resources/: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.


POST /api/compute_resources
Создать вычислительный ресурс

Параметры

Имя параметра Описание
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
обязательно

Validations:

  • Must be a Hash

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

URL for Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

для oVirt, VMware Datacenter

Validations:

  • Must be a String

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

for oVirt only

Validations:

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

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

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

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

for oVirt only

Validations:

  • Must be a String

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

for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region

Validations:

  • Must be a String

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

for OpenStack and AzureRm only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

для VMware

Validations:

  • Must be a String

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

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

Validations:

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

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

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

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

for oVirt only

Validations:

  • Must be one of: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr.

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

enable caching, for VMware only

Validations:

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

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

Project id for GCE only

Validations:

  • Must be a String

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

Email for GCE only

Validations:

  • Must be a String

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

Certificate path for GCE only

Validations:

  • Must be a String

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

for GCE only

Validations:

  • Must be a String

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

ЗАМЕСТИТЬ местоположения с заданным кодом

Validations:

  • Must be an array of any type

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

ЗАМЕСТИТЬ организации с заданным кодом

Validations:

  • Must be an array of any type


PUT /api/compute_resources/: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 a String

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

Validations:

  • Must be a Hash

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

URL for Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

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

Validations:

  • Must be a String

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

для oVirt, VMware Datacenter

Validations:

  • Must be a String

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

for oVirt only

Validations:

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

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

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

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

for oVirt only

Validations:

  • Must be a String

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

for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region

Validations:

  • Must be a String

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

for OpenStack and AzureRm only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

for OpenStack (v3) only

Validations:

  • Must be a String

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

для VMware

Validations:

  • Must be a String

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

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

Validations:

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

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

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

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

for oVirt only

Validations:

  • Must be one of: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr.

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

enable caching, for VMware only

Validations:

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

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

Project id for GCE only

Validations:

  • Must be a String

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

Email for GCE only

Validations:

  • Must be a String

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

Certificate path for GCE only

Validations:

  • Must be a String

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

for GCE only

Validations:

  • Must be a String

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

ЗАМЕСТИТЬ местоположения с заданным кодом

Validations:

  • Must be an array of any type

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

ЗАМЕСТИТЬ организации с заданным кодом

Validations:

  • Must be an array of any type


DELETE /api/compute_resources/: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.


GET /api/compute_resources/:id/available_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

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.


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

Параметры

Имя параметра Описание
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.


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

Параметры

Имя параметра Описание
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.


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

Параметры

Имя параметра Описание
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.


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

Параметры

Имя параметра Описание
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.


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

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

Параметры

Имя параметра Описание
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.

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

Validations:

  • Must be a String


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

Параметры

Имя параметра Описание
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.

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

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_domains/:storage_domain_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.

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

Validations:

  • Must be a String


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

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

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

Параметры

Имя параметра Описание
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.

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

Validations:

  • Must be a String

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

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_pods/:storage_pod_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.

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

Validations:

  • Must be a String


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

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

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

Параметры

Имя параметра Описание
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.

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

Validations:

  • Must be a String

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

Validations:

  • Must be a String


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

Параметры

Имя параметра Описание
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.


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

Параметры

Имя параметра Описание
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.


PUT /api/compute_resources/:id/refresh_cache
Refresh Compute Resource Cache

Параметры

Имя параметра Описание
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.


GET /api/compute_resources/:id/available_virtual_machines
List available virtual machines for a compute resource

Параметры

Имя параметра Описание
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.


GET /api/compute_resources/:id/available_virtual_machines/:vm_id
Show a virtual machine

Параметры

Имя параметра Описание
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.

vm_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.


PUT /api/compute_resources/:id/available_virtual_machines/:vm_id/power
Power a Virtual Machine

Параметры

Имя параметра Описание
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.

vm_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.


DELETE /api/compute_resources/:id/available_virtual_machines/:vm_id
Delete a Virtual Machine

Параметры

Имя параметра Описание
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.

vm_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.