| Param Name | Description |
|---|---|
|
thin Optional |
Only list ID and name of hosts Validations:
|
|
hostgroup_id Optional |
ID of host group Validations:
|
|
location_id Optional |
ID of location Validations:
|
|
organization_id Optional |
ID of organization Validations:
|
|
environment_id Optional |
ID of environment Validations:
|
|
include Optional |
Array of extra information types to include Validations:
|
|
search Optional |
filter results Validations:
|
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
|
page Optional |
Page number, starting at 1 Validations:
|
|
per_page Optional |
Number of results per page to return Validations:
|
| Field name | Tipo | Possible values |
|---|---|---|
| architecture | ||
| boot_time | ||
| build | true, false | |
| class | string | |
| comment | ||
| compute_resource | ||
| compute_resource_id | ||
| config_group | string | |
| created_at | ||
| domain | ||
| domain_id | ||
| environment | ||
| expires | ||
| facts | string | |
| global_status | ok, warning, error | |
| has_ip | ||
| has_mac | ||
| hostgroup | ||
| hostgroup_fullname | ||
| hostgroup_id | ||
| hostgroup_name | ||
| hostgroup_title | ||
| image | ||
| installed_at | ||
| ip | ||
| last_report | ||
| location | ||
| location_id | ||
| mac | ||
| managed | true, false | |
| model | ||
| name | ||
| organization | ||
| organization_id | ||
| origin | ||
| os | ||
| os_description | ||
| os_id | ||
| os_major | string | |
| os_minor | string | |
| os_title | ||
| owner | string | |
| owner_id | ||
| owner_type | ||
| params | string | |
| params_name | ||
| parent_hostgroup | string | |
| puppet_ca | ||
| puppet_proxy_id | ||
| puppetmaster | ||
| realm | ||
| realm_id | ||
| smart_proxy | string | |
| status.applied | ||
| status.enabled | true, false | |
| status.failed | ||
| status.failed_restarts | ||
| status.interesting | true, false | |
| status.pending | ||
| status.restarted | ||
| status.skipped | ||
| subnet | ||
| subnet.name | ||
| subnet6 | ||
| subnet6.name | ||
| user.firstname | string | |
| user.lastname | string | |
| user.login | string | |
| user.mail | string | |
| usergroup | ||
| usergroup.name | ||
| uuid |
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
show_hidden_parameters Optional |
Display hidden parameter values Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
host Required |
Validations:
|
|
host[name] Required |
Validations:
|
|
host[location_id] Required |
Validations:
|
|
host[organization_id] Required |
Validations:
|
|
host[environment_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[ip] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
not required if using a subnet with DHCP proxy Validations:
|
|
host[mac] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required for managed host that is bare metal, not required if it's a virtual machine Validations:
|
|
host[architecture_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[domain_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[realm_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[puppet_proxy_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Puppet proxy ID Validations:
|
|
host[puppet_ca_proxy_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Puppet CA proxy ID Validations:
|
|
host[puppetclass_ids] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[config_group_ids] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IDs of associated config groups Validations:
|
|
host[operatingsystem_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[medium_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if not imaged based provisioning and host is managed and value is not inherited from host group Validations:
|
|
host[pxe_loader] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
DHCP filename option (Grub2/PXELinux by default) Validations:
|
|
host[ptable_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and custom partition has not been defined Validations:
|
|
host[subnet_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[compute_resource_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
nil means host is bare metal Validations:
|
|
host[root_pass] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group or default password in settings Validations:
|
|
host[model_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[hostgroup_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[owner_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[owner_type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's owner type Validations:
|
|
host[image_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[host_parameters_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's parameters (array or indexed hash) Validations:
|
|
host[host_parameters_attributes][name] Required |
Name of the parameter Validations:
|
|
host[host_parameters_attributes][value] Required |
Parameter value Validations:
|
|
host[host_parameters_attributes][parameter_type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Type of value Validations:
|
|
host[host_parameters_attributes][hidden_value] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[build] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[enabled] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Inclúe este equipo non informe de Foreman Validations:
|
|
host[provision_method] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
The method used to provision the host. Validations:
|
|
host[managed] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not Validations:
|
|
host[progress_report_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks Validations:
|
|
host[comment] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Información adicional deste equipo Validations:
|
|
host[capabilities] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[compute_profile_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[interfaces_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's network interfaces. Validations:
|
|
host[interfaces_attributes][mac] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
MAC address of interface. Required for managed interfaces on bare metal. Validations:
|
|
host[interfaces_attributes][ip] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IPv4 address of interface Validations:
|
|
host[interfaces_attributes][ip6] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IPv6 address of interface Validations:
|
|
host[interfaces_attributes][type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface type, e.g. bmc. Default is interface Validations:
|
|
host[interfaces_attributes][name] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface's DNS name Validations:
|
|
host[interfaces_attributes][subnet_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman subnet ID of IPv4 interface Validations:
|
|
host[interfaces_attributes][subnet6_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman subnet ID of IPv6 interface Validations:
|
|
host[interfaces_attributes][domain_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman domain ID of interface. Required for primary interfaces on managed hosts. Validations:
|
|
host[interfaces_attributes][identifier] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Device identifier, e.g. eth0 or eth1.1 Validations:
|
|
host[interfaces_attributes][managed] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning? Validations:
|
|
host[interfaces_attributes][primary] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface. Validations:
|
|
host[interfaces_attributes][provision] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface. Validations:
|
|
host[interfaces_attributes][username] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][password] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][provider] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface provider, e.g. IPMI. Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][virtual] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Alias or VLAN device Validations:
|
|
host[interfaces_attributes][tag] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. Validations:
|
|
host[interfaces_attributes][mtu] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
MTU, this attribute has precedence over the subnet MTU. Validations:
|
|
host[interfaces_attributes][attached_to] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. Validations:
|
|
host[interfaces_attributes][mode] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Validations:
|
|
host[interfaces_attributes][attached_devices] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. Validations:
|
|
host[interfaces_attributes][bond_options] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Space separated options, e.g. miimon=100. Only for bond interfaces. Validations:
|
|
host[interfaces_attributes][compute_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Additional compute resource specific attributes for the interface. Validations:
|
|
host[compute_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Additional compute resource specific attributes. Validations:
|
|
host[expired_on] Optional |
Expiry date Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
host Required |
Validations:
|
|
host[name] Optional |
Validations:
|
|
host[location_id] Optional |
Validations:
|
|
host[organization_id] Optional |
Validations:
|
|
host[environment_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[ip] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
not required if using a subnet with DHCP proxy Validations:
|
|
host[mac] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required for managed host that is bare metal, not required if it's a virtual machine Validations:
|
|
host[architecture_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[domain_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[realm_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[puppet_proxy_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Puppet proxy ID Validations:
|
|
host[puppet_ca_proxy_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Puppet CA proxy ID Validations:
|
|
host[puppetclass_ids] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[config_group_ids] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IDs of associated config groups Validations:
|
|
host[operatingsystem_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[medium_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if not imaged based provisioning and host is managed and value is not inherited from host group Validations:
|
|
host[pxe_loader] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
DHCP filename option (Grub2/PXELinux by default) Validations:
|
|
host[ptable_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and custom partition has not been defined Validations:
|
|
host[subnet_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group Validations:
|
|
host[compute_resource_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
nil means host is bare metal Validations:
|
|
host[root_pass] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
required if host is managed and value is not inherited from host group or default password in settings Validations:
|
|
host[model_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[hostgroup_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[owner_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[owner_type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's owner type Validations:
|
|
host[image_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[host_parameters_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's parameters (array or indexed hash) Validations:
|
|
host[host_parameters_attributes][name] Optional |
Name of the parameter Validations:
|
|
host[host_parameters_attributes][value] Optional |
Parameter value Validations:
|
|
host[host_parameters_attributes][parameter_type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Type of value Validations:
|
|
host[host_parameters_attributes][hidden_value] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[build] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[enabled] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Inclúe este equipo non informe de Foreman Validations:
|
|
host[provision_method] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
The method used to provision the host. Validations:
|
|
host[managed] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not Validations:
|
|
host[progress_report_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks Validations:
|
|
host[comment] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Información adicional deste equipo Validations:
|
|
host[capabilities] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[compute_profile_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
|
host[interfaces_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Host's network interfaces. Validations:
|
|
host[interfaces_attributes][mac] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
MAC address of interface. Required for managed interfaces on bare metal. Validations:
|
|
host[interfaces_attributes][ip] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IPv4 address of interface Validations:
|
|
host[interfaces_attributes][ip6] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
IPv6 address of interface Validations:
|
|
host[interfaces_attributes][type] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface type, e.g. bmc. Default is interface Validations:
|
|
host[interfaces_attributes][name] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface's DNS name Validations:
|
|
host[interfaces_attributes][subnet_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman subnet ID of IPv4 interface Validations:
|
|
host[interfaces_attributes][subnet6_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman subnet ID of IPv6 interface Validations:
|
|
host[interfaces_attributes][domain_id] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Foreman domain ID of interface. Required for primary interfaces on managed hosts. Validations:
|
|
host[interfaces_attributes][identifier] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Device identifier, e.g. eth0 or eth1.1 Validations:
|
|
host[interfaces_attributes][managed] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning? Validations:
|
|
host[interfaces_attributes][primary] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface. Validations:
|
|
host[interfaces_attributes][provision] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface. Validations:
|
|
host[interfaces_attributes][username] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][password] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][provider] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Interface provider, e.g. IPMI. Only for BMC interfaces. Validations:
|
|
host[interfaces_attributes][virtual] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Alias or VLAN device Validations:
|
|
host[interfaces_attributes][tag] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. Validations:
|
|
host[interfaces_attributes][mtu] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
MTU, this attribute has precedence over the subnet MTU. Validations:
|
|
host[interfaces_attributes][attached_to] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. Validations:
|
|
host[interfaces_attributes][mode] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Validations:
|
|
host[interfaces_attributes][attached_devices] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. Validations:
|
|
host[interfaces_attributes][bond_options] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Space separated options, e.g. miimon=100. Only for bond interfaces. Validations:
|
|
host[interfaces_attributes][compute_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Additional compute resource specific attributes for the interface. Validations:
|
|
host[compute_attributes] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Additional compute resource specific attributes. Validations:
|
|
host[expired_on] Optional |
Expiry date Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
Returns string representing a host status of a given type
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
type Required |
status type, can be one of
Validations:
|
Clears a host sub-status of a given type
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
type Required |
status type Validations:
|
Return the host's compute attributes that can be used to create a clone of this VM
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
power_action Required |
power action, valid actions are (on/start), (off/stop), (soft/reboot), (cycle/reset), (state/status) Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
device Required |
boot device, valid devices are disk, cdrom, pxe, bios Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
name Required |
hostname of the host Validations:
|
|
facts Required |
hash containing the facts for the host Validations:
|
|
certname Optional |
optional: certname of the host Validations:
|
|
type Optional |
optional: the STI type of host to create Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
only Optional |
Limit rebuild steps, valid steps are DHCP, DNS, TFTP Validations:
|
| Param Name | Description |
|---|---|
|
location_id Optional |
Set the current location context for the request Validations:
|
|
organization_id Optional |
Set the current organization context for the request Validations:
|
|
id Required |
Validations:
|
|
kind Required |
Template kinds, available values: Validations:
|