Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.ContainerEngine.getPodShapes
Explore with Pulumi AI
This data source provides the list of Pod Shapes in Oracle Cloud Infrastructure Container Engine service.
List all the Pod Shapes in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPodShapes = oci.ContainerEngine.getPodShapes({
    compartmentId: compartmentId,
    availabilityDomain: podShapeAvailabilityDomain,
    name: podShapeName,
});
import pulumi
import pulumi_oci as oci
test_pod_shapes = oci.ContainerEngine.get_pod_shapes(compartment_id=compartment_id,
    availability_domain=pod_shape_availability_domain,
    name=pod_shape_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/containerengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerengine.GetPodShapes(ctx, &containerengine.GetPodShapesArgs{
			CompartmentId:      compartmentId,
			AvailabilityDomain: pulumi.StringRef(podShapeAvailabilityDomain),
			Name:               pulumi.StringRef(podShapeName),
		}, 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 testPodShapes = Oci.ContainerEngine.GetPodShapes.Invoke(new()
    {
        CompartmentId = compartmentId,
        AvailabilityDomain = podShapeAvailabilityDomain,
        Name = podShapeName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ContainerEngine.ContainerEngineFunctions;
import com.pulumi.oci.ContainerEngine.inputs.GetPodShapesArgs;
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 testPodShapes = ContainerEngineFunctions.getPodShapes(GetPodShapesArgs.builder()
            .compartmentId(compartmentId)
            .availabilityDomain(podShapeAvailabilityDomain)
            .name(podShapeName)
            .build());
    }
}
variables:
  testPodShapes:
    fn::invoke:
      function: oci:ContainerEngine:getPodShapes
      arguments:
        compartmentId: ${compartmentId}
        availabilityDomain: ${podShapeAvailabilityDomain}
        name: ${podShapeName}
Using getPodShapes
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 getPodShapes(args: GetPodShapesArgs, opts?: InvokeOptions): Promise<GetPodShapesResult>
function getPodShapesOutput(args: GetPodShapesOutputArgs, opts?: InvokeOptions): Output<GetPodShapesResult>def get_pod_shapes(availability_domain: Optional[str] = None,
                   compartment_id: Optional[str] = None,
                   filters: Optional[Sequence[GetPodShapesFilter]] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPodShapesResult
def get_pod_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
                   compartment_id: Optional[pulumi.Input[str]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPodShapesFilterArgs]]]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPodShapesResult]func GetPodShapes(ctx *Context, args *GetPodShapesArgs, opts ...InvokeOption) (*GetPodShapesResult, error)
func GetPodShapesOutput(ctx *Context, args *GetPodShapesOutputArgs, opts ...InvokeOption) GetPodShapesResultOutput> Note: This function is named GetPodShapes in the Go SDK.
public static class GetPodShapes 
{
    public static Task<GetPodShapesResult> InvokeAsync(GetPodShapesArgs args, InvokeOptions? opts = null)
    public static Output<GetPodShapesResult> Invoke(GetPodShapesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPodShapesResult> getPodShapes(GetPodShapesArgs args, InvokeOptions options)
public static Output<GetPodShapesResult> getPodShapes(GetPodShapesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ContainerEngine/getPodShapes:getPodShapes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- AvailabilityDomain string
- The availability domain of the pod shape.
- Filters
List<GetPod Shapes Filter> 
- Name string
- The name to filter on.
- CompartmentId string
- The OCID of the compartment.
- AvailabilityDomain string
- The availability domain of the pod shape.
- Filters
[]GetPod Shapes Filter 
- Name string
- The name to filter on.
- compartmentId String
- The OCID of the compartment.
- availabilityDomain String
- The availability domain of the pod shape.
- filters
List<GetPod Shapes Filter> 
- name String
- The name to filter on.
- compartmentId string
- The OCID of the compartment.
- availabilityDomain string
- The availability domain of the pod shape.
- filters
GetPod Shapes Filter[] 
- name string
- The name to filter on.
- compartment_id str
- The OCID of the compartment.
- availability_domain str
- The availability domain of the pod shape.
- filters
Sequence[GetPod Shapes Filter] 
- name str
- The name to filter on.
- compartmentId String
- The OCID of the compartment.
- availabilityDomain String
- The availability domain of the pod shape.
- filters List<Property Map>
- name String
- The name to filter on.
getPodShapes Result
The following output properties are available:
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- PodShapes List<GetPod Shapes Pod Shape> 
- The list of pod_shapes.
- AvailabilityDomain string
- Filters
List<GetPod Shapes Filter> 
- Name string
- The name of the identifying shape.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- PodShapes []GetPod Shapes Pod Shape 
- The list of pod_shapes.
- AvailabilityDomain string
- Filters
[]GetPod Shapes Filter 
- Name string
- The name of the identifying shape.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- podShapes List<GetPod Shapes Pod Shape> 
- The list of pod_shapes.
- availabilityDomain String
- filters
List<GetPod Shapes Filter> 
- name String
- The name of the identifying shape.
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- podShapes GetPod Shapes Pod Shape[] 
- The list of pod_shapes.
- availabilityDomain string
- filters
GetPod Shapes Filter[] 
- name string
- The name of the identifying shape.
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- pod_shapes Sequence[GetPod Shapes Pod Shape] 
- The list of pod_shapes.
- availability_domain str
- filters
Sequence[GetPod Shapes Filter] 
- name str
- The name of the identifying shape.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- podShapes List<Property Map>
- The list of pod_shapes.
- availabilityDomain String
- filters List<Property Map>
- name String
- The name of the identifying shape.
Supporting Types
GetPodShapesFilter   
GetPodShapesPodShape    
- MemoryOptions List<GetPod Shapes Pod Shape Memory Option> 
- ShapeMemoryOptions.
- Name string
- The name to filter on.
- NetworkBandwidth List<GetOptions Pod Shapes Pod Shape Network Bandwidth Option> 
- ShapeNetworkBandwidthOptions.
- OcpuOptions List<GetPod Shapes Pod Shape Ocpu Option> 
- Options for OCPU shape.
- ProcessorDescription string
- A short description of the VM's processor (CPU).
- MemoryOptions []GetPod Shapes Pod Shape Memory Option 
- ShapeMemoryOptions.
- Name string
- The name to filter on.
- NetworkBandwidth []GetOptions Pod Shapes Pod Shape Network Bandwidth Option 
- ShapeNetworkBandwidthOptions.
- OcpuOptions []GetPod Shapes Pod Shape Ocpu Option 
- Options for OCPU shape.
- ProcessorDescription string
- A short description of the VM's processor (CPU).
- memoryOptions List<GetPod Shapes Pod Shape Memory Option> 
- ShapeMemoryOptions.
- name String
- The name to filter on.
- networkBandwidth List<GetOptions Pod Shapes Pod Shape Network Bandwidth Option> 
- ShapeNetworkBandwidthOptions.
- ocpuOptions List<GetPod Shapes Pod Shape Ocpu Option> 
- Options for OCPU shape.
- processorDescription String
- A short description of the VM's processor (CPU).
- memoryOptions GetPod Shapes Pod Shape Memory Option[] 
- ShapeMemoryOptions.
- name string
- The name to filter on.
- networkBandwidth GetOptions Pod Shapes Pod Shape Network Bandwidth Option[] 
- ShapeNetworkBandwidthOptions.
- ocpuOptions GetPod Shapes Pod Shape Ocpu Option[] 
- Options for OCPU shape.
- processorDescription string
- A short description of the VM's processor (CPU).
- memory_options Sequence[GetPod Shapes Pod Shape Memory Option] 
- ShapeMemoryOptions.
- name str
- The name to filter on.
- network_bandwidth_ Sequence[Getoptions Pod Shapes Pod Shape Network Bandwidth Option] 
- ShapeNetworkBandwidthOptions.
- ocpu_options Sequence[GetPod Shapes Pod Shape Ocpu Option] 
- Options for OCPU shape.
- processor_description str
- A short description of the VM's processor (CPU).
- memoryOptions List<Property Map>
- ShapeMemoryOptions.
- name String
- The name to filter on.
- networkBandwidth List<Property Map>Options 
- ShapeNetworkBandwidthOptions.
- ocpuOptions List<Property Map>
- Options for OCPU shape.
- processorDescription String
- A short description of the VM's processor (CPU).
GetPodShapesPodShapeMemoryOption      
- DefaultPer doubleOcpu In Gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- MaxIn doubleGbs 
- The maximum amount of memory, in gigabytes.
- MaxPer doubleOcpu In Gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- MinIn doubleGbs 
- The minimum amount of memory, in gigabytes.
- MinPer doubleOcpu In Gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
- DefaultPer float64Ocpu In Gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- MaxIn float64Gbs 
- The maximum amount of memory, in gigabytes.
- MaxPer float64Ocpu In Gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- MinIn float64Gbs 
- The minimum amount of memory, in gigabytes.
- MinPer float64Ocpu In Gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
- defaultPer DoubleOcpu In Gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- maxIn DoubleGbs 
- The maximum amount of memory, in gigabytes.
- maxPer DoubleOcpu In Gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- minIn DoubleGbs 
- The minimum amount of memory, in gigabytes.
- minPer DoubleOcpu In Gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
- defaultPer numberOcpu In Gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- maxIn numberGbs 
- The maximum amount of memory, in gigabytes.
- maxPer numberOcpu In Gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- minIn numberGbs 
- The minimum amount of memory, in gigabytes.
- minPer numberOcpu In Gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
- default_per_ floatocpu_ in_ gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- max_in_ floatgbs 
- The maximum amount of memory, in gigabytes.
- max_per_ floatocpu_ in_ gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- min_in_ floatgbs 
- The minimum amount of memory, in gigabytes.
- min_per_ floatocpu_ in_ gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
- defaultPer NumberOcpu In Gbs 
- The default amount of memory per OCPU available for this shape, in gigabytes.
- maxIn NumberGbs 
- The maximum amount of memory, in gigabytes.
- maxPer NumberOcpu In Gbs 
- The maximum amount of memory per OCPU available for this shape, in gigabytes.
- minIn NumberGbs 
- The minimum amount of memory, in gigabytes.
- minPer NumberOcpu In Gbs 
- The minimum amount of memory per OCPU available for this shape, in gigabytes.
GetPodShapesPodShapeNetworkBandwidthOption       
- DefaultPer doubleOcpu In Gbps 
- The default amount of networking bandwidth per OCPU, in gigabits per second.
- MaxIn doubleGbps 
- The maximum amount of networking bandwidth, in gigabits per second.
- MinIn doubleGbps 
- The minimum amount of networking bandwidth, in gigabits per second.
- DefaultPer float64Ocpu In Gbps 
- The default amount of networking bandwidth per OCPU, in gigabits per second.
- MaxIn float64Gbps 
- The maximum amount of networking bandwidth, in gigabits per second.
- MinIn float64Gbps 
- The minimum amount of networking bandwidth, in gigabits per second.
- defaultPer DoubleOcpu In Gbps 
- The default amount of networking bandwidth per OCPU, in gigabits per second.
- maxIn DoubleGbps 
- The maximum amount of networking bandwidth, in gigabits per second.
- minIn DoubleGbps 
- The minimum amount of networking bandwidth, in gigabits per second.
- defaultPer numberOcpu In Gbps 
- The default amount of networking bandwidth per OCPU, in gigabits per second.
- maxIn numberGbps 
- The maximum amount of networking bandwidth, in gigabits per second.
- minIn 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.
- defaultPer NumberOcpu In Gbps 
- The default amount of networking bandwidth per OCPU, in gigabits per second.
- maxIn NumberGbps 
- The maximum amount of networking bandwidth, in gigabits per second.
- minIn NumberGbps 
- The minimum amount of networking bandwidth, in gigabits per second.
GetPodShapesPodShapeOcpuOption      
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.