This data source provides the list of Db Node Console Connections in Oracle Cloud Infrastructure Database service.
Lists the console connections for the specified database node.
data "oci_database_db_node_console_connections" "test_db_node_console_connections" {
#Required
db_node_id = oci_database_db_node.test_db_node.id
}
The following arguments are supported:
db_node_id
- (Required) The database node OCID.The following attributes are exported:
console_connections
- The list of console_connections.The following attributes are exported:
compartment_id
- The OCID of the compartment to contain the console connection.connection_string
- The SSH connection string for the console connection.db_node_id
- The OCID of the database node.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. fingerprint
- The SSH public key fingerprint for the console connection.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 console connection.lifecycle_details
- Information about the current lifecycle state.service_host_key_fingerprint
- The SSH public key's fingerprint for the console connection service host.state
- The current state of the console connection.