import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for OpenSearch® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOpensearchUser({ * project: "my-project", * serviceName: "my-opensearch", * username: "testuser", * }); * ``` */ export declare function getOpensearchUser(args: GetOpensearchUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpensearchUser. */ export interface GetOpensearchUserArgs { /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetOpensearchUserTimeouts; /** * Account username. */ username: string; } /** * A collection of values returned by getOpensearchUser. */ export interface GetOpensearchUserResult { /** * Resource ID composed as: `project/service_name/username`. */ readonly id: string; /** * The password of the service user (auto-generated if not provided). The field conflicts with `passwordWo`. */ readonly password: string; /** * The password hashing algorithm used for this PostgreSQL user, derived from the stored password hash. 'unknown' is reported when the hash is missing or uses an unrecognised format. The possible values are `md5`, `scram-sha-256` and `unknown`. */ readonly passwordEncryptionType: string; /** * Project name. */ readonly project: string; /** * Service name. */ readonly serviceName: string; readonly timeouts?: outputs.GetOpensearchUserTimeouts; /** * Account type. */ readonly type: string; /** * Account username. */ readonly username: string; } /** * Gets information about an Aiven for OpenSearch® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOpensearchUser({ * project: "my-project", * serviceName: "my-opensearch", * username: "testuser", * }); * ``` */ export declare function getOpensearchUserOutput(args: GetOpensearchUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpensearchUser. */ export interface GetOpensearchUserOutputArgs { /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * Account username. */ username: pulumi.Input; } //# sourceMappingURL=getOpensearchUser.d.ts.map