oci_dataintegration_workspace_application_schedule

This resource provides the Workspace Application Schedule resource in Oracle Cloud Infrastructure Data Integration service.

Endpoint to create a new schedule

Example Usage

resource "oci_dataintegration_workspace_application_schedule" "test_workspace_application_schedule" {
	#Required
	application_key = var.workspace_application_schedule_application_key
	identifier = var.workspace_application_schedule_identifier
	name = var.workspace_application_schedule_name
	workspace_id = oci_dataintegration_workspace.test_workspace.id

	#Optional
	description = var.workspace_application_schedule_description
	frequency_details {
		#Required
		model_type = var.workspace_application_schedule_frequency_details_model_type

		#Optional
		custom_expression = var.workspace_application_schedule_frequency_details_custom_expression
		day_of_week = var.workspace_application_schedule_frequency_details_day_of_week
		days = var.workspace_application_schedule_frequency_details_days
		frequency = var.workspace_application_schedule_frequency_details_frequency
		interval = var.workspace_application_schedule_frequency_details_interval
		time {

			#Optional
			hour = var.workspace_application_schedule_frequency_details_time_hour
			minute = var.workspace_application_schedule_frequency_details_time_minute
			second = var.workspace_application_schedule_frequency_details_time_second
		}
		week_of_month = var.workspace_application_schedule_frequency_details_week_of_month
	}
	is_daylight_adjustment_enabled = var.workspace_application_schedule_is_daylight_adjustment_enabled
	key = var.workspace_application_schedule_key
	model_version = var.workspace_application_schedule_model_version
	object_status = var.workspace_application_schedule_object_status
	object_version = var.workspace_application_schedule_object_version
	registry_metadata {

		#Optional
		aggregator_key = var.workspace_application_schedule_registry_metadata_aggregator_key
		is_favorite = var.workspace_application_schedule_registry_metadata_is_favorite
		key = var.workspace_application_schedule_registry_metadata_key
		labels = var.workspace_application_schedule_registry_metadata_labels
		registry_version = var.workspace_application_schedule_registry_metadata_registry_version
	}
	timezone = var.workspace_application_schedule_timezone
}

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

Import

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

$ terraform import oci_dataintegration_workspace_application_schedule.test_workspace_application_schedule "workspaces/{workspaceId}/applications/{applicationKey}/schedules/{scheduleKey}"