Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
This data source provides the list of Batch Context Shapes in Oracle Cloud Infrastructure Batch service.
Lists the shapes allowed to be specified during batch context creation. Ordered by the shape name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBatchContextShapes = oci.oci.getBatchBatchContextShapes({
compartmentId: compartmentId,
availabilityDomain: batchContextShapeAvailabilityDomain,
});
import pulumi
import pulumi_oci as oci
test_batch_context_shapes = oci.oci.get_batch_batch_context_shapes(compartment_id=compartment_id,
availability_domain=batch_context_shape_availability_domain)
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.GetBatchBatchContextShapes(ctx, &oci.GetBatchBatchContextShapesArgs{
CompartmentId: compartmentId,
AvailabilityDomain: pulumi.StringRef(batchContextShapeAvailabilityDomain),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testBatchContextShapes = Oci.Oci.GetBatchBatchContextShapes.Invoke(new()
{
CompartmentId = compartmentId,
AvailabilityDomain = batchContextShapeAvailabilityDomain,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetBatchBatchContextShapesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testBatchContextShapes = OciFunctions.getBatchBatchContextShapes(GetBatchBatchContextShapesArgs.builder()
.compartmentId(compartmentId)
.availabilityDomain(batchContextShapeAvailabilityDomain)
.build());
}
}
variables:
testBatchContextShapes:
fn::invoke:
function: oci:oci:getBatchBatchContextShapes
arguments:
compartmentId: ${compartmentId}
availabilityDomain: ${batchContextShapeAvailabilityDomain}
Using getBatchBatchContextShapes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBatchBatchContextShapes(args: GetBatchBatchContextShapesArgs, opts?: InvokeOptions): Promise<GetBatchBatchContextShapesResult>
function getBatchBatchContextShapesOutput(args: GetBatchBatchContextShapesOutputArgs, opts?: InvokeOptions): Output<GetBatchBatchContextShapesResult>def get_batch_batch_context_shapes(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetBatchBatchContextShapesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetBatchBatchContextShapesResult
def get_batch_batch_context_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBatchBatchContextShapesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBatchBatchContextShapesResult]func GetBatchBatchContextShapes(ctx *Context, args *GetBatchBatchContextShapesArgs, opts ...InvokeOption) (*GetBatchBatchContextShapesResult, error)
func GetBatchBatchContextShapesOutput(ctx *Context, args *GetBatchBatchContextShapesOutputArgs, opts ...InvokeOption) GetBatchBatchContextShapesResultOutput> Note: This function is named GetBatchBatchContextShapes in the Go SDK.
public static class GetBatchBatchContextShapes
{
public static Task<GetBatchBatchContextShapesResult> InvokeAsync(GetBatchBatchContextShapesArgs args, InvokeOptions? opts = null)
public static Output<GetBatchBatchContextShapesResult> Invoke(GetBatchBatchContextShapesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBatchBatchContextShapesResult> getBatchBatchContextShapes(GetBatchBatchContextShapesArgs args, InvokeOptions options)
public static Output<GetBatchBatchContextShapesResult> getBatchBatchContextShapes(GetBatchBatchContextShapesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getBatchBatchContextShapes:getBatchBatchContextShapes
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Availability
Domain string - The name of the availability domain.
- Filters
List<Get
Batch Batch Context Shapes Filter>
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Availability
Domain string - The name of the availability domain.
- Filters
[]Get
Batch Batch Context Shapes Filter
- compartment
Id String - The OCID of the compartment in which to list resources.
- availability
Domain String - The name of the availability domain.
- filters
List<Get
Batch Batch Context Shapes Filter>
- compartment
Id string - The OCID of the compartment in which to list resources.
- availability
Domain string - The name of the availability domain.
- filters
Get
Batch Batch Context Shapes Filter[]
- compartment_
id str - The OCID of the compartment in which to list resources.
- availability_
domain str - The name of the availability domain.
- filters
Sequence[Get
Batch Batch Context Shapes Filter]
- compartment
Id String - The OCID of the compartment in which to list resources.
- availability
Domain String - The name of the availability domain.
- filters List<Property Map>
getBatchBatchContextShapes Result
The following output properties are available:
- Batch
Context List<GetShape Collections Batch Batch Context Shapes Batch Context Shape Collection> - The list of batch_context_shape_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Filters
List<Get
Batch Batch Context Shapes Filter>
- Batch
Context []GetShape Collections Batch Batch Context Shapes Batch Context Shape Collection - The list of batch_context_shape_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Filters
[]Get
Batch Batch Context Shapes Filter
- batch
Context List<GetShape Collections Batch Batch Context Shapes Batch Context Shape Collection> - The list of batch_context_shape_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - filters
List<Get
Batch Batch Context Shapes Filter>
- batch
Context GetShape Collections Batch Batch Context Shapes Batch Context Shape Collection[] - The list of batch_context_shape_collection.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- availability
Domain string - filters
Get
Batch Batch Context Shapes Filter[]
- batch_
context_ Sequence[Getshape_ collections Batch Batch Context Shapes Batch Context Shape Collection] - The list of batch_context_shape_collection.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- availability_
domain str - filters
Sequence[Get
Batch Batch Context Shapes Filter]
- batch
Context List<Property Map>Shape Collections - The list of batch_context_shape_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - filters List<Property Map>
Supporting Types
GetBatchBatchContextShapesBatchContextShapeCollection
- Items
[]Get
Batch Batch Context Shapes Batch Context Shape Collection Item - List of shapes.
- items
Get
Batch Batch Context Shapes Batch Context Shape Collection Item[] - List of shapes.
- items List<Property Map>
- List of shapes.
GetBatchBatchContextShapesBatchContextShapeCollectionItem
- Memory
Options List<GetBatch Batch Context Shapes Batch Context Shape Collection Item Memory Option> - The amount of memory available for container instances that use this shape.
- Name string
- The name identifying the shape.
- Networking
Bandwidth List<GetOptions Batch Batch Context Shapes Batch Context Shape Collection Item Networking Bandwidth Option> - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- Ocpu
Options List<GetBatch Batch Context Shapes Batch Context Shape Collection Item Ocpu Option> - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- Processor
Description string - A short description of the container instance's processor (CPU).
- Memory
Options []GetBatch Batch Context Shapes Batch Context Shape Collection Item Memory Option - The amount of memory available for container instances that use this shape.
- Name string
- The name identifying the shape.
- Networking
Bandwidth []GetOptions Batch Batch Context Shapes Batch Context Shape Collection Item Networking Bandwidth Option - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- Ocpu
Options []GetBatch Batch Context Shapes Batch Context Shape Collection Item Ocpu Option - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- Processor
Description string - A short description of the container instance's processor (CPU).
- memory
Options List<GetBatch Batch Context Shapes Batch Context Shape Collection Item Memory Option> - The amount of memory available for container instances that use this shape.
- name String
- The name identifying the shape.
- networking
Bandwidth List<GetOptions Batch Batch Context Shapes Batch Context Shape Collection Item Networking Bandwidth Option> - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- ocpu
Options List<GetBatch Batch Context Shapes Batch Context Shape Collection Item Ocpu Option> - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- processor
Description String - A short description of the container instance's processor (CPU).
- memory
Options GetBatch Batch Context Shapes Batch Context Shape Collection Item Memory Option[] - The amount of memory available for container instances that use this shape.
- name string
- The name identifying the shape.
- networking
Bandwidth GetOptions Batch Batch Context Shapes Batch Context Shape Collection Item Networking Bandwidth Option[] - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- ocpu
Options GetBatch Batch Context Shapes Batch Context Shape Collection Item Ocpu Option[] - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- processor
Description string - A short description of the container instance's processor (CPU).
- memory_
options Sequence[GetBatch Batch Context Shapes Batch Context Shape Collection Item Memory Option] - The amount of memory available for container instances that use this shape.
- name str
- The name identifying the shape.
- networking_
bandwidth_ Sequence[Getoptions Batch Batch Context Shapes Batch Context Shape Collection Item Networking Bandwidth Option] - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- ocpu_
options Sequence[GetBatch Batch Context Shapes Batch Context Shape Collection Item Ocpu Option] - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- processor_
description str - A short description of the container instance's processor (CPU).
- memory
Options List<Property Map> - The amount of memory available for container instances that use this shape.
- name String
- The name identifying the shape.
- networking
Bandwidth List<Property Map>Options - For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.
- ocpu
Options List<Property Map> - For a flexible shape, the number of OCPUs available for container instances that use this shape.
- processor
Description String - A short description of the container instance's processor (CPU).
GetBatchBatchContextShapesBatchContextShapeCollectionItemMemoryOption
- Default
Per doubleOcpu In Gbs - The default amount of memory per OCPU available for this shape (GB).
- Max
In doubleGbs - The maximum amount of memory (GB).
- Max
Per doubleOcpu In Gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- Min
In doubleGbs - The minimum amount of memory (GB).
- Min
Per doubleOcpu In Gbs - The minimum amount of memory per OCPU available for this shape (GB).
- Default
Per float64Ocpu In Gbs - The default amount of memory per OCPU available for this shape (GB).
- Max
In float64Gbs - The maximum amount of memory (GB).
- Max
Per float64Ocpu In Gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- Min
In float64Gbs - The minimum amount of memory (GB).
- Min
Per float64Ocpu In Gbs - The minimum amount of memory per OCPU available for this shape (GB).
- default
Per DoubleOcpu In Gbs - The default amount of memory per OCPU available for this shape (GB).
- max
In DoubleGbs - The maximum amount of memory (GB).
- max
Per DoubleOcpu In Gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- min
In DoubleGbs - The minimum amount of memory (GB).
- min
Per DoubleOcpu In Gbs - The minimum amount of memory per OCPU available for this shape (GB).
- default
Per numberOcpu In Gbs - The default amount of memory per OCPU available for this shape (GB).
- max
In numberGbs - The maximum amount of memory (GB).
- max
Per numberOcpu In Gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- min
In numberGbs - The minimum amount of memory (GB).
- min
Per numberOcpu In Gbs - The minimum amount of memory per OCPU available for this shape (GB).
- default_
per_ floatocpu_ in_ gbs - The default amount of memory per OCPU available for this shape (GB).
- max_
in_ floatgbs - The maximum amount of memory (GB).
- max_
per_ floatocpu_ in_ gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- min_
in_ floatgbs - The minimum amount of memory (GB).
- min_
per_ floatocpu_ in_ gbs - The minimum amount of memory per OCPU available for this shape (GB).
- default
Per NumberOcpu In Gbs - The default amount of memory per OCPU available for this shape (GB).
- max
In NumberGbs - The maximum amount of memory (GB).
- max
Per NumberOcpu In Gbs - For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- min
In NumberGbs - The minimum amount of memory (GB).
- min
Per NumberOcpu In Gbs - The minimum amount of memory per OCPU available for this shape (GB).
GetBatchBatchContextShapesBatchContextShapeCollectionItemNetworkingBandwidthOption
- Default
Per doubleOcpu In Gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- Max
In doubleGbps - The maximum amount of networking bandwidth, in gigabits per second.
- Min
In doubleGbps - The minimum amount of networking bandwidth, in gigabits per second.
- Default
Per float64Ocpu In Gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- Max
In float64Gbps - The maximum amount of networking bandwidth, in gigabits per second.
- Min
In float64Gbps - The minimum amount of networking bandwidth, in gigabits per second.
- default
Per DoubleOcpu In Gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- max
In DoubleGbps - The maximum amount of networking bandwidth, in gigabits per second.
- min
In DoubleGbps - The minimum amount of networking bandwidth, in gigabits per second.
- default
Per numberOcpu In Gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- max
In numberGbps - The maximum amount of networking bandwidth, in gigabits per second.
- min
In numberGbps - The minimum amount of networking bandwidth, in gigabits per second.
- default_
per_ floatocpu_ in_ gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- max_
in_ floatgbps - The maximum amount of networking bandwidth, in gigabits per second.
- min_
in_ floatgbps - The minimum amount of networking bandwidth, in gigabits per second.
- default
Per NumberOcpu In Gbps - The default amount of networking bandwidth per OCPU, in gigabits per second.
- max
In NumberGbps - The maximum amount of networking bandwidth, in gigabits per second.
- min
In NumberGbps - The minimum amount of networking bandwidth, in gigabits per second.
GetBatchBatchContextShapesBatchContextShapeCollectionItemOcpuOption
GetBatchBatchContextShapesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
