UNPKG

pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox resources.

34 lines 1.12 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.getPlatformOutput = exports.getPlatform = 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 pANOS = pulumi.output(netbox.getPlatform({ * name: "PANOS", * })); * ``` */ function getPlatform(args, opts) { if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("netbox:index/getPlatform:getPlatform", { "name": args.name, }, opts); } exports.getPlatform = getPlatform; function getPlatformOutput(args, opts) { return pulumi.output(args).apply(a => getPlatform(a, opts)); } exports.getPlatformOutput = getPlatformOutput; //# sourceMappingURL=getPlatform.js.map