import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for MySQL® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getMysqlUser({ * project: "my-project", * serviceName: "my-mysql", * username: "testuser", * }); * ``` */ export declare function getMysqlUser(args: GetMysqlUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMysqlUser. */ export interface GetMysqlUserArgs { /** * Project name. */ project: string; /** * The name of the MySQL® service user. */ serviceName: string; timeouts?: inputs.GetMysqlUserTimeouts; /** * The name of the MySQL® service user. */ username: string; } /** * A collection of values returned by getMysqlUser. */ export interface GetMysqlUserResult { /** * Access certificate for TLS client authentication. */ readonly accessCert: string; /** * Access key for TLS client authentication. */ readonly accessKey: string; /** * Service specific authentication details. Currently only used for MySQL where accepted options are 'mysql*native*password' and 'caching*sha2*password', latter being default when this is not explicitly set. The possible values are `cachingSha2Password` and `mysqlNativePassword`. */ readonly authentication: string; /** * 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; /** * The name of the MySQL® service user. */ readonly serviceName: string; readonly timeouts?: outputs.GetMysqlUserTimeouts; /** * User account type, such as primary or regular account. */ readonly type: string; /** * The name of the MySQL® service user. */ readonly username: string; } /** * Gets information about an Aiven for MySQL® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getMysqlUser({ * project: "my-project", * serviceName: "my-mysql", * username: "testuser", * }); * ``` */ export declare function getMysqlUserOutput(args: GetMysqlUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMysqlUser. */ export interface GetMysqlUserOutputArgs { /** * Project name. */ project: pulumi.Input; /** * The name of the MySQL® service user. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * The name of the MySQL® service user. */ username: pulumi.Input; } //# sourceMappingURL=getMysqlUser.d.ts.map