UNPKG

@pulumiverse/cockroach

Version:

A Pulumi package to create and managed Cockroach DB resources in Pulumi programs.

67 lines (66 loc) 1.7 kB
import * as pulumi from "@pulumi/pulumi"; /** * Information about an individual user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cockroach from "@pulumi/cockroach"; * * const config = new pulumi.Config(); * const emailAddress = config.require("emailAddress"); * const cockroach = cockroach.getPersonUser({ * email: emailAddress, * }); * ``` */ export declare function getPersonUser(args: GetPersonUserArgs, opts?: pulumi.InvokeOptions): Promise<GetPersonUserResult>; /** * A collection of arguments for invoking getPersonUser. */ export interface GetPersonUserArgs { /** * Email address used to find the User ID. */ email: string; } /** * A collection of values returned by getPersonUser. */ export interface GetPersonUserResult { /** * Email address used to find the User ID. */ readonly email: string; /** * User ID. */ readonly id: string; } /** * Information about an individual user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cockroach from "@pulumi/cockroach"; * * const config = new pulumi.Config(); * const emailAddress = config.require("emailAddress"); * const cockroach = cockroach.getPersonUser({ * email: emailAddress, * }); * ``` */ export declare function getPersonUserOutput(args: GetPersonUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPersonUserResult>; /** * A collection of arguments for invoking getPersonUser. */ export interface GetPersonUserOutputArgs { /** * Email address used to find the User ID. */ email: pulumi.Input<string>; }