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:
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Fleets
List<Batch
Batch Context Fleet> - List of fleet configurations related to the batch context.
- Network
Batch
Batch Context Network - Network configuration of the batch context.
- 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.
- 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 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.
- 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"} - Job
Priority List<BatchConfigurations Batch Context Job Priority Configuration> - (Updatable) List of job priority configurations related to the batch context.
- Logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- State string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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.
- Fleets
[]Batch
Batch Context Fleet Args - List of fleet configurations related to the batch context.
- Network
Batch
Batch Context Network Args - Network configuration of the batch context.
- 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.
- 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 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.
- 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"} - Job
Priority []BatchConfigurations Batch Context Job Priority Configuration Args - (Updatable) List of job priority configurations related to the batch context.
- Logging
Configuration BatchBatch Context Logging Configuration Args - Logging configuration for batch context.
- State string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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.
- fleets
List<Batch
Batch Context Fleet> - List of fleet configurations related to the batch context.
- network
Batch
Batch Context Network - Network configuration of the batch context.
- 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.
- 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 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.
- 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"} - job
Priority List<BatchConfigurations Batch Context Job Priority Configuration> - (Updatable) List of job priority configurations related to the batch context.
- logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- state String
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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.
- fleets
Batch
Batch Context Fleet[] - List of fleet configurations related to the batch context.
- network
Batch
Batch Context Network - Network configuration of the batch context.
- {[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.
- 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 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.
- {[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"} - job
Priority BatchConfigurations Batch Context Job Priority Configuration[] - (Updatable) List of job priority configurations related to the batch context.
- logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- state string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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[Batch
Batch Context Fleet Args] - List of fleet configurations related to the batch context.
- network
Batch
Batch Context Network Args - Network configuration of the batch context.
- 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.
- 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_ Sequence[Batchconfigurations Batch Context Job Priority Configuration Args] - (Updatable) List of job priority configurations related to the batch context.
- logging_
configuration BatchBatch Context Logging Configuration Args - Logging configuration for batch context.
- state str
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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.
- fleets List<Property Map>
- List of fleet configurations related to the batch context.
- network Property Map
- Network configuration of the batch context.
- 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.
- 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 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.
- 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"} - job
Priority List<Property Map>Configurations - (Updatable) List of job priority configurations related to the batch context.
- logging
Configuration Property Map - Logging configuration for batch context.
- state String
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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.
- Lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- 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.
- 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.
- lifecycle
Details String - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
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) -> BatchBatchContextfunc 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.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- 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.
- 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 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<Batch
Batch Context Fleet> - List of fleet configurations related to the batch context.
- 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"} - Job
Priority List<BatchConfigurations Batch Context Job Priority Configuration> - (Updatable) List of job priority configurations related to the batch context.
- Lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- Network
Batch
Batch Context Network - Network configuration of the batch context.
- State string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - (Updatable) The OCID of the compartment.
- 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.
- 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 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
[]Batch
Batch Context Fleet Args - List of fleet configurations related to the batch context.
- 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"} - Job
Priority []BatchConfigurations Batch Context Job Priority Configuration Args - (Updatable) List of job priority configurations related to the batch context.
- Lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Logging
Configuration BatchBatch Context Logging Configuration Args - Logging configuration for batch context.
- Network
Batch
Batch Context Network Args - Network configuration of the batch context.
- State string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the compartment.
- 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.
- 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 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<Batch
Batch Context Fleet> - List of fleet configurations related to the batch context.
- 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"} - job
Priority List<BatchConfigurations Batch Context Job Priority Configuration> - (Updatable) List of job priority configurations related to the batch context.
- lifecycle
Details String - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- network
Batch
Batch Context Network - Network configuration of the batch context.
- state String
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - (Updatable) The OCID of the compartment.
- {[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.
- 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 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
Batch
Batch Context Fleet[] - List of fleet configurations related to the batch context.
- {[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"} - job
Priority BatchConfigurations Batch Context Job Priority Configuration[] - (Updatable) List of job priority configurations related to the batch context.
- lifecycle
Details string - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- logging
Configuration BatchBatch Context Logging Configuration - Logging configuration for batch context.
- network
Batch
Batch Context Network - Network configuration of the batch context.
- state string
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - (Updatable) The OCID of the compartment.
- 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[Batch
Batch Context Fleet Args] - List of fleet configurations related to the batch context.
- 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_ Sequence[Batchconfigurations Batch Context Job Priority Configuration Args] - (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 BatchBatch Context Logging Configuration Args - Logging configuration for batch context.
- network
Batch
Batch Context Network Args - Network configuration of the batch context.
- state str
(Updatable) The target state for the Batch Context. Could be set to
ACTIVEorINACTIVE.** 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
- 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
- compartment
Id String - (Updatable) The OCID of the compartment.
- 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.
- 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 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.
- 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"} - job
Priority List<Property Map>Configurations - (Updatable) List of job priority configurations related to the batch context.
- lifecycle
Details String - A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- logging
Configuration 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
ACTIVEorINACTIVE.** 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
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the batch context was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the batch context was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
BatchBatchContextFleet, BatchBatchContextFleetArgs
- Max
Concurrent intTasks - Maximum number of concurrent tasks for the service managed fleet.
- Name string
- Name of the service managed fleet.
- Shape
Batch
Batch Context Fleet Shape - 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
ACTIVEorINACTIVE.** 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 intTasks - Maximum number of concurrent tasks for the service managed fleet.
- Name string
- Name of the service managed fleet.
- Shape
Batch
Batch Context Fleet Shape - 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
ACTIVEorINACTIVE.** 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 IntegerTasks - Maximum number of concurrent tasks for the service managed fleet.
- name String
- Name of the service managed fleet.
- shape
Batch
Batch Context Fleet Shape - 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
ACTIVEorINACTIVE.** 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 numberTasks - Maximum number of concurrent tasks for the service managed fleet.
- name string
- Name of the service managed fleet.
- shape
Batch
Batch Context Fleet Shape - 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
ACTIVEorINACTIVE.** 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_ inttasks - Maximum number of concurrent tasks for the service managed fleet.
- name str
- Name of the service managed fleet.
- shape
Batch
Batch Context Fleet Shape - 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
ACTIVEorINACTIVE.** 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 NumberTasks - 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
ACTIVEorINACTIVE.** 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
- Memory
In intGbs - Amount of memory in GBs required by the shape.
- Ocpus int
- Number of OCPUs required by the shape.
- Shape
Name string - The name of the shape.
- Memory
In intGbs - Amount of memory in GBs required by the shape.
- Ocpus int
- Number of OCPUs required by the shape.
- Shape
Name string - The name of the shape.
- memory
In IntegerGbs - Amount of memory in GBs required by the shape.
- ocpus Integer
- Number of OCPUs required by the shape.
- shape
Name String - The name of the shape.
- memory
In numberGbs - Amount of memory in GBs required by the shape.
- ocpus number
- Number of OCPUs required by the shape.
- shape
Name string - The name of the shape.
- memory_
in_ intgbs - Amount of memory in GBs required by the shape.
- ocpus int
- Number of OCPUs required by the shape.
- shape_
name str - The name of the shape.
- memory
In NumberGbs - Amount of memory in GBs required by the shape.
- ocpus Number
- Number of OCPUs required by the shape.
- shape
Name String - The name of the shape.
BatchBatchContextJobPriorityConfiguration, BatchBatchContextJobPriorityConfigurationArgs
- Tag
Key string - (Updatable) Name of the tag key.
- Tag
Namespace 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.
- Tag
Key string - (Updatable) Name of the tag key.
- Tag
Namespace 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.
- tag
Key String - (Updatable) Name of the tag key.
- tag
Namespace 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.
- tag
Key string - (Updatable) Name of the tag key.
- tag
Namespace 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.
- tag
Key String - (Updatable) Name of the tag key.
- tag
Namespace 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
- Log
Group stringId - The OCID of the log group.
- Log
Id string - The OCID of the log.
- Type string
- Discriminator for sub-entities.
- Log
Group stringId - The OCID of the log group.
- Log
Id string - The OCID of the log.
- Type string
- Discriminator for sub-entities.
- log
Group StringId - The OCID of the log group.
- log
Id String - The OCID of the log.
- type String
- Discriminator for sub-entities.
- log
Group stringId - The OCID of the log group.
- log
Id string - The OCID of the log.
- type string
- Discriminator for sub-entities.
- log_
group_ strid - The OCID of the log group.
- log_
id str - The OCID of the log.
- type str
- Discriminator for sub-entities.
- log
Group StringId - The OCID of the log group.
- log
Id String - The OCID of the log.
- type String
- Discriminator for sub-entities.
BatchBatchContextNetwork, BatchBatchContextNetworkArgs
BatchBatchContextNetworkVnic, BatchBatchContextNetworkVnicArgs
- 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.
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
ociTerraform Provider.
