Data Source: oci_database_maintenance_runs

This data source provides the list of Maintenance Runs in Oracle Cloud Infrastructure Database service.

Gets a list of the maintenance runs in the specified compartment.

Example Usage

data "oci_database_maintenance_runs" "test_maintenance_runs" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	availability_domain = var.maintenance_run_availability_domain
	maintenance_subtype = var.maintenance_run_maintenance_subtype
	maintenance_type = var.maintenance_run_maintenance_type
	state = var.maintenance_run_state
	target_resource_id = oci_database_target_resource.test_target_resource.id
	target_resource_type = var.maintenance_run_target_resource_type
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

MaintenanceRun Reference

The following attributes are exported: