1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getBatchBatchJobPool
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi

    This data source provides details about a specific Batch Job Pool resource in Oracle Cloud Infrastructure Batch service.

    Gets information about a batch job pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBatchJobPool = oci.oci.getBatchBatchJobPool({
        batchJobPoolId: testBatchJobPoolOciBatchBatchJobPool.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_batch_job_pool = oci.oci.get_batch_batch_job_pool(batch_job_pool_id=test_batch_job_pool_oci_batch_batch_job_pool["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.LookupBatchBatchJobPool(ctx, &oci.LookupBatchBatchJobPoolArgs{
    			BatchJobPoolId: testBatchJobPoolOciBatchBatchJobPool.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 testBatchJobPool = Oci.Oci.GetBatchBatchJobPool.Invoke(new()
        {
            BatchJobPoolId = testBatchJobPoolOciBatchBatchJobPool.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.GetBatchBatchJobPoolArgs;
    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 testBatchJobPool = OciFunctions.getBatchBatchJobPool(GetBatchBatchJobPoolArgs.builder()
                .batchJobPoolId(testBatchJobPoolOciBatchBatchJobPool.id())
                .build());
    
        }
    }
    
    variables:
      testBatchJobPool:
        fn::invoke:
          function: oci:oci:getBatchBatchJobPool
          arguments:
            batchJobPoolId: ${testBatchJobPoolOciBatchBatchJobPool.id}
    

    Using getBatchBatchJobPool

    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 getBatchBatchJobPool(args: GetBatchBatchJobPoolArgs, opts?: InvokeOptions): Promise<GetBatchBatchJobPoolResult>
    function getBatchBatchJobPoolOutput(args: GetBatchBatchJobPoolOutputArgs, opts?: InvokeOptions): Output<GetBatchBatchJobPoolResult>
    def get_batch_batch_job_pool(batch_job_pool_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetBatchBatchJobPoolResult
    def get_batch_batch_job_pool_output(batch_job_pool_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetBatchBatchJobPoolResult]
    func LookupBatchBatchJobPool(ctx *Context, args *LookupBatchBatchJobPoolArgs, opts ...InvokeOption) (*LookupBatchBatchJobPoolResult, error)
    func LookupBatchBatchJobPoolOutput(ctx *Context, args *LookupBatchBatchJobPoolOutputArgs, opts ...InvokeOption) LookupBatchBatchJobPoolResultOutput

    > Note: This function is named LookupBatchBatchJobPool in the Go SDK.

    public static class GetBatchBatchJobPool 
    {
        public static Task<GetBatchBatchJobPoolResult> InvokeAsync(GetBatchBatchJobPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetBatchBatchJobPoolResult> Invoke(GetBatchBatchJobPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBatchBatchJobPoolResult> getBatchBatchJobPool(GetBatchBatchJobPoolArgs args, InvokeOptions options)
    public static Output<GetBatchBatchJobPoolResult> getBatchBatchJobPool(GetBatchBatchJobPoolArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getBatchBatchJobPool:getBatchBatchJobPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BatchJobPoolId string
    The OCID of the batch job pool.
    BatchJobPoolId string
    The OCID of the batch job pool.
    batchJobPoolId String
    The OCID of the batch job pool.
    batchJobPoolId string
    The OCID of the batch job pool.
    batch_job_pool_id str
    The OCID of the batch job pool.
    batchJobPoolId String
    The OCID of the batch job pool.

    getBatchBatchJobPool Result

    The following output properties are available:

    BatchContextId string
    The OCID of batch context.
    BatchJobPoolId string
    CompartmentId string
    The OCID of the compartment.
    DefinedTags 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 job pool.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags 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 batch job pool.
    State string
    The current state of the batch job pool.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the batch job pool was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    BatchContextId string
    The OCID of batch context.
    BatchJobPoolId string
    CompartmentId string
    The OCID of the compartment.
    DefinedTags 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 job pool.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags 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 batch job pool.
    State string
    The current state of the batch job pool.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the batch job pool was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchContextId String
    The OCID of batch context.
    batchJobPoolId String
    compartmentId String
    The OCID of the compartment.
    definedTags 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 job pool.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags 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 batch job pool.
    state String
    The current state of the batch job pool.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the batch job pool was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchContextId string
    The OCID of batch context.
    batchJobPoolId string
    compartmentId string
    The OCID of the compartment.
    definedTags {[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 job pool.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[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 batch job pool.
    state string
    The current state of the batch job pool.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the batch job pool was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the batch job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batch_context_id str
    The OCID of batch context.
    batch_job_pool_id str
    compartment_id str
    The OCID of the compartment.
    defined_tags 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 job pool.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags 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 batch job pool.
    state str
    The current state of the batch job pool.
    system_tags 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 job pool 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 job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchContextId String
    The OCID of batch context.
    batchJobPoolId String
    compartmentId String
    The OCID of the compartment.
    definedTags 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 job pool.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags 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 batch job pool.
    state String
    The current state of the batch job pool.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the batch job pool was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch job pool was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate