1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getBatchBatchTaskProfile
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi

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

    Gets information about a batch task profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBatchTaskProfile = oci.oci.getBatchBatchTaskProfile({
        batchTaskProfileId: testBatchTaskProfileOciBatchBatchTaskProfile.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_batch_task_profile = oci.oci.get_batch_batch_task_profile(batch_task_profile_id=test_batch_task_profile_oci_batch_batch_task_profile["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupBatchBatchTaskProfile(ctx, &oci.LookupBatchBatchTaskProfileArgs{
    			BatchTaskProfileId: testBatchTaskProfileOciBatchBatchTaskProfile.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 testBatchTaskProfile = Oci.Oci.GetBatchBatchTaskProfile.Invoke(new()
        {
            BatchTaskProfileId = testBatchTaskProfileOciBatchBatchTaskProfile.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.GetBatchBatchTaskProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testBatchTaskProfile = OciFunctions.getBatchBatchTaskProfile(GetBatchBatchTaskProfileArgs.builder()
                .batchTaskProfileId(testBatchTaskProfileOciBatchBatchTaskProfile.id())
                .build());
    
        }
    }
    
    variables:
      testBatchTaskProfile:
        fn::invoke:
          function: oci:oci:getBatchBatchTaskProfile
          arguments:
            batchTaskProfileId: ${testBatchTaskProfileOciBatchBatchTaskProfile.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getbatchbatchtaskprofile" "testBatchTaskProfile" {
      batch_task_profile_id = testBatchTaskProfileOciBatchBatchTaskProfile.id
    }
    

    Using getBatchBatchTaskProfile

    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 getBatchBatchTaskProfile(args: GetBatchBatchTaskProfileArgs, opts?: InvokeOptions): Promise<GetBatchBatchTaskProfileResult>
    function getBatchBatchTaskProfileOutput(args: GetBatchBatchTaskProfileOutputArgs, opts?: InvokeOptions): Output<GetBatchBatchTaskProfileResult>
    def get_batch_batch_task_profile(batch_task_profile_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetBatchBatchTaskProfileResult
    def get_batch_batch_task_profile_output(batch_task_profile_id: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetBatchBatchTaskProfileResult]
    func LookupBatchBatchTaskProfile(ctx *Context, args *LookupBatchBatchTaskProfileArgs, opts ...InvokeOption) (*LookupBatchBatchTaskProfileResult, error)
    func LookupBatchBatchTaskProfileOutput(ctx *Context, args *LookupBatchBatchTaskProfileOutputArgs, opts ...InvokeOption) LookupBatchBatchTaskProfileResultOutput

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

    public static class GetBatchBatchTaskProfile 
    {
        public static Task<GetBatchBatchTaskProfileResult> InvokeAsync(GetBatchBatchTaskProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetBatchBatchTaskProfileResult> Invoke(GetBatchBatchTaskProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBatchBatchTaskProfileResult> getBatchBatchTaskProfile(GetBatchBatchTaskProfileArgs args, InvokeOptions options)
    public static Output<GetBatchBatchTaskProfileResult> getBatchBatchTaskProfile(GetBatchBatchTaskProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getBatchBatchTaskProfile:getBatchBatchTaskProfile
      arguments:
        # arguments dictionary
    data "oci_oci_getbatchbatchtaskprofile" "name" {
        # arguments
    }

    The following arguments are supported:

    BatchTaskProfileId string
    The OCID of the batch task profile.
    BatchTaskProfileId string
    The OCID of the batch task profile.
    batch_task_profile_id string
    The OCID of the batch task profile.
    batchTaskProfileId String
    The OCID of the batch task profile.
    batchTaskProfileId string
    The OCID of the batch task profile.
    batch_task_profile_id str
    The OCID of the batch task profile.
    batchTaskProfileId String
    The OCID of the batch task profile.

    getBatchBatchTaskProfile Result

    The following output properties are available:

    BatchTaskProfileId 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
    The batch task profile description.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    ExtendedInformations List<GetBatchBatchTaskProfileExtendedInformation>
    Extended information for the task profile.
    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 task profile.
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int
    The minimum required OCPUs.
    State string
    The current state of the batch task profile.
    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 task profile was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    BatchTaskProfileId 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
    The batch task profile description.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    ExtendedInformations []GetBatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    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 task profile.
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int
    The minimum required OCPUs.
    State string
    The current state of the batch task profile.
    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 task profile was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batch_task_profile_id string
    compartment_id string
    The OCID of the compartment.
    defined_tags 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
    The batch task profile description.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    extended_informations list(object)
    Extended information for the task profile.
    freeform_tags 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 task profile.
    min_disk_size_in_gbs number
    The minimum required size of disk space in GBs.
    min_memory_in_gbs number
    The minimum required memory.
    min_ocpus number
    The minimum required OCPUs.
    state string
    The current state of the batch task profile.
    system_tags 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 task profile 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 task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchTaskProfileId 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
    The batch task profile description.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    extendedInformations List<GetBatchBatchTaskProfileExtendedInformation>
    Extended information for the task profile.
    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 task profile.
    minDiskSizeInGbs Integer
    The minimum required size of disk space in GBs.
    minMemoryInGbs Integer
    The minimum required memory.
    minOcpus Integer
    The minimum required OCPUs.
    state String
    The current state of the batch task profile.
    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 task profile was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchTaskProfileId 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
    The batch task profile description.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    extendedInformations GetBatchBatchTaskProfileExtendedInformation[]
    Extended information for the task profile.
    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 task profile.
    minDiskSizeInGbs number
    The minimum required size of disk space in GBs.
    minMemoryInGbs number
    The minimum required memory.
    minOcpus number
    The minimum required OCPUs.
    state string
    The current state of the batch task profile.
    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 task profile was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the batch task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batch_task_profile_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
    The batch task profile description.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    extended_informations Sequence[GetBatchBatchTaskProfileExtendedInformation]
    Extended information for the task profile.
    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 task profile.
    min_disk_size_in_gbs int
    The minimum required size of disk space in GBs.
    min_memory_in_gbs int
    The minimum required memory.
    min_ocpus int
    The minimum required OCPUs.
    state str
    The current state of the batch task profile.
    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 task profile 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 task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    batchTaskProfileId 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
    The batch task profile description.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    extendedInformations List<Property Map>
    Extended information for the task profile.
    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 task profile.
    minDiskSizeInGbs Number
    The minimum required size of disk space in GBs.
    minMemoryInGbs Number
    The minimum required memory.
    minOcpus Number
    The minimum required OCPUs.
    state String
    The current state of the batch task profile.
    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 task profile was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch task profile was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    GetBatchBatchTaskProfileExtendedInformation

    Architecture string
    Type of CPU architecture.
    ShapeName string
    A name of the CPU shape.
    Type string
    Type of extended information.
    Architecture string
    Type of CPU architecture.
    ShapeName string
    A name of the CPU shape.
    Type string
    Type of extended information.
    architecture string
    Type of CPU architecture.
    shape_name string
    A name of the CPU shape.
    type string
    Type of extended information.
    architecture String
    Type of CPU architecture.
    shapeName String
    A name of the CPU shape.
    type String
    Type of extended information.
    architecture string
    Type of CPU architecture.
    shapeName string
    A name of the CPU shape.
    type string
    Type of extended information.
    architecture str
    Type of CPU architecture.
    shape_name str
    A name of the CPU shape.
    type str
    Type of extended information.
    architecture String
    Type of CPU architecture.
    shapeName String
    A name of the CPU shape.
    type String
    Type of extended information.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial