UNPKG

@emailbob/twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

57 lines 2.14 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.getTwingateServiceAccountsOutput = exports.getTwingateServiceAccounts = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Service Accounts offer a way to provide programmatic, centrally-controlled, and consistent access controls. * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateServiceAccounts({ * name: "<your service account's name>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateServiceAccounts(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("twingate:index/getTwingateServiceAccounts:getTwingateServiceAccounts", { "name": args.name, "nameContains": args.nameContains, "nameExclude": args.nameExclude, "namePrefix": args.namePrefix, "nameRegexp": args.nameRegexp, "nameSuffix": args.nameSuffix, }, opts); } exports.getTwingateServiceAccounts = getTwingateServiceAccounts; /** * Service Accounts offer a way to provide programmatic, centrally-controlled, and consistent access controls. * * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateServiceAccounts({ * name: "<your service account's name>", * }); * ``` * <!--End PulumiCodeChooser --> */ function getTwingateServiceAccountsOutput(args, opts) { return pulumi.output(args).apply((a) => getTwingateServiceAccounts(a, opts)); } exports.getTwingateServiceAccountsOutput = getTwingateServiceAccountsOutput; //# sourceMappingURL=getTwingateServiceAccounts.js.map