oci_dataintegration_workspace_application_task_schedule

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

Endpoint to be used create TaskSchedule.

Example Usage

resource "oci_dataintegration_workspace_application_task_schedule" "test_workspace_application_task_schedule" {
	#Required
	application_key = var.workspace_application_task_schedule_application_key
	identifier = var.workspace_application_task_schedule_identifier
	name = var.workspace_application_task_schedule_name
	workspace_id = oci_dataintegration_workspace.test_workspace.id

	#Optional
	auth_mode = var.workspace_application_task_schedule_auth_mode
	config_provider_delegate = var.workspace_application_task_schedule_config_provider_delegate
	description = var.workspace_application_task_schedule_description
	end_time_millis = var.workspace_application_task_schedule_end_time_millis
	expected_duration = var.workspace_application_task_schedule_expected_duration
	expected_duration_unit = var.workspace_application_task_schedule_expected_duration_unit
	is_backfill_enabled = var.workspace_application_task_schedule_is_backfill_enabled
	is_concurrent_allowed = var.workspace_application_task_schedule_is_concurrent_allowed
	is_enabled = var.workspace_application_task_schedule_is_enabled
	key = var.workspace_application_task_schedule_key
	model_version = var.workspace_application_task_schedule_model_version
	number_of_retries = var.workspace_application_task_schedule_number_of_retries
	object_status = var.workspace_application_task_schedule_object_status
	object_version = var.workspace_application_task_schedule_object_version
	parent_ref {

		#Optional
		parent = var.workspace_application_task_schedule_parent_ref_parent
		root_doc_id = oci_dataintegration_root_doc.test_root_doc.id
	}
	registry_metadata {

		#Optional
		aggregator_key = var.workspace_application_task_schedule_registry_metadata_aggregator_key
		is_favorite = var.workspace_application_task_schedule_registry_metadata_is_favorite
		key = var.workspace_application_task_schedule_registry_metadata_key
		labels = var.workspace_application_task_schedule_registry_metadata_labels
		registry_version = var.workspace_application_task_schedule_registry_metadata_registry_version
	}
	retry_delay = var.workspace_application_task_schedule_retry_delay
	retry_delay_unit = var.workspace_application_task_schedule_retry_delay_unit
	schedule_ref {

		#Optional
		description = var.workspace_application_task_schedule_schedule_ref_description
		frequency_details {
			#Required
			model_type = var.workspace_application_task_schedule_schedule_ref_frequency_details_model_type

			#Optional
			custom_expression = var.workspace_application_task_schedule_schedule_ref_frequency_details_custom_expression
			day_of_week = var.workspace_application_task_schedule_schedule_ref_frequency_details_day_of_week
			days = var.workspace_application_task_schedule_schedule_ref_frequency_details_days
			frequency = var.workspace_application_task_schedule_schedule_ref_frequency_details_frequency
			interval = var.workspace_application_task_schedule_schedule_ref_frequency_details_interval
			time {

				#Optional
				hour = var.workspace_application_task_schedule_schedule_ref_frequency_details_time_hour
				minute = var.workspace_application_task_schedule_schedule_ref_frequency_details_time_minute
				second = var.workspace_application_task_schedule_schedule_ref_frequency_details_time_second
			}
			week_of_month = var.workspace_application_task_schedule_schedule_ref_frequency_details_week_of_month
		}
		identifier = var.workspace_application_task_schedule_schedule_ref_identifier
		is_daylight_adjustment_enabled = var.workspace_application_task_schedule_schedule_ref_is_daylight_adjustment_enabled
		key = var.workspace_application_task_schedule_schedule_ref_key
		metadata {

			#Optional
			aggregator {

				#Optional
				description = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_description
				identifier = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_identifier
				key = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_key
				name = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_name
				type = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_type
			}
			aggregator_key = var.workspace_application_task_schedule_schedule_ref_metadata_aggregator_key
			count_statistics {
				#Required
				object_type_count_list {

					#Optional
					object_count = var.workspace_application_task_schedule_schedule_ref_metadata_count_statistics_object_type_count_list_object_count
					object_type = var.workspace_application_task_schedule_schedule_ref_metadata_count_statistics_object_type_count_list_object_type
				}
			}
			created_by = var.workspace_application_task_schedule_schedule_ref_metadata_created_by
			created_by_name = var.workspace_application_task_schedule_schedule_ref_metadata_created_by_name
			identifier_path = var.workspace_application_task_schedule_schedule_ref_metadata_identifier_path
			info_fields = var.workspace_application_task_schedule_schedule_ref_metadata_info_fields
			is_favorite = var.workspace_application_task_schedule_schedule_ref_metadata_is_favorite
			labels = var.workspace_application_task_schedule_schedule_ref_metadata_labels
			registry_version = var.workspace_application_task_schedule_schedule_ref_metadata_registry_version
			time_created = var.workspace_application_task_schedule_schedule_ref_metadata_time_created
			time_updated = var.workspace_application_task_schedule_schedule_ref_metadata_time_updated
			updated_by = var.workspace_application_task_schedule_schedule_ref_metadata_updated_by
			updated_by_name = var.workspace_application_task_schedule_schedule_ref_metadata_updated_by_name
		}
		model_type = var.workspace_application_task_schedule_schedule_ref_model_type
		model_version = var.workspace_application_task_schedule_schedule_ref_model_version
		name = var.workspace_application_task_schedule_schedule_ref_name
		object_status = var.workspace_application_task_schedule_schedule_ref_object_status
		object_version = var.workspace_application_task_schedule_schedule_ref_object_version
		parent_ref {

			#Optional
			parent = var.workspace_application_task_schedule_schedule_ref_parent_ref_parent
			root_doc_id = oci_dataintegration_root_doc.test_root_doc.id
		}
		timezone = var.workspace_application_task_schedule_schedule_ref_timezone
	}
	start_time_millis = var.workspace_application_task_schedule_start_time_millis
}

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

Import

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

$ terraform import oci_dataintegration_workspace_application_task_schedule.test_workspace_application_task_schedule "workspaces/{workspaceId}/applications/{applicationKey}/taskSchedules/{taskScheduleKey}"