1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. BatchBatchTaskProfile
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 resource provides the Batch Task Profile resource in Oracle Cloud Infrastructure Batch service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/batch

    Creates a batch task profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBatchTaskProfile = new oci.oci.BatchBatchTaskProfile("test_batch_task_profile", {
        compartmentId: compartmentId,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: batchTaskProfileDescription,
        displayName: batchTaskProfileDisplayName,
        extendedInformation: {
            type: batchTaskProfileExtendedInformationType,
            architecture: batchTaskProfileExtendedInformationArchitecture,
        },
        freeformTags: {
            Department: "Finance",
        },
        minDiskSizeInGbs: Number(batchTaskProfileMinDiskSizeInGbs),
        minMemoryInGbs: Number(batchTaskProfileMinMemoryInGbs),
        minOcpus: Number(batchTaskProfileMinOcpus),
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_batch_task_profile = oci.oci.BatchBatchTaskProfile("test_batch_task_profile",
        compartment_id=compartment_id,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=batch_task_profile_description,
        display_name=batch_task_profile_display_name,
        extended_information={
            "type": batch_task_profile_extended_information_type,
            "architecture": batch_task_profile_extended_information_architecture,
        },
        freeform_tags={
            "Department": "Finance",
        },
        min_disk_size_in_gbs=int(batch_task_profile_min_disk_size_in_gbs),
        min_memory_in_gbs=int(batch_task_profile_min_memory_in_gbs),
        min_ocpus=int(batch_task_profile_min_ocpus))
    
    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.NewBatchBatchTaskProfile(ctx, "test_batch_task_profile", &oci.BatchBatchTaskProfileArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(batchTaskProfileDescription),
    			DisplayName: pulumi.Any(batchTaskProfileDisplayName),
    			ExtendedInformation: &oci.BatchBatchTaskProfileExtendedInformationArgs{
    				Type:         pulumi.Any(batchTaskProfileExtendedInformationType),
    				Architecture: pulumi.Any(batchTaskProfileExtendedInformationArchitecture),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			MinDiskSizeInGbs: pulumi.Any(batchTaskProfileMinDiskSizeInGbs),
    			MinMemoryInGbs:   pulumi.Any(batchTaskProfileMinMemoryInGbs),
    			MinOcpus:         pulumi.Any(batchTaskProfileMinOcpus),
    		})
    		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 = new Oci.Oci.BatchBatchTaskProfile("test_batch_task_profile", new()
        {
            CompartmentId = compartmentId,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = batchTaskProfileDescription,
            DisplayName = batchTaskProfileDisplayName,
            ExtendedInformation = new Oci.Oci.Inputs.BatchBatchTaskProfileExtendedInformationArgs
            {
                Type = batchTaskProfileExtendedInformationType,
                Architecture = batchTaskProfileExtendedInformationArchitecture,
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            MinDiskSizeInGbs = batchTaskProfileMinDiskSizeInGbs,
            MinMemoryInGbs = batchTaskProfileMinMemoryInGbs,
            MinOcpus = batchTaskProfileMinOcpus,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.BatchBatchTaskProfile;
    import com.pulumi.oci.oci.BatchBatchTaskProfileArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchTaskProfileExtendedInformationArgs;
    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) {
            var testBatchTaskProfile = new BatchBatchTaskProfile("testBatchTaskProfile", BatchBatchTaskProfileArgs.builder()
                .compartmentId(compartmentId)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(batchTaskProfileDescription)
                .displayName(batchTaskProfileDisplayName)
                .extendedInformation(BatchBatchTaskProfileExtendedInformationArgs.builder()
                    .type(batchTaskProfileExtendedInformationType)
                    .architecture(batchTaskProfileExtendedInformationArchitecture)
                    .build())
                .freeformTags(Map.of("Department", "Finance"))
                .minDiskSizeInGbs(batchTaskProfileMinDiskSizeInGbs)
                .minMemoryInGbs(batchTaskProfileMinMemoryInGbs)
                .minOcpus(batchTaskProfileMinOcpus)
                .build());
    
        }
    }
    
    resources:
      testBatchTaskProfile:
        type: oci:oci:BatchBatchTaskProfile
        name: test_batch_task_profile
        properties:
          compartmentId: ${compartmentId}
          definedTags:
            Operations.CostCenter: '42'
          description: ${batchTaskProfileDescription}
          displayName: ${batchTaskProfileDisplayName}
          extendedInformation:
            type: ${batchTaskProfileExtendedInformationType}
            architecture: ${batchTaskProfileExtendedInformationArchitecture}
          freeformTags:
            Department: Finance
          minDiskSizeInGbs: ${batchTaskProfileMinDiskSizeInGbs}
          minMemoryInGbs: ${batchTaskProfileMinMemoryInGbs}
          minOcpus: ${batchTaskProfileMinOcpus}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_batchbatchtaskprofile" "test_batch_task_profile" {
      compartment_id = compartmentId
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      description  = batchTaskProfileDescription
      display_name = batchTaskProfileDisplayName
      extended_information = {
        type         = batchTaskProfileExtendedInformationType
        architecture = batchTaskProfileExtendedInformationArchitecture
      }
      #Required
      #Optional
      freeform_tags = {
        "Department" = "Finance"
      }
      min_disk_size_in_gbs = batchTaskProfileMinDiskSizeInGbs
      min_memory_in_gbs    = batchTaskProfileMinMemoryInGbs
      min_ocpus            = batchTaskProfileMinOcpus
    }
    

    Create BatchBatchTaskProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BatchBatchTaskProfile(name: string, args: BatchBatchTaskProfileArgs, opts?: CustomResourceOptions);
    @overload
    def BatchBatchTaskProfile(resource_name: str,
                              args: BatchBatchTaskProfileArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def BatchBatchTaskProfile(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              description: Optional[str] = None,
                              display_name: Optional[str] = None,
                              extended_information: Optional[BatchBatchTaskProfileExtendedInformationArgs] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              min_disk_size_in_gbs: Optional[int] = None,
                              min_memory_in_gbs: Optional[int] = None,
                              min_ocpus: Optional[int] = None)
    func NewBatchBatchTaskProfile(ctx *Context, name string, args BatchBatchTaskProfileArgs, opts ...ResourceOption) (*BatchBatchTaskProfile, error)
    public BatchBatchTaskProfile(string name, BatchBatchTaskProfileArgs args, CustomResourceOptions? opts = null)
    public BatchBatchTaskProfile(String name, BatchBatchTaskProfileArgs args)
    public BatchBatchTaskProfile(String name, BatchBatchTaskProfileArgs args, CustomResourceOptions options)
    
    type: oci:oci:BatchBatchTaskProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_batchbatchtaskprofile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BatchBatchTaskProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BatchBatchTaskProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BatchBatchTaskProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BatchBatchTaskProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BatchBatchTaskProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var batchBatchTaskProfileResource = new Oci.Oci.BatchBatchTaskProfile("batchBatchTaskProfileResource", new()
    {
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        ExtendedInformation = new Oci.Oci.Inputs.BatchBatchTaskProfileExtendedInformationArgs
        {
            Type = "string",
            Architecture = "string",
            ShapeName = "string",
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        MinDiskSizeInGbs = 0,
        MinMemoryInGbs = 0,
        MinOcpus = 0,
    });
    
    example, err := oci.NewBatchBatchTaskProfile(ctx, "batchBatchTaskProfileResource", &oci.BatchBatchTaskProfileArgs{
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	ExtendedInformation: &oci.BatchBatchTaskProfileExtendedInformationArgs{
    		Type:         pulumi.String("string"),
    		Architecture: pulumi.String("string"),
    		ShapeName:    pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MinDiskSizeInGbs: pulumi.Int(0),
    	MinMemoryInGbs:   pulumi.Int(0),
    	MinOcpus:         pulumi.Int(0),
    })
    
    resource "oci_oci_batchbatchtaskprofile" "batchBatchTaskProfileResource" {
      compartment_id = "string"
      defined_tags = {
        "string" = "string"
      }
      description  = "string"
      display_name = "string"
      extended_information = {
        type         = "string"
        architecture = "string"
        shape_name   = "string"
      }
      freeform_tags = {
        "string" = "string"
      }
      min_disk_size_in_gbs = 0
      min_memory_in_gbs    = 0
      min_ocpus            = 0
    }
    
    var batchBatchTaskProfileResource = new BatchBatchTaskProfile("batchBatchTaskProfileResource", BatchBatchTaskProfileArgs.builder()
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .extendedInformation(BatchBatchTaskProfileExtendedInformationArgs.builder()
            .type("string")
            .architecture("string")
            .shapeName("string")
            .build())
        .freeformTags(Map.of("string", "string"))
        .minDiskSizeInGbs(0)
        .minMemoryInGbs(0)
        .minOcpus(0)
        .build());
    
    batch_batch_task_profile_resource = oci.oci.BatchBatchTaskProfile("batchBatchTaskProfileResource",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        extended_information={
            "type": "string",
            "architecture": "string",
            "shape_name": "string",
        },
        freeform_tags={
            "string": "string",
        },
        min_disk_size_in_gbs=0,
        min_memory_in_gbs=0,
        min_ocpus=0)
    
    const batchBatchTaskProfileResource = new oci.oci.BatchBatchTaskProfile("batchBatchTaskProfileResource", {
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        extendedInformation: {
            type: "string",
            architecture: "string",
            shapeName: "string",
        },
        freeformTags: {
            string: "string",
        },
        minDiskSizeInGbs: 0,
        minMemoryInGbs: 0,
        minOcpus: 0,
    });
    
    type: oci:oci:BatchBatchTaskProfile
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        extendedInformation:
            architecture: string
            shapeName: string
            type: string
        freeformTags:
            string: string
        minDiskSizeInGbs: 0
        minMemoryInGbs: 0
        minOcpus: 0
    

    BatchBatchTaskProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BatchBatchTaskProfile resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) The batch task profile description.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    ExtendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) The batch task profile description.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    ExtendedInformation BatchBatchTaskProfileExtendedInformationArgs
    Extended information for the task profile.
    FreeformTags map[string]string
    (Updatable) 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"}
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id string
    (Updatable) The OCID of the compartment.
    defined_tags map(string)
    (Updatable) 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
    (Updatable) The batch task profile description.
    display_name string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extended_information object
    Extended information for the task profile.
    freeform_tags map(string)
    (Updatable) 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"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    freeformTags Map<String,String>
    (Updatable) 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"}
    minDiskSizeInGbs Integer
    The minimum required size of disk space in GBs.
    minMemoryInGbs Integer
    The minimum required memory.
    minOcpus Integer

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    minDiskSizeInGbs number
    The minimum required size of disk space in GBs.
    minMemoryInGbs number
    The minimum required memory.
    minOcpus number

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) The batch task profile description.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extended_information BatchBatchTaskProfileExtendedInformationArgs
    Extended information for the task profile.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation Property Map
    Extended information for the task profile.
    freeformTags Map<String>
    (Updatable) 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"}
    minDiskSizeInGbs Number
    The minimum required size of disk space in GBs.
    minMemoryInGbs Number
    The minimum required memory.
    minOcpus Number

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BatchBatchTaskProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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
    Id string
    The provider-assigned unique ID for this managed resource.
    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
    id string
    The provider-assigned unique ID for this managed resource.
    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
    id String
    The provider-assigned unique ID for this managed resource.
    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
    id string
    The provider-assigned unique ID for this managed resource.
    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
    id str
    The provider-assigned unique ID for this managed resource.
    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
    id String
    The provider-assigned unique ID for this managed resource.
    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

    Look up Existing BatchBatchTaskProfile Resource

    Get an existing BatchBatchTaskProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BatchBatchTaskProfileState, opts?: CustomResourceOptions): BatchBatchTaskProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            extended_information: Optional[BatchBatchTaskProfileExtendedInformationArgs] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            min_disk_size_in_gbs: Optional[int] = None,
            min_memory_in_gbs: Optional[int] = None,
            min_ocpus: Optional[int] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> BatchBatchTaskProfile
    func GetBatchBatchTaskProfile(ctx *Context, name string, id IDInput, state *BatchBatchTaskProfileState, opts ...ResourceOption) (*BatchBatchTaskProfile, error)
    public static BatchBatchTaskProfile Get(string name, Input<string> id, BatchBatchTaskProfileState? state, CustomResourceOptions? opts = null)
    public static BatchBatchTaskProfile get(String name, Output<String> id, BatchBatchTaskProfileState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:BatchBatchTaskProfile    get:      id: ${id}
    import {
      to = oci_oci_batchbatchtaskprofile.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) The batch task profile description.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    ExtendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) The batch task profile description.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    ExtendedInformation BatchBatchTaskProfileExtendedInformationArgs
    Extended information for the task profile.
    FreeformTags map[string]string
    (Updatable) 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"}
    MinDiskSizeInGbs int
    The minimum required size of disk space in GBs.
    MinMemoryInGbs int
    The minimum required memory.
    MinOcpus int

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    compartment_id string
    (Updatable) The OCID of the compartment.
    defined_tags map(string)
    (Updatable) 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
    (Updatable) The batch task profile description.
    display_name string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extended_information object
    Extended information for the task profile.
    freeform_tags map(string)
    (Updatable) 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"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    freeformTags Map<String,String>
    (Updatable) 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"}
    minDiskSizeInGbs Integer
    The minimum required size of disk space in GBs.
    minMemoryInGbs Integer
    The minimum required memory.
    minOcpus Integer

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    compartmentId string
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation BatchBatchTaskProfileExtendedInformation
    Extended information for the task profile.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    minDiskSizeInGbs number
    The minimum required size of disk space in GBs.
    minMemoryInGbs number
    The minimum required memory.
    minOcpus number

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    compartment_id str
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) The batch task profile description.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extended_information BatchBatchTaskProfileExtendedInformationArgs
    Extended information for the task profile.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) The batch task profile description.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    extendedInformation Property Map
    Extended information for the task profile.
    freeformTags Map<String>
    (Updatable) 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"}
    minDiskSizeInGbs Number
    The minimum required size of disk space in GBs.
    minMemoryInGbs Number
    The minimum required memory.
    minOcpus Number

    The minimum required OCPUs.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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

    BatchBatchTaskProfileExtendedInformation, BatchBatchTaskProfileExtendedInformationArgs

    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 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 str
    Type of extended information.
    architecture str
    Type of CPU architecture.
    shape_name str
    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.

    Import

    BatchTaskProfiles can be imported using the id, e.g.

    $ pulumi import oci:oci/batchBatchTaskProfile:BatchBatchTaskProfile test_batch_task_profile "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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