import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a schema registry 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 schemaRegistryAcl = ovh.CloudProjectDatabase.getKafkaSchemaRegistryAcl({ * serviceName: "XXX", * clusterId: "YYY", * id: "ZZZ", * }); * export const aclPermission = schemaRegistryAcl.then(schemaRegistryAcl => schemaRegistryAcl.permission); * ``` */ export declare function getKafkaSchemaRegistryAcl(args: GetKafkaSchemaRegistryAclArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaSchemaRegistryAcl. */ export interface GetKafkaSchemaRegistryAclArgs { /** * Cluster ID */ clusterId: string; /** * Schema registry 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 getKafkaSchemaRegistryAcl. */ export interface GetKafkaSchemaRegistryAclResult { /** * 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; /** * Resource affected by this ACL. */ readonly resource: string; /** * See Argument Reference above. */ readonly serviceName: string; /** * Username affected by this ACL. */ readonly username: string; } /** * Use this data source to get information about a schema registry 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 schemaRegistryAcl = ovh.CloudProjectDatabase.getKafkaSchemaRegistryAcl({ * serviceName: "XXX", * clusterId: "YYY", * id: "ZZZ", * }); * export const aclPermission = schemaRegistryAcl.then(schemaRegistryAcl => schemaRegistryAcl.permission); * ``` */ export declare function getKafkaSchemaRegistryAclOutput(args: GetKafkaSchemaRegistryAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaSchemaRegistryAcl. */ export interface GetKafkaSchemaRegistryAclOutputArgs { /** * Cluster ID */ clusterId: pulumi.Input; /** * Schema registry 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; }