GET /api/compute_resources
Afficher toutes les ressources de calcul

Params

Param Name Description
location_id
Optional

Tri par emplacement

Validations:

  • Must be Integer

organization_id
Optional

Tri par organisation

Validations:

  • Must be Integer

search
Optional

filtrer les résultats

Validations:

  • Must be String

order
Optional

trier les resultats

Validations:

  • Must be String

page
Optional

paginer les résultats

Validations:

  • Must be String

per_page
Optional

nombre d'entier par requête

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

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

Params

Param Name Description
compute_resource
Required

Validations:

  • Must be a Hash

compute_resource[name]
Required

Validations:

  • Must be String

compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Fournisseurs inclue

Validations:

  • Must be String

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

URL for Libvirt, oVirt, OpenStack and Rackspace

Validations:

  • Must be String

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

Validations:

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

Validations:

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

Validations:

  • Must be String

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

Déprécier, merci d'utiliser le centre de donnée

Validations:

  • Must be String

compute_resource[datacenter]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

pour oVirt, VMware Datacenter

Validations:

  • Must be String

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

Seulement pour EC2

Validations:

  • Must be String

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

seulement pour OpenStack

Validations:

  • Must be String

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

pour VMware

Validations:

  • 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

Validations:

  • Must be 'true' or 'false' or '1' or '0'

compute_resource[display_type]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Pour Libvirt seulement

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[caching_enabled]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

enable caching, for VMware only

Validations:

  • Must be 'true' or 'false' or '1' or '0'

compute_resource[location_ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

REMPLACER les emplacements qui ont les ID suivant

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

REMPLACER les organisations qui ont les ID suivant

Validations:

  • Must be an array of any type


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

Params

Param Name Description
id
Required

Validations:

  • Must be String

compute_resource
Required

Validations:

  • Must be a Hash

compute_resource[name]
Optional

Validations:

  • Must be String

compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Fournisseurs inclue

Validations:

  • Must be String

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

URL for Libvirt, oVirt, OpenStack and Rackspace

Validations:

  • Must be String

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

Validations:

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

Validations:

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

Validations:

  • Must be String

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

Déprécier, merci d'utiliser le centre de donnée

Validations:

  • Must be String

compute_resource[datacenter]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

pour oVirt, VMware Datacenter

Validations:

  • Must be String

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

Seulement pour EC2

Validations:

  • Must be String

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

seulement pour OpenStack

Validations:

  • Must be String

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

pour VMware

Validations:

  • 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

Validations:

  • Must be 'true' or 'false' or '1' or '0'

compute_resource[display_type]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Pour Libvirt seulement

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[caching_enabled]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

enable caching, for VMware only

Validations:

  • Must be 'true' or 'false' or '1' or '0'

compute_resource[location_ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

REMPLACER les emplacements qui ont les ID suivant

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

REMPLACER les organisations qui ont les ID suivant

Validations:

  • Must be an array of any type


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

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

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 saveurs disponibles pour une ressource de calcul

Params

Param Name Description
id
Required

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 sur une ressource de calcul

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

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
Optional

Validations:

  • Must be 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

Params

Param Name Description
id
Required

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
Required

Validations:

  • Must be 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

Params

Param Name Description
id
Required

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
Optional

Validations:

  • Must be 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

Params

Param Name Description
id
Required

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
Optional

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

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

Params

Param Name Description
id
Required

Validations:

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