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 Node Shapes in Oracle Cloud Infrastructure Managed Kafka service.
Returns the list of shapes allowed in the region.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNodeShapes = oci.oci.getManagedKafkaNodeShapes({
compartmentId: compartmentId,
name: nodeShapeName,
});
import pulumi
import pulumi_oci as oci
test_node_shapes = oci.oci.get_managed_kafka_node_shapes(compartment_id=compartment_id,
name=node_shape_name)
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.GetManagedKafkaNodeShapes(ctx, &oci.GetManagedKafkaNodeShapesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
Name: pulumi.StringRef(nodeShapeName),
}, 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 testNodeShapes = Oci.Oci.GetManagedKafkaNodeShapes.Invoke(new()
{
CompartmentId = compartmentId,
Name = nodeShapeName,
});
});
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.GetManagedKafkaNodeShapesArgs;
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 testNodeShapes = OciFunctions.getManagedKafkaNodeShapes(GetManagedKafkaNodeShapesArgs.builder()
.compartmentId(compartmentId)
.name(nodeShapeName)
.build());
}
}
variables:
testNodeShapes:
fn::invoke:
function: oci:oci:getManagedKafkaNodeShapes
arguments:
compartmentId: ${compartmentId}
name: ${nodeShapeName}
Using getManagedKafkaNodeShapes
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 getManagedKafkaNodeShapes(args: GetManagedKafkaNodeShapesArgs, opts?: InvokeOptions): Promise<GetManagedKafkaNodeShapesResult>
function getManagedKafkaNodeShapesOutput(args: GetManagedKafkaNodeShapesOutputArgs, opts?: InvokeOptions): Output<GetManagedKafkaNodeShapesResult>def get_managed_kafka_node_shapes(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetManagedKafkaNodeShapesFilter]] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedKafkaNodeShapesResult
def get_managed_kafka_node_shapes_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagedKafkaNodeShapesFilterArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedKafkaNodeShapesResult]func GetManagedKafkaNodeShapes(ctx *Context, args *GetManagedKafkaNodeShapesArgs, opts ...InvokeOption) (*GetManagedKafkaNodeShapesResult, error)
func GetManagedKafkaNodeShapesOutput(ctx *Context, args *GetManagedKafkaNodeShapesOutputArgs, opts ...InvokeOption) GetManagedKafkaNodeShapesResultOutput> Note: This function is named GetManagedKafkaNodeShapes in the Go SDK.
public static class GetManagedKafkaNodeShapes
{
public static Task<GetManagedKafkaNodeShapesResult> InvokeAsync(GetManagedKafkaNodeShapesArgs args, InvokeOptions? opts = null)
public static Output<GetManagedKafkaNodeShapesResult> Invoke(GetManagedKafkaNodeShapesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedKafkaNodeShapesResult> getManagedKafkaNodeShapes(GetManagedKafkaNodeShapesArgs args, InvokeOptions options)
public static Output<GetManagedKafkaNodeShapesResult> getManagedKafkaNodeShapes(GetManagedKafkaNodeShapesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getManagedKafkaNodeShapes:getManagedKafkaNodeShapes
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
List<Get
Managed Kafka Node Shapes Filter> - Name string
- The name to filter on.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
[]Get
Managed Kafka Node Shapes Filter - Name string
- The name to filter on.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters
List<Get
Managed Kafka Node Shapes Filter> - name String
- The name to filter on.
- compartment
Id string - The OCID of the compartment in which to list resources.
- filters
Get
Managed Kafka Node Shapes Filter[] - name string
- The name to filter on.
- compartment_
id str - The OCID of the compartment in which to list resources.
- filters
Sequence[Get
Managed Kafka Node Shapes Filter] - name str
- The name to filter on.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters List<Property Map>
- name String
- The name to filter on.
getManagedKafkaNodeShapes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Shape List<GetCollections Managed Kafka Node Shapes Node Shape Collection> - The list of node_shape_collection.
- Compartment
Id string - Filters
List<Get
Managed Kafka Node Shapes Filter> - Name string
- The name of the shape
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Shape []GetCollections Managed Kafka Node Shapes Node Shape Collection - The list of node_shape_collection.
- Compartment
Id string - Filters
[]Get
Managed Kafka Node Shapes Filter - Name string
- The name of the shape
- id String
- The provider-assigned unique ID for this managed resource.
- node
Shape List<GetCollections Managed Kafka Node Shapes Node Shape Collection> - The list of node_shape_collection.
- compartment
Id String - filters
List<Get
Managed Kafka Node Shapes Filter> - name String
- The name of the shape
- id string
- The provider-assigned unique ID for this managed resource.
- node
Shape GetCollections Managed Kafka Node Shapes Node Shape Collection[] - The list of node_shape_collection.
- compartment
Id string - filters
Get
Managed Kafka Node Shapes Filter[] - name string
- The name of the shape
- id str
- The provider-assigned unique ID for this managed resource.
- node_
shape_ Sequence[Getcollections Managed Kafka Node Shapes Node Shape Collection] - The list of node_shape_collection.
- compartment_
id str - filters
Sequence[Get
Managed Kafka Node Shapes Filter] - name str
- The name of the shape
- id String
- The provider-assigned unique ID for this managed resource.
- node
Shape List<Property Map>Collections - The list of node_shape_collection.
- compartment
Id String - filters List<Property Map>
- name String
- The name of the shape
Supporting Types
GetManagedKafkaNodeShapesFilter
GetManagedKafkaNodeShapesNodeShapeCollection
- Items
List<Get
Managed Kafka Node Shapes Node Shape Collection Item> - List of NodeShapeSummary.
- Items
[]Get
Managed Kafka Node Shapes Node Shape Collection Item - List of NodeShapeSummary.
- items
List<Get
Managed Kafka Node Shapes Node Shape Collection Item> - List of NodeShapeSummary.
- items
Get
Managed Kafka Node Shapes Node Shape Collection Item[] - List of NodeShapeSummary.
- items
Sequence[Get
Managed Kafka Node Shapes Node Shape Collection Item] - List of NodeShapeSummary.
- items List<Property Map>
- List of NodeShapeSummary.
GetManagedKafkaNodeShapesNodeShapeCollectionItem
- Name string
- The name to filter on.
- Name string
- The name to filter on.
- name String
- The name to filter on.
- name string
- The name to filter on.
- name str
- The name to filter on.
- name String
- The name to filter on.
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
