UNPKG

@twingate/pulumi-twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

50 lines 1.72 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getTwingateGatewayOutput = exports.getTwingateGateway = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gateways are the Twingate components that route traffic to remote networks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@twingate/pulumi-twingate"; * * const example = twingate.getTwingateGateway({ * id: "<your gateway's id>", * }); * ``` */ function getTwingateGateway(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("twingate:index/getTwingateGateway:getTwingateGateway", { "id": args.id, }, opts); } exports.getTwingateGateway = getTwingateGateway; /** * Gateways are the Twingate components that route traffic to remote networks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@twingate/pulumi-twingate"; * * const example = twingate.getTwingateGateway({ * id: "<your gateway's id>", * }); * ``` */ function getTwingateGatewayOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("twingate:index/getTwingateGateway:getTwingateGateway", { "id": args.id, }, opts); } exports.getTwingateGatewayOutput = getTwingateGatewayOutput; //# sourceMappingURL=getTwingateGateway.js.map