UNPKG

@pulumiverse/fortios

Version:

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

46 lines 1.5 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.getBgpOutput = exports.getBgp = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get information on fortios router bgp * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.router.getBgp({}); * export const output1 = sample1.then(sample1 => sample1.neighbors); * ``` */ function getBgp(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("fortios:router/getBgp:getBgp", { "vdomparam": args.vdomparam, }, opts); } exports.getBgp = getBgp; /** * Use this data source to get information on fortios router bgp * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.router.getBgp({}); * export const output1 = sample1.then(sample1 => sample1.neighbors); * ``` */ function getBgpOutput(args, opts) { return pulumi.output(args).apply((a) => getBgp(a, opts)); } exports.getBgpOutput = getBgpOutput; //# sourceMappingURL=getBgp.js.map