import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an ACL entry for an Aiven for Apache Kafka® service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getKafkaAcl({ * project: "my-project", * serviceName: "my-kafka", * aclId: "foo", * }); * ``` */ export declare function getKafkaAcl(args: GetKafkaAclArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaAcl. */ export interface GetKafkaAclArgs { /** * Kafka ACL ID. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ aclId?: string; /** * Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are `admin`, `read`, `readwrite` and `write`. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ permission?: string; /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetKafkaAclTimeouts; /** * Topic name pattern. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ topic?: string; /** * Username. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ username?: string; } /** * A collection of values returned by getKafkaAcl. */ export interface GetKafkaAclResult { /** * Kafka ACL ID. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ readonly aclId: string; /** * Resource ID composed as: `project/service_name/acl_id`. */ readonly id: string; /** * Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are `admin`, `read`, `readwrite` and `write`. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ readonly permission: string; /** * Project name. */ readonly project: string; /** * Service name. */ readonly serviceName: string; readonly timeouts?: outputs.GetKafkaAclTimeouts; /** * Topic name pattern. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ readonly topic: string; /** * Username. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ readonly username: string; } /** * Gets information about an ACL entry for an Aiven for Apache Kafka® service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getKafkaAcl({ * project: "my-project", * serviceName: "my-kafka", * aclId: "foo", * }); * ``` */ export declare function getKafkaAclOutput(args: GetKafkaAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaAcl. */ export interface GetKafkaAclOutputArgs { /** * Kafka ACL ID. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ aclId?: pulumi.Input; /** * Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are `admin`, `read`, `readwrite` and `write`. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ permission?: pulumi.Input; /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * Topic name pattern. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ topic?: pulumi.Input; /** * Username. Provide either `aclId`, or all of `permission`, `topic` and `username` together. */ username?: pulumi.Input; } //# sourceMappingURL=getKafkaAcl.d.ts.map