UNPKG

@pulumiverse/fortios

Version:

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

139 lines (138 loc) 4.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios firewall policy46 */ export declare function getPolicy46(args: GetPolicy46Args, opts?: pulumi.InvokeOptions): Promise<GetPolicy46Result>; /** * A collection of arguments for invoking getPolicy46. */ export interface GetPolicy46Args { /** * Specify the policyid of the desired firewall policy46. */ policyid: 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 getPolicy46. */ export interface GetPolicy46Result { /** * Accept or deny traffic matching the policy. */ readonly action: string; /** * Comment. */ readonly comments: string; /** * Destination address objects. The structure of `dstaddr` block is documented below. */ readonly dstaddrs: outputs.firewall.GetPolicy46Dstaddr[]; /** * Destination interface name. */ readonly dstintf: string; /** * Enable/disable fixed port for this policy. */ readonly fixedport: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Enable/disable use of IP Pools for source NAT. */ readonly ippool: string; /** * Enable/disable traffic logging for this policy. */ readonly logtraffic: string; /** * Record logs when a session starts and ends. */ readonly logtrafficStart: string; /** * IP pool name. */ readonly name: string; /** * Per IP traffic shaper. */ readonly perIpShaper: string; /** * Enable/disable allowing any host. */ readonly permitAnyHost: string; /** * Policy ID. */ readonly policyid: number; /** * IP Pool names. The structure of `poolname` block is documented below. */ readonly poolnames: outputs.firewall.GetPolicy46Poolname[]; /** * Schedule name. */ readonly schedule: string; /** * Service name. The structure of `service` block is documented below. */ readonly services: outputs.firewall.GetPolicy46Service[]; /** * Source address objects. The structure of `srcaddr` block is documented below. */ readonly srcaddrs: outputs.firewall.GetPolicy46Srcaddr[]; /** * Source interface name. */ readonly srcintf: string; /** * Enable/disable this policy. */ readonly status: string; /** * TCP Maximum Segment Size value of receiver (0 - 65535, default = 0) */ readonly tcpMssReceiver: number; /** * TCP Maximum Segment Size value of sender (0 - 65535, default = 0). */ readonly tcpMssSender: number; /** * Traffic shaper. */ readonly trafficShaper: string; /** * Reverse traffic shaper. */ readonly trafficShaperReverse: string; /** * Universally Unique Identifier (UUID; automatically assigned but can be manually reset). */ readonly uuid: string; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios firewall policy46 */ export declare function getPolicy46Output(args: GetPolicy46OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicy46Result>; /** * A collection of arguments for invoking getPolicy46. */ export interface GetPolicy46OutputArgs { /** * Specify the policyid of the desired firewall policy46. */ policyid: 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>; }