import * as pulumi from "@pulumi/pulumi"; /** * Gets details of a single User. */ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetUserArgs { clusterId: string; location: string; project?: string; userId: string; } export interface GetUserResult { /** * Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions. */ readonly databaseRoles: string[]; /** * Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. */ readonly name: string; /** * Input only. Password for the user. */ readonly password: string; /** * Optional. Type of this user. */ readonly userType: string; } /** * Gets details of a single User. */ export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetUserOutputArgs { clusterId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; userId: pulumi.Input; }