UNPKG

@pulumiverse/cockroach

Version:

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

54 lines 1.77 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getPersonUserOutput = exports.getPersonUser = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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, * }); * ``` */ function getPersonUser(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("cockroach:index/getPersonUser:getPersonUser", { "email": args.email, }, opts); } exports.getPersonUser = getPersonUser; /** * 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, * }); * ``` */ function getPersonUserOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("cockroach:index/getPersonUser:getPersonUser", { "email": args.email, }, opts); } exports.getPersonUserOutput = getPersonUserOutput; //# sourceMappingURL=getPersonUser.js.map