UNPKG

@emailbob/twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

53 lines 2.35 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.getTwingateRemoteNetworkOutput = exports.getTwingateRemoteNetwork = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * A Remote Network represents a single private network in Twingate that can have one or more Connectors and Resources assigned to it. You must create a Remote Network before creating Resources and Connectors that belong to it. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/remote-networks). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateRemoteNetwork({ * name: "<your network's name>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateRemoteNetwork(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("twingate:index/getTwingateRemoteNetwork:getTwingateRemoteNetwork", { "id": args.id, "name": args.name, }, opts); } exports.getTwingateRemoteNetwork = getTwingateRemoteNetwork; /** * A Remote Network represents a single private network in Twingate that can have one or more Connectors and Resources assigned to it. You must create a Remote Network before creating Resources and Connectors that belong to it. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/remote-networks). * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateRemoteNetwork({ * name: "<your network's name>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateRemoteNetworkOutput(args, opts) { return pulumi.output(args).apply((a) => getTwingateRemoteNetwork(a, opts)); } exports.getTwingateRemoteNetworkOutput = getTwingateRemoteNetworkOutput; //# sourceMappingURL=getTwingateRemoteNetwork.js.map