HostConfigurationSummary

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

Bases: object

Summary of a host configuration for a resource.

Attributes

ENTITY_SOURCE_EM_MANAGED_EXTERNAL_HOST A constant which can be used with the entity_source property of a HostConfigurationSummary.
ENTITY_SOURCE_MACS_MANAGED_CLOUD_DB_HOST A constant which can be used with the entity_source property of a HostConfigurationSummary.
ENTITY_SOURCE_MACS_MANAGED_CLOUD_HOST A constant which can be used with the entity_source property of a HostConfigurationSummary.
ENTITY_SOURCE_MACS_MANAGED_EXTERNAL_HOST A constant which can be used with the entity_source property of a HostConfigurationSummary.
ENTITY_SOURCE_PE_COMANAGED_HOST A constant which can be used with the entity_source property of a HostConfigurationSummary.
PLATFORM_TYPE_AIX A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_HP_UX A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_LINUX A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_SOLARIS A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_SUNOS A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_WINDOWS A constant which can be used with the platform_type property of a HostConfigurationSummary.
PLATFORM_TYPE_ZLINUX A constant which can be used with the platform_type property of a HostConfigurationSummary.
compartment_id [Required] Gets the compartment_id of this HostConfigurationSummary.
cores_per_socket [Required] Gets the cores_per_socket of this HostConfigurationSummary.
cpu_architecture [Required] Gets the cpu_architecture of this HostConfigurationSummary.
cpu_cache_in_mbs [Required] Gets the cpu_cache_in_mbs of this HostConfigurationSummary.
cpu_frequency_in_mhz [Required] Gets the cpu_frequency_in_mhz of this HostConfigurationSummary.
cpu_implementation [Required] Gets the cpu_implementation of this HostConfigurationSummary.
cpu_vendor [Required] Gets the cpu_vendor of this HostConfigurationSummary.
defined_tags [Required] Gets the defined_tags of this HostConfigurationSummary.
entity_source [Required] Gets the entity_source of this HostConfigurationSummary.
freeform_tags [Required] Gets the freeform_tags of this HostConfigurationSummary.
host_insight_id [Required] Gets the host_insight_id of this HostConfigurationSummary.
host_name [Required] Gets the host_name of this HostConfigurationSummary.
is_hyper_threading_enabled [Required] Gets the is_hyper_threading_enabled of this HostConfigurationSummary.
platform_type [Required] Gets the platform_type of this HostConfigurationSummary.
platform_vendor [Required] Gets the platform_vendor of this HostConfigurationSummary.
platform_version [Required] Gets the platform_version of this HostConfigurationSummary.
threads_per_socket [Required] Gets the threads_per_socket of this HostConfigurationSummary.
total_cpus [Required] Gets the total_cpus of this HostConfigurationSummary.
total_memory_in_gbs [Required] Gets the total_memory_in_gbs of this HostConfigurationSummary.
total_sockets [Required] Gets the total_sockets of this HostConfigurationSummary.

Methods

__init__(**kwargs) Initializes a new HostConfigurationSummary object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENTITY_SOURCE_EM_MANAGED_EXTERNAL_HOST = 'EM_MANAGED_EXTERNAL_HOST'

A constant which can be used with the entity_source property of a HostConfigurationSummary. This constant has a value of “EM_MANAGED_EXTERNAL_HOST”

ENTITY_SOURCE_MACS_MANAGED_CLOUD_DB_HOST = 'MACS_MANAGED_CLOUD_DB_HOST'

A constant which can be used with the entity_source property of a HostConfigurationSummary. This constant has a value of “MACS_MANAGED_CLOUD_DB_HOST”

ENTITY_SOURCE_MACS_MANAGED_CLOUD_HOST = 'MACS_MANAGED_CLOUD_HOST'

A constant which can be used with the entity_source property of a HostConfigurationSummary. This constant has a value of “MACS_MANAGED_CLOUD_HOST”

ENTITY_SOURCE_MACS_MANAGED_EXTERNAL_HOST = 'MACS_MANAGED_EXTERNAL_HOST'

A constant which can be used with the entity_source property of a HostConfigurationSummary. This constant has a value of “MACS_MANAGED_EXTERNAL_HOST”

ENTITY_SOURCE_PE_COMANAGED_HOST = 'PE_COMANAGED_HOST'

A constant which can be used with the entity_source property of a HostConfigurationSummary. This constant has a value of “PE_COMANAGED_HOST”

PLATFORM_TYPE_AIX = 'AIX'

A constant which can be used with the platform_type property of a HostConfigurationSummary. 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 HostConfigurationSummary. 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 HostConfigurationSummary. This constant has a value of “LINUX”

PLATFORM_TYPE_SOLARIS = 'SOLARIS'

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

PLATFORM_TYPE_SUNOS = 'SUNOS'

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

PLATFORM_TYPE_WINDOWS = 'WINDOWS'

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

PLATFORM_TYPE_ZLINUX = 'ZLINUX'

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

__init__(**kwargs)

Initializes a new HostConfigurationSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • host_insight_id (str) – The value to assign to the host_insight_id property of this HostConfigurationSummary.
  • entity_source (str) – The value to assign to the entity_source property of this HostConfigurationSummary. Allowed values for this property are: “MACS_MANAGED_EXTERNAL_HOST”, “EM_MANAGED_EXTERNAL_HOST”, “MACS_MANAGED_CLOUD_HOST”, “PE_COMANAGED_HOST”, “MACS_MANAGED_CLOUD_DB_HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compartment_id (str) – The value to assign to the compartment_id property of this HostConfigurationSummary.
  • host_name (str) – The value to assign to the host_name property of this HostConfigurationSummary.
  • platform_type (str) – The value to assign to the platform_type property of this HostConfigurationSummary. 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’.
  • platform_version (str) – The value to assign to the platform_version property of this HostConfigurationSummary.
  • platform_vendor (str) – The value to assign to the platform_vendor property of this HostConfigurationSummary.
  • total_cpus (int) – The value to assign to the total_cpus property of this HostConfigurationSummary.
  • total_memory_in_gbs (float) – The value to assign to the total_memory_in_gbs property of this HostConfigurationSummary.
  • cpu_architecture (str) – The value to assign to the cpu_architecture property of this HostConfigurationSummary.
  • cpu_cache_in_mbs (float) – The value to assign to the cpu_cache_in_mbs property of this HostConfigurationSummary.
  • cpu_vendor (str) – The value to assign to the cpu_vendor property of this HostConfigurationSummary.
  • cpu_frequency_in_mhz (float) – The value to assign to the cpu_frequency_in_mhz property of this HostConfigurationSummary.
  • cpu_implementation (str) – The value to assign to the cpu_implementation property of this HostConfigurationSummary.
  • cores_per_socket (int) – The value to assign to the cores_per_socket property of this HostConfigurationSummary.
  • total_sockets (int) – The value to assign to the total_sockets property of this HostConfigurationSummary.
  • threads_per_socket (int) – The value to assign to the threads_per_socket property of this HostConfigurationSummary.
  • is_hyper_threading_enabled (bool) – The value to assign to the is_hyper_threading_enabled property of this HostConfigurationSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this HostConfigurationSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this HostConfigurationSummary.
compartment_id

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

Returns:The compartment_id of this HostConfigurationSummary.
Return type:str
cores_per_socket

[Required] Gets the cores_per_socket of this HostConfigurationSummary. Number of cores per socket.

Returns:The cores_per_socket of this HostConfigurationSummary.
Return type:int
cpu_architecture

[Required] Gets the cpu_architecture of this HostConfigurationSummary. CPU architechure

Returns:The cpu_architecture of this HostConfigurationSummary.
Return type:str
cpu_cache_in_mbs

[Required] Gets the cpu_cache_in_mbs of this HostConfigurationSummary. Size of cache memory in megabytes.

Returns:The cpu_cache_in_mbs of this HostConfigurationSummary.
Return type:float
cpu_frequency_in_mhz

[Required] Gets the cpu_frequency_in_mhz of this HostConfigurationSummary. Clock frequency of the processor in megahertz.

Returns:The cpu_frequency_in_mhz of this HostConfigurationSummary.
Return type:float
cpu_implementation

[Required] Gets the cpu_implementation of this HostConfigurationSummary. Model name of processor.

Returns:The cpu_implementation of this HostConfigurationSummary.
Return type:str
cpu_vendor

[Required] Gets the cpu_vendor of this HostConfigurationSummary. Name of the CPU vendor.

Returns:The cpu_vendor of this HostConfigurationSummary.
Return type:str
defined_tags

[Required] Gets the defined_tags of this HostConfigurationSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this HostConfigurationSummary.
Return type:dict(str, dict(str, object))
entity_source

[Required] Gets the entity_source of this HostConfigurationSummary. Source of the host entity.

Allowed values for this property are: “MACS_MANAGED_EXTERNAL_HOST”, “EM_MANAGED_EXTERNAL_HOST”, “MACS_MANAGED_CLOUD_HOST”, “PE_COMANAGED_HOST”, “MACS_MANAGED_CLOUD_DB_HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_source of this HostConfigurationSummary.
Return type:str
freeform_tags

[Required] Gets the freeform_tags of this HostConfigurationSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this HostConfigurationSummary.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

host_insight_id

[Required] Gets the host_insight_id of this HostConfigurationSummary. The OCID of the host insight resource.

Returns:The host_insight_id of this HostConfigurationSummary.
Return type:str
host_name

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

Returns:The host_name of this HostConfigurationSummary.
Return type:str
is_hyper_threading_enabled

[Required] Gets the is_hyper_threading_enabled of this HostConfigurationSummary. Indicates if hyper-threading is enabled or not

Returns:The is_hyper_threading_enabled of this HostConfigurationSummary.
Return type:bool
platform_type

[Required] Gets the platform_type of this HostConfigurationSummary. 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 HostConfigurationSummary.
Return type:str
platform_vendor

[Required] Gets the platform_vendor of this HostConfigurationSummary. Platform vendor.

Returns:The platform_vendor of this HostConfigurationSummary.
Return type:str
platform_version

[Required] Gets the platform_version of this HostConfigurationSummary. Platform version.

Returns:The platform_version of this HostConfigurationSummary.
Return type:str
threads_per_socket

[Required] Gets the threads_per_socket of this HostConfigurationSummary. Number of threads per socket.

Returns:The threads_per_socket of this HostConfigurationSummary.
Return type:int
total_cpus

[Required] Gets the total_cpus of this HostConfigurationSummary. Total CPU on this host.

Returns:The total_cpus of this HostConfigurationSummary.
Return type:int
total_memory_in_gbs

[Required] Gets the total_memory_in_gbs of this HostConfigurationSummary. Total amount of usable physical memory in gibabytes

Returns:The total_memory_in_gbs of this HostConfigurationSummary.
Return type:float
total_sockets

[Required] Gets the total_sockets of this HostConfigurationSummary. Number of total sockets.

Returns:The total_sockets of this HostConfigurationSummary.
Return type:int