import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for ClickHouse user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getClickhouseUser({ * project: "my-project", * serviceName: "my-clickhouse", * uuid: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * }); * ``` */ export declare function getClickhouseUser(args: GetClickhouseUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClickhouseUser. */ export interface GetClickhouseUserArgs { /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetClickhouseUserTimeouts; /** * User name. Exactly one of the fields must be specified: `uuid` or `username`. */ username?: string; /** * User identifier. Exactly one of the fields must be specified: `uuid` or `username`. */ uuid?: string; } /** * A collection of values returned by getClickhouseUser. */ export interface GetClickhouseUserResult { /** * Resource ID composed as: `project/service_name/uuid`. */ readonly id: string; /** * The password of the service user (auto-generated if not provided). The field conflicts with `passwordWo`. */ readonly password: string; /** * Project name. */ readonly project: string; /** * Required user. */ readonly required: boolean; /** * Service name. */ readonly serviceName: string; readonly timeouts?: outputs.GetClickhouseUserTimeouts; /** * User name. Exactly one of the fields must be specified: `uuid` or `username`. */ readonly username: string; /** * User identifier. Exactly one of the fields must be specified: `uuid` or `username`. */ readonly uuid: string; } /** * Gets information about an Aiven for ClickHouse user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getClickhouseUser({ * project: "my-project", * serviceName: "my-clickhouse", * uuid: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * }); * ``` */ export declare function getClickhouseUserOutput(args: GetClickhouseUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClickhouseUser. */ export interface GetClickhouseUserOutputArgs { /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * User name. Exactly one of the fields must be specified: `uuid` or `username`. */ username?: pulumi.Input; /** * User identifier. Exactly one of the fields must be specified: `uuid` or `username`. */ uuid?: pulumi.Input; } //# sourceMappingURL=getClickhouseUser.d.ts.map