GET /api/compute_resources
Listar todos os recursos de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Escopo de localizações

Validations:

  • Must be a Integer

organization_id
opcional

Escopo de organização

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Classificar campo e ordem, ex.: ‘id DESC’

Validations:

  • Must be a String

page
opcional

Número de página, iniciando em 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para retornar

Validations:

  • Must be a number.

Pesquisar campos

Nome do campo Tipo Valores possíveis
id
location
location_id
name
organization
organization_id
type

GET /api/compute_resources/:id
Exibir um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Criar um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource
requerido

Validations:

  • Must be a Hash

compute_resource[name]
requerido

Validations:

  • Must be a String

compute_resource[provider]
opcional , nulo permitido

Provedores incluem

Validations:

  • Must be a String

compute_resource[url]
opcional , nulo permitido

URL para Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcional , nulo permitido

Validations:

  • Must be a String

compute_resource[user]
opcional , nulo permitido

Usuário para oVirt, VMware, OpenStack, Chave de acesso para EC2.

Validations:

  • Must be a String

compute_resource[password]
opcional , nulo permitido

Senha para oVirt, VMware, OpenStack, Secret key para EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcional , nulo permitido

para oVirt, Vmware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcional , nulo permitido

somente para oVirt

Validations:

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

compute_resource[ovirt_quota]
opcional , nulo permitido

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcional , nulo permitido

somente para oVirt

Validations:

  • Must be a String

compute_resource[region]
opcional , nulo permitido

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]
opcional , nulo permitido

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcional , nulo permitido

para VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcional , nulo permitido

somente para Libvirt e VMware

Validations:

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

compute_resource[display_type]
opcional , nulo permitido

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcional , nulo permitido

somente para oVirt

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]
opcional , nulo permitido

Habilitar cache somente para VMware

Validations:

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

compute_resource[project]
opcional , nulo permitido

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcional , nulo permitido

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcional , nulo permitido

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcional , nulo permitido

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type


PUT /api/compute_resources/:id
Atualizar um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String

compute_resource
requerido

Validations:

  • Must be a Hash

compute_resource[name]
opcional

Validations:

  • Must be a String

compute_resource[provider]
opcional , nulo permitido

Provedores incluem

Validations:

  • Must be a String

compute_resource[url]
opcional , nulo permitido

URL para Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcional , nulo permitido

Validations:

  • Must be a String

compute_resource[user]
opcional , nulo permitido

Usuário para oVirt, VMware, OpenStack, Chave de acesso para EC2.

Validations:

  • Must be a String

compute_resource[password]
opcional , nulo permitido

Senha para oVirt, VMware, OpenStack, Secret key para EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcional , nulo permitido

para oVirt, Vmware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcional , nulo permitido

somente para oVirt

Validations:

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

compute_resource[ovirt_quota]
opcional , nulo permitido

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcional , nulo permitido

somente para oVirt

Validations:

  • Must be a String

compute_resource[region]
opcional , nulo permitido

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]
opcional , nulo permitido

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcional , nulo permitido

para VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcional , nulo permitido

somente para Libvirt e VMware

Validations:

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

compute_resource[display_type]
opcional , nulo permitido

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcional , nulo permitido

somente para oVirt

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]
opcional , nulo permitido

Habilitar cache somente para VMware

Validations:

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

compute_resource[project]
opcional , nulo permitido

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcional , nulo permitido

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcional , nulo permitido

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcional , nulo permitido

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type


DELETE /api/compute_resources/:id
Remover um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Listar as imagens disponíveis para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Listar os cluster disponíveis para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Lista de opções disponíveis para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Listar as pastas disponíveis para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Lista de zona disponível para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Listar as redes disponíveis para um recurso de computação

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Listar as redes disponíveis para um cluster de recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
opcional

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools
Listar pools de recursos para um cluster de recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_domains/:storage_domain_id
Listar atributos para um domínio de armazenamento específico

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_domains
Listar domínios de armazenamento para um recurso de computação

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Listar atributos para um domínio de armazenamento específico

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_domains
Listar domínios de armazenamento para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
opcional

Validations:

  • Must be a String

storage_domain
opcional

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_pods/:storage_pod_id
Listar atributos para um pod de armazenamento específico

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_pods
Listar pods de armazenamento para um recursos de computação

GET /api/compute_resources/:id/available_storage_pods/:storage_pod
Listar atributos para um pod de armazenamento específico

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_pods
Listar pods de armazenamento para um recursos de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
opcional

Validations:

  • Must be a String

storage_pod
opcional

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_security_groups
Lista de grupos de segurança disponíveis para um recurso de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
VMs associadas à Hosts

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Atualizar cache de recursos de computação

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

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

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

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

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

Validations:

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