GET /api/compute_resources
Lister toutes les ressources d'ordinateur

Params

Param Name Description
search
Optional

filtrer les résultats


Value: Must be String
order
Optional

trier les resultats


Value: Must be String
page
Optional

paginer les resultats


Value: Must be String
per_page
Optional

nombre d’entier par requête


Value: Must be String

GET /api/compute_resources/:id
Afficher une ressource d'ordinateur

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
Créer une ressource d'ordinateur

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: fr.apipie.nil_allowed">Nil Allowed</span>

Fournisseurs inclue Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE


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

URL pour Libvirt, oVirt ou OpenStack


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

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

Nom d’utilisateur pour oVirt, EC2, VMware, OpenStack. Clef d’accès pour EC2.


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

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


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

pour oVirt, VMware Datacenter


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

Seulement pour EC2


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

Seulement pour OpenStack


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

pour VMware


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

seulement pour Libvirt et VMware


Value: Must be 'true' or 'false'

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

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: fr.apipie.nil_allowed">Nil Allowed</span>

Fournisseurs inclue Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE


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

URL pour Libvirt, oVirt ou OpenStack


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

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

Nom d’utilisateur pour oVirt, EC2, VMware, OpenStack. Clef d’accès pour EC2.


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

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


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

pour oVirt, VMware Datacenter


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

Seulement pour EC2


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

Seulement pour OpenStack


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

pour VMware


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

seulement pour Libvirt et VMware


Value: Must be 'true' or 'false'

DELETE /api/compute_resources/:id
Supprimer une ressource d'ordinateur

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
Lister les images disponibles pour une ressource d'ordinateur

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
Lister les clusters disponibles pour une ressource d'ordinateur

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
Lister les répertoires disponibles sur une ressource d'ordinateur

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
Lister les réseaux disponibles pour une ressource d'ordinateur

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Lister les réseaux disponibles pour un cluster de ressources d'ordinateur

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
Lister les pools de ressources d'un cluster de ressources d'ordinateur

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
Lister les domaines de stockage pour une ressource d'ordinateur

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

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

PUT /api/compute_resources/:id/associate
Associer les VM à des hôtes

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.