Params

Param name Description
id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

hostgroup
required

Validations:

  • Hash

hostgroup[name]
optional

Validations:

  • String

hostgroup[parent_id]
optional , nil allowed

Validations:

  • number.

hostgroup[environment_id]
optional , nil allowed

Validations:

  • number.

hostgroup[operatingsystem_id]
optional , nil allowed

Validations:

  • number.

hostgroup[architecture_id]
optional , nil allowed

Validations:

  • number.

hostgroup[medium_id]
optional , nil allowed

Validations:

  • number.

hostgroup[ptable_id]
optional , nil allowed

Validations:

  • number.

hostgroup[puppet_ca_proxy_id]
optional , nil allowed

Validations:

  • number.

hostgroup[subnet_id]
optional , nil allowed

Validations:

  • number.

hostgroup[domain_id]
optional , nil allowed

Validations:

  • number.

hostgroup[realm_id]
optional , nil allowed

Validations:

  • number.

hostgroup[puppet_proxy_id]
optional , nil allowed

Validations:

  • number.

hostgroup[content_source_id]
optional , nil allowed

Validations:

  • number.

hostgroup[content_view_id]
optional , nil allowed

Validations:

  • number.

hostgroup[lifecycle_environment_id]
optional , nil allowed

Validations:

  • number.

hostgroup[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

hostgroup[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type