1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getManagedKafkaKafkaClusterAddons
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi

    This data source provides the list of Kafka Cluster Addons in Oracle Cloud Infrastructure Managed Kafka service.

    Gets a list of KafkaClusterAddons.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testKafkaClusterAddons = oci.oci.getManagedKafkaKafkaClusterAddons({
        kafkaClusterId: testKafkaCluster.id,
        name: kafkaClusterAddonName,
        state: kafkaClusterAddonState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_kafka_cluster_addons = oci.oci.get_managed_kafka_kafka_cluster_addons(kafka_cluster_id=test_kafka_cluster["id"],
        name=kafka_cluster_addon_name,
        state=kafka_cluster_addon_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetManagedKafkaKafkaClusterAddons(ctx, &oci.GetManagedKafkaKafkaClusterAddonsArgs{
    			KafkaClusterId: testKafkaCluster.Id,
    			Name:           pulumi.StringRef(kafkaClusterAddonName),
    			State:          pulumi.StringRef(kafkaClusterAddonState),
    		}, 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 testKafkaClusterAddons = Oci.Oci.GetManagedKafkaKafkaClusterAddons.Invoke(new()
        {
            KafkaClusterId = testKafkaCluster.Id,
            Name = kafkaClusterAddonName,
            State = kafkaClusterAddonState,
        });
    
    });
    
    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.GetManagedKafkaKafkaClusterAddonsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testKafkaClusterAddons = OciFunctions.getManagedKafkaKafkaClusterAddons(GetManagedKafkaKafkaClusterAddonsArgs.builder()
                .kafkaClusterId(testKafkaCluster.id())
                .name(kafkaClusterAddonName)
                .state(kafkaClusterAddonState)
                .build());
    
        }
    }
    
    variables:
      testKafkaClusterAddons:
        fn::invoke:
          function: oci:oci:getManagedKafkaKafkaClusterAddons
          arguments:
            kafkaClusterId: ${testKafkaCluster.id}
            name: ${kafkaClusterAddonName}
            state: ${kafkaClusterAddonState}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getmanagedkafkakafkaclusteraddons" "testKafkaClusterAddons" {
      kafka_cluster_id = testKafkaCluster.id
      name             = kafkaClusterAddonName
      state            = kafkaClusterAddonState
    }
    

    Using getManagedKafkaKafkaClusterAddons

    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 getManagedKafkaKafkaClusterAddons(args: GetManagedKafkaKafkaClusterAddonsArgs, opts?: InvokeOptions): Promise<GetManagedKafkaKafkaClusterAddonsResult>
    function getManagedKafkaKafkaClusterAddonsOutput(args: GetManagedKafkaKafkaClusterAddonsOutputArgs, opts?: InvokeOptions): Output<GetManagedKafkaKafkaClusterAddonsResult>
    def get_managed_kafka_kafka_cluster_addons(filters: Optional[Sequence[GetManagedKafkaKafkaClusterAddonsFilter]] = None,
                                               kafka_cluster_id: Optional[str] = None,
                                               name: Optional[str] = None,
                                               state: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetManagedKafkaKafkaClusterAddonsResult
    def get_managed_kafka_kafka_cluster_addons_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetManagedKafkaKafkaClusterAddonsFilterArgs]]]] = None,
                                               kafka_cluster_id: pulumi.Input[Optional[str]] = None,
                                               name: pulumi.Input[Optional[str]] = None,
                                               state: pulumi.Input[Optional[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetManagedKafkaKafkaClusterAddonsResult]
    func GetManagedKafkaKafkaClusterAddons(ctx *Context, args *GetManagedKafkaKafkaClusterAddonsArgs, opts ...InvokeOption) (*GetManagedKafkaKafkaClusterAddonsResult, error)
    func GetManagedKafkaKafkaClusterAddonsOutput(ctx *Context, args *GetManagedKafkaKafkaClusterAddonsOutputArgs, opts ...InvokeOption) GetManagedKafkaKafkaClusterAddonsResultOutput

    > Note: This function is named GetManagedKafkaKafkaClusterAddons in the Go SDK.

    public static class GetManagedKafkaKafkaClusterAddons 
    {
        public static Task<GetManagedKafkaKafkaClusterAddonsResult> InvokeAsync(GetManagedKafkaKafkaClusterAddonsArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedKafkaKafkaClusterAddonsResult> Invoke(GetManagedKafkaKafkaClusterAddonsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedKafkaKafkaClusterAddonsResult> getManagedKafkaKafkaClusterAddons(GetManagedKafkaKafkaClusterAddonsArgs args, InvokeOptions options)
    public static Output<GetManagedKafkaKafkaClusterAddonsResult> getManagedKafkaKafkaClusterAddons(GetManagedKafkaKafkaClusterAddonsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getManagedKafkaKafkaClusterAddons:getManagedKafkaKafkaClusterAddons
      arguments:
        # arguments dictionary
    data "oci_oci_getmanagedkafkakafkaclusteraddons" "name" {
        # arguments
    }

    The following arguments are supported:

    KafkaClusterId string
    The OCID of the KafkaCluster.
    Filters List<GetManagedKafkaKafkaClusterAddonsFilter>
    Name string
    The name to filter on.
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    KafkaClusterId string
    The OCID of the KafkaCluster.
    Filters []GetManagedKafkaKafkaClusterAddonsFilter
    Name string
    The name to filter on.
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    kafka_cluster_id string
    The OCID of the KafkaCluster.
    filters list(object)
    name string
    The name to filter on.
    state string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    kafkaClusterId String
    The OCID of the KafkaCluster.
    filters List<GetManagedKafkaKafkaClusterAddonsFilter>
    name String
    The name to filter on.
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    kafkaClusterId string
    The OCID of the KafkaCluster.
    filters GetManagedKafkaKafkaClusterAddonsFilter[]
    name string
    The name to filter on.
    state string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    kafka_cluster_id str
    The OCID of the KafkaCluster.
    filters Sequence[GetManagedKafkaKafkaClusterAddonsFilter]
    name str
    The name to filter on.
    state str
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    kafkaClusterId String
    The OCID of the KafkaCluster.
    filters List<Property Map>
    name String
    The name to filter on.
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.

    getManagedKafkaKafkaClusterAddons Result

    The following output properties are available:

    AddonCollections List<GetManagedKafkaKafkaClusterAddonsAddonCollection>
    The list of addon_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    KafkaClusterId string
    Filters List<GetManagedKafkaKafkaClusterAddonsFilter>
    Name string
    A unique user-friendly name.
    State string
    The current state of the KafkaCluster.
    AddonCollections []GetManagedKafkaKafkaClusterAddonsAddonCollection
    The list of addon_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    KafkaClusterId string
    Filters []GetManagedKafkaKafkaClusterAddonsFilter
    Name string
    A unique user-friendly name.
    State string
    The current state of the KafkaCluster.
    addon_collections list(object)
    The list of addon_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    kafka_cluster_id string
    filters list(object)
    name string
    A unique user-friendly name.
    state string
    The current state of the KafkaCluster.
    addonCollections List<GetManagedKafkaKafkaClusterAddonsAddonCollection>
    The list of addon_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    kafkaClusterId String
    filters List<GetManagedKafkaKafkaClusterAddonsFilter>
    name String
    A unique user-friendly name.
    state String
    The current state of the KafkaCluster.
    addonCollections GetManagedKafkaKafkaClusterAddonsAddonCollection[]
    The list of addon_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    kafkaClusterId string
    filters GetManagedKafkaKafkaClusterAddonsFilter[]
    name string
    A unique user-friendly name.
    state string
    The current state of the KafkaCluster.
    addon_collections Sequence[GetManagedKafkaKafkaClusterAddonsAddonCollection]
    The list of addon_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    kafka_cluster_id str
    filters Sequence[GetManagedKafkaKafkaClusterAddonsFilter]
    name str
    A unique user-friendly name.
    state str
    The current state of the KafkaCluster.
    addonCollections List<Property Map>
    The list of addon_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    kafkaClusterId String
    filters List<Property Map>
    name String
    A unique user-friendly name.
    state String
    The current state of the KafkaCluster.

    Supporting Types

    GetManagedKafkaKafkaClusterAddonsAddonCollection

    GetManagedKafkaKafkaClusterAddonsAddonCollectionItem

    AddonType string
    The type of addon
    AuthenticationMechanism string
    Authentication mechanism.
    BootstrapUrl string
    The bootstrap url of the kafka cluster.
    Description string
    Description of the add on
    KafkaClusterId string
    The OCID of the KafkaCluster.
    Name string
    The name to filter on.
    NetworkCidrs List<string>
    A list of CIDR ranges for ingress/egress traffic.
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The time the addon was created.
    TimeUpdated string
    The time the addon was updated.
    AddonType string
    The type of addon
    AuthenticationMechanism string
    Authentication mechanism.
    BootstrapUrl string
    The bootstrap url of the kafka cluster.
    Description string
    Description of the add on
    KafkaClusterId string
    The OCID of the KafkaCluster.
    Name string
    The name to filter on.
    NetworkCidrs []string
    A list of CIDR ranges for ingress/egress traffic.
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The time the addon was created.
    TimeUpdated string
    The time the addon was updated.
    addon_type string
    The type of addon
    authentication_mechanism string
    Authentication mechanism.
    bootstrap_url string
    The bootstrap url of the kafka cluster.
    description string
    Description of the add on
    kafka_cluster_id string
    The OCID of the KafkaCluster.
    name string
    The name to filter on.
    network_cidrs list(string)
    A list of CIDR ranges for ingress/egress traffic.
    state string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    time_created string
    The time the addon was created.
    time_updated string
    The time the addon was updated.
    addonType String
    The type of addon
    authenticationMechanism String
    Authentication mechanism.
    bootstrapUrl String
    The bootstrap url of the kafka cluster.
    description String
    Description of the add on
    kafkaClusterId String
    The OCID of the KafkaCluster.
    name String
    The name to filter on.
    networkCidrs List<String>
    A list of CIDR ranges for ingress/egress traffic.
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated String
    The time the addon was created.
    timeUpdated String
    The time the addon was updated.
    addonType string
    The type of addon
    authenticationMechanism string
    Authentication mechanism.
    bootstrapUrl string
    The bootstrap url of the kafka cluster.
    description string
    Description of the add on
    kafkaClusterId string
    The OCID of the KafkaCluster.
    name string
    The name to filter on.
    networkCidrs string[]
    A list of CIDR ranges for ingress/egress traffic.
    state string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated string
    The time the addon was created.
    timeUpdated string
    The time the addon was updated.
    addon_type str
    The type of addon
    authentication_mechanism str
    Authentication mechanism.
    bootstrap_url str
    The bootstrap url of the kafka cluster.
    description str
    Description of the add on
    kafka_cluster_id str
    The OCID of the KafkaCluster.
    name str
    The name to filter on.
    network_cidrs Sequence[str]
    A list of CIDR ranges for ingress/egress traffic.
    state str
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    time_created str
    The time the addon was created.
    time_updated str
    The time the addon was updated.
    addonType String
    The type of addon
    authenticationMechanism String
    Authentication mechanism.
    bootstrapUrl String
    The bootstrap url of the kafka cluster.
    description String
    Description of the add on
    kafkaClusterId String
    The OCID of the KafkaCluster.
    name String
    The name to filter on.
    networkCidrs List<String>
    A list of CIDR ranges for ingress/egress traffic.
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    timeCreated String
    The time the addon was created.
    timeUpdated String
    The time the addon was updated.

    GetManagedKafkaKafkaClusterAddonsFilter

    Name string
    The name to filter on.
    Values List<string>
    Regex bool
    Name string
    The name to filter on.
    Values []string
    Regex bool
    name string
    The name to filter on.
    values list(string)
    regex bool
    name String
    The name to filter on.
    values List<String>
    regex Boolean
    name string
    The name to filter on.
    values string[]
    regex boolean
    name str
    The name to filter on.
    values Sequence[str]
    regex bool
    name String
    The name to filter on.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial