import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about an ACL of a kafka cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const acl = ovh.CloudProjectDatabase.getKafkaAcl({ * serviceName: "XXX", * clusterId: "YYY", * id: "ZZZ", * }); * export const aclPermission = acl.then(acl => acl.permission); * ``` */ export declare function getKafkaAcl(args: GetKafkaAclArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaAcl. */ export interface GetKafkaAclArgs { /** * Cluster ID */ clusterId: string; /** * ACL ID */ id: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getKafkaAcl. */ export interface GetKafkaAclResult { /** * See Argument Reference above. */ readonly clusterId: string; /** * See Argument Reference above. */ readonly id: string; /** * Permission to give to this username on this topic. */ readonly permission: string; /** * See Argument Reference above. */ readonly serviceName: string; /** * Topic affected by this ACL. */ readonly topic: string; /** * Username affected by this ACL. */ readonly username: string; } /** * Use this data source to get information about an ACL of a kafka cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const acl = ovh.CloudProjectDatabase.getKafkaAcl({ * serviceName: "XXX", * clusterId: "YYY", * id: "ZZZ", * }); * export const aclPermission = acl.then(acl => acl.permission); * ``` */ export declare function getKafkaAclOutput(args: GetKafkaAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaAcl. */ export interface GetKafkaAclOutputArgs { /** * Cluster ID */ clusterId: pulumi.Input; /** * ACL ID */ id: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }