oci_database_scheduling_policy

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

Creates a Scheduling Policy resource.

Example Usage

resource "oci_database_scheduling_policy" "test_scheduling_policy" {
	#Required
	cadence = var.scheduling_policy_cadence
	compartment_id = var.compartment_id
	display_name = var.scheduling_policy_display_name

	#Optional
	cadence_start_month {
		#Required
		name = var.scheduling_policy_cadence_start_month_name
	}
	defined_tags = var.scheduling_policy_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 Scheduling Policy * update - (Defaults to 20 minutes), when updating the Scheduling Policy * delete - (Defaults to 20 minutes), when destroying the Scheduling Policy

Import

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

$ terraform import oci_database_scheduling_policy.test_scheduling_policy "id"