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