@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
27 lines • 1.08 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.getGenericApiOutput = exports.getGenericApi = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Provides a FortiAPI Generic Interface data source.
*/
function getGenericApi(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fortios:json/getGenericApi:getGenericApi", {
"path": args.path,
"specialparams": args.specialparams,
"vdomparam": args.vdomparam,
}, opts);
}
exports.getGenericApi = getGenericApi;
/**
* Provides a FortiAPI Generic Interface data source.
*/
function getGenericApiOutput(args, opts) {
return pulumi.output(args).apply((a) => getGenericApi(a, opts));
}
exports.getGenericApiOutput = getGenericApiOutput;
//# sourceMappingURL=getGenericApi.js.map
;