Data Source: oci_database_db_server
This data source provides details about a specific Db Server resource in Oracle Cloud Infrastructure Database service.
Gets information about the Exadata Db server.
Example Usage
data "oci_database_db_server" "test_db_server" {
#Required
db_server_id = oci_database_db_server.test_db_server.id
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
}
Argument Reference
The following arguments are supported:
db_server_id
- (Required) The DB server OCID.exadata_infrastructure_id
- (Required) The OCID of the ExadataInfrastructure.
Attributes Reference
The following attributes are exported:
autonomous_virtual_machine_ids
- The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.autonomous_vm_cluster_ids
- The list of OCIDs of the Autonomous VM Clusters associated with the Db server.compartment_id
- The OCID of the compartment.cpu_core_count
- The number of CPU cores enabled on the Db server.db_node_ids
- The OCID of the Db nodes associated with the Db server.db_node_storage_size_in_gbs
- The allocated local node storage in GBs on the Db server.db_server_patching_details
- The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.estimated_patch_duration
- Estimated time, in minutes, to patch one database server.patching_status
- The status of the patching operation.time_patching_ended
- The time when the patching operation ended.time_patching_started
- The time when the patching operation started.
defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.display_name
- The user-friendly name for the Db server. The name does not need to be unique.exadata_infrastructure_id
- The OCID of the Exadata infrastructure.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 Exacc Db server.lifecycle_details
- Additional information about the current lifecycle state.max_cpu_count
- The total number of CPU cores available.max_db_node_storage_in_gbs
- The total local node storage available in GBs.max_memory_in_gbs
- The total memory available in GBs.memory_size_in_gbs
- The allocated memory in GBs on the Db server.shape
- The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.state
- The current state of the Db server.time_created
- The date and time that the Db Server was created.vm_cluster_ids
- The OCID of the VM Clusters associated with the Db server.