Data Source: oci_batch_batch_contexts

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

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

Example Usage

data "oci_batch_batch_contexts" "test_batch_contexts" {

	#Optional
	compartment_id = var.compartment_id
	display_name = var.batch_context_display_name
	id = var.batch_context_id
	state = var.batch_context_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

BatchContext Reference

The following attributes are exported: