1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. BatchBatchContext
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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBatchContext = new oci.oci.BatchBatchContext("test_batch_context", {
        compartmentId: compartmentId,
        fleets: [{
            maxConcurrentTasks: batchContextFleetsMaxConcurrentTasks,
            name: batchContextFleetsName,
            shape: {
                memoryInGbs: batchContextFleetsShapeMemoryInGbs,
                ocpus: batchContextFleetsShapeOcpus,
                shapeName: testShape.name,
            },
            type: batchContextFleetsType,
        }],
        network: {
            subnetId: testSubnet.id,
            nsgIds: batchContextNetworkNsgIds,
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: batchContextDescription,
        displayName: batchContextDisplayName,
        entitlements: batchContextEntitlements,
        freeformTags: {
            Department: "Finance",
        },
        jobPriorityConfigurations: [{
            tagKey: batchContextJobPriorityConfigurationsTagKey,
            tagNamespace: batchContextJobPriorityConfigurationsTagNamespace,
            values: batchContextJobPriorityConfigurationsValues,
            weight: batchContextJobPriorityConfigurationsWeight,
        }],
        loggingConfiguration: {
            logGroupId: testLogGroup.id,
            logId: testLog.id,
            type: batchContextLoggingConfigurationType,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_batch_context = oci.oci.BatchBatchContext("test_batch_context",
        compartment_id=compartment_id,
        fleets=[{
            "max_concurrent_tasks": batch_context_fleets_max_concurrent_tasks,
            "name": batch_context_fleets_name,
            "shape": {
                "memory_in_gbs": batch_context_fleets_shape_memory_in_gbs,
                "ocpus": batch_context_fleets_shape_ocpus,
                "shape_name": test_shape["name"],
            },
            "type": batch_context_fleets_type,
        }],
        network={
            "subnet_id": test_subnet["id"],
            "nsg_ids": batch_context_network_nsg_ids,
        },
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=batch_context_description,
        display_name=batch_context_display_name,
        entitlements=batch_context_entitlements,
        freeform_tags={
            "Department": "Finance",
        },
        job_priority_configurations=[{
            "tag_key": batch_context_job_priority_configurations_tag_key,
            "tag_namespace": batch_context_job_priority_configurations_tag_namespace,
            "values": batch_context_job_priority_configurations_values,
            "weight": batch_context_job_priority_configurations_weight,
        }],
        logging_configuration={
            "log_group_id": test_log_group["id"],
            "log_id": test_log["id"],
            "type": batch_context_logging_configuration_type,
        })
    
    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.NewBatchBatchContext(ctx, "test_batch_context", &oci.BatchBatchContextArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Fleets: oci.BatchBatchContextFleetArray{
    				&oci.BatchBatchContextFleetArgs{
    					MaxConcurrentTasks: pulumi.Any(batchContextFleetsMaxConcurrentTasks),
    					Name:               pulumi.Any(batchContextFleetsName),
    					Shape: &oci.BatchBatchContextFleetShapeArgs{
    						MemoryInGbs: pulumi.Any(batchContextFleetsShapeMemoryInGbs),
    						Ocpus:       pulumi.Any(batchContextFleetsShapeOcpus),
    						ShapeName:   pulumi.Any(testShape.Name),
    					},
    					Type: pulumi.Any(batchContextFleetsType),
    				},
    			},
    			Network: &oci.BatchBatchContextNetworkArgs{
    				SubnetId: pulumi.Any(testSubnet.Id),
    				NsgIds:   pulumi.Any(batchContextNetworkNsgIds),
    			},
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description:  pulumi.Any(batchContextDescription),
    			DisplayName:  pulumi.Any(batchContextDisplayName),
    			Entitlements: pulumi.Any(batchContextEntitlements),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			JobPriorityConfigurations: oci.BatchBatchContextJobPriorityConfigurationArray{
    				&oci.BatchBatchContextJobPriorityConfigurationArgs{
    					TagKey:       pulumi.Any(batchContextJobPriorityConfigurationsTagKey),
    					TagNamespace: pulumi.Any(batchContextJobPriorityConfigurationsTagNamespace),
    					Values:       pulumi.Any(batchContextJobPriorityConfigurationsValues),
    					Weight:       pulumi.Any(batchContextJobPriorityConfigurationsWeight),
    				},
    			},
    			LoggingConfiguration: &oci.BatchBatchContextLoggingConfigurationArgs{
    				LogGroupId: pulumi.Any(testLogGroup.Id),
    				LogId:      pulumi.Any(testLog.Id),
    				Type:       pulumi.Any(batchContextLoggingConfigurationType),
    			},
    		})
    		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 = new Oci.Oci.BatchBatchContext("test_batch_context", new()
        {
            CompartmentId = compartmentId,
            Fleets = new[]
            {
                new Oci.Oci.Inputs.BatchBatchContextFleetArgs
                {
                    MaxConcurrentTasks = batchContextFleetsMaxConcurrentTasks,
                    Name = batchContextFleetsName,
                    Shape = new Oci.Oci.Inputs.BatchBatchContextFleetShapeArgs
                    {
                        MemoryInGbs = batchContextFleetsShapeMemoryInGbs,
                        Ocpus = batchContextFleetsShapeOcpus,
                        ShapeName = testShape.Name,
                    },
                    Type = batchContextFleetsType,
                },
            },
            Network = new Oci.Oci.Inputs.BatchBatchContextNetworkArgs
            {
                SubnetId = testSubnet.Id,
                NsgIds = batchContextNetworkNsgIds,
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = batchContextDescription,
            DisplayName = batchContextDisplayName,
            Entitlements = batchContextEntitlements,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            JobPriorityConfigurations = new[]
            {
                new Oci.Oci.Inputs.BatchBatchContextJobPriorityConfigurationArgs
                {
                    TagKey = batchContextJobPriorityConfigurationsTagKey,
                    TagNamespace = batchContextJobPriorityConfigurationsTagNamespace,
                    Values = batchContextJobPriorityConfigurationsValues,
                    Weight = batchContextJobPriorityConfigurationsWeight,
                },
            },
            LoggingConfiguration = new Oci.Oci.Inputs.BatchBatchContextLoggingConfigurationArgs
            {
                LogGroupId = testLogGroup.Id,
                LogId = testLog.Id,
                Type = batchContextLoggingConfigurationType,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.BatchBatchContext;
    import com.pulumi.oci.oci.BatchBatchContextArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchContextFleetArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchContextFleetShapeArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchContextNetworkArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchContextJobPriorityConfigurationArgs;
    import com.pulumi.oci.oci.inputs.BatchBatchContextLoggingConfigurationArgs;
    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) {
            var testBatchContext = new BatchBatchContext("testBatchContext", BatchBatchContextArgs.builder()
                .compartmentId(compartmentId)
                .fleets(BatchBatchContextFleetArgs.builder()
                    .maxConcurrentTasks(batchContextFleetsMaxConcurrentTasks)
                    .name(batchContextFleetsName)
                    .shape(BatchBatchContextFleetShapeArgs.builder()
                        .memoryInGbs(batchContextFleetsShapeMemoryInGbs)
                        .ocpus(batchContextFleetsShapeOcpus)
                        .shapeName(testShape.name())
                        .build())
                    .type(batchContextFleetsType)
                    .build())
                .network(BatchBatchContextNetworkArgs.builder()
                    .subnetId(testSubnet.id())
                    .nsgIds(batchContextNetworkNsgIds)
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(batchContextDescription)
                .displayName(batchContextDisplayName)
                .entitlements(batchContextEntitlements)
                .freeformTags(Map.of("Department", "Finance"))
                .jobPriorityConfigurations(BatchBatchContextJobPriorityConfigurationArgs.builder()
                    .tagKey(batchContextJobPriorityConfigurationsTagKey)
                    .tagNamespace(batchContextJobPriorityConfigurationsTagNamespace)
                    .values(batchContextJobPriorityConfigurationsValues)
                    .weight(batchContextJobPriorityConfigurationsWeight)
                    .build())
                .loggingConfiguration(BatchBatchContextLoggingConfigurationArgs.builder()
                    .logGroupId(testLogGroup.id())
                    .logId(testLog.id())
                    .type(batchContextLoggingConfigurationType)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testBatchContext:
        type: oci:oci:BatchBatchContext
        name: test_batch_context
        properties:
          compartmentId: ${compartmentId}
          fleets:
            - maxConcurrentTasks: ${batchContextFleetsMaxConcurrentTasks}
              name: ${batchContextFleetsName}
              shape:
                memoryInGbs: ${batchContextFleetsShapeMemoryInGbs}
                ocpus: ${batchContextFleetsShapeOcpus}
                shapeName: ${testShape.name}
              type: ${batchContextFleetsType}
          network:
            subnetId: ${testSubnet.id}
            nsgIds: ${batchContextNetworkNsgIds}
          definedTags:
            Operations.CostCenter: '42'
          description: ${batchContextDescription}
          displayName: ${batchContextDisplayName}
          entitlements: ${batchContextEntitlements}
          freeformTags:
            Department: Finance
          jobPriorityConfigurations:
            - tagKey: ${batchContextJobPriorityConfigurationsTagKey}
              tagNamespace: ${batchContextJobPriorityConfigurationsTagNamespace}
              values: ${batchContextJobPriorityConfigurationsValues}
              weight: ${batchContextJobPriorityConfigurationsWeight}
          loggingConfiguration:
            logGroupId: ${testLogGroup.id}
            logId: ${testLog.id}
            type: ${batchContextLoggingConfigurationType}
    

    Create BatchBatchContext Resource

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

    Constructor syntax

    new BatchBatchContext(name: string, args: BatchBatchContextArgs, opts?: CustomResourceOptions);
    @overload
    def BatchBatchContext(resource_name: str,
                          args: BatchBatchContextArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def BatchBatchContext(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          fleets: Optional[Sequence[BatchBatchContextFleetArgs]] = None,
                          network: Optional[BatchBatchContextNetworkArgs] = None,
                          defined_tags: Optional[Mapping[str, str]] = None,
                          description: Optional[str] = None,
                          display_name: Optional[str] = None,
                          entitlements: Optional[Mapping[str, str]] = None,
                          freeform_tags: Optional[Mapping[str, str]] = None,
                          job_priority_configurations: Optional[Sequence[BatchBatchContextJobPriorityConfigurationArgs]] = None,
                          logging_configuration: Optional[BatchBatchContextLoggingConfigurationArgs] = None,
                          state: Optional[str] = None)
    func NewBatchBatchContext(ctx *Context, name string, args BatchBatchContextArgs, opts ...ResourceOption) (*BatchBatchContext, error)
    public BatchBatchContext(string name, BatchBatchContextArgs args, CustomResourceOptions? opts = null)
    public BatchBatchContext(String name, BatchBatchContextArgs args)
    public BatchBatchContext(String name, BatchBatchContextArgs args, CustomResourceOptions options)
    
    type: oci:oci:BatchBatchContext
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BatchBatchContextArgs
    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 BatchBatchContextArgs
    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 BatchBatchContextArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BatchBatchContextArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BatchBatchContextArgs
    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 batchBatchContextResource = new Oci.Oci.BatchBatchContext("batchBatchContextResource", new()
    {
        CompartmentId = "string",
        Fleets = new[]
        {
            new Oci.Oci.Inputs.BatchBatchContextFleetArgs
            {
                MaxConcurrentTasks = 0,
                Name = "string",
                Shape = new Oci.Oci.Inputs.BatchBatchContextFleetShapeArgs
                {
                    MemoryInGbs = 0,
                    Ocpus = 0,
                    ShapeName = "string",
                },
                Type = "string",
                Details = "string",
                State = "string",
            },
        },
        Network = new Oci.Oci.Inputs.BatchBatchContextNetworkArgs
        {
            SubnetId = "string",
            NsgIds = new[]
            {
                "string",
            },
            Vnics = new[]
            {
                new Oci.Oci.Inputs.BatchBatchContextNetworkVnicArgs
                {
                    Id = "string",
                    SourceIps = new[]
                    {
                        "string",
                    },
                },
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        Entitlements = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        JobPriorityConfigurations = new[]
        {
            new Oci.Oci.Inputs.BatchBatchContextJobPriorityConfigurationArgs
            {
                TagKey = "string",
                TagNamespace = "string",
                Values = 
                {
                    { "string", "string" },
                },
                Weight = 0,
            },
        },
        LoggingConfiguration = new Oci.Oci.Inputs.BatchBatchContextLoggingConfigurationArgs
        {
            LogGroupId = "string",
            LogId = "string",
            Type = "string",
        },
        State = "string",
    });
    
    example, err := oci.NewBatchBatchContext(ctx, "batchBatchContextResource", &oci.BatchBatchContextArgs{
    	CompartmentId: pulumi.String("string"),
    	Fleets: oci.BatchBatchContextFleetArray{
    		&oci.BatchBatchContextFleetArgs{
    			MaxConcurrentTasks: pulumi.Int(0),
    			Name:               pulumi.String("string"),
    			Shape: &oci.BatchBatchContextFleetShapeArgs{
    				MemoryInGbs: pulumi.Int(0),
    				Ocpus:       pulumi.Int(0),
    				ShapeName:   pulumi.String("string"),
    			},
    			Type:    pulumi.String("string"),
    			Details: pulumi.String("string"),
    			State:   pulumi.String("string"),
    		},
    	},
    	Network: &oci.BatchBatchContextNetworkArgs{
    		SubnetId: pulumi.String("string"),
    		NsgIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Vnics: oci.BatchBatchContextNetworkVnicArray{
    			&oci.BatchBatchContextNetworkVnicArgs{
    				Id: pulumi.String("string"),
    				SourceIps: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Entitlements: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	JobPriorityConfigurations: oci.BatchBatchContextJobPriorityConfigurationArray{
    		&oci.BatchBatchContextJobPriorityConfigurationArgs{
    			TagKey:       pulumi.String("string"),
    			TagNamespace: pulumi.String("string"),
    			Values: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Weight: pulumi.Int(0),
    		},
    	},
    	LoggingConfiguration: &oci.BatchBatchContextLoggingConfigurationArgs{
    		LogGroupId: pulumi.String("string"),
    		LogId:      pulumi.String("string"),
    		Type:       pulumi.String("string"),
    	},
    	State: pulumi.String("string"),
    })
    
    var batchBatchContextResource = new BatchBatchContext("batchBatchContextResource", BatchBatchContextArgs.builder()
        .compartmentId("string")
        .fleets(BatchBatchContextFleetArgs.builder()
            .maxConcurrentTasks(0)
            .name("string")
            .shape(BatchBatchContextFleetShapeArgs.builder()
                .memoryInGbs(0)
                .ocpus(0)
                .shapeName("string")
                .build())
            .type("string")
            .details("string")
            .state("string")
            .build())
        .network(BatchBatchContextNetworkArgs.builder()
            .subnetId("string")
            .nsgIds("string")
            .vnics(BatchBatchContextNetworkVnicArgs.builder()
                .id("string")
                .sourceIps("string")
                .build())
            .build())
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .entitlements(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .jobPriorityConfigurations(BatchBatchContextJobPriorityConfigurationArgs.builder()
            .tagKey("string")
            .tagNamespace("string")
            .values(Map.of("string", "string"))
            .weight(0)
            .build())
        .loggingConfiguration(BatchBatchContextLoggingConfigurationArgs.builder()
            .logGroupId("string")
            .logId("string")
            .type("string")
            .build())
        .state("string")
        .build());
    
    batch_batch_context_resource = oci.oci.BatchBatchContext("batchBatchContextResource",
        compartment_id="string",
        fleets=[{
            "max_concurrent_tasks": 0,
            "name": "string",
            "shape": {
                "memory_in_gbs": 0,
                "ocpus": 0,
                "shape_name": "string",
            },
            "type": "string",
            "details": "string",
            "state": "string",
        }],
        network={
            "subnet_id": "string",
            "nsg_ids": ["string"],
            "vnics": [{
                "id": "string",
                "source_ips": ["string"],
            }],
        },
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        entitlements={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        job_priority_configurations=[{
            "tag_key": "string",
            "tag_namespace": "string",
            "values": {
                "string": "string",
            },
            "weight": 0,
        }],
        logging_configuration={
            "log_group_id": "string",
            "log_id": "string",
            "type": "string",
        },
        state="string")
    
    const batchBatchContextResource = new oci.oci.BatchBatchContext("batchBatchContextResource", {
        compartmentId: "string",
        fleets: [{
            maxConcurrentTasks: 0,
            name: "string",
            shape: {
                memoryInGbs: 0,
                ocpus: 0,
                shapeName: "string",
            },
            type: "string",
            details: "string",
            state: "string",
        }],
        network: {
            subnetId: "string",
            nsgIds: ["string"],
            vnics: [{
                id: "string",
                sourceIps: ["string"],
            }],
        },
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        entitlements: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        jobPriorityConfigurations: [{
            tagKey: "string",
            tagNamespace: "string",
            values: {
                string: "string",
            },
            weight: 0,
        }],
        loggingConfiguration: {
            logGroupId: "string",
            logId: "string",
            type: "string",
        },
        state: "string",
    });
    
    type: oci:oci:BatchBatchContext
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        entitlements:
            string: string
        fleets:
            - details: string
              maxConcurrentTasks: 0
              name: string
              shape:
                memoryInGbs: 0
                ocpus: 0
                shapeName: string
              state: string
              type: string
        freeformTags:
            string: string
        jobPriorityConfigurations:
            - tagKey: string
              tagNamespace: string
              values:
                string: string
              weight: 0
        loggingConfiguration:
            logGroupId: string
            logId: string
            type: string
        network:
            nsgIds:
                - string
            subnetId: string
            vnics:
                - id: string
                  sourceIps:
                    - string
        state: string
    

    BatchBatchContext 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 BatchBatchContext resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment.
    Fleets List<BatchBatchContextFleet>
    List of fleet configurations related to the batch context.
    Network BatchBatchContextNetwork
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    Entitlements Dictionary<string, string>
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    JobPriorityConfigurations List<BatchBatchContextJobPriorityConfiguration>
    (Updatable) List of job priority configurations related to the batch context.
    LoggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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.
    Fleets []BatchBatchContextFleetArgs
    List of fleet configurations related to the batch context.
    Network BatchBatchContextNetworkArgs
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    Entitlements map[string]string
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    JobPriorityConfigurations []BatchBatchContextJobPriorityConfigurationArgs
    (Updatable) List of job priority configurations related to the batch context.
    LoggingConfiguration BatchBatchContextLoggingConfigurationArgs
    Logging configuration for batch context.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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.
    fleets List<BatchBatchContextFleet>
    List of fleet configurations related to the batch context.
    network BatchBatchContextNetwork
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Map<String,String>
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    jobPriorityConfigurations List<BatchBatchContextJobPriorityConfiguration>
    (Updatable) List of job priority configurations related to the batch context.
    loggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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.
    fleets BatchBatchContextFleet[]
    List of fleet configurations related to the batch context.
    network BatchBatchContextNetwork
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements {[key: string]: string}
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    jobPriorityConfigurations BatchBatchContextJobPriorityConfiguration[]
    (Updatable) List of job priority configurations related to the batch context.
    loggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    state string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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.
    fleets Sequence[BatchBatchContextFleetArgs]
    List of fleet configurations related to the batch context.
    network BatchBatchContextNetworkArgs
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Mapping[str, str]
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    job_priority_configurations Sequence[BatchBatchContextJobPriorityConfigurationArgs]
    (Updatable) List of job priority configurations related to the batch context.
    logging_configuration BatchBatchContextLoggingConfigurationArgs
    Logging configuration for batch context.
    state str

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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.
    fleets List<Property Map>
    List of fleet configurations related to the batch context.
    network Property Map
    Network configuration of the batch context.
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Map<String>
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    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"}
    jobPriorityConfigurations List<Property Map>
    (Updatable) List of job priority configurations related to the batch context.
    loggingConfiguration Property Map
    Logging configuration for batch context.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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 BatchBatchContext resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch context 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.
    LifecycleDetails 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.
    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch context 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.
    lifecycleDetails 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.
    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch context 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.
    lifecycleDetails 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.
    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the batch context 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.
    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.
    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 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
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch context was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing BatchBatchContext Resource

    Get an existing BatchBatchContext 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?: BatchBatchContextState, opts?: CustomResourceOptions): BatchBatchContext
    @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,
            entitlements: Optional[Mapping[str, str]] = None,
            fleets: Optional[Sequence[BatchBatchContextFleetArgs]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            job_priority_configurations: Optional[Sequence[BatchBatchContextJobPriorityConfigurationArgs]] = None,
            lifecycle_details: Optional[str] = None,
            logging_configuration: Optional[BatchBatchContextLoggingConfigurationArgs] = None,
            network: Optional[BatchBatchContextNetworkArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> BatchBatchContext
    func GetBatchBatchContext(ctx *Context, name string, id IDInput, state *BatchBatchContextState, opts ...ResourceOption) (*BatchBatchContext, error)
    public static BatchBatchContext Get(string name, Input<string> id, BatchBatchContextState? state, CustomResourceOptions? opts = null)
    public static BatchBatchContext get(String name, Output<String> id, BatchBatchContextState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:BatchBatchContext    get:      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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    Entitlements Dictionary<string, string>
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    Fleets List<BatchBatchContextFleet>
    List of fleet configurations related to the batch context.
    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"}
    JobPriorityConfigurations List<BatchBatchContextJobPriorityConfiguration>
    (Updatable) List of job priority configurations related to the batch context.
    LifecycleDetails 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.
    LoggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    Network BatchBatchContextNetwork
    Network configuration of the batch context.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch context 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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    Entitlements map[string]string
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    Fleets []BatchBatchContextFleetArgs
    List of fleet configurations related to the batch context.
    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"}
    JobPriorityConfigurations []BatchBatchContextJobPriorityConfigurationArgs
    (Updatable) List of job priority configurations related to the batch context.
    LifecycleDetails 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.
    LoggingConfiguration BatchBatchContextLoggingConfigurationArgs
    Logging configuration for batch context.
    Network BatchBatchContextNetworkArgs
    Network configuration of the batch context.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the batch context 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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Map<String,String>
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    fleets List<BatchBatchContextFleet>
    List of fleet configurations related to the batch context.
    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"}
    jobPriorityConfigurations List<BatchBatchContextJobPriorityConfiguration>
    (Updatable) List of job priority configurations related to the batch context.
    lifecycleDetails 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.
    loggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    network BatchBatchContextNetwork
    Network configuration of the batch context.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the batch context 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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements {[key: string]: string}
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    fleets BatchBatchContextFleet[]
    List of fleet configurations related to the batch context.
    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"}
    jobPriorityConfigurations BatchBatchContextJobPriorityConfiguration[]
    (Updatable) List of job priority configurations related to the batch context.
    lifecycleDetails 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.
    loggingConfiguration BatchBatchContextLoggingConfiguration
    Logging configuration for batch context.
    network BatchBatchContextNetwork
    Network configuration of the batch context.
    state string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the batch context 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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Mapping[str, str]
    (Updatable) Mapping of concurrent/shared resources used in job tasks to their limits.
    fleets Sequence[BatchBatchContextFleetArgs]
    List of fleet configurations related to the batch context.
    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"}
    job_priority_configurations Sequence[BatchBatchContextJobPriorityConfigurationArgs]
    (Updatable) 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_configuration BatchBatchContextLoggingConfigurationArgs
    Logging configuration for batch context.
    network BatchBatchContextNetworkArgs
    Network configuration of the batch context.
    state str

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 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
    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) Summarized information about the batch context.
    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 will 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: batchcontext20250914115623.
    entitlements Map<String>
    (Updatable) 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.
    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"}
    jobPriorityConfigurations List<Property Map>
    (Updatable) List of job priority configurations related to the batch context.
    lifecycleDetails 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.
    loggingConfiguration Property Map
    Logging configuration for batch context.
    network Property Map
    Network configuration of the batch context.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    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 context was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated 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

    BatchBatchContextFleet, BatchBatchContextFleetArgs

    MaxConcurrentTasks int
    Maximum number of concurrent tasks for the service managed fleet.
    Name string
    Name of the service managed fleet.
    Shape BatchBatchContextFleetShape
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    Type string
    Type of the fleet. Also serves as a discriminator for sub-entities.
    Details string
    A message that describes the current state of the service manage fleet configuration in more detail.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    MaxConcurrentTasks int
    Maximum number of concurrent tasks for the service managed fleet.
    Name string
    Name of the service managed fleet.
    Shape BatchBatchContextFleetShape
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    Type string
    Type of the fleet. Also serves as a discriminator for sub-entities.
    Details string
    A message that describes the current state of the service manage fleet configuration in more detail.
    State string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    maxConcurrentTasks Integer
    Maximum number of concurrent tasks for the service managed fleet.
    name String
    Name of the service managed fleet.
    shape BatchBatchContextFleetShape
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    type String
    Type of the fleet. Also serves as a discriminator for sub-entities.
    details String
    A message that describes the current state of the service manage fleet configuration in more detail.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    maxConcurrentTasks number
    Maximum number of concurrent tasks for the service managed fleet.
    name string
    Name of the service managed fleet.
    shape BatchBatchContextFleetShape
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    type string
    Type of the fleet. Also serves as a discriminator for sub-entities.
    details string
    A message that describes the current state of the service manage fleet configuration in more detail.
    state string

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    max_concurrent_tasks int
    Maximum number of concurrent tasks for the service managed fleet.
    name str
    Name of the service managed fleet.
    shape BatchBatchContextFleetShape
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    type str
    Type of the fleet. Also serves as a discriminator for sub-entities.
    details str
    A message that describes the current state of the service manage fleet configuration in more detail.
    state str

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    maxConcurrentTasks Number
    Maximum number of concurrent tasks for the service managed fleet.
    name String
    Name of the service managed fleet.
    shape Property Map
    Shape of the fleet. Describes hardware resources of each node in the fleet.
    type String
    Type of the fleet. Also serves as a discriminator for sub-entities.
    details String
    A message that describes the current state of the service manage fleet configuration in more detail.
    state String

    (Updatable) The target state for the Batch Context. Could be set to ACTIVE or INACTIVE.

    ** 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

    BatchBatchContextFleetShape, BatchBatchContextFleetShapeArgs

    MemoryInGbs int
    Amount of memory in GBs required by the shape.
    Ocpus int
    Number of OCPUs required by the shape.
    ShapeName string
    The name of the shape.
    MemoryInGbs int
    Amount of memory in GBs required by the shape.
    Ocpus int
    Number of OCPUs required by the shape.
    ShapeName string
    The name of the shape.
    memoryInGbs Integer
    Amount of memory in GBs required by the shape.
    ocpus Integer
    Number of OCPUs required by the shape.
    shapeName String
    The name of the shape.
    memoryInGbs number
    Amount of memory in GBs required by the shape.
    ocpus number
    Number of OCPUs required by the shape.
    shapeName string
    The name of the shape.
    memory_in_gbs int
    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.
    memoryInGbs Number
    Amount of memory in GBs required by the shape.
    ocpus Number
    Number of OCPUs required by the shape.
    shapeName String
    The name of the shape.

    BatchBatchContextJobPriorityConfiguration, BatchBatchContextJobPriorityConfigurationArgs

    TagKey string
    (Updatable) Name of the tag key.
    TagNamespace string
    (Updatable) Name of the corresponding tag namespace.
    Values Dictionary<string, string>
    (Updatable) Mapping of tag value to its priority.
    Weight int
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.
    TagKey string
    (Updatable) Name of the tag key.
    TagNamespace string
    (Updatable) Name of the corresponding tag namespace.
    Values map[string]string
    (Updatable) Mapping of tag value to its priority.
    Weight int
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.
    tagKey String
    (Updatable) Name of the tag key.
    tagNamespace String
    (Updatable) Name of the corresponding tag namespace.
    values Map<String,String>
    (Updatable) Mapping of tag value to its priority.
    weight Integer
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.
    tagKey string
    (Updatable) Name of the tag key.
    tagNamespace string
    (Updatable) Name of the corresponding tag namespace.
    values {[key: string]: string}
    (Updatable) Mapping of tag value to its priority.
    weight number
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.
    tag_key str
    (Updatable) Name of the tag key.
    tag_namespace str
    (Updatable) Name of the corresponding tag namespace.
    values Mapping[str, str]
    (Updatable) Mapping of tag value to its priority.
    weight int
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.
    tagKey String
    (Updatable) Name of the tag key.
    tagNamespace String
    (Updatable) Name of the corresponding tag namespace.
    values Map<String>
    (Updatable) Mapping of tag value to its priority.
    weight Number
    (Updatable) Weight associated with the tag key. Percentage point is the unit of measurement.

    BatchBatchContextLoggingConfiguration, BatchBatchContextLoggingConfigurationArgs

    LogGroupId string
    The OCID of the log group.
    LogId string
    The OCID of the log.
    Type string
    Discriminator for sub-entities.
    LogGroupId string
    The OCID of the log group.
    LogId string
    The OCID of the log.
    Type string
    Discriminator for sub-entities.
    logGroupId String
    The OCID of the log group.
    logId String
    The OCID of the log.
    type String
    Discriminator for sub-entities.
    logGroupId string
    The OCID of the log group.
    logId string
    The OCID of the log.
    type string
    Discriminator for sub-entities.
    log_group_id str
    The OCID of the log group.
    log_id str
    The OCID of the log.
    type str
    Discriminator for sub-entities.
    logGroupId String
    The OCID of the log group.
    logId String
    The OCID of the log.
    type String
    Discriminator for sub-entities.

    BatchBatchContextNetwork, BatchBatchContextNetworkArgs

    SubnetId string
    OCID of associated subnet.
    NsgIds List<string>
    A list of OCIDs of associated network security groups.
    Vnics List<BatchBatchContextNetworkVnic>
    A list of private endpoint's VNICs.
    SubnetId string
    OCID of associated subnet.
    NsgIds []string
    A list of OCIDs of associated network security groups.
    Vnics []BatchBatchContextNetworkVnic
    A list of private endpoint's VNICs.
    subnetId String
    OCID of associated subnet.
    nsgIds List<String>
    A list of OCIDs of associated network security groups.
    vnics List<BatchBatchContextNetworkVnic>
    A list of private endpoint's VNICs.
    subnetId string
    OCID of associated subnet.
    nsgIds string[]
    A list of OCIDs of associated network security groups.
    vnics BatchBatchContextNetworkVnic[]
    A list of private endpoint's VNICs.
    subnet_id str
    OCID of associated subnet.
    nsg_ids Sequence[str]
    A list of OCIDs of associated network security groups.
    vnics Sequence[BatchBatchContextNetworkVnic]
    A list of private endpoint's VNICs.
    subnetId String
    OCID of associated subnet.
    nsgIds List<String>
    A list of OCIDs of associated network security groups.
    vnics List<Property Map>
    A list of private endpoint's VNICs.

    BatchBatchContextNetworkVnic, BatchBatchContextNetworkVnicArgs

    Id string
    The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
    SourceIps List<string>
    A list of private IP addresses (in the customer's VCN) that represent access points for the service.
    Id string
    The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
    SourceIps []string
    A list of private IP addresses (in the customer's VCN) that represent access points for the service.
    id String
    The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
    sourceIps List<String>
    A list of private IP addresses (in the customer's VCN) that represent access points for the service.
    id string
    The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
    sourceIps string[]
    A list of private IP addresses (in the customer's VCN) that represent access points for the service.
    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.
    id String
    The OCID of the private endpoint's VNIC, which resides in the customer's VCN.
    sourceIps List<String>
    A list of private IP addresses (in the customer's VCN) that represent access points for the service.

    Import

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

    $ pulumi import oci:oci/batchBatchContext:BatchBatchContext test_batch_context "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
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate