import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for Valkey™ service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getValkeyUser({ * project: "my-project", * serviceName: "my-valkey", * username: "testuser", * }); * ``` */ export declare function getValkeyUser(args: GetValkeyUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getValkeyUser. */ export interface GetValkeyUserArgs { /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetValkeyUserTimeouts; /** * Service username. */ username: string; } /** * A collection of values returned by getValkeyUser. */ export interface GetValkeyUserResult { /** * 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.GetValkeyUserTimeouts; /** * Account type. */ readonly type: string; /** * Service username. */ readonly username: string; /** * Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with `valkeyAclCommands` and `valkeyAclKeys`. */ readonly valkeyAclCategories: string[]; /** * Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. */ readonly valkeyAclChannels: string[]; /** * Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with `valkeyAclCategories` and `valkeyAclKeys`. */ readonly valkeyAclCommands: string[]; /** * Key access rules. Entries are defined as standard glob patterns. The field is required with `valkeyAclCategories` and `valkeyAclCommands`. */ readonly valkeyAclKeys: string[]; } /** * Gets information about an Aiven for Valkey™ service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getValkeyUser({ * project: "my-project", * serviceName: "my-valkey", * username: "testuser", * }); * ``` */ export declare function getValkeyUserOutput(args: GetValkeyUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getValkeyUser. */ export interface GetValkeyUserOutputArgs { /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * Service username. */ username: pulumi.Input; } //# sourceMappingURL=getValkeyUser.d.ts.map