@twingate/pulumi-twingate
Version:
A Pulumi package for creating and managing Twingate cloud resources.
32 lines • 1.91 kB
JavaScript
;
// *** 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.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).
*/
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).
*/
function getTwingateRemoteNetworkOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("twingate:index/getTwingateRemoteNetwork:getTwingateRemoteNetwork", {
"id": args.id,
"name": args.name,
}, opts);
}
exports.getTwingateRemoteNetworkOutput = getTwingateRemoteNetworkOutput;
//# sourceMappingURL=getTwingateRemoteNetwork.js.map