UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

51 lines 1.72 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.getInterfacelistOutput = exports.getInterfacelist = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides a list of `fortios.system.Interface`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.system.getInterfacelist({ * filter: "name!=port1", * }); * export const output1 = data.fortios_system_interfacelist.sample2.namelist; * ``` */ function getInterfacelist(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("fortios:system/getInterfacelist:getInterfacelist", { "filter": args.filter, "vdomparam": args.vdomparam, }, opts); } exports.getInterfacelist = getInterfacelist; /** * Provides a list of `fortios.system.Interface`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.system.getInterfacelist({ * filter: "name!=port1", * }); * export const output1 = data.fortios_system_interfacelist.sample2.namelist; * ``` */ function getInterfacelistOutput(args, opts) { return pulumi.output(args).apply((a) => getInterfacelist(a, opts)); } exports.getInterfacelistOutput = getInterfacelistOutput; //# sourceMappingURL=getInterfacelist.js.map