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.

discovered_host
optional , nil allowed

Value:

Must be a Hash

discovered_host[name]
optional , nil allowed

Value:

Must be String

discovered_host[environment_id]
optional , nil allowed

Value:

Must be String

discovered_host[ip]
optional , nil allowed

not required if using a subnet with DHCP proxy


Value:

Must be String

discovered_host[mac]
optional , nil allowed

not required if it's a virtual machine


Value:

Must be String

discovered_host[architecture_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[domain_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[puppet_proxy_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[puppet_class_ids]
optional , nil allowed

Value:

Must be an array of any type

discovered_host[operatingsystem_id]
optional , nil allowed

Value:

Must be String

discovered_host[medium_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[ptable_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[subnet_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[sp_subnet_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[model_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[hostgroup_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[owner_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[puppet_ca_proxy_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[image_id]
optional , nil allowed

Value:

Must be a number.

discovered_host[host_parameters_attributes]
optional , nil allowed

Value:

Must be an array of any type

discovered_host[build]
optional , nil allowed

Value:

Must be ‘true’ or ‘false’

discovered_host[enabled]
optional , nil allowed

Value:

Must be ‘true’ or ‘false’

discovered_host[provision_method]
optional , nil allowed

Value:

Must be String

discovered_host[managed]
optional , nil allowed

Value:

Must be ‘true’ or ‘false’

discovered_host[progress_report_id]
optional , nil allowed

UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks


Value:

Must be String

discovered_host[capabilities]
optional , nil allowed

Value:

Must be String

discovered_host[root_pass]
optional , nil allowed

required if value is not inherited from host group or default password in settings


Value:

Must be String