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.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios router communitylist */ export declare function getCommunitylist(args: GetCommunitylistArgs, opts?: pulumi.InvokeOptions): Promise<GetCommunitylistResult>; /** * A collection of arguments for invoking getCommunitylist. */ export interface GetCommunitylistArgs { /** * Specify the name of the desired router communitylist. */ 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 getCommunitylist. */ export interface GetCommunitylistResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Community list name. */ readonly name: string; /** * Community list rule. The structure of `rule` block is documented below. */ readonly rules: outputs.router.GetCommunitylistRule[]; /** * Community list type (standard or expanded). */ readonly type: string; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios router communitylist */ export declare function getCommunitylistOutput(args: GetCommunitylistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCommunitylistResult>; /** * A collection of arguments for invoking getCommunitylist. */ export interface GetCommunitylistOutputArgs { /** * Specify the name of the desired router communitylist. */ 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>; }