Parâmentros

Nome parâmetro Descrição
host
requerido

Validations:

  • Must be a Hash

host[name]
requerido

Validations:

  • Must be a String

host[location_id]
requerido

necessário se as localizações estão habilitadas

Validations:

  • Must be a number.

host[organization_id]
requerido

necessário se as organizações estão habilitadas

Validations:

  • Must be a number.

host[environment_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a String

host[ip]
opcional

endereço IPv4

Validations:

  • Must be a String

host[ip6]
opcional

endereço IPv6

Validations:

  • Must be a String

host[mac]
opcional

necessário para host gerenciado que é bare metal, não necessário se é uma máquina virtual

Validations:

  • Must be a String

host[architecture_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a number.

host[domain_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a number.

host[realm_id]
opcional

Validations:

  • Must be a number.

host[puppet_proxy_id]
opcional

Validations:

  • Must be a number.

host[puppetclass_ids]
opcional

Validations:

  • Must be an array of any type

host[operatingsystem_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a String

host[medium_id]
opcional

solicitado se o provisionamento não for baseado em imagem, o host for gerenciado e o valor não for herdado do grupo de host

Validations:

  • Must be a String

host[pxe_loader]
opcional

opção de nome de arquivo DHCP

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub UEFI SecureBoot, Grub2 UEFI, Grub2 UEFI SecureBoot.

host[ptable_id]
opcional

requerido se o host é gerenciado e uma partição customizada não foi definida

Validations:

  • Must be a number.

host[subnet_id]
opcional

IPv4 subnet

Validations:

  • Must be a number.

host[subnet6_id]
opcional

IPv6 subnet

Validations:

  • Must be a number.

host[compute_resource_id]
opcional

nulo significa que o host é bare metal

Validations:

  • Must be a number.

host[root_pass]
opcional

requerido se o host é gerenciado e o valor não é herdado do grupo de host ou senha padrão em configurações

Validations:

  • Must be a String

host[model_id]
opcional

Validations:

  • Must be a number.

host[hostgroup_id]
opcional

Validations:

  • Must be a number.

host[owner_id]
opcional

Validations:

  • Must be a number.

host[puppet_ca_proxy_id]
opcional

Validations:

  • Must be a number.

host[image_id]
opcional

Validations:

  • Must be a number.

host[host_parameters_attributes]
opcional

Parâmetros do host (matriz ou hash indexado)

Validations:

  • Must be an Array of nested elements

host[host_parameters_attributes][name]
requerido

Nome do parâmetro

Validations:

  • Must be a String

host[host_parameters_attributes][value]
requerido

Valor do parâmetro

Validations:

  • Must be a String

host[build]
opcional

Validations:

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

host[enabled]
opcional

Validations:

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

host[provision_method]
opcional

Validations:

  • Must be a String

host[managed]
opcional

Sinal Verdadeiro / Falso se um host é gerenciado ou não . Nota: este valor também determina se são necessários vários parâmetros ou não

Validations:

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

host[progress_report_id]
opcional

UUID a rastrear o status de tarefas de orquestração, GET /api/orchestration/:UUID/tasks

Validations:

  • Must be a String

host[comment]
opcional

Informação adicional sobre este host

Validations:

  • Must be a String

host[capabilities]
opcional

Validations:

  • Must be a String

host[compute_profile_id]
opcional

Validations:

  • Must be a number.

host[compute_attributes]
opcional

Validations:

  • Must be a Hash