Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
This data source provides details about a specific Kafka Cluster resource in Oracle Cloud Infrastructure Managed Kafka service.
Gets information about a KafkaCluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testKafkaCluster = oci.oci.getManagedKafkaKafkaCluster({
kafkaClusterId: testKafkaClusterOciManagedKafkaKafkaCluster.id,
});
import pulumi
import pulumi_oci as oci
test_kafka_cluster = oci.oci.get_managed_kafka_kafka_cluster(kafka_cluster_id=test_kafka_cluster_oci_managed_kafka_kafka_cluster["id"])
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.LookupManagedKafkaKafkaCluster(ctx, &oci.LookupManagedKafkaKafkaClusterArgs{
KafkaClusterId: testKafkaClusterOciManagedKafkaKafkaCluster.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 testKafkaCluster = Oci.Oci.GetManagedKafkaKafkaCluster.Invoke(new()
{
KafkaClusterId = testKafkaClusterOciManagedKafkaKafkaCluster.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.GetManagedKafkaKafkaClusterArgs;
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 testKafkaCluster = OciFunctions.getManagedKafkaKafkaCluster(GetManagedKafkaKafkaClusterArgs.builder()
.kafkaClusterId(testKafkaClusterOciManagedKafkaKafkaCluster.id())
.build());
}
}
variables:
testKafkaCluster:
fn::invoke:
function: oci:oci:getManagedKafkaKafkaCluster
arguments:
kafkaClusterId: ${testKafkaClusterOciManagedKafkaKafkaCluster.id}
Using getManagedKafkaKafkaCluster
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 getManagedKafkaKafkaCluster(args: GetManagedKafkaKafkaClusterArgs, opts?: InvokeOptions): Promise<GetManagedKafkaKafkaClusterResult>
function getManagedKafkaKafkaClusterOutput(args: GetManagedKafkaKafkaClusterOutputArgs, opts?: InvokeOptions): Output<GetManagedKafkaKafkaClusterResult>def get_managed_kafka_kafka_cluster(kafka_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedKafkaKafkaClusterResult
def get_managed_kafka_kafka_cluster_output(kafka_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedKafkaKafkaClusterResult]func LookupManagedKafkaKafkaCluster(ctx *Context, args *LookupManagedKafkaKafkaClusterArgs, opts ...InvokeOption) (*LookupManagedKafkaKafkaClusterResult, error)
func LookupManagedKafkaKafkaClusterOutput(ctx *Context, args *LookupManagedKafkaKafkaClusterOutputArgs, opts ...InvokeOption) LookupManagedKafkaKafkaClusterResultOutput> Note: This function is named LookupManagedKafkaKafkaCluster in the Go SDK.
public static class GetManagedKafkaKafkaCluster
{
public static Task<GetManagedKafkaKafkaClusterResult> InvokeAsync(GetManagedKafkaKafkaClusterArgs args, InvokeOptions? opts = null)
public static Output<GetManagedKafkaKafkaClusterResult> Invoke(GetManagedKafkaKafkaClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedKafkaKafkaClusterResult> getManagedKafkaKafkaCluster(GetManagedKafkaKafkaClusterArgs args, InvokeOptions options)
public static Output<GetManagedKafkaKafkaClusterResult> getManagedKafkaKafkaCluster(GetManagedKafkaKafkaClusterArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getManagedKafkaKafkaCluster:getManagedKafkaKafkaCluster
arguments:
# arguments dictionaryThe following arguments are supported:
- Kafka
Cluster stringId - The OCID of the KafkaCluster.
- Kafka
Cluster stringId - The OCID of the KafkaCluster.
- kafka
Cluster StringId - The OCID of the KafkaCluster.
- kafka
Cluster stringId - The OCID of the KafkaCluster.
- kafka_
cluster_ strid - The OCID of the KafkaCluster.
- kafka
Cluster StringId - The OCID of the KafkaCluster.
getManagedKafkaKafkaCluster Result
The following output properties are available:
- Access
Subnets List<GetManaged Kafka Kafka Cluster Access Subnet> - Subnets where broker/coordinator VNICs will be created.
- Broker
Shapes List<GetManaged Kafka Kafka Cluster Broker Shape> - Configuration of the broker node.
- Client
Certificate stringBundle - CA certificate bundle for mTLS broker authentication.
- Cluster
Config stringId - The OCID of Kafka Cluster configuration object
- Cluster
Config intVersion - The version of configuration object
- Cluster
Type string - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- Compartment
Id string - The OCID of the compartment.
- Coordination
Type string - Kafka coordination type. Set of available types depends on Kafka version
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the KafkaCluster.
- Kafka
Bootstrap List<GetUrls Managed Kafka Kafka Cluster Kafka Bootstrap Url> - Bootstrap URL that can be used to connect to Kafka
- Kafka
Cluster stringId - Kafka
Version string - Version of Kafka to use to spin up the cluster
- Lifecycle
Details string - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Secret
Id string - The OCID of the secret that contains superuser password.
- State string
- The current state of the KafkaCluster.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Access
Subnets []GetManaged Kafka Kafka Cluster Access Subnet - Subnets where broker/coordinator VNICs will be created.
- Broker
Shapes []GetManaged Kafka Kafka Cluster Broker Shape - Configuration of the broker node.
- Client
Certificate stringBundle - CA certificate bundle for mTLS broker authentication.
- Cluster
Config stringId - The OCID of Kafka Cluster configuration object
- Cluster
Config intVersion - The version of configuration object
- Cluster
Type string - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- Compartment
Id string - The OCID of the compartment.
- Coordination
Type string - Kafka coordination type. Set of available types depends on Kafka version
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the KafkaCluster.
- Kafka
Bootstrap []GetUrls Managed Kafka Kafka Cluster Kafka Bootstrap Url - Bootstrap URL that can be used to connect to Kafka
- Kafka
Cluster stringId - Kafka
Version string - Version of Kafka to use to spin up the cluster
- Lifecycle
Details string - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Secret
Id string - The OCID of the secret that contains superuser password.
- State string
- The current state of the KafkaCluster.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- access
Subnets List<GetManaged Kafka Kafka Cluster Access Subnet> - Subnets where broker/coordinator VNICs will be created.
- broker
Shapes List<GetManaged Kafka Kafka Cluster Broker Shape> - Configuration of the broker node.
- client
Certificate StringBundle - CA certificate bundle for mTLS broker authentication.
- cluster
Config StringId - The OCID of Kafka Cluster configuration object
- cluster
Config IntegerVersion - The version of configuration object
- cluster
Type String - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- compartment
Id String - The OCID of the compartment.
- coordination
Type String - Kafka coordination type. Set of available types depends on Kafka version
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the KafkaCluster.
- kafka
Bootstrap List<GetUrls Managed Kafka Kafka Cluster Kafka Bootstrap Url> - Bootstrap URL that can be used to connect to Kafka
- kafka
Cluster StringId - kafka
Version String - Version of Kafka to use to spin up the cluster
- lifecycle
Details String - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- secret
Id String - The OCID of the secret that contains superuser password.
- state String
- The current state of the KafkaCluster.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- access
Subnets GetManaged Kafka Kafka Cluster Access Subnet[] - Subnets where broker/coordinator VNICs will be created.
- broker
Shapes GetManaged Kafka Kafka Cluster Broker Shape[] - Configuration of the broker node.
- client
Certificate stringBundle - CA certificate bundle for mTLS broker authentication.
- cluster
Config stringId - The OCID of Kafka Cluster configuration object
- cluster
Config numberVersion - The version of configuration object
- cluster
Type string - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- compartment
Id string - The OCID of the compartment.
- coordination
Type string - Kafka coordination type. Set of available types depends on Kafka version
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the KafkaCluster.
- kafka
Bootstrap GetUrls Managed Kafka Kafka Cluster Kafka Bootstrap Url[] - Bootstrap URL that can be used to connect to Kafka
- kafka
Cluster stringId - kafka
Version string - Version of Kafka to use to spin up the cluster
- lifecycle
Details string - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- secret
Id string - The OCID of the secret that contains superuser password.
- state string
- The current state of the KafkaCluster.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- access_
subnets Sequence[GetManaged Kafka Kafka Cluster Access Subnet] - Subnets where broker/coordinator VNICs will be created.
- broker_
shapes Sequence[GetManaged Kafka Kafka Cluster Broker Shape] - Configuration of the broker node.
- client_
certificate_ strbundle - CA certificate bundle for mTLS broker authentication.
- cluster_
config_ strid - The OCID of Kafka Cluster configuration object
- cluster_
config_ intversion - The version of configuration object
- cluster_
type str - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- compartment_
id str - The OCID of the compartment.
- coordination_
type str - Kafka coordination type. Set of available types depends on Kafka version
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the KafkaCluster.
- kafka_
bootstrap_ Sequence[Geturls Managed Kafka Kafka Cluster Kafka Bootstrap Url] - Bootstrap URL that can be used to connect to Kafka
- kafka_
cluster_ strid - kafka_
version str - Version of Kafka to use to spin up the cluster
- lifecycle_
details str - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- secret_
id str - The OCID of the secret that contains superuser password.
- state str
- The current state of the KafkaCluster.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- access
Subnets List<Property Map> - Subnets where broker/coordinator VNICs will be created.
- broker
Shapes List<Property Map> - Configuration of the broker node.
- client
Certificate StringBundle - CA certificate bundle for mTLS broker authentication.
- cluster
Config StringId - The OCID of Kafka Cluster configuration object
- cluster
Config NumberVersion - The version of configuration object
- cluster
Type String - Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node PRODUCTION - Minimum allowed broker count is 3
- compartment
Id String - The OCID of the compartment.
- coordination
Type String - Kafka coordination type. Set of available types depends on Kafka version
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the KafkaCluster.
- kafka
Bootstrap List<Property Map>Urls - Bootstrap URL that can be used to connect to Kafka
- kafka
Cluster StringId - kafka
Version String - Version of Kafka to use to spin up the cluster
- lifecycle
Details String - A message that describes the current state of the KafkaCluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- secret
Id String - The OCID of the secret that contains superuser password.
- state String
- The current state of the KafkaCluster.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the KafkaCluster was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the KafkaCluster was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetManagedKafkaKafkaClusterAccessSubnet
- Subnets List<string>
- Subnets OCIDs
- Subnets []string
- Subnets OCIDs
- subnets List<String>
- Subnets OCIDs
- subnets string[]
- Subnets OCIDs
- subnets Sequence[str]
- Subnets OCIDs
- subnets List<String>
- Subnets OCIDs
GetManagedKafkaKafkaClusterBrokerShape
- Node
Count int - Number of Kafka broker nodes
- Ocpu
Count int - Number of OCPUs per nodes
- Storage
Size intIn Gbs - Size of the storage per nodes.
- Node
Count int - Number of Kafka broker nodes
- Ocpu
Count int - Number of OCPUs per nodes
- Storage
Size intIn Gbs - Size of the storage per nodes.
- node
Count Integer - Number of Kafka broker nodes
- ocpu
Count Integer - Number of OCPUs per nodes
- storage
Size IntegerIn Gbs - Size of the storage per nodes.
- node
Count number - Number of Kafka broker nodes
- ocpu
Count number - Number of OCPUs per nodes
- storage
Size numberIn Gbs - Size of the storage per nodes.
- node_
count int - Number of Kafka broker nodes
- ocpu_
count int - Number of OCPUs per nodes
- storage_
size_ intin_ gbs - Size of the storage per nodes.
- node
Count Number - Number of Kafka broker nodes
- ocpu
Count Number - Number of OCPUs per nodes
- storage
Size NumberIn Gbs - Size of the storage per nodes.
GetManagedKafkaKafkaClusterKafkaBootstrapUrl
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.12.0 published on Friday, Nov 21, 2025 by Pulumi
