UNPKG

@pulumiverse/fortios

Version:

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

131 lines (130 loc) 4.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios firewall centralsnatmap */ export declare function getCentralsnatmap(args: GetCentralsnatmapArgs, opts?: pulumi.InvokeOptions): Promise<GetCentralsnatmapResult>; /** * A collection of arguments for invoking getCentralsnatmap. */ export interface GetCentralsnatmapArgs { /** * Specify the policyid of the desired firewall centralsnatmap. */ 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 getCentralsnatmap. */ export interface GetCentralsnatmapResult { /** * Comment. */ readonly comments: string; /** * IPv6 Destination address. The structure of `dstAddr6` block is documented below. */ readonly dstAddr6s: outputs.firewall.GetCentralsnatmapDstAddr6[]; /** * Destination address name from available addresses. The structure of `dstAddr` block is documented below. */ readonly dstAddrs: outputs.firewall.GetCentralsnatmapDstAddr[]; /** * Destination port or port range (1 to 65535, 0 means any port). */ readonly dstPort: string; /** * Destination interface name from available interfaces. The structure of `dstintf` block is documented below. */ readonly dstintfs: outputs.firewall.GetCentralsnatmapDstintf[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Enable/disable source NAT. */ readonly nat: string; /** * Enable/disable NAT46. */ readonly nat46: string; /** * Enable/disable NAT64. */ readonly nat64: string; /** * IPv6 pools to be used for source NAT. The structure of `natIppool6` block is documented below. */ readonly natIppool6s: outputs.firewall.GetCentralsnatmapNatIppool6[]; /** * Name of the IP pools to be used to translate addresses from available IP Pools. The structure of `natIppool` block is documented below. */ readonly natIppools: outputs.firewall.GetCentralsnatmapNatIppool[]; /** * Translated port or port range (0 to 65535). */ readonly natPort: string; /** * IPv6 Original address. The structure of `origAddr6` block is documented below. */ readonly origAddr6s: outputs.firewall.GetCentralsnatmapOrigAddr6[]; /** * Original address. The structure of `origAddr` block is documented below. */ readonly origAddrs: outputs.firewall.GetCentralsnatmapOrigAddr[]; /** * Original TCP port (0 to 65535). */ readonly origPort: string; /** * Policy ID. */ readonly policyid: number; /** * Enable/disable preservation of the original source port from source NAT if it has not been used. */ readonly portPreserve: string; /** * Integer value for the protocol type (0 - 255). */ readonly protocol: number; /** * Source interface name from available interfaces. The structure of `srcintf` block is documented below. */ readonly srcintfs: outputs.firewall.GetCentralsnatmapSrcintf[]; /** * Enable/disable the active status of this policy. */ readonly status: string; /** * IPv4/IPv6 source NAT. */ readonly type: 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 centralsnatmap */ export declare function getCentralsnatmapOutput(args: GetCentralsnatmapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCentralsnatmapResult>; /** * A collection of arguments for invoking getCentralsnatmap. */ export interface GetCentralsnatmapOutputArgs { /** * Specify the policyid of the desired firewall centralsnatmap. */ 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>; }