1. Packages
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. getKafkaSchemaRegistryAcl
Viewing docs for Aiven v6.55.0
published on Friday, May 22, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v6.55.0
published on Friday, May 22, 2026 by Pulumi

    Gets information about an Aiven for Apache Kafka® Schema Registry ACL entry.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const example = aiven.getKafkaSchemaRegistryAcl({
        project: "my-project",
        serviceName: "my-kafka",
        aclId: "foo",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example = aiven.get_kafka_schema_registry_acl(project="my-project",
        service_name="my-kafka",
        acl_id="foo")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.GetKafkaSchemaRegistryAcl(ctx, &aiven.LookupKafkaSchemaRegistryAclArgs{
    			Project:     "my-project",
    			ServiceName: "my-kafka",
    			AclId:       pulumi.StringRef("foo"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aiven.GetKafkaSchemaRegistryAcl.Invoke(new()
        {
            Project = "my-project",
            ServiceName = "my-kafka",
            AclId = "foo",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.AivenFunctions;
    import com.pulumi.aiven.inputs.GetKafkaSchemaRegistryAclArgs;
    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 example = AivenFunctions.getKafkaSchemaRegistryAcl(GetKafkaSchemaRegistryAclArgs.builder()
                .project("my-project")
                .serviceName("my-kafka")
                .aclId("foo")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aiven:getKafkaSchemaRegistryAcl
          arguments:
            project: my-project
            serviceName: my-kafka
            aclId: foo
    
    pulumi {
      required_providers {
        aiven = {
          source = "pulumi/aiven"
        }
      }
    }
    
    data "aiven_getkafkaschemaregistryacl" "example" {
      project      = "my-project"
      service_name = "my-kafka"
      acl_id       = "foo"
    }
    

    Using getKafkaSchemaRegistryAcl

    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 getKafkaSchemaRegistryAcl(args: GetKafkaSchemaRegistryAclArgs, opts?: InvokeOptions): Promise<GetKafkaSchemaRegistryAclResult>
    function getKafkaSchemaRegistryAclOutput(args: GetKafkaSchemaRegistryAclOutputArgs, opts?: InvokeOptions): Output<GetKafkaSchemaRegistryAclResult>
    def get_kafka_schema_registry_acl(acl_id: Optional[str] = None,
                                      permission: Optional[str] = None,
                                      project: Optional[str] = None,
                                      resource: Optional[str] = None,
                                      service_name: Optional[str] = None,
                                      timeouts: Optional[GetKafkaSchemaRegistryAclTimeouts] = None,
                                      username: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetKafkaSchemaRegistryAclResult
    def get_kafka_schema_registry_acl_output(acl_id: pulumi.Input[Optional[str]] = None,
                                      permission: pulumi.Input[Optional[str]] = None,
                                      project: pulumi.Input[Optional[str]] = None,
                                      resource: pulumi.Input[Optional[str]] = None,
                                      service_name: pulumi.Input[Optional[str]] = None,
                                      timeouts: pulumi.Input[Optional[GetKafkaSchemaRegistryAclTimeoutsArgs]] = None,
                                      username: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetKafkaSchemaRegistryAclResult]
    func LookupKafkaSchemaRegistryAcl(ctx *Context, args *LookupKafkaSchemaRegistryAclArgs, opts ...InvokeOption) (*LookupKafkaSchemaRegistryAclResult, error)
    func LookupKafkaSchemaRegistryAclOutput(ctx *Context, args *LookupKafkaSchemaRegistryAclOutputArgs, opts ...InvokeOption) LookupKafkaSchemaRegistryAclResultOutput

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

    public static class GetKafkaSchemaRegistryAcl 
    {
        public static Task<GetKafkaSchemaRegistryAclResult> InvokeAsync(GetKafkaSchemaRegistryAclArgs args, InvokeOptions? opts = null)
        public static Output<GetKafkaSchemaRegistryAclResult> Invoke(GetKafkaSchemaRegistryAclInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKafkaSchemaRegistryAclResult> getKafkaSchemaRegistryAcl(GetKafkaSchemaRegistryAclArgs args, InvokeOptions options)
    public static Output<GetKafkaSchemaRegistryAclResult> getKafkaSchemaRegistryAcl(GetKafkaSchemaRegistryAclArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aiven:index/getKafkaSchemaRegistryAcl:getKafkaSchemaRegistryAcl
      arguments:
        # arguments dictionary
    data "aiven_getkafkaschemaregistryacl" "name" {
        # arguments
    }

    The following arguments are supported:

    Project string
    Project name.
    ServiceName string
    Service name.
    AclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    Permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    Resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    Timeouts GetKafkaSchemaRegistryAclTimeouts
    Username string
    Username. Provide either aclId, or all of permission, resource and username together.
    Project string
    Project name.
    ServiceName string
    Service name.
    AclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    Permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    Resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    Timeouts GetKafkaSchemaRegistryAclTimeouts
    Username string
    Username. Provide either aclId, or all of permission, resource and username together.
    project string
    Project name.
    service_name string
    Service name.
    acl_id string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    timeouts object
    username string
    Username. Provide either aclId, or all of permission, resource and username together.
    project String
    Project name.
    serviceName String
    Service name.
    aclId String
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    permission String
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    resource String
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    username String
    Username. Provide either aclId, or all of permission, resource and username together.
    project string
    Project name.
    serviceName string
    Service name.
    aclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    username string
    Username. Provide either aclId, or all of permission, resource and username together.
    project str
    Project name.
    service_name str
    Service name.
    acl_id str
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    permission str
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    resource str
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    username str
    Username. Provide either aclId, or all of permission, resource and username together.
    project String
    Project name.
    serviceName String
    Service name.
    aclId String
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    permission String
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    resource String
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    timeouts Property Map
    username String
    Username. Provide either aclId, or all of permission, resource and username together.

    getKafkaSchemaRegistryAcl Result

    The following output properties are available:

    AclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    Id string
    Resource ID composed as: project/service_name/acl_id.
    Permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    Project string
    Project name.
    Resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    ServiceName string
    Service name.
    Username string
    Username. Provide either aclId, or all of permission, resource and username together.
    Timeouts GetKafkaSchemaRegistryAclTimeouts
    AclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    Id string
    Resource ID composed as: project/service_name/acl_id.
    Permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    Project string
    Project name.
    Resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    ServiceName string
    Service name.
    Username string
    Username. Provide either aclId, or all of permission, resource and username together.
    Timeouts GetKafkaSchemaRegistryAclTimeouts
    acl_id string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    id string
    Resource ID composed as: project/service_name/acl_id.
    permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    project string
    Project name.
    resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    service_name string
    Service name.
    username string
    Username. Provide either aclId, or all of permission, resource and username together.
    timeouts object
    aclId String
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    id String
    Resource ID composed as: project/service_name/acl_id.
    permission String
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    project String
    Project name.
    resource String
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    serviceName String
    Service name.
    username String
    Username. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    aclId string
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    id string
    Resource ID composed as: project/service_name/acl_id.
    permission string
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    project string
    Project name.
    resource string
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    serviceName string
    Service name.
    username string
    Username. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    acl_id str
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    id str
    Resource ID composed as: project/service_name/acl_id.
    permission str
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    project str
    Project name.
    resource str
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    service_name str
    Service name.
    username str
    Username. Provide either aclId, or all of permission, resource and username together.
    timeouts GetKafkaSchemaRegistryAclTimeouts
    aclId String
    Kafka Schema Registry ACL ID. Provide either aclId, or all of permission, resource and username together.
    id String
    Resource ID composed as: project/service_name/acl_id.
    permission String
    ACL entry for Schema Registry. The possible values are schemaRegistryRead and schemaRegistryWrite. Provide either aclId, or all of permission, resource and username together.
    project String
    Project name.
    resource String
    Schema Registry ACL entry resource name pattern. Provide either aclId, or all of permission, resource and username together.
    serviceName String
    Service name.
    username String
    Username. Provide either aclId, or all of permission, resource and username together.
    timeouts Property Map

    Supporting Types

    GetKafkaSchemaRegistryAclTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v6.55.0
    published on Friday, May 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial