UNPKG

@pulumiverse/fortios

Version:

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

163 lines (162 loc) 4.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios router static * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.router.getStatic({ * seqNum: 1, * }); * export const output1 = sample1; * ``` */ export declare function getStatic(args: GetStaticArgs, opts?: pulumi.InvokeOptions): Promise<GetStaticResult>; /** * A collection of arguments for invoking getStatic. */ export interface GetStaticArgs { /** * Specify the seqNum of the desired router static. */ seqNum: number; /** * Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. */ vdomparam?: string; } /** * A collection of values returned by getStatic. */ export interface GetStaticResult { /** * Enable/disable Bidirectional Forwarding Detection (BFD). */ readonly bfd: string; /** * Enable/disable black hole. */ readonly blackhole: string; /** * Optional comments. */ readonly comment: string; /** * Gateway out interface or tunnel. */ readonly device: string; /** * Administrative distance (1 - 255). */ readonly distance: number; /** * Destination IP and mask for this route. */ readonly dst: string; /** * Name of firewall address or address group. */ readonly dstaddr: string; /** * Enable use of dynamic gateway retrieved from a DHCP or PPP server. */ readonly dynamicGateway: string; /** * Gateway IP for this route. */ readonly gateway: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Application ID in the Internet service database. */ readonly internetService: number; /** * Application name in the Internet service custom database. */ readonly internetServiceCustom: string; /** * Enable/disable withdrawing this route when link monitor or health check is down. */ readonly linkMonitorExempt: string; /** * Preferred source IP for this route. */ readonly preferredSource: string; /** * Administrative priority (0 - 4294967295). */ readonly priority: number; /** * Enable/disable egress through SD-WAN. */ readonly sdwan: string; /** * Choose SD-WAN Zone. The structure of `sdwanZone` block is documented below. */ readonly sdwanZones: outputs.router.GetStaticSdwanZone[]; /** * Sequence number. */ readonly seqNum: number; /** * Source prefix for this route. */ readonly src: string; /** * Enable/disable this static route. */ readonly status: string; /** * Route tag. */ readonly tag: number; readonly vdomparam?: string; /** * Enable/disable egress through the virtual-wan-link. */ readonly virtualWanLink: string; /** * Virtual Routing Forwarding ID. */ readonly vrf: number; /** * Administrative weight (0 - 255). */ readonly weight: number; } /** * Use this data source to get information on an fortios router static * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumi/fortios"; * * const sample1 = fortios.router.getStatic({ * seqNum: 1, * }); * export const output1 = sample1; * ``` */ export declare function getStaticOutput(args: GetStaticOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStaticResult>; /** * A collection of arguments for invoking getStatic. */ export interface GetStaticOutputArgs { /** * Specify the seqNum of the desired router static. */ seqNum: pulumi.Input<number>; /** * Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter. */ vdomparam?: pulumi.Input<string>; }