GET /api/compute_resources
Listar todos los recursos de cómputo

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Orden y campo de clasificación, p. ej., 'id DESC'

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.

Campos de búsqueda

Nombre del campo Tipo Valores posibles
id
location
location_id
name
organization
organization_id
type

GET /api/compute_resources/:id
Mostrar un recurso de computación

Parámetros

Nombre del parámetro Descripción
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
Crear un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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 , nil permitido

Los proveedores incluyen

Validations:

  • Must be a String

compute_resource[url]
opcional , nil permitido

URL para Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcional , nil permitido

Validations:

  • Must be a String

compute_resource[user]
opcional , nil permitido

Nombre de usuario para oVirt, EC2, VMware, OpenStack. Llave de acceso para EC2.

Validations:

  • Must be a String

compute_resource[password]
opcional , nil permitido

Contraseña para oVirt, EC2, VMware, OpenStack. Llave secreta para EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcional , nil permitido

para oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcional , nil permitido

solo para oVirt

Validations:

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

compute_resource[ovirt_quota]
opcional , nil permitido

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcional , nil permitido

solo para oVirt

Validations:

  • Must be a String

compute_resource[region]
opcional , nil 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 , nil permitido

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcional , nil permitido

para VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcional , nil permitido

solo para Libvirt y VMware

Validations:

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

compute_resource[display_type]
opcional , nil permitido

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcional , nil permitido

solo 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 , nil permitido

habilitar caché solo para VMware

Validations:

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

compute_resource[project]
opcional , nil permitido

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcional , nil permitido

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcional , nil permitido

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcional , nil permitido

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


PUT /api/compute_resources/:id
Actualizar un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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 , nil permitido

Los proveedores incluyen

Validations:

  • Must be a String

compute_resource[url]
opcional , nil permitido

URL para Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcional , nil permitido

Validations:

  • Must be a String

compute_resource[user]
opcional , nil permitido

Nombre de usuario para oVirt, EC2, VMware, OpenStack. Llave de acceso para EC2.

Validations:

  • Must be a String

compute_resource[password]
opcional , nil permitido

Contraseña para oVirt, EC2, VMware, OpenStack. Llave secreta para EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcional , nil permitido

para oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcional , nil permitido

solo para oVirt

Validations:

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

compute_resource[ovirt_quota]
opcional , nil permitido

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcional , nil permitido

solo para oVirt

Validations:

  • Must be a String

compute_resource[region]
opcional , nil 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 , nil permitido

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcional , nil permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcional , nil permitido

para VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcional , nil permitido

solo para Libvirt y VMware

Validations:

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

compute_resource[display_type]
opcional , nil permitido

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcional , nil permitido

solo 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 , nil permitido

habilitar caché solo para VMware

Validations:

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

compute_resource[project]
opcional , nil permitido

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcional , nil permitido

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcional , nil permitido

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcional , nil permitido

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


DELETE /api/compute_resources/:id
Borrar un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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 todas las imágenes disponibles para un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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 todos los clústeres disponibles para un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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
Listar tipos disponibles para un recurso de computación

Parámetros

Nombre del parámetro Descripción
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 carpetas disponibles de un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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
Listar zonas disponibles para un recurso de computación

Parámetros

Nombre del parámetro Descripción
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 todas las redes disponibles para un recurso de cómputo

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Listar todas las redes para un clúster de recursos de cómputo

Parámetros

Nombre del parámetro Descripción
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 grupos de recursos para un clúster de recursos de cómputo

Parámetros

Nombre del parámetro Descripción
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 un dominio de almacenamiento determinado

Parámetros

Nombre del parámetro Descripción
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 dominios de almacenamiento de un recurso de cómputo

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Listar atributos para un dominio de almacenamiento determinado

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_domains
Listar dominios de almacenamiento de un recurso de cómputo

Parámetros

Nombre del parámetro Descripción
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 un dominio de almacenamiento determinado

Parámetros

Nombre del parámetro Descripción
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 dominios de almacenamiento de un recurso de computación

GET /api/compute_resources/:id/available_storage_pods/:storage_pod
Listar atributos para un dominio de almacenamiento determinado

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_pods
Listar dominios de almacenamiento de un recurso de computación

Parámetros

Nombre del parámetro Descripción
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
Listar los grupos de seguridad disponibles para un recurso de computación

Parámetros

Nombre del parámetro Descripción
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
Asociar máquinas virtuales a hosts

Parámetros

Nombre del parámetro Descripción
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
Actualizar el caché de los recursos informáticos

Parámetros

Nombre del parámetro Descripción
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ámetros

Nombre del parámetro Descripción
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ámetros

Nombre del parámetro Descripción
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ámetros

Nombre del parámetro Descripción
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ámetros

Nombre del parámetro Descripción
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.