@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
46 lines • 1.54 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.getGlobalOutput = exports.getGlobal = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get information on fortios system global
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.system.getGlobal({});
* export const output1 = sample1.then(sample1 => sample1.hostname);
* ```
*/
function getGlobal(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fortios:system/getGlobal:getGlobal", {
"vdomparam": args.vdomparam,
}, opts);
}
exports.getGlobal = getGlobal;
/**
* Use this data source to get information on fortios system global
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.system.getGlobal({});
* export const output1 = sample1.then(sample1 => sample1.hostname);
* ```
*/
function getGlobalOutput(args, opts) {
return pulumi.output(args).apply((a) => getGlobal(a, opts));
}
exports.getGlobalOutput = getGlobalOutput;
//# sourceMappingURL=getGlobal.js.map
;