Data Source: oci_batch_batch_context
This data source provides details about a specific Batch Context resource in Oracle Cloud Infrastructure Batch service.
Gets information about a batch context.
Example Usage
data "oci_batch_batch_context" "test_batch_context" {
#Required
batch_context_id = oci_batch_batch_context.test_batch_context.id
}
Argument Reference
The following arguments are supported:
batch_context_id- (Required) The OCID of the batch context.
Attributes Reference
The following attributes are exported:
compartment_id- The OCID of the compartment.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}description- Summarized information about the batch context.display_name- A user-friendly name. Does not have to be unique, and it’s changeable.entitlements- Mapping of concurrent/shared resources used in job tasks to their limits.fleets- List of fleet configurations related to the batch context.details- A message that describes the current state of the service manage fleet configuration in more detail.max_concurrent_tasks- Maximum number of concurrent tasks for the service managed fleet.name- Name of the service managed fleet.shape- Shape of the fleet. Describes hardware resources of each node in the fleet.memory_in_gbs- Amount of memory in GBs required by the shape.ocpus- Number of OCPUs required by the shape.shape_name- The name of the shape.
state- Current state of the service manage fleet configuration.type- Type of the fleet. Also serves as a discriminator for sub-entities.
freeform_tags- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}id- The OCID of the batch context.job_priority_configurations- List of job priority configurations related to the batch context.tag_key- Name of the tag key.tag_namespace- Name of the corresponding tag namespace.values- Mapping of tag value to its priority.weight- Weight associated with the tag key. Percentage point is the unit of measurement.
lifecycle_details- A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.logging_configuration- Logging configuration for batch context.network- Network configuration of the batch context.nsg_ids- A list of OCIDs of associated network security groups.subnet_id- OCID of associated subnet.vnics- A list of private endpoint’s VNICs.id- The OCID of the private endpoint’s VNIC, which resides in the customer’s VCN.source_ips- A list of private IP addresses (in the customer’s VCN) that represent access points for the service.
state- The current state of the batch context.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The date and time the batch context was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Ztime_updated- The date and time the batch context was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z