Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String

compute_resource
requerido

Validations:

  • Must be a Hash

compute_resource[name]
opcional

Validations:

  • Must be a String

compute_resource[provider]
opcional , nulo permitido

Provedores incluem

Validations:

  • Must be a String

compute_resource[url]
opcional , nulo permitido

URL para Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcional , nulo permitido

Validations:

  • Must be a String

compute_resource[user]
opcional , nulo permitido

Usuário para oVirt, VMware, OpenStack, Chave de acesso para EC2.

Validations:

  • Must be a String

compute_resource[password]
opcional , nulo permitido

Senha para oVirt, VMware, OpenStack, Secret key para EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcional , nulo permitido

para oVirt, Vmware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcional , nulo permitido

somente para oVirt

Validations:

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

compute_resource[ovirt_quota]
opcional , nulo permitido

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcional , nulo permitido

somente para oVirt

Validations:

  • Must be a String

compute_resource[region]
opcional , nulo permitido

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]
opcional , nulo permitido

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcional , nulo permitido

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcional , nulo permitido

para VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcional , nulo permitido

somente para Libvirt e VMware

Validations:

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

compute_resource[display_type]
opcional , nulo permitido

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcional , nulo permitido

somente para oVirt

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]
opcional , nulo permitido

Habilitar cache somente para VMware

Validations:

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

compute_resource[project]
opcional , nulo permitido

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcional , nulo permitido

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcional , nulo permitido

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcional , nulo permitido

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type