Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBatchContext = oci.oci.getBatchBatchContext({
batchContextId: testBatchContextOciBatchBatchContext.id,
});
import pulumi
import pulumi_oci as oci
test_batch_context = oci.oci.get_batch_batch_context(batch_context_id=test_batch_context_oci_batch_batch_context["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupBatchBatchContext(ctx, &oci.LookupBatchBatchContextArgs{
BatchContextId: testBatchContextOciBatchBatchContext.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testBatchContext = Oci.Oci.GetBatchBatchContext.Invoke(new()
{
BatchContextId = testBatchContextOciBatchBatchContext.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetBatchBatchContextArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testBatchContext = OciFunctions.getBatchBatchContext(GetBatchBatchContextArgs.builder()
.batchContextId(testBatchContextOciBatchBatchContext.id())
.build());
}
}
variables:
testBatchContext:
fn::invoke:
function: oci:oci:getBatchBatchContext
arguments:
batchContextId: ${testBatchContextOciBatchBatchContext.id}
Using getBatchBatchContext
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBatchBatchContext(args: GetBatchBatchContextArgs, opts?: InvokeOptions): Promise<GetBatchBatchContextResult>
function getBatchBatchContextOutput(args: GetBatchBatchContextOutputArgs, opts?: InvokeOptions): Output<GetBatchBatchContextResult>def get_batch_batch_context(batch_context_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBatchBatchContextResult
def get_batch_batch_context_output(batch_context_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBatchBatchContextResult]func LookupBatchBatchContext(ctx *Context, args *LookupBatchBatchContextArgs, opts ...InvokeOption) (*LookupBatchBatchContextResult, error)
func LookupBatchBatchContextOutput(ctx *Context, args *LookupBatchBatchContextOutputArgs, opts ...InvokeOption) LookupBatchBatchContextResultOutput> Note: This function is named LookupBatchBatchContext in the Go SDK.
public static class GetBatchBatchContext
{
public static Task<GetBatchBatchContextResult> InvokeAsync(GetBatchBatchContextArgs args, InvokeOptions? opts = null)
public static Output<GetBatchBatchContextResult> Invoke(GetBatchBatchContextInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBatchBatchContextResult> getBatchBatchContext(GetBatchBatchContextArgs args, InvokeOptions options)
public static Output<GetBatchBatchContextResult> getBatchBatchContext(GetBatchBatchContextArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getBatchBatchContext:getBatchBatchContext
arguments:
# arguments dictionaryThe following arguments are supported:
- Batch
Context stringId - The OCID of the batch context.
- Batch
Context stringId - The OCID of the batch context.
- batch
Context StringId - The OCID of the batch context.
- batch
Context stringId - The OCID of the batch context.
- batch_
context_ strid - The OCID of the batch context.
- batch
Context StringId - The OCID of the batch context.
getBatchBatchContext Result
The following output properties are available:
- Batch
Context stringId - Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- 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 string
- Summarized information about the batch context.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Entitlements Dictionary<string, string>
- Mapping of concurrent/shared resources used in job tasks to their limits.
- Fleets
List<Get
Batch Batch Context Fleet> - List of fleet configurations related to the batch context.
- Dictionary<string, string>
- 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 string
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- Job
Priority List<GetConfigurations Batch Batch Context Job Priority Configuration> - List of job priority configurations related to the batch context.
- Lifecycle
Details string - 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
Configurations List<GetBatch Batch Context Logging Configuration> - Logging configuration for batch context.
- Networks
List<Get
Batch Batch Context Network> - Network configuration of the batch context.
- State string
- The current state of the batch context.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Batch
Context stringId - Compartment
Id string - The OCID of the compartment.
- map[string]string
- 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 string
- Summarized information about the batch context.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Entitlements map[string]string
- Mapping of concurrent/shared resources used in job tasks to their limits.
- Fleets
[]Get
Batch Batch Context Fleet - List of fleet configurations related to the batch context.
- map[string]string
- 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 string
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- Job
Priority []GetConfigurations Batch Batch Context Job Priority Configuration - List of job priority configurations related to the batch context.
- Lifecycle
Details string - 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
Configurations []GetBatch Batch Context Logging Configuration - Logging configuration for batch context.
- Networks
[]Get
Batch Batch Context Network - Network configuration of the batch context.
- State string
- The current state of the batch context.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- batch
Context StringId - compartment
Id String - The OCID of the compartment.
- Map<String,String>
- 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 String
- Summarized information about the batch context.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- entitlements Map<String,String>
- Mapping of concurrent/shared resources used in job tasks to their limits.
- fleets
List<Get
Batch Batch Context Fleet> - List of fleet configurations related to the batch context.
- Map<String,String>
- 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 String
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- job
Priority List<GetConfigurations Batch Batch Context Job Priority Configuration> - List of job priority configurations related to the batch context.
- lifecycle
Details String - 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
Configurations List<GetBatch Batch Context Logging Configuration> - Logging configuration for batch context.
- networks
List<Get
Batch Batch Context Network> - Network configuration of the batch context.
- state String
- The current state of the batch context.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- batch
Context stringId - compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- 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 string
- Summarized information about the batch context.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- entitlements {[key: string]: string}
- Mapping of concurrent/shared resources used in job tasks to their limits.
- fleets
Get
Batch Batch Context Fleet[] - List of fleet configurations related to the batch context.
- {[key: string]: string}
- 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 string
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- job
Priority GetConfigurations Batch Batch Context Job Priority Configuration[] - List of job priority configurations related to the batch context.
- lifecycle
Details string - 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
Configurations GetBatch Batch Context Logging Configuration[] - Logging configuration for batch context.
- networks
Get
Batch Batch Context Network[] - Network configuration of the batch context.
- state string
- The current state of the batch context.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- batch_
context_ strid - compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- 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 str
- Summarized information about the batch context.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- entitlements Mapping[str, str]
- Mapping of concurrent/shared resources used in job tasks to their limits.
- fleets
Sequence[Get
Batch Batch Context Fleet] - List of fleet configurations related to the batch context.
- Mapping[str, str]
- 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 str
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- job_
priority_ Sequence[Getconfigurations Batch Batch Context Job Priority Configuration] - List of job priority configurations related to the batch context.
- lifecycle_
details str - 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_
configurations Sequence[GetBatch Batch Context Logging Configuration] - Logging configuration for batch context.
- networks
Sequence[Get
Batch Batch Context Network] - Network configuration of the batch context.
- state str
- The current state of the batch context.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- batch
Context StringId - compartment
Id String - The OCID of the compartment.
- Map<String>
- 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 String
- Summarized information about the batch context.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- entitlements Map<String>
- Mapping of concurrent/shared resources used in job tasks to their limits.
- fleets List<Property Map>
- List of fleet configurations related to the batch context.
- Map<String>
- 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 String
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- job
Priority List<Property Map>Configurations - List of job priority configurations related to the batch context.
- lifecycle
Details String - 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
Configurations List<Property Map> - Logging configuration for batch context.
- networks List<Property Map>
- Network configuration of the batch context.
- state String
- The current state of the batch context.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetBatchBatchContextFleet
- Details string
- A message that describes the current state of the service manage fleet configuration in more detail.
- Max
Concurrent intTasks - Maximum number of concurrent tasks for the service managed fleet.
- Name string
- Name of the service managed fleet.
- Shapes
List<Get
Batch Batch Context Fleet Shape> - Shape of the fleet. Describes hardware resources of each node in the fleet.
- State string
- The current state of the batch context.
- Type string
- Discriminator for sub-entities.
- Details string
- A message that describes the current state of the service manage fleet configuration in more detail.
- Max
Concurrent intTasks - Maximum number of concurrent tasks for the service managed fleet.
- Name string
- Name of the service managed fleet.
- Shapes
[]Get
Batch Batch Context Fleet Shape - Shape of the fleet. Describes hardware resources of each node in the fleet.
- State string
- The current state of the batch context.
- Type string
- Discriminator for sub-entities.
- details String
- A message that describes the current state of the service manage fleet configuration in more detail.
- max
Concurrent IntegerTasks - Maximum number of concurrent tasks for the service managed fleet.
- name String
- Name of the service managed fleet.
- shapes
List<Get
Batch Batch Context Fleet Shape> - Shape of the fleet. Describes hardware resources of each node in the fleet.
- state String
- The current state of the batch context.
- type String
- Discriminator for sub-entities.
- details string
- A message that describes the current state of the service manage fleet configuration in more detail.
- max
Concurrent numberTasks - Maximum number of concurrent tasks for the service managed fleet.
- name string
- Name of the service managed fleet.
- shapes
Get
Batch Batch Context Fleet Shape[] - Shape of the fleet. Describes hardware resources of each node in the fleet.
- state string
- The current state of the batch context.
- type string
- Discriminator for sub-entities.
- details str
- A message that describes the current state of the service manage fleet configuration in more detail.
- max_
concurrent_ inttasks - Maximum number of concurrent tasks for the service managed fleet.
- name str
- Name of the service managed fleet.
- shapes
Sequence[Get
Batch Batch Context Fleet Shape] - Shape of the fleet. Describes hardware resources of each node in the fleet.
- state str
- The current state of the batch context.
- type str
- Discriminator for sub-entities.
- details String
- A message that describes the current state of the service manage fleet configuration in more detail.
- max
Concurrent NumberTasks - Maximum number of concurrent tasks for the service managed fleet.
- name String
- Name of the service managed fleet.
- shapes List<Property Map>
- Shape of the fleet. Describes hardware resources of each node in the fleet.
- state String
- The current state of the batch context.
- type String
- Discriminator for sub-entities.
GetBatchBatchContextFleetShape
- Memory
In intGbs - Amount of memory in GBs required by the shape.
- Ocpus int
- Number of OCPUs required by the shape.
- Shape
Name string - The name of the shape.
- Memory
In intGbs - Amount of memory in GBs required by the shape.
- Ocpus int
- Number of OCPUs required by the shape.
- Shape
Name string - The name of the shape.
- memory
In IntegerGbs - Amount of memory in GBs required by the shape.
- ocpus Integer
- Number of OCPUs required by the shape.
- shape
Name String - The name of the shape.
- memory
In numberGbs - Amount of memory in GBs required by the shape.
- ocpus number
- Number of OCPUs required by the shape.
- shape
Name string - The name of the shape.
- memory_
in_ intgbs - Amount of memory in GBs required by the shape.
- ocpus int
- Number of OCPUs required by the shape.
- shape_
name str - The name of the shape.
- memory
In NumberGbs - Amount of memory in GBs required by the shape.
- ocpus Number
- Number of OCPUs required by the shape.
- shape
Name String - The name of the shape.
GetBatchBatchContextJobPriorityConfiguration
- Tag
Key string - Name of the tag key.
- Tag
Namespace string - Name of the corresponding tag namespace.
- Values Dictionary<string, string>
- Mapping of tag value to its priority.
- Weight int
- Weight associated with the tag key. Percentage point is the unit of measurement.
- Tag
Key string - Name of the tag key.
- Tag
Namespace string - Name of the corresponding tag namespace.
- Values map[string]string
- Mapping of tag value to its priority.
- Weight int
- Weight associated with the tag key. Percentage point is the unit of measurement.
- tag
Key String - Name of the tag key.
- tag
Namespace String - Name of the corresponding tag namespace.
- values Map<String,String>
- Mapping of tag value to its priority.
- weight Integer
- Weight associated with the tag key. Percentage point is the unit of measurement.
- tag
Key string - Name of the tag key.
- tag
Namespace string - Name of the corresponding tag namespace.
- values {[key: string]: string}
- Mapping of tag value to its priority.
- weight number
- Weight associated with the tag key. Percentage point is the unit of measurement.
- tag_
key str - Name of the tag key.
- tag_
namespace str - Name of the corresponding tag namespace.
- values Mapping[str, str]
- Mapping of tag value to its priority.
- weight int
- Weight associated with the tag key. Percentage point is the unit of measurement.
- tag
Key String - Name of the tag key.
- tag
Namespace String - Name of the corresponding tag namespace.
- values Map<String>
- Mapping of tag value to its priority.
- weight Number
- Weight associated with the tag key. Percentage point is the unit of measurement.
GetBatchBatchContextLoggingConfiguration
- Log
Group stringId - The OCID of the log group.
- Log
Id string - The OCID of the log.
- Type string
- Discriminator for sub-entities.
- Log
Group stringId - The OCID of the log group.
- Log
Id string - The OCID of the log.
- Type string
- Discriminator for sub-entities.
- log
Group StringId - The OCID of the log group.
- log
Id String - The OCID of the log.
- type String
- Discriminator for sub-entities.
- log
Group stringId - The OCID of the log group.
- log
Id string - The OCID of the log.
- type string
- Discriminator for sub-entities.
- log_
group_ strid - The OCID of the log group.
- log_
id str - The OCID of the log.
- type str
- Discriminator for sub-entities.
- log
Group StringId - The OCID of the log group.
- log
Id String - The OCID of the log.
- type String
- Discriminator for sub-entities.
GetBatchBatchContextNetwork
GetBatchBatchContextNetworkVnic
- id str
- The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
- source_
ips Sequence[str] - A list of private IP addresses (in the customer's VCN) that represent access points for the service.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
