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.01 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios router accesslist */ export declare function getAccesslist(args: GetAccesslistArgs, opts?: pulumi.InvokeOptions): Promise<GetAccesslistResult>; /** * A collection of arguments for invoking getAccesslist. */ export interface GetAccesslistArgs { /** * Specify the name of the desired router accesslist. */ 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 getAccesslist. */ export interface GetAccesslistResult { /** * Comment. */ readonly comments: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name. */ readonly name: string; /** * Rule. The structure of `rule` block is documented below. */ readonly rules: outputs.router.GetAccesslistRule[]; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios router accesslist */ export declare function getAccesslistOutput(args: GetAccesslistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccesslistResult>; /** * A collection of arguments for invoking getAccesslist. */ export interface GetAccesslistOutputArgs { /** * Specify the name of the desired router accesslist. */ 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>; }