| 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 : /lib/python3.9/site-packages/oci/database_management/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: 20201101
from .discovered_external_db_system_component import DiscoveredExternalDbSystemComponent
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 DiscoveredExternalDbHome(DiscoveredExternalDbSystemComponent):
"""
The details of an Oracle DB home discovered in an external DB system discovery run.
"""
def __init__(self, **kwargs):
"""
Initializes a new DiscoveredExternalDbHome object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.DiscoveredExternalDbHome.component_type` attribute
of this class is ``DATABASE_HOME`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param component_id:
The value to assign to the component_id property of this DiscoveredExternalDbHome.
:type component_id: str
:param display_name:
The value to assign to the display_name property of this DiscoveredExternalDbHome.
:type display_name: str
:param component_name:
The value to assign to the component_name property of this DiscoveredExternalDbHome.
:type component_name: str
:param component_type:
The value to assign to the component_type property of this DiscoveredExternalDbHome.
Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE"
:type component_type: str
:param resource_id:
The value to assign to the resource_id property of this DiscoveredExternalDbHome.
:type resource_id: str
:param is_selected_for_monitoring:
The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalDbHome.
:type is_selected_for_monitoring: bool
:param status:
The value to assign to the status property of this DiscoveredExternalDbHome.
Allowed values for this property are: "NEW", "EXISTING", "MARKED_FOR_DELETION", "UNKNOWN"
:type status: str
:param associated_components:
The value to assign to the associated_components property of this DiscoveredExternalDbHome.
:type associated_components: list[oci.database_management.models.AssociatedComponent]
:param home_directory:
The value to assign to the home_directory property of this DiscoveredExternalDbHome.
:type home_directory: str
"""
self.swagger_types = {
'component_id': 'str',
'display_name': 'str',
'component_name': 'str',
'component_type': 'str',
'resource_id': 'str',
'is_selected_for_monitoring': 'bool',
'status': 'str',
'associated_components': 'list[AssociatedComponent]',
'home_directory': 'str'
}
self.attribute_map = {
'component_id': 'componentId',
'display_name': 'displayName',
'component_name': 'componentName',
'component_type': 'componentType',
'resource_id': 'resourceId',
'is_selected_for_monitoring': 'isSelectedForMonitoring',
'status': 'status',
'associated_components': 'associatedComponents',
'home_directory': 'homeDirectory'
}
self._component_id = None
self._display_name = None
self._component_name = None
self._component_type = None
self._resource_id = None
self._is_selected_for_monitoring = None
self._status = None
self._associated_components = None
self._home_directory = None
self._component_type = 'DATABASE_HOME'
@property
def home_directory(self):
"""
**[Required]** Gets the home_directory of this DiscoveredExternalDbHome.
The location of the DB home.
:return: The home_directory of this DiscoveredExternalDbHome.
:rtype: str
"""
return self._home_directory
@home_directory.setter
def home_directory(self, home_directory):
"""
Sets the home_directory of this DiscoveredExternalDbHome.
The location of the DB home.
:param home_directory: The home_directory of this DiscoveredExternalDbHome.
:type: str
"""
self._home_directory = home_directory
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