UNPKG

@pulumiverse/fortios

Version:

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

59 lines (58 loc) 2.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios router prefixlist */ export declare function getPrefixlist(args: GetPrefixlistArgs, opts?: pulumi.InvokeOptions): Promise<GetPrefixlistResult>; /** * A collection of arguments for invoking getPrefixlist. */ export interface GetPrefixlistArgs { /** * Specify the name of the desired router prefixlist. */ name: string; /** * 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 getPrefixlist. */ export interface GetPrefixlistResult { /** * Comment. */ readonly comments: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name. */ readonly name: string; /** * IPv4 prefix list rule. The structure of `rule` block is documented below. */ readonly rules: outputs.router.GetPrefixlistRule[]; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios router prefixlist */ export declare function getPrefixlistOutput(args: GetPrefixlistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrefixlistResult>; /** * A collection of arguments for invoking getPrefixlist. */ export interface GetPrefixlistOutputArgs { /** * Specify the name of the desired router prefixlist. */ name: pulumi.Input<string>; /** * 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>; }