Data Source: oci_os_management_hub_scheduled_jobs

This data source provides the list of Scheduled Jobs in Oracle Cloud Infrastructure Os Management Hub service.

Lists scheduled jobs that match the specified compartment or scheduled job OCID.

Example Usage

data "oci_os_management_hub_scheduled_jobs" "test_scheduled_jobs" {

	#Optional
	compartment_id = var.compartment_id
	compartment_id_in_subtree = var.scheduled_job_compartment_id_in_subtree
	display_name = var.scheduled_job_display_name
	display_name_contains = var.scheduled_job_display_name_contains
	id = var.scheduled_job_id
	is_managed_by_autonomous_linux = var.scheduled_job_is_managed_by_autonomous_linux
	is_restricted = var.scheduled_job_is_restricted
	lifecycle_stage_id = oci_os_management_hub_lifecycle_stage.test_lifecycle_stage.id
	location = var.scheduled_job_location
	location_not_equal_to = var.scheduled_job_location_not_equal_to
	managed_compartment_id = oci_identity_compartment.test_compartment.id
	managed_instance_group_id = oci_os_management_hub_managed_instance_group.test_managed_instance_group.id
	managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id
	operation_type = var.scheduled_job_operation_type
	schedule_type = var.scheduled_job_schedule_type
	state = var.scheduled_job_state
	time_end = var.scheduled_job_time_end
	time_start = var.scheduled_job_time_start
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ScheduledJob Reference

The following attributes are exported: