| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/oci/opsi/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630
from .host_configuration_summary import HostConfigurationSummary
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class EmManagedExternalHostConfigurationSummary(HostConfigurationSummary):
"""
Configuration summary of a EM Managed External host.
"""
def __init__(self, **kwargs):
"""
Initializes a new EmManagedExternalHostConfigurationSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.EmManagedExternalHostConfigurationSummary.entity_source` attribute
of this class is ``EM_MANAGED_EXTERNAL_HOST`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param host_insight_id:
The value to assign to the host_insight_id property of this EmManagedExternalHostConfigurationSummary.
:type host_insight_id: str
:param entity_source:
The value to assign to the entity_source property of this EmManagedExternalHostConfigurationSummary.
Allowed values for this property are: "MACS_MANAGED_EXTERNAL_HOST", "EM_MANAGED_EXTERNAL_HOST", "MACS_MANAGED_CLOUD_HOST", "PE_COMANAGED_HOST"
:type entity_source: str
:param compartment_id:
The value to assign to the compartment_id property of this EmManagedExternalHostConfigurationSummary.
:type compartment_id: str
:param host_name:
The value to assign to the host_name property of this EmManagedExternalHostConfigurationSummary.
:type host_name: str
:param platform_type:
The value to assign to the platform_type property of this EmManagedExternalHostConfigurationSummary.
Allowed values for this property are: "LINUX", "SOLARIS", "SUNOS", "ZLINUX", "WINDOWS", "AIX", "HP_UX"
:type platform_type: str
:param platform_version:
The value to assign to the platform_version property of this EmManagedExternalHostConfigurationSummary.
:type platform_version: str
:param platform_vendor:
The value to assign to the platform_vendor property of this EmManagedExternalHostConfigurationSummary.
:type platform_vendor: str
:param total_cpus:
The value to assign to the total_cpus property of this EmManagedExternalHostConfigurationSummary.
:type total_cpus: int
:param total_memory_in_gbs:
The value to assign to the total_memory_in_gbs property of this EmManagedExternalHostConfigurationSummary.
:type total_memory_in_gbs: float
:param cpu_architecture:
The value to assign to the cpu_architecture property of this EmManagedExternalHostConfigurationSummary.
:type cpu_architecture: str
:param cpu_cache_in_mbs:
The value to assign to the cpu_cache_in_mbs property of this EmManagedExternalHostConfigurationSummary.
:type cpu_cache_in_mbs: float
:param cpu_vendor:
The value to assign to the cpu_vendor property of this EmManagedExternalHostConfigurationSummary.
:type cpu_vendor: str
:param cpu_frequency_in_mhz:
The value to assign to the cpu_frequency_in_mhz property of this EmManagedExternalHostConfigurationSummary.
:type cpu_frequency_in_mhz: float
:param cpu_implementation:
The value to assign to the cpu_implementation property of this EmManagedExternalHostConfigurationSummary.
:type cpu_implementation: str
:param cores_per_socket:
The value to assign to the cores_per_socket property of this EmManagedExternalHostConfigurationSummary.
:type cores_per_socket: int
:param total_sockets:
The value to assign to the total_sockets property of this EmManagedExternalHostConfigurationSummary.
:type total_sockets: int
:param threads_per_socket:
The value to assign to the threads_per_socket property of this EmManagedExternalHostConfigurationSummary.
:type threads_per_socket: int
:param is_hyper_threading_enabled:
The value to assign to the is_hyper_threading_enabled property of this EmManagedExternalHostConfigurationSummary.
:type is_hyper_threading_enabled: bool
:param defined_tags:
The value to assign to the defined_tags property of this EmManagedExternalHostConfigurationSummary.
:type defined_tags: dict(str, dict(str, object))
:param freeform_tags:
The value to assign to the freeform_tags property of this EmManagedExternalHostConfigurationSummary.
:type freeform_tags: dict(str, str)
:param enterprise_manager_identifier:
The value to assign to the enterprise_manager_identifier property of this EmManagedExternalHostConfigurationSummary.
:type enterprise_manager_identifier: str
:param enterprise_manager_bridge_id:
The value to assign to the enterprise_manager_bridge_id property of this EmManagedExternalHostConfigurationSummary.
:type enterprise_manager_bridge_id: str
:param exadata_details:
The value to assign to the exadata_details property of this EmManagedExternalHostConfigurationSummary.
:type exadata_details: oci.opsi.models.ExadataDetails
"""
self.swagger_types = {
'host_insight_id': 'str',
'entity_source': 'str',
'compartment_id': 'str',
'host_name': 'str',
'platform_type': 'str',
'platform_version': 'str',
'platform_vendor': 'str',
'total_cpus': 'int',
'total_memory_in_gbs': 'float',
'cpu_architecture': 'str',
'cpu_cache_in_mbs': 'float',
'cpu_vendor': 'str',
'cpu_frequency_in_mhz': 'float',
'cpu_implementation': 'str',
'cores_per_socket': 'int',
'total_sockets': 'int',
'threads_per_socket': 'int',
'is_hyper_threading_enabled': 'bool',
'defined_tags': 'dict(str, dict(str, object))',
'freeform_tags': 'dict(str, str)',
'enterprise_manager_identifier': 'str',
'enterprise_manager_bridge_id': 'str',
'exadata_details': 'ExadataDetails'
}
self.attribute_map = {
'host_insight_id': 'hostInsightId',
'entity_source': 'entitySource',
'compartment_id': 'compartmentId',
'host_name': 'hostName',
'platform_type': 'platformType',
'platform_version': 'platformVersion',
'platform_vendor': 'platformVendor',
'total_cpus': 'totalCpus',
'total_memory_in_gbs': 'totalMemoryInGBs',
'cpu_architecture': 'cpuArchitecture',
'cpu_cache_in_mbs': 'cpuCacheInMBs',
'cpu_vendor': 'cpuVendor',
'cpu_frequency_in_mhz': 'cpuFrequencyInMhz',
'cpu_implementation': 'cpuImplementation',
'cores_per_socket': 'coresPerSocket',
'total_sockets': 'totalSockets',
'threads_per_socket': 'threadsPerSocket',
'is_hyper_threading_enabled': 'isHyperThreadingEnabled',
'defined_tags': 'definedTags',
'freeform_tags': 'freeformTags',
'enterprise_manager_identifier': 'enterpriseManagerIdentifier',
'enterprise_manager_bridge_id': 'enterpriseManagerBridgeId',
'exadata_details': 'exadataDetails'
}
self._host_insight_id = None
self._entity_source = None
self._compartment_id = None
self._host_name = None
self._platform_type = None
self._platform_version = None
self._platform_vendor = None
self._total_cpus = None
self._total_memory_in_gbs = None
self._cpu_architecture = None
self._cpu_cache_in_mbs = None
self._cpu_vendor = None
self._cpu_frequency_in_mhz = None
self._cpu_implementation = None
self._cores_per_socket = None
self._total_sockets = None
self._threads_per_socket = None
self._is_hyper_threading_enabled = None
self._defined_tags = None
self._freeform_tags = None
self._enterprise_manager_identifier = None
self._enterprise_manager_bridge_id = None
self._exadata_details = None
self._entity_source = 'EM_MANAGED_EXTERNAL_HOST'
@property
def enterprise_manager_identifier(self):
"""
**[Required]** Gets the enterprise_manager_identifier of this EmManagedExternalHostConfigurationSummary.
Enterprise Manager Unique Identifier
:return: The enterprise_manager_identifier of this EmManagedExternalHostConfigurationSummary.
:rtype: str
"""
return self._enterprise_manager_identifier
@enterprise_manager_identifier.setter
def enterprise_manager_identifier(self, enterprise_manager_identifier):
"""
Sets the enterprise_manager_identifier of this EmManagedExternalHostConfigurationSummary.
Enterprise Manager Unique Identifier
:param enterprise_manager_identifier: The enterprise_manager_identifier of this EmManagedExternalHostConfigurationSummary.
:type: str
"""
self._enterprise_manager_identifier = enterprise_manager_identifier
@property
def enterprise_manager_bridge_id(self):
"""
**[Required]** Gets the enterprise_manager_bridge_id of this EmManagedExternalHostConfigurationSummary.
OPSI Enterprise Manager Bridge OCID
:return: The enterprise_manager_bridge_id of this EmManagedExternalHostConfigurationSummary.
:rtype: str
"""
return self._enterprise_manager_bridge_id
@enterprise_manager_bridge_id.setter
def enterprise_manager_bridge_id(self, enterprise_manager_bridge_id):
"""
Sets the enterprise_manager_bridge_id of this EmManagedExternalHostConfigurationSummary.
OPSI Enterprise Manager Bridge OCID
:param enterprise_manager_bridge_id: The enterprise_manager_bridge_id of this EmManagedExternalHostConfigurationSummary.
:type: str
"""
self._enterprise_manager_bridge_id = enterprise_manager_bridge_id
@property
def exadata_details(self):
"""
**[Required]** Gets the exadata_details of this EmManagedExternalHostConfigurationSummary.
:return: The exadata_details of this EmManagedExternalHostConfigurationSummary.
:rtype: oci.opsi.models.ExadataDetails
"""
return self._exadata_details
@exadata_details.setter
def exadata_details(self, exadata_details):
"""
Sets the exadata_details of this EmManagedExternalHostConfigurationSummary.
:param exadata_details: The exadata_details of this EmManagedExternalHostConfigurationSummary.
:type: oci.opsi.models.ExadataDetails
"""
self._exadata_details = exadata_details
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other