GET /api/compute_resources
Afficher toutes les ressources de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Tri par emplacement

Validations:

  • Must be a Integer

organization_id
optionel

Tri par organisation

Validations:

  • Must be a Integer

search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

Champ et sens de tri, ex: 'id DESC'

Validations:

  • Must be a String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.

Rechercher les champs

Nom du champ Type Valeurs possibles
id
location
location_id
name
organization
organization_id
type

GET /api/compute_resources/:id
Afficher une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Créer une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource
requis

Validations:

  • Must be a Hash

compute_resource[name]
requis

Validations:

  • Must be a String

compute_resource[provider]
optionel , nil autorisé

Fournisseurs inclut

Validations:

  • Must be a String

compute_resource[url]
optionel , nil autorisé

URL pour Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
optionel , nil autorisé

Validations:

  • Must be a String

compute_resource[user]
optionel , nil autorisé

Nom d'utilisateur pour oVirt, EC2, VMware, OpenStack. Clé d'accès pour EC2.

Validations:

  • Must be a String

compute_resource[password]
optionel , nil autorisé

Mot de passe pour oVirt, EC2, VMware, OpenStack. Clé secrète pour EC2.

Validations:

  • Must be a String

compute_resource[datacenter]
optionel , nil autorisé

pour oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
optionel , nil autorisé

pour oVirt seulement

Validations:

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

compute_resource[ovirt_quota]
optionel , nil autorisé

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
optionel , nil autorisé

pour oVirt seulement

Validations:

  • Must be a String

compute_resource[region]
optionel , nil autorisé

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]
optionel , nil autorisé

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[project_domain_name]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[project_domain_id]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[server]
optionel , nil autorisé

pour VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
optionel , nil autorisé

seulement pour Libvirt et VMware

Validations:

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

compute_resource[display_type]
optionel , nil autorisé

seulement pour Libvirt et oVirt

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
optionel , nil autorisé

pour oVirt seulement

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]
optionel , nil autorisé

activer la mise en cache, pour VMware uniquement

Validations:

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

compute_resource[project]
optionel , nil autorisé

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
optionel , nil autorisé

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
optionel , nil autorisé

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
optionel , nil autorisé

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


PUT /api/compute_resources/:id
Mise à jour d'une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String

compute_resource
requis

Validations:

  • Must be a Hash

compute_resource[name]
optionel

Validations:

  • Must be a String

compute_resource[provider]
optionel , nil autorisé

Fournisseurs inclut

Validations:

  • Must be a String

compute_resource[url]
optionel , nil autorisé

URL pour Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
optionel , nil autorisé

Validations:

  • Must be a String

compute_resource[user]
optionel , nil autorisé

Nom d'utilisateur pour oVirt, EC2, VMware, OpenStack. Clé d'accès pour EC2.

Validations:

  • Must be a String

compute_resource[password]
optionel , nil autorisé

Mot de passe pour oVirt, EC2, VMware, OpenStack. Clé secrète pour EC2.

Validations:

  • Must be a String

compute_resource[datacenter]
optionel , nil autorisé

pour oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
optionel , nil autorisé

pour oVirt seulement

Validations:

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

compute_resource[ovirt_quota]
optionel , nil autorisé

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
optionel , nil autorisé

pour oVirt seulement

Validations:

  • Must be a String

compute_resource[region]
optionel , nil autorisé

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]
optionel , nil autorisé

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[project_domain_name]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[project_domain_id]
optionel , nil autorisé

seulement pour OpenStack (v3)

Validations:

  • Must be a String

compute_resource[server]
optionel , nil autorisé

pour VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
optionel , nil autorisé

seulement pour Libvirt et VMware

Validations:

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

compute_resource[display_type]
optionel , nil autorisé

seulement pour Libvirt et oVirt

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
optionel , nil autorisé

pour oVirt seulement

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]
optionel , nil autorisé

activer la mise en cache, pour VMware uniquement

Validations:

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

compute_resource[project]
optionel , nil autorisé

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
optionel , nil autorisé

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
optionel , nil autorisé

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
optionel , nil autorisé

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


DELETE /api/compute_resources/:id
Supprimer une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les images disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les clusters disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les gabarits disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les répertoires disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les zones disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Afficher les réseaux disponibles pour une ressource de calcul

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Afficher les réseaux disponibles pour un cluster de ressources de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
optionel

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools
Afficher les pools de ressources d'un cluster de ressources de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_domains/:storage_domain_id
Afficher les attributs d'un domaine de stockage

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_domains
Afficher les domaines de stockage pour une ressource de calcul

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Afficher les attributs d'un domaine de stockage

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_domains
Afficher les domaines de stockage pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
optionel

Validations:

  • Must be a String

storage_domain
optionel

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_pods/:storage_pod_id
Afficher les attributs d'un groupe de stockage

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_pods
Afficher les groupes de stockage pour une ressource de calcul

GET /api/compute_resources/:id/available_storage_pods/:storage_pod
Afficher les attributs d'un groupe de stockage

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_pods
Afficher les groupes de stockage pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
optionel

Validations:

  • Must be a String

storage_pod
optionel

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_security_groups
Afficher les groupes de sécurité disponibles pour une ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Associer les VM à des hôtes

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Actualiser le cache de la ressource de calcul

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

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

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

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

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

Validations:

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