Confluent v2.49.0 published on Saturday, Oct 25, 2025 by Pulumi
confluentcloud.getKafkaClientQuota
confluentcloud.KafkaClientQuota describes a Kafka Client Quota.
Note: See Control application usage with Client Quotas for more details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
export = async () => {
    const example = await confluentcloud.getKafkaClientQuota({
        id: "cq-abc123",
    });
    return {
        example: example,
    };
}
import pulumi
import pulumi_confluentcloud as confluentcloud
example = confluentcloud.get_kafka_client_quota(id="cq-abc123")
pulumi.export("example", example)
package main
import (
	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := confluentcloud.LookupKafkaClientQuota(ctx, &confluentcloud.LookupKafkaClientQuotaArgs{
			Id: "cq-abc123",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("example", example)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() => 
{
    var example = ConfluentCloud.GetKafkaClientQuota.Invoke(new()
    {
        Id = "cq-abc123",
    });
    return new Dictionary<string, object?>
    {
        ["example"] = example,
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetKafkaClientQuotaArgs;
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 example = ConfluentcloudFunctions.getKafkaClientQuota(GetKafkaClientQuotaArgs.builder()
            .id("cq-abc123")
            .build());
        ctx.export("example", example);
    }
}
variables:
  example:
    fn::invoke:
      function: confluentcloud:getKafkaClientQuota
      arguments:
        id: cq-abc123
outputs:
  example: ${example}
Using getKafkaClientQuota
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 getKafkaClientQuota(args: GetKafkaClientQuotaArgs, opts?: InvokeOptions): Promise<GetKafkaClientQuotaResult>
function getKafkaClientQuotaOutput(args: GetKafkaClientQuotaOutputArgs, opts?: InvokeOptions): Output<GetKafkaClientQuotaResult>def get_kafka_client_quota(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKafkaClientQuotaResult
def get_kafka_client_quota_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKafkaClientQuotaResult]func LookupKafkaClientQuota(ctx *Context, args *LookupKafkaClientQuotaArgs, opts ...InvokeOption) (*LookupKafkaClientQuotaResult, error)
func LookupKafkaClientQuotaOutput(ctx *Context, args *LookupKafkaClientQuotaOutputArgs, opts ...InvokeOption) LookupKafkaClientQuotaResultOutput> Note: This function is named LookupKafkaClientQuota in the Go SDK.
public static class GetKafkaClientQuota 
{
    public static Task<GetKafkaClientQuotaResult> InvokeAsync(GetKafkaClientQuotaArgs args, InvokeOptions? opts = null)
    public static Output<GetKafkaClientQuotaResult> Invoke(GetKafkaClientQuotaInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKafkaClientQuotaResult> getKafkaClientQuota(GetKafkaClientQuotaArgs args, InvokeOptions options)
public static Output<GetKafkaClientQuotaResult> getKafkaClientQuota(GetKafkaClientQuotaArgs args, InvokeOptions options)
fn::invoke:
  function: confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id str
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
getKafkaClientQuota Result
The following output properties are available:
- Description string
 - (Required String) The description of the Kafka Client Quota.
 - Display
Name string - (Required String) The name of the Kafka Client Quota.
 - Environments
List<Pulumi.
Confluent Cloud. Outputs. Get Kafka Client Quota Environment>  - (Required Configuration Block) supports the following:
 - Id string
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - Kafka
Clusters List<Pulumi.Confluent Cloud. Outputs. Get Kafka Client Quota Kafka Cluster>  - (Required Configuration Block) supports the following:
 - Principals List<string>
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - Throughputs
List<Pulumi.
Confluent Cloud. Outputs. Get Kafka Client Quota Throughput>  - (Required Configuration Block) supports the following:
 
- Description string
 - (Required String) The description of the Kafka Client Quota.
 - Display
Name string - (Required String) The name of the Kafka Client Quota.
 - Environments
[]Get
Kafka Client Quota Environment  - (Required Configuration Block) supports the following:
 - Id string
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - Kafka
Clusters []GetKafka Client Quota Kafka Cluster  - (Required Configuration Block) supports the following:
 - Principals []string
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - Throughputs
[]Get
Kafka Client Quota Throughput  - (Required Configuration Block) supports the following:
 
- description String
 - (Required String) The description of the Kafka Client Quota.
 - display
Name String - (Required String) The name of the Kafka Client Quota.
 - environments
List<Get
Kafka Client Quota Environment>  - (Required Configuration Block) supports the following:
 - id String
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - kafka
Clusters List<GetKafka Client Quota Kafka Cluster>  - (Required Configuration Block) supports the following:
 - principals List<String>
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - throughputs
List<Get
Kafka Client Quota Throughput>  - (Required Configuration Block) supports the following:
 
- description string
 - (Required String) The description of the Kafka Client Quota.
 - display
Name string - (Required String) The name of the Kafka Client Quota.
 - environments
Get
Kafka Client Quota Environment[]  - (Required Configuration Block) supports the following:
 - id string
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - kafka
Clusters GetKafka Client Quota Kafka Cluster[]  - (Required Configuration Block) supports the following:
 - principals string[]
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - throughputs
Get
Kafka Client Quota Throughput[]  - (Required Configuration Block) supports the following:
 
- description str
 - (Required String) The description of the Kafka Client Quota.
 - display_
name str - (Required String) The name of the Kafka Client Quota.
 - environments
Sequence[Get
Kafka Client Quota Environment]  - (Required Configuration Block) supports the following:
 - id str
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - kafka_
clusters Sequence[GetKafka Client Quota Kafka Cluster]  - (Required Configuration Block) supports the following:
 - principals Sequence[str]
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - throughputs
Sequence[Get
Kafka Client Quota Throughput]  - (Required Configuration Block) supports the following:
 
- description String
 - (Required String) The description of the Kafka Client Quota.
 - display
Name String - (Required String) The name of the Kafka Client Quota.
 - environments List<Property Map>
 - (Required Configuration Block) supports the following:
 - id String
 - (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, 
env-abc123. - kafka
Clusters List<Property Map> - (Required Configuration Block) supports the following:
 - principals List<String>
 - (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, 
"<default>", to represent the default quota for all users and service accounts. - throughputs List<Property Map>
 - (Required Configuration Block) supports the following:
 
Supporting Types
GetKafkaClientQuotaEnvironment    
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id str
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
GetKafkaClientQuotaKafkaCluster     
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- Id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id string
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id str
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
- id String
 - The ID of the Kafka Client Quota (for example, 
cq-abc123). 
GetKafkaClientQuotaThroughput    
- Egress
Byte stringRate  - (Required String) The egress throughput limit in bytes per second.
 - Ingress
Byte stringRate  - (Required String) The ingress throughput limit in bytes per second.
 
- Egress
Byte stringRate  - (Required String) The egress throughput limit in bytes per second.
 - Ingress
Byte stringRate  - (Required String) The ingress throughput limit in bytes per second.
 
- egress
Byte StringRate  - (Required String) The egress throughput limit in bytes per second.
 - ingress
Byte StringRate  - (Required String) The ingress throughput limit in bytes per second.
 
- egress
Byte stringRate  - (Required String) The egress throughput limit in bytes per second.
 - ingress
Byte stringRate  - (Required String) The ingress throughput limit in bytes per second.
 
- egress_
byte_ strrate  - (Required String) The egress throughput limit in bytes per second.
 - ingress_
byte_ strrate  - (Required String) The ingress throughput limit in bytes per second.
 
- egress
Byte StringRate  - (Required String) The egress throughput limit in bytes per second.
 - ingress
Byte StringRate  - (Required String) The ingress throughput limit in bytes per second.
 
Package Details
- Repository
 - Confluent Cloud pulumi/pulumi-confluentcloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
confluentTerraform Provider. 
