DiscoveredCloudDbNode¶
- 
class oci.database_management.models.DiscoveredCloudDbNode(**kwargs)¶
- Bases: - oci.database_management.models.discovered_cloud_db_system_component.DiscoveredCloudDbSystemComponent- The details of an Oracle DB node discovered in a cloud DB system discovery run. - Attributes - COMPONENT_TYPE_ASM- str(object=’’) -> str - COMPONENT_TYPE_ASM_INSTANCE- str(object=’’) -> str - COMPONENT_TYPE_CLUSTER- str(object=’’) -> str - COMPONENT_TYPE_CLUSTER_INSTANCE- str(object=’’) -> str - COMPONENT_TYPE_DATABASE- str(object=’’) -> str - COMPONENT_TYPE_DATABASE_HOME- str(object=’’) -> str - COMPONENT_TYPE_DATABASE_INSTANCE- str(object=’’) -> str - COMPONENT_TYPE_DATABASE_NODE- str(object=’’) -> str - COMPONENT_TYPE_DBSYSTEM- str(object=’’) -> str - COMPONENT_TYPE_LISTENER- str(object=’’) -> str - COMPONENT_TYPE_PLUGGABLE_DATABASE- str(object=’’) -> str - STATUS_EXISTING- str(object=’’) -> str - STATUS_EXISTING_BASIC- str(object=’’) -> str - STATUS_EXISTING_BASIC_PE- str(object=’’) -> str - STATUS_EXISTING_PE- str(object=’’) -> str - STATUS_MARKED_FOR_DELETION- str(object=’’) -> str - STATUS_MARKED_FOR_MIGRATION- str(object=’’) -> str - STATUS_MARKED_FOR_UPGRADE- str(object=’’) -> str - STATUS_MARKED_FOR_UPGRADE_MIGRATION- str(object=’’) -> str - STATUS_NEW- str(object=’’) -> str - STATUS_UNKNOWN- str(object=’’) -> str - associated_components- Gets the associated_components of this DiscoveredCloudDbSystemComponent. - component_id- [Required] Gets the component_id of this DiscoveredCloudDbSystemComponent. - component_name- [Required] Gets the component_name of this DiscoveredCloudDbSystemComponent. - component_type- [Required] Gets the component_type of this DiscoveredCloudDbSystemComponent. - connector- Gets the connector of this DiscoveredCloudDbNode. - cpu_core_count- Gets the cpu_core_count of this DiscoveredCloudDbNode. - dbaas_id- Gets the dbaas_id of this DiscoveredCloudDbSystemComponent. - display_name- [Required] Gets the display_name of this DiscoveredCloudDbSystemComponent. - host_name- [Required] Gets the host_name of this DiscoveredCloudDbNode. - is_selected_for_monitoring- Gets the is_selected_for_monitoring of this DiscoveredCloudDbSystemComponent. - memory_size_in_gbs- Gets the memory_size_in_gbs of this DiscoveredCloudDbNode. - resource_id- Gets the resource_id of this DiscoveredCloudDbSystemComponent. - status- Gets the status of this DiscoveredCloudDbSystemComponent. - Methods - __init__(**kwargs)- Initializes a new DiscoveredCloudDbNode 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. - 
COMPONENT_TYPE_ASM= 'ASM'¶
 - 
COMPONENT_TYPE_ASM_INSTANCE= 'ASM_INSTANCE'¶
 - 
COMPONENT_TYPE_CLUSTER= 'CLUSTER'¶
 - 
COMPONENT_TYPE_CLUSTER_INSTANCE= 'CLUSTER_INSTANCE'¶
 - 
COMPONENT_TYPE_DATABASE= 'DATABASE'¶
 - 
COMPONENT_TYPE_DATABASE_HOME= 'DATABASE_HOME'¶
 - 
COMPONENT_TYPE_DATABASE_INSTANCE= 'DATABASE_INSTANCE'¶
 - 
COMPONENT_TYPE_DATABASE_NODE= 'DATABASE_NODE'¶
 - 
COMPONENT_TYPE_DBSYSTEM= 'DBSYSTEM'¶
 - 
COMPONENT_TYPE_LISTENER= 'LISTENER'¶
 - 
COMPONENT_TYPE_PLUGGABLE_DATABASE= 'PLUGGABLE_DATABASE'¶
 - 
STATUS_EXISTING= 'EXISTING'¶
 - 
STATUS_EXISTING_BASIC= 'EXISTING_BASIC'¶
 - 
STATUS_EXISTING_BASIC_PE= 'EXISTING_BASIC_PE'¶
 - 
STATUS_EXISTING_PE= 'EXISTING_PE'¶
 - 
STATUS_MARKED_FOR_DELETION= 'MARKED_FOR_DELETION'¶
 - 
STATUS_MARKED_FOR_MIGRATION= 'MARKED_FOR_MIGRATION'¶
 - 
STATUS_MARKED_FOR_UPGRADE= 'MARKED_FOR_UPGRADE'¶
 - 
STATUS_MARKED_FOR_UPGRADE_MIGRATION= 'MARKED_FOR_UPGRADE_MIGRATION'¶
 - 
STATUS_NEW= 'NEW'¶
 - 
STATUS_UNKNOWN= 'UNKNOWN'¶
 - 
__init__(**kwargs)¶
- Initializes a new DiscoveredCloudDbNode object with values from keyword arguments. The default value of the - component_typeattribute of this class is- DATABASE_NODEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - component_id (str) – The value to assign to the component_id property of this DiscoveredCloudDbNode.
- display_name (str) – The value to assign to the display_name property of this DiscoveredCloudDbNode.
- component_name (str) – The value to assign to the component_name property of this DiscoveredCloudDbNode.
- component_type (str) – The value to assign to the component_type property of this DiscoveredCloudDbNode. Allowed values for this property are: “ASM”, “ASM_INSTANCE”, “CLUSTER”, “CLUSTER_INSTANCE”, “DATABASE”, “DATABASE_INSTANCE”, “DATABASE_HOME”, “DATABASE_NODE”, “DBSYSTEM”, “LISTENER”, “PLUGGABLE_DATABASE”
- resource_id (str) – The value to assign to the resource_id property of this DiscoveredCloudDbNode.
- dbaas_id (str) – The value to assign to the dbaas_id property of this DiscoveredCloudDbNode.
- is_selected_for_monitoring (bool) – The value to assign to the is_selected_for_monitoring property of this DiscoveredCloudDbNode.
- status (str) – The value to assign to the status property of this DiscoveredCloudDbNode. Allowed values for this property are: “NEW”, “EXISTING”, “EXISTING_BASIC”, “EXISTING_PE”, “EXISTING_BASIC_PE”, “MARKED_FOR_UPGRADE”, “MARKED_FOR_MIGRATION”, “MARKED_FOR_UPGRADE_MIGRATION”, “MARKED_FOR_DELETION”, “UNKNOWN”
- associated_components (list[oci.database_management.models.AssociatedCloudComponent]) – The value to assign to the associated_components property of this DiscoveredCloudDbNode.
- host_name (str) – The value to assign to the host_name property of this DiscoveredCloudDbNode.
- cpu_core_count (float) – The value to assign to the cpu_core_count property of this DiscoveredCloudDbNode.
- memory_size_in_gbs (float) – The value to assign to the memory_size_in_gbs property of this DiscoveredCloudDbNode.
- connector (oci.database_management.models.CloudDbSystemDiscoveryConnector) – The value to assign to the connector property of this DiscoveredCloudDbNode.
 
 - 
associated_components¶
- Gets the associated_components of this DiscoveredCloudDbSystemComponent. The list of associated components. - Returns: - The associated_components of this DiscoveredCloudDbSystemComponent. - Return type: - list[oci.database_management.models.AssociatedCloudComponent] 
 - 
component_id¶
- [Required] Gets the component_id of this DiscoveredCloudDbSystemComponent. The identifier of the discovered DB system component. - Returns: - The component_id of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 - 
component_name¶
- [Required] Gets the component_name of this DiscoveredCloudDbSystemComponent. The name of the discovered DB system component. - Returns: - The component_name of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 - 
component_type¶
- [Required] Gets the component_type of this DiscoveredCloudDbSystemComponent. The cloud DB system component type. - Allowed values for this property are: “ASM”, “ASM_INSTANCE”, “CLUSTER”, “CLUSTER_INSTANCE”, “DATABASE”, “DATABASE_INSTANCE”, “DATABASE_HOME”, “DATABASE_NODE”, “DBSYSTEM”, “LISTENER”, “PLUGGABLE_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The component_type of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 - 
connector¶
- Gets the connector of this DiscoveredCloudDbNode. - Returns: - The connector of this DiscoveredCloudDbNode. - Return type: - oci.database_management.models.CloudDbSystemDiscoveryConnector 
 - 
cpu_core_count¶
- Gets the cpu_core_count of this DiscoveredCloudDbNode. The number of CPU cores available on the DB node. - Returns: - The cpu_core_count of this DiscoveredCloudDbNode. - Return type: - float 
 - 
dbaas_id¶
- Gets the dbaas_id of this DiscoveredCloudDbSystemComponent. The OCID of the existing Dbaas OCI resource matching the discovered DB system component. - Returns: - The dbaas_id of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 - 
display_name¶
- [Required] Gets the display_name of this DiscoveredCloudDbSystemComponent. The user-friendly name for the discovered DB system component. The name does not have to be unique. - Returns: - The display_name of this DiscoveredCloudDbSystemComponent. - Return type: - 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_name¶
- [Required] Gets the host_name of this DiscoveredCloudDbNode. The name of the host on which the ASM instance is running. - Returns: - The host_name of this DiscoveredCloudDbNode. - Return type: - str 
 - 
is_selected_for_monitoring¶
- Gets the is_selected_for_monitoring of this DiscoveredCloudDbSystemComponent. Indicates whether the DB system component should be provisioned as an OCI resource or not. - Returns: - The is_selected_for_monitoring of this DiscoveredCloudDbSystemComponent. - Return type: - bool 
 - 
memory_size_in_gbs¶
- Gets the memory_size_in_gbs of this DiscoveredCloudDbNode. The total memory in gigabytes (GB) on the DB node. - Returns: - The memory_size_in_gbs of this DiscoveredCloudDbNode. - Return type: - float 
 - 
resource_id¶
- Gets the resource_id of this DiscoveredCloudDbSystemComponent. The OCID of the existing OCI resource matching the discovered DB system component. - Returns: - The resource_id of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 - 
status¶
- Gets the status of this DiscoveredCloudDbSystemComponent. The state of the discovered DB system component. - Allowed values for this property are: “NEW”, “EXISTING”, “EXISTING_BASIC”, “EXISTING_PE”, “EXISTING_BASIC_PE”, “MARKED_FOR_UPGRADE”, “MARKED_FOR_MIGRATION”, “MARKED_FOR_UPGRADE_MIGRATION”, “MARKED_FOR_DELETION”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The status of this DiscoveredCloudDbSystemComponent. - Return type: - str 
 
-