HostDetails

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

Bases: object

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

Attributes

PLATFORM_TYPE_LINUX A constant which can be used with the platform_type property of a HostDetails.
agent_identifier [Required] Gets the agent_identifier 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_LINUX = 'LINUX'

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

__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.
  • 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”, ‘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
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.

Allowed values for this property are: “LINUX”, ‘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