oci_database_scheduling_plan

This resource provides the Scheduling Plan resource in Oracle Cloud Infrastructure Database service.

Creates a Scheduling Plan resource.

Example Usage

resource "oci_database_scheduling_plan" "test_scheduling_plan" {
	#Required
	compartment_id = var.compartment_id
	resource_id = oci_cloud_guard_resource.test_resource.id
	scheduling_policy_id = oci_database_scheduling_policy.test_scheduling_policy.id
	service_type = var.scheduling_plan_service_type

	#Optional
	defined_tags = var.scheduling_plan_defined_tags
	freeform_tags = {"Department"= "Finance"}
	is_using_recommended_scheduled_actions = var.scheduling_plan_is_using_recommended_scheduled_actions
}

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

Import

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

$ terraform import oci_database_scheduling_plan.test_scheduling_plan "id"