Data Source: oci_database_management_managed_database
This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the Managed Database specified by managedDatabaseId.
Example Usage
data "oci_database_management_managed_database" "test_managed_database" {
#Required
managed_database_id = oci_database_management_managed_database.test_managed_database.id
}
Argument Reference
The following arguments are supported:
managed_database_id
- (Required) The OCID of the Managed Database.
Attributes Reference
The following attributes are exported:
additional_details
- The additional details specific to a type of database defined in{"key": "value"}
format. Example:{"bar-key": "value"}
compartment_id
- The OCID of the compartment.database_status
- The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.database_sub_type
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.database_type
- The type of Oracle Database installation.database_version
- The Oracle Database version.db_system_id
- The OCID of the external DB system that this Managed Database is part of.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"}
deployment_type
- The infrastructure used to deploy the Oracle Database.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"}
id
- The OCID of the Managed Database.is_cluster
- Indicates whether the Oracle Database is part of a cluster.managed_database_groups
- A list of Managed Database Groups that the Managed Database belongs to.management_option
- The management option used when enabling Database Management.name
- The name of the Managed Database.parent_container_id
- The OCID of the parent Container Database if Managed Database is a Pluggable Database.storage_system_id
- The OCID of the storage DB system.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 Managed Database was created.workload_type
- The workload type of the Autonomous Database.