oci_database_db_node_console_history

This resource provides the Db Node Console History resource in Oracle Cloud Infrastructure Database service.

Captures the most recent serial console data (up to a megabyte) for the specified database node.

Example Usage

resource "oci_database_db_node_console_history" "test_db_node_console_history" {
	#Required
	db_node_id = oci_database_db_node.test_db_node.id
	display_name = var.db_node_console_history_display_name

	#Optional
	defined_tags = var.db_node_console_history_defined_tags
	freeform_tags = {"Department"= "Finance"}
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Db Node Console History * update - (Defaults to 20 minutes), when updating the Db Node Console History * delete - (Defaults to 20 minutes), when destroying the Db Node Console History

Import

DbNodeConsoleHistories can be imported using the id, e.g.

$ terraform import oci_database_db_node_console_history.test_db_node_console_history "dbNodes/{dbNodeId}/consoleHistories/{consoleHistoryId}"