1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getManagedKafkaKafkaClusterAddon
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi

    This data source provides details about a specific Kafka Cluster Addon resource in Oracle Cloud Infrastructure Managed Kafka service.

    Gets information about a KafkaClusterAddon.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testKafkaClusterAddon = oci.oci.getManagedKafkaKafkaClusterAddon({
        addonName: testAddon.name,
        kafkaClusterId: testKafkaCluster.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_kafka_cluster_addon = oci.oci.get_managed_kafka_kafka_cluster_addon(addon_name=test_addon["name"],
        kafka_cluster_id=test_kafka_cluster["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupManagedKafkaKafkaClusterAddon(ctx, &oci.LookupManagedKafkaKafkaClusterAddonArgs{
    			AddonName:      testAddon.Name,
    			KafkaClusterId: testKafkaCluster.Id,
    		}, 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 testKafkaClusterAddon = Oci.Oci.GetManagedKafkaKafkaClusterAddon.Invoke(new()
        {
            AddonName = testAddon.Name,
            KafkaClusterId = testKafkaCluster.Id,
        });
    
    });
    
    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.GetManagedKafkaKafkaClusterAddonArgs;
    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 testKafkaClusterAddon = OciFunctions.getManagedKafkaKafkaClusterAddon(GetManagedKafkaKafkaClusterAddonArgs.builder()
                .addonName(testAddon.get("name"))
                .kafkaClusterId(testKafkaCluster.get("id"))
                .build());
    
        }
    }
    
    variables:
      testKafkaClusterAddon:
        fn::invoke:
          function: oci:oci:getManagedKafkaKafkaClusterAddon
          arguments:
            addonName: ${testAddon.name}
            kafkaClusterId: ${testKafkaCluster.id}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_managed_kafka_kafka_cluster_addon" "testKafkaClusterAddon" {
      addon_name       = testAddon.name
      kafka_cluster_id = testKafkaCluster.id
    }
    

    Using getManagedKafkaKafkaClusterAddon

    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 getManagedKafkaKafkaClusterAddon(args: GetManagedKafkaKafkaClusterAddonArgs, opts?: InvokeOptions): Promise<GetManagedKafkaKafkaClusterAddonResult>
    function getManagedKafkaKafkaClusterAddonOutput(args: GetManagedKafkaKafkaClusterAddonOutputArgs, opts?: InvokeOutputOptions): Output<GetManagedKafkaKafkaClusterAddonResult>
    def get_managed_kafka_kafka_cluster_addon(kafka_cluster_id: Optional[str] = None,
                                              name: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetManagedKafkaKafkaClusterAddonResult
    def get_managed_kafka_kafka_cluster_addon_output(kafka_cluster_id: pulumi.Input[Optional[str]] = None,
                                              name: pulumi.Input[Optional[str]] = None,
                                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetManagedKafkaKafkaClusterAddonResult]
    func LookupManagedKafkaKafkaClusterAddon(ctx *Context, args *LookupManagedKafkaKafkaClusterAddonArgs, opts ...InvokeOption) (*LookupManagedKafkaKafkaClusterAddonResult, error)
    func LookupManagedKafkaKafkaClusterAddonOutput(ctx *Context, args *LookupManagedKafkaKafkaClusterAddonOutputArgs, opts ...InvokeOption) LookupManagedKafkaKafkaClusterAddonResultOutput

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

    public static class GetManagedKafkaKafkaClusterAddon 
    {
        public static Task<GetManagedKafkaKafkaClusterAddonResult> InvokeAsync(GetManagedKafkaKafkaClusterAddonArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedKafkaKafkaClusterAddonResult> Invoke(GetManagedKafkaKafkaClusterAddonInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedKafkaKafkaClusterAddonResult> Invoke(GetManagedKafkaKafkaClusterAddonInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetManagedKafkaKafkaClusterAddonResult> getManagedKafkaKafkaClusterAddon(GetManagedKafkaKafkaClusterAddonArgs args, InvokeOptions options)
    public static Output<GetManagedKafkaKafkaClusterAddonResult> getManagedKafkaKafkaClusterAddon(GetManagedKafkaKafkaClusterAddonArgs args, InvokeOptions options)
    public static Output<GetManagedKafkaKafkaClusterAddonResult> getManagedKafkaKafkaClusterAddon(GetManagedKafkaKafkaClusterAddonArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getManagedKafkaKafkaClusterAddon:getManagedKafkaKafkaClusterAddon
      arguments:
        # arguments dictionary
    data "oci_oci_get_managed_kafka_kafka_cluster_addon" "name" {
        # arguments
    }

    The following arguments are supported:

    KafkaClusterId string
    The OCID of the KafkaCluster.
    Name string
    A unique user-friendly name.
    KafkaClusterId string
    The OCID of the KafkaCluster.
    Name string
    A unique user-friendly name.
    kafka_cluster_id string
    The OCID of the KafkaCluster.
    name string
    A unique user-friendly name.
    kafkaClusterId String
    The OCID of the KafkaCluster.
    name String
    A unique user-friendly name.
    kafkaClusterId string
    The OCID of the KafkaCluster.
    name string
    A unique user-friendly name.
    kafka_cluster_id str
    The OCID of the KafkaCluster.
    name str
    A unique user-friendly name.
    kafkaClusterId String
    The OCID of the KafkaCluster.
    name String
    A unique user-friendly name.

    getManagedKafkaKafkaClusterAddon Result

    The following output properties are available:

    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
    Id string
    KafkaClusterId string
    Name string
    A unique user-friendly name.
    NetworkCidrs List<string>
    A list of CIDR ranges for ingress/egress traffic.
    State string
    The current state of the KafkaCluster.
    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
    Id string
    KafkaClusterId string
    Name string
    A unique user-friendly name.
    NetworkCidrs []string
    A list of CIDR ranges for ingress/egress traffic.
    State string
    The current state of the KafkaCluster.
    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
    id string
    kafka_cluster_id string
    name string
    A unique user-friendly name.
    network_cidrs list(string)
    A list of CIDR ranges for ingress/egress traffic.
    state string
    The current state of the KafkaCluster.
    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
    id String
    kafkaClusterId String
    name String
    A unique user-friendly name.
    networkCidrs List<String>
    A list of CIDR ranges for ingress/egress traffic.
    state String
    The current state of the KafkaCluster.
    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
    id string
    kafkaClusterId string
    name string
    A unique user-friendly name.
    networkCidrs string[]
    A list of CIDR ranges for ingress/egress traffic.
    state string
    The current state of the KafkaCluster.
    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
    id str
    kafka_cluster_id str
    name str
    A unique user-friendly name.
    network_cidrs Sequence[str]
    A list of CIDR ranges for ingress/egress traffic.
    state str
    The current state of the KafkaCluster.
    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
    id String
    kafkaClusterId String
    name String
    A unique user-friendly name.
    networkCidrs List<String>
    A list of CIDR ranges for ingress/egress traffic.
    state String
    The current state of the KafkaCluster.
    timeCreated String
    The time the addon was created.
    timeUpdated String
    The time the addon was updated.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.6.0
    published on Thursday, Nov 5, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial