Data Source: oci_batch_batch_job_pools

This data source provides the list of Batch Job Pools in Oracle Cloud Infrastructure Batch service.

Lists the batch job pools by compartment or job pool OCID. You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJobPool to get the full details on a specific context

Example Usage

data "oci_batch_batch_job_pools" "test_batch_job_pools" {

	#Optional
	batch_context_id = oci_batch_batch_context.test_batch_context.id
	compartment_id = var.compartment_id
	display_name = var.batch_job_pool_display_name
	id = var.batch_job_pool_id
	state = var.batch_job_pool_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

BatchJobPool Reference

The following attributes are exported: