Params

Param name Description
compute_resource
required

Validations:

  • Must be a Hash

compute_resource[name]
required

Validations:

  • Must be a String

compute_resource[provider]
optional , nil allowed

Els proveïdors inclouen

Validations:

  • Must be a String

compute_resource[url]
optional , nil allowed

URL for Libvirt, oVirt, OpenStack and Rackspace

Validations:

  • Must be a String

compute_resource[description]
optional , nil allowed

Validations:

  • Must be a String

compute_resource[user]
optional , nil allowed

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

Validations:

  • Must be a String

compute_resource[password]
optional , nil allowed

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

Validations:

  • Must be a String

compute_resource[uuid]
optional , nil allowed

Deprecated, please use datacenter

Validations:

  • Must be a String

compute_resource[datacenter]
optional , nil allowed

per a oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[region]
optional , nil allowed

només per a EC2

Validations:

  • Must be a String

compute_resource[tenant]
optional , nil allowed

només per a OpenStack

Validations:

  • Must be a String

compute_resource[domain]
optional , nil allowed

només per a OpenStack

Validations:

  • Must be a String

compute_resource[server]
optional , nil allowed

per a VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
optional , nil allowed

només per a Libvirt i VMware

Validations:

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

compute_resource[display_type]
optional , nil allowed

for Libvirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[caching_enabled]
optional , nil allowed

enable caching, for VMware only

Validations:

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

compute_resource[location_ids]
optional , nil allowed

SUBSTITUEIX les ubicacions amb els id. donats

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
optional , nil allowed

SUBSTITUEIX les organitzacions amb els id. donats.

Validations:

  • Must be an array of any type