oci_database_execution_window

This resource provides the Execution Window resource in Oracle Cloud Infrastructure Database service.

Creates an execution window resource.

Example Usage

resource "oci_database_execution_window" "test_execution_window" {
	#Required
	compartment_id = var.compartment_id
	execution_resource_id = oci_cloud_guard_resource.test_resource.id
	time_scheduled = var.execution_window_time_scheduled
	window_duration_in_mins = var.execution_window_window_duration_in_mins

	#Optional
	defined_tags = var.execution_window_defined_tags
	freeform_tags = {"Department"= "Finance"}
	is_enforced_duration = var.execution_window_is_enforced_duration
}

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 Execution Window * update - (Defaults to 20 minutes), when updating the Execution Window * delete - (Defaults to 20 minutes), when destroying the Execution Window

Import

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

$ terraform import oci_database_execution_window.test_execution_window "id"