UNPKG

pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox resources.

34 lines 1.17 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.getClusterGroupOutput = exports.getClusterGroup = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as netbox from "@pulumi/netbox"; * * const dcWest = pulumi.output(netbox.getClusterGroup({ * name: "dc-west", * })); * ``` */ function getClusterGroup(args, opts) { if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("netbox:index/getClusterGroup:getClusterGroup", { "name": args.name, }, opts); } exports.getClusterGroup = getClusterGroup; function getClusterGroupOutput(args, opts) { return pulumi.output(args).apply(a => getClusterGroup(a, opts)); } exports.getClusterGroupOutput = getClusterGroupOutput; //# sourceMappingURL=getClusterGroup.js.map