UNPKG

@natzka-oss/pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox cloud resources.

52 lines 1.61 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.getTenantOutput = exports.getTenant = 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 customerA = netbox.tenancy.getTenant({ * name: "Customer A", * }); * ``` */ function getTenant(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("netbox:tenancy/getTenant:getTenant", { "description": args.description, "name": args.name, "slug": args.slug, }, opts); } exports.getTenant = getTenant; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as netbox from "@pulumi/netbox"; * * const customerA = netbox.tenancy.getTenant({ * name: "Customer A", * }); * ``` */ function getTenantOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("netbox:tenancy/getTenant:getTenant", { "description": args.description, "name": args.name, "slug": args.slug, }, opts); } exports.getTenantOutput = getTenantOutput; //# sourceMappingURL=getTenant.js.map