Data Source: oci_database_management_external_db_system
This data source provides details about a specific External Db System resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the external DB system specified by externalDbSystemId
.
Example Usage
data "oci_database_management_external_db_system" "test_external_db_system" {
#Required
external_db_system_id = oci_database_management_external_db_system.test_external_db_system.id
}
Argument Reference
The following arguments are supported:
external_db_system_id
- (Required) The OCID of the external DB system.
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.database_management_config
- The details required to enable Database Management for an external DB system.license_model
- The Oracle license model that applies to the external database.
db_system_discovery_id
- The OCID of the DB system discovery.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
discovery_agent_id
- The OCID of the management agent used during the discovery of the DB system.display_name
- The user-friendly name for the DB system. The name does not have to be unique.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
home_directory
- The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.id
- The OCID of the external DB system.is_cluster
- Indicates whether the DB system is a cluster DB system or not.lifecycle_details
- Additional information about the current lifecycle state.stack_monitoring_config
- The configuration details of Stack Monitoring for an external DB system.is_enabled
- The status of the associated service.metadata
- The associated service-specific inputs in JSON string format, which Database Management can identify.
state
- The current lifecycle state of the external DB system resource.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the external DB system was created.time_updated
- The date and time the external DB system was last updated.