pem.getHost

This method is supported by Operations starting from version 5.2.1

This method allows getting Operations host properties by host ID.

The method has the following input parameters:

Name

Type

Short Description

host_id

int

ID of the host.

The method has the following output parameters:

Name

Type

Short Description

hostname

string

Fully qualified name of the host

ip_addresses

array of struct

IP Addresses assigned to the host

  • ip_address

string

Host IP address

  • ip_type

string

Type of IP Address. The following values are available:

  • E – exclusive IP Address
  • S – shared IP Address

attributes

array of string

List of attributes attached to the host.

ready_to_provide

boolean

Host status in respect to Ready to Provide. The following values are available:

  • 1 – host is Ready to Provide
  • 0 – host is not Ready to Provide