GET /api/compute_resources
Llista tots els recursos computacionals

Params

Param Name Description
search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/compute_resources/:id
Mostra un recurs computacional

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
Crea un recurs computacional

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

Els proveïdors inclouen


Value:

Must be String

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

URL per a Libvirt, oVirt i OpenStack


Value:

Must be String

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

Value:

Must be String

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

Nom d'usuari per a oVirt, EC2, VMware i OpenStack. Clau d'accés per a EC2.


Value:

Must be String

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

Contrasenya per a oVirt, EC2, VMware i OpenStack. Clau secreta per a EC2.


Value:

Must be String

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

per a oVirt, VMware Datacenter


Value:

Must be String

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

només per a EC2


Value:

Must be String

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

només per a OpenStack


Value:

Must be String

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

per a VMware


Value:

Must be String

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

només per a Libvirt i VMware


Value:

Must be 'true' or 'false'


PUT /api/compute_resources/:id
Actualitza un recurs computacional

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

Els proveïdors inclouen


Value:

Must be String

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

URL per a Libvirt, oVirt i OpenStack


Value:

Must be String

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

Value:

Must be String

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

Nom d'usuari per a oVirt, EC2, VMware i OpenStack. Clau d'accés per a EC2.


Value:

Must be String

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

Contrasenya per a oVirt, EC2, VMware i OpenStack. Clau secreta per a EC2.


Value:

Must be String

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

per a oVirt, VMware Datacenter


Value:

Must be String

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

només per a EC2


Value:

Must be String

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

només per a OpenStack


Value:

Must be String

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

per a VMware


Value:

Must be String

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

només per a Libvirt i VMware


Value:

Must be 'true' or 'false'


DELETE /api/compute_resources/:id
Suprimeix un recurs computacional

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
Llista de les imatges disponibles per a un recurs computacional

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
Llista dels clústers disponibles per a un recurs computacional

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_flavors
Llista dels gusts disponibles per a un recurs computacional

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
Llista de les carpetes disponibles per a un recurs computacional

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_zones
Llista de les zones disponibles per a un recurs computacional

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
Llista de les xarxes disponibles per a un recurs computacional

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Llista de les xarxes disponibles per a un clúster de recursos computacionals

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
Llista de les reserves de recursos per a un clúster de recursos computacionals

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
Llista els dominis d'emmagatzemament per a un recurs computacional

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Llista dels atributs per a un domini d'emmagatzematge donat

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


GET /api/compute_resources/:id/available_storage_pods
List storage pods for a compute resource

GET /api/compute_resources/:id/available_storage_pods/:storage_pod
List attributes for a given storage pod

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_pod
Optional

Value:

Must be String


GET /api/compute_resources/:id/available_security_groups
Llista dels grups de seguretat disponibles per a un recurs computacional

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.


PUT /api/compute_resources/:id/associate
Les MV associades als amfitrions

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.