This data source provides the list of Scheduled Runs in Oracle Cloud Infrastructure Metering Computation service.
Returns schedule history list.
data "oci_metering_computation_scheduled_runs" "test_scheduled_runs" {
#Required
schedule_id = oci_metering_computation_schedule.test_schedule.id
}
The following arguments are supported:
schedule_id
- (Required) The unique ID of a schedule.The following attributes are exported:
scheduled_run_collection
- The list of scheduled_run_collection.The following attributes are exported:
id
- The ocid representing unique shedule runlifecycle_details
- Additional details about scheduled run failureschedule_id
- The ocid representing unique shedulestate
- Specifies if the schedule job was run successfully or not.time_created
- The time when schedule started executingtime_finished
- The time when schedule finished executing