Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.oci.getManagedKafkaKafkaClusterConfigs
This data source provides the list of Kafka Cluster Configs in Oracle Cloud Infrastructure Managed Kafka service.
Gets a list of KafkaClusterConfigs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testKafkaClusterConfigs = oci.oci.getManagedKafkaKafkaClusterConfigs({
compartmentId: compartmentId,
displayName: kafkaClusterConfigDisplayName,
id: kafkaClusterConfigId,
state: kafkaClusterConfigState,
});
import pulumi
import pulumi_oci as oci
test_kafka_cluster_configs = oci.oci.get_managed_kafka_kafka_cluster_configs(compartment_id=compartment_id,
display_name=kafka_cluster_config_display_name,
id=kafka_cluster_config_id,
state=kafka_cluster_config_state)
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.GetManagedKafkaKafkaClusterConfigs(ctx, &oci.GetManagedKafkaKafkaClusterConfigsArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(kafkaClusterConfigDisplayName),
Id: pulumi.StringRef(kafkaClusterConfigId),
State: pulumi.StringRef(kafkaClusterConfigState),
}, 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 testKafkaClusterConfigs = Oci.Oci.GetManagedKafkaKafkaClusterConfigs.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = kafkaClusterConfigDisplayName,
Id = kafkaClusterConfigId,
State = kafkaClusterConfigState,
});
});
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.GetManagedKafkaKafkaClusterConfigsArgs;
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 testKafkaClusterConfigs = OciFunctions.getManagedKafkaKafkaClusterConfigs(GetManagedKafkaKafkaClusterConfigsArgs.builder()
.compartmentId(compartmentId)
.displayName(kafkaClusterConfigDisplayName)
.id(kafkaClusterConfigId)
.state(kafkaClusterConfigState)
.build());
}
}
variables:
testKafkaClusterConfigs:
fn::invoke:
function: oci:oci:getManagedKafkaKafkaClusterConfigs
arguments:
compartmentId: ${compartmentId}
displayName: ${kafkaClusterConfigDisplayName}
id: ${kafkaClusterConfigId}
state: ${kafkaClusterConfigState}
Using getManagedKafkaKafkaClusterConfigs
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 getManagedKafkaKafkaClusterConfigs(args: GetManagedKafkaKafkaClusterConfigsArgs, opts?: InvokeOptions): Promise<GetManagedKafkaKafkaClusterConfigsResult>
function getManagedKafkaKafkaClusterConfigsOutput(args: GetManagedKafkaKafkaClusterConfigsOutputArgs, opts?: InvokeOptions): Output<GetManagedKafkaKafkaClusterConfigsResult>
def get_managed_kafka_kafka_cluster_configs(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetManagedKafkaKafkaClusterConfigsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedKafkaKafkaClusterConfigsResult
def get_managed_kafka_kafka_cluster_configs_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagedKafkaKafkaClusterConfigsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedKafkaKafkaClusterConfigsResult]
func GetManagedKafkaKafkaClusterConfigs(ctx *Context, args *GetManagedKafkaKafkaClusterConfigsArgs, opts ...InvokeOption) (*GetManagedKafkaKafkaClusterConfigsResult, error)
func GetManagedKafkaKafkaClusterConfigsOutput(ctx *Context, args *GetManagedKafkaKafkaClusterConfigsOutputArgs, opts ...InvokeOption) GetManagedKafkaKafkaClusterConfigsResultOutput
> Note: This function is named GetManagedKafkaKafkaClusterConfigs
in the Go SDK.
public static class GetManagedKafkaKafkaClusterConfigs
{
public static Task<GetManagedKafkaKafkaClusterConfigsResult> InvokeAsync(GetManagedKafkaKafkaClusterConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetManagedKafkaKafkaClusterConfigsResult> Invoke(GetManagedKafkaKafkaClusterConfigsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedKafkaKafkaClusterConfigsResult> getManagedKafkaKafkaClusterConfigs(GetManagedKafkaKafkaClusterConfigsArgs args, InvokeOptions options)
public static Output<GetManagedKafkaKafkaClusterConfigsResult> getManagedKafkaKafkaClusterConfigs(GetManagedKafkaKafkaClusterConfigsArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getManagedKafkaKafkaClusterConfigs:getManagedKafkaKafkaClusterConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Managed Kafka Kafka Cluster Configs Filter> - Id string
- The OCID of the KafkaClusterConfig.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Managed Kafka Kafka Cluster Configs Filter - Id string
- The OCID of the KafkaClusterConfig.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Managed Kafka Kafka Cluster Configs Filter> - id String
- The OCID of the KafkaClusterConfig.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Managed Kafka Kafka Cluster Configs Filter[] - id string
- The OCID of the KafkaClusterConfig.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Managed Kafka Kafka Cluster Configs Filter] - id str
- The OCID of the KafkaClusterConfig.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- id String
- The OCID of the KafkaClusterConfig.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getManagedKafkaKafkaClusterConfigs Result
The following output properties are available:
- Kafka
Cluster List<GetConfig Collections Managed Kafka Kafka Cluster Configs Kafka Cluster Config Collection> - The list of kafka_cluster_config_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Managed Kafka Kafka Cluster Configs Filter> - Id string
- The OCID of the KafkaClusterConfig.
- State string
- The current state of the KafkaClusterConfig.
- Kafka
Cluster []GetConfig Collections Managed Kafka Kafka Cluster Configs Kafka Cluster Config Collection - The list of kafka_cluster_config_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Managed Kafka Kafka Cluster Configs Filter - Id string
- The OCID of the KafkaClusterConfig.
- State string
- The current state of the KafkaClusterConfig.
- kafka
Cluster List<GetConfig Collections Managed Kafka Kafka Cluster Configs Kafka Cluster Config Collection> - The list of kafka_cluster_config_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Managed Kafka Kafka Cluster Configs Filter> - id String
- The OCID of the KafkaClusterConfig.
- state String
- The current state of the KafkaClusterConfig.
- kafka
Cluster GetConfig Collections Managed Kafka Kafka Cluster Configs Kafka Cluster Config Collection[] - The list of kafka_cluster_config_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Managed Kafka Kafka Cluster Configs Filter[] - id string
- The OCID of the KafkaClusterConfig.
- state string
- The current state of the KafkaClusterConfig.
- kafka_
cluster_ Sequence[Getconfig_ collections Managed Kafka Kafka Cluster Configs Kafka Cluster Config Collection] - The list of kafka_cluster_config_collection.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Managed Kafka Kafka Cluster Configs Filter] - id str
- The OCID of the KafkaClusterConfig.
- state str
- The current state of the KafkaClusterConfig.
- kafka
Cluster List<Property Map>Config Collections - The list of kafka_cluster_config_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- id String
- The OCID of the KafkaClusterConfig.
- state String
- The current state of the KafkaClusterConfig.
Supporting Types
GetManagedKafkaKafkaClusterConfigsFilter
GetManagedKafkaKafkaClusterConfigsKafkaClusterConfigCollection
GetManagedKafkaKafkaClusterConfigsKafkaClusterConfigCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 KafkaClusterConfig.
- Latest
Configs List<GetManaged Kafka Kafka Cluster Configs Kafka Cluster Config Collection Item Latest Config> - A shared configuration object used by 0 or more kafka clusters.
- Lifecycle
Details string - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 KafkaClusterConfig.
- Latest
Configs []GetManaged Kafka Kafka Cluster Configs Kafka Cluster Config Collection Item Latest Config - A shared configuration object used by 0 or more kafka clusters.
- Lifecycle
Details string - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 KafkaClusterConfig.
- latest
Configs List<GetManaged Kafka Kafka Cluster Configs Kafka Cluster Config Collection Item Latest Config> - A shared configuration object used by 0 or more kafka clusters.
- lifecycle
Details String - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[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 filter to return only resources that match the given display name exactly.
- {[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 KafkaClusterConfig.
- latest
Configs GetManaged Kafka Kafka Cluster Configs Kafka Cluster Config Collection Item Latest Config[] - A shared configuration object used by 0 or more kafka clusters.
- lifecycle
Details string - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated string - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 KafkaClusterConfig.
- latest_
configs Sequence[GetManaged Kafka Kafka Cluster Configs Kafka Cluster Config Collection Item Latest Config] - A shared configuration object used by 0 or more kafka clusters.
- lifecycle_
details str - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time_
updated str - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 KafkaClusterConfig.
- latest
Configs List<Property Map> - A shared configuration object used by 0 or more kafka clusters.
- lifecycle
Details String - A message that describes the current state of the KafkaClusterConfig in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the KafkaClusterConfig was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
GetManagedKafkaKafkaClusterConfigsKafkaClusterConfigCollectionItemLatestConfig
- Config
Id string - ID cluster configuration
- Properties Dictionary<string, string>
- Cluster configuration key-value pairs
- Time
Created string - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Version
Number int - Version of the cluster configuration
- Config
Id string - ID cluster configuration
- Properties map[string]string
- Cluster configuration key-value pairs
- Time
Created string - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Version
Number int - Version of the cluster configuration
- config
Id String - ID cluster configuration
- properties Map<String,String>
- Cluster configuration key-value pairs
- time
Created String - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- version
Number Integer - Version of the cluster configuration
- config
Id string - ID cluster configuration
- properties {[key: string]: string}
- Cluster configuration key-value pairs
- time
Created string - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- version
Number number - Version of the cluster configuration
- config_
id str - ID cluster configuration
- properties Mapping[str, str]
- Cluster configuration key-value pairs
- time_
created str - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- version_
number int - Version of the cluster configuration
- config
Id String - ID cluster configuration
- properties Map<String>
- Cluster configuration key-value pairs
- time
Created String - The date and time the KafkaClusterConfig was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- version
Number Number - Version of the cluster configuration
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.