UNPKG

@emailbob/twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

51 lines 2.01 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.getTwingateUserOutput = exports.getTwingateUser = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Users in Twingate can be given access to Twingate Resources and may either be added manually or automatically synchronized with a 3rd party identity provider. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/users). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateUser({ * id: "<your user's id>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateUser(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("twingate:index/getTwingateUser:getTwingateUser", { "id": args.id, }, opts); } exports.getTwingateUser = getTwingateUser; /** * Users in Twingate can be given access to Twingate Resources and may either be added manually or automatically synchronized with a 3rd party identity provider. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/users). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateUser({ * id: "<your user's id>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateUserOutput(args, opts) { return pulumi.output(args).apply((a) => getTwingateUser(a, opts)); } exports.getTwingateUserOutput = getTwingateUserOutput; //# sourceMappingURL=getTwingateUser.js.map