HostDetails

class oci.opsi.models.HostDetails(**kwargs)

Bases: object

Partial information about a host which includes id, name, type.

Attributes

PLATFORM_TYPE_AIX A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_HP_UX A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_LINUX A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_SOLARIS A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_SUNOS A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_WINDOWS A constant which can be used with the platform_type property of a HostDetails.
PLATFORM_TYPE_ZLINUX A constant which can be used with the platform_type property of a HostDetails.
agent_identifier [Required] Gets the agent_identifier of this HostDetails.
compartment_id [Required] Gets the compartment_id of this HostDetails.
host_display_name Gets the host_display_name of this HostDetails.
host_name [Required] Gets the host_name of this HostDetails.
id [Required] Gets the id of this HostDetails.
platform_type [Required] Gets the platform_type of this HostDetails.

Methods

__init__(**kwargs) Initializes a new HostDetails object with values from keyword arguments.
PLATFORM_TYPE_AIX = 'AIX'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “AIX”

PLATFORM_TYPE_HP_UX = 'HP_UX'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “HP_UX”

PLATFORM_TYPE_LINUX = 'LINUX'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “LINUX”

PLATFORM_TYPE_SOLARIS = 'SOLARIS'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “SOLARIS”

PLATFORM_TYPE_SUNOS = 'SUNOS'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “SUNOS”

PLATFORM_TYPE_WINDOWS = 'WINDOWS'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “WINDOWS”

PLATFORM_TYPE_ZLINUX = 'ZLINUX'

A constant which can be used with the platform_type property of a HostDetails. This constant has a value of “ZLINUX”

__init__(**kwargs)

Initializes a new HostDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this HostDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this HostDetails.
  • host_name (str) – The value to assign to the host_name property of this HostDetails.
  • host_display_name (str) – The value to assign to the host_display_name property of this HostDetails.
  • platform_type (str) – The value to assign to the platform_type property of this HostDetails. Allowed values for this property are: “LINUX”, “SOLARIS”, “SUNOS”, “ZLINUX”, “WINDOWS”, “AIX”, “HP_UX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • agent_identifier (str) – The value to assign to the agent_identifier property of this HostDetails.
agent_identifier

[Required] Gets the agent_identifier of this HostDetails. The identifier of the agent.

Returns:The agent_identifier of this HostDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this HostDetails. The OCID of the compartment.

Returns:The compartment_id of this HostDetails.
Return type:str
host_display_name

Gets the host_display_name of this HostDetails. The user-friendly name for the host. The name does not have to be unique.

Returns:The host_display_name of this HostDetails.
Return type:str
host_name

[Required] Gets the host_name of this HostDetails. The host name. The host name is unique amongst the hosts managed by the same management agent.

Returns:The host_name of this HostDetails.
Return type:str
id

[Required] Gets the id of this HostDetails. The OCID of the host.

Returns:The id of this HostDetails.
Return type:str
platform_type

[Required] Gets the platform_type of this HostDetails. Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

Allowed values for this property are: “LINUX”, “SOLARIS”, “SUNOS”, “ZLINUX”, “WINDOWS”, “AIX”, “HP_UX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The platform_type of this HostDetails.
Return type:str