UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

41 lines 1.43 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.getWorkerPoolsOutput = exports.getWorkerPools = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * `spacelift.getWorkerPools` represents the worker pools assigned to the Spacelift account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const worker-pools = spacelift.getWorkerPools({}); * ``` */ function getWorkerPools(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("spacelift:index/getWorkerPools:getWorkerPools", {}, opts); } exports.getWorkerPools = getWorkerPools; /** * `spacelift.getWorkerPools` represents the worker pools assigned to the Spacelift account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const worker-pools = spacelift.getWorkerPools({}); * ``` */ function getWorkerPoolsOutput(opts) { return pulumi.output(getWorkerPools(opts)); } exports.getWorkerPoolsOutput = getWorkerPoolsOutput; //# sourceMappingURL=getWorkerPools.js.map