@natzka-oss/pulumi-netbox
Version:
A Pulumi package for creating and managing Netbox cloud resources.
34 lines • 1.26 kB
JavaScript
;
// *** 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.getInterfacesOutput = exports.getInterfaces = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* ## Example Usage
*/
function getInterfaces(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("netbox:virt/getInterfaces:getInterfaces", {
"filters": args.filters,
"limit": args.limit,
"nameRegex": args.nameRegex,
}, opts);
}
exports.getInterfaces = getInterfaces;
/**
* ## Example Usage
*/
function getInterfacesOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("netbox:virt/getInterfaces:getInterfaces", {
"filters": args.filters,
"limit": args.limit,
"nameRegex": args.nameRegex,
}, opts);
}
exports.getInterfacesOutput = getInterfacesOutput;
//# sourceMappingURL=getInterfaces.js.map