1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. Centralsnatmap
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall.Centralsnatmap

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure central SNAT policies.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Centralsnatmap("trname", {
        dstAddrs: [{
            name: "all",
        }],
        dstintfs: [{
            name: "port3",
        }],
        nat: "enable",
        natPort: "0",
        origAddrs: [{
            name: "all",
        }],
        origPort: "0",
        policyid: 1,
        protocol: 33,
        srcintfs: [{
            name: "port1",
        }],
        status: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Centralsnatmap("trname",
        dst_addrs=[fortios.firewall.CentralsnatmapDstAddrArgs(
            name="all",
        )],
        dstintfs=[fortios.firewall.CentralsnatmapDstintfArgs(
            name="port3",
        )],
        nat="enable",
        nat_port="0",
        orig_addrs=[fortios.firewall.CentralsnatmapOrigAddrArgs(
            name="all",
        )],
        orig_port="0",
        policyid=1,
        protocol=33,
        srcintfs=[fortios.firewall.CentralsnatmapSrcintfArgs(
            name="port1",
        )],
        status="enable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firewall.NewCentralsnatmap(ctx, "trname", &firewall.CentralsnatmapArgs{
    			DstAddrs: firewall.CentralsnatmapDstAddrArray{
    				&firewall.CentralsnatmapDstAddrArgs{
    					Name: pulumi.String("all"),
    				},
    			},
    			Dstintfs: firewall.CentralsnatmapDstintfArray{
    				&firewall.CentralsnatmapDstintfArgs{
    					Name: pulumi.String("port3"),
    				},
    			},
    			Nat:     pulumi.String("enable"),
    			NatPort: pulumi.String("0"),
    			OrigAddrs: firewall.CentralsnatmapOrigAddrArray{
    				&firewall.CentralsnatmapOrigAddrArgs{
    					Name: pulumi.String("all"),
    				},
    			},
    			OrigPort: pulumi.String("0"),
    			Policyid: pulumi.Int(1),
    			Protocol: pulumi.Int(33),
    			Srcintfs: firewall.CentralsnatmapSrcintfArray{
    				&firewall.CentralsnatmapSrcintfArgs{
    					Name: pulumi.String("port1"),
    				},
    			},
    			Status: pulumi.String("enable"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Firewall.Centralsnatmap("trname", new()
        {
            DstAddrs = new[]
            {
                new Fortios.Firewall.Inputs.CentralsnatmapDstAddrArgs
                {
                    Name = "all",
                },
            },
            Dstintfs = new[]
            {
                new Fortios.Firewall.Inputs.CentralsnatmapDstintfArgs
                {
                    Name = "port3",
                },
            },
            Nat = "enable",
            NatPort = "0",
            OrigAddrs = new[]
            {
                new Fortios.Firewall.Inputs.CentralsnatmapOrigAddrArgs
                {
                    Name = "all",
                },
            },
            OrigPort = "0",
            Policyid = 1,
            Protocol = 33,
            Srcintfs = new[]
            {
                new Fortios.Firewall.Inputs.CentralsnatmapSrcintfArgs
                {
                    Name = "port1",
                },
            },
            Status = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Centralsnatmap;
    import com.pulumi.fortios.firewall.CentralsnatmapArgs;
    import com.pulumi.fortios.firewall.inputs.CentralsnatmapDstAddrArgs;
    import com.pulumi.fortios.firewall.inputs.CentralsnatmapDstintfArgs;
    import com.pulumi.fortios.firewall.inputs.CentralsnatmapOrigAddrArgs;
    import com.pulumi.fortios.firewall.inputs.CentralsnatmapSrcintfArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var trname = new Centralsnatmap("trname", CentralsnatmapArgs.builder()
                .dstAddrs(CentralsnatmapDstAddrArgs.builder()
                    .name("all")
                    .build())
                .dstintfs(CentralsnatmapDstintfArgs.builder()
                    .name("port3")
                    .build())
                .nat("enable")
                .natPort("0")
                .origAddrs(CentralsnatmapOrigAddrArgs.builder()
                    .name("all")
                    .build())
                .origPort("0")
                .policyid(1)
                .protocol(33)
                .srcintfs(CentralsnatmapSrcintfArgs.builder()
                    .name("port1")
                    .build())
                .status("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Centralsnatmap
        properties:
          dstAddrs:
            - name: all
          dstintfs:
            - name: port3
          nat: enable
          natPort: '0'
          origAddrs:
            - name: all
          origPort: '0'
          policyid: 1
          protocol: 33
          srcintfs:
            - name: port1
          status: enable
    

    Create Centralsnatmap Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Centralsnatmap(name: string, args: CentralsnatmapArgs, opts?: CustomResourceOptions);
    @overload
    def Centralsnatmap(resource_name: str,
                       args: CentralsnatmapArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Centralsnatmap(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       nat: Optional[str] = None,
                       srcintfs: Optional[Sequence[CentralsnatmapSrcintfArgs]] = None,
                       dst_addrs: Optional[Sequence[CentralsnatmapDstAddrArgs]] = None,
                       protocol: Optional[int] = None,
                       dstintfs: Optional[Sequence[CentralsnatmapDstintfArgs]] = None,
                       orig_port: Optional[str] = None,
                       orig_addrs: Optional[Sequence[CentralsnatmapOrigAddrArgs]] = None,
                       get_all_tables: Optional[str] = None,
                       policyid: Optional[int] = None,
                       nat64: Optional[str] = None,
                       nat_ippool6s: Optional[Sequence[CentralsnatmapNatIppool6Args]] = None,
                       nat_ippools: Optional[Sequence[CentralsnatmapNatIppoolArgs]] = None,
                       nat_port: Optional[str] = None,
                       orig_addr6s: Optional[Sequence[CentralsnatmapOrigAddr6Args]] = None,
                       comments: Optional[str] = None,
                       dynamic_sort_subtable: Optional[str] = None,
                       nat46: Optional[str] = None,
                       port_preserve: Optional[str] = None,
                       dst_port: Optional[str] = None,
                       dst_addr6s: Optional[Sequence[CentralsnatmapDstAddr6Args]] = None,
                       status: Optional[str] = None,
                       type: Optional[str] = None,
                       uuid: Optional[str] = None,
                       vdomparam: Optional[str] = None)
    func NewCentralsnatmap(ctx *Context, name string, args CentralsnatmapArgs, opts ...ResourceOption) (*Centralsnatmap, error)
    public Centralsnatmap(string name, CentralsnatmapArgs args, CustomResourceOptions? opts = null)
    public Centralsnatmap(String name, CentralsnatmapArgs args)
    public Centralsnatmap(String name, CentralsnatmapArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Centralsnatmap
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CentralsnatmapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CentralsnatmapArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CentralsnatmapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CentralsnatmapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CentralsnatmapArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var centralsnatmapResource = new Fortios.Firewall.Centralsnatmap("centralsnatmapResource", new()
    {
        Nat = "string",
        Srcintfs = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapSrcintfArgs
            {
                Name = "string",
            },
        },
        DstAddrs = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapDstAddrArgs
            {
                Name = "string",
            },
        },
        Protocol = 0,
        Dstintfs = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapDstintfArgs
            {
                Name = "string",
            },
        },
        OrigPort = "string",
        OrigAddrs = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapOrigAddrArgs
            {
                Name = "string",
            },
        },
        GetAllTables = "string",
        Policyid = 0,
        Nat64 = "string",
        NatIppool6s = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapNatIppool6Args
            {
                Name = "string",
            },
        },
        NatIppools = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapNatIppoolArgs
            {
                Name = "string",
            },
        },
        NatPort = "string",
        OrigAddr6s = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapOrigAddr6Args
            {
                Name = "string",
            },
        },
        Comments = "string",
        DynamicSortSubtable = "string",
        Nat46 = "string",
        PortPreserve = "string",
        DstPort = "string",
        DstAddr6s = new[]
        {
            new Fortios.Firewall.Inputs.CentralsnatmapDstAddr6Args
            {
                Name = "string",
            },
        },
        Status = "string",
        Type = "string",
        Uuid = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewCentralsnatmap(ctx, "centralsnatmapResource", &firewall.CentralsnatmapArgs{
    	Nat: pulumi.String("string"),
    	Srcintfs: firewall.CentralsnatmapSrcintfArray{
    		&firewall.CentralsnatmapSrcintfArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	DstAddrs: firewall.CentralsnatmapDstAddrArray{
    		&firewall.CentralsnatmapDstAddrArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Protocol: pulumi.Int(0),
    	Dstintfs: firewall.CentralsnatmapDstintfArray{
    		&firewall.CentralsnatmapDstintfArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	OrigPort: pulumi.String("string"),
    	OrigAddrs: firewall.CentralsnatmapOrigAddrArray{
    		&firewall.CentralsnatmapOrigAddrArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	GetAllTables: pulumi.String("string"),
    	Policyid:     pulumi.Int(0),
    	Nat64:        pulumi.String("string"),
    	NatIppool6s: firewall.CentralsnatmapNatIppool6Array{
    		&firewall.CentralsnatmapNatIppool6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	NatIppools: firewall.CentralsnatmapNatIppoolArray{
    		&firewall.CentralsnatmapNatIppoolArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	NatPort: pulumi.String("string"),
    	OrigAddr6s: firewall.CentralsnatmapOrigAddr6Array{
    		&firewall.CentralsnatmapOrigAddr6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	Comments:            pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Nat46:               pulumi.String("string"),
    	PortPreserve:        pulumi.String("string"),
    	DstPort:             pulumi.String("string"),
    	DstAddr6s: firewall.CentralsnatmapDstAddr6Array{
    		&firewall.CentralsnatmapDstAddr6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	Status:    pulumi.String("string"),
    	Type:      pulumi.String("string"),
    	Uuid:      pulumi.String("string"),
    	Vdomparam: pulumi.String("string"),
    })
    
    var centralsnatmapResource = new Centralsnatmap("centralsnatmapResource", CentralsnatmapArgs.builder()
        .nat("string")
        .srcintfs(CentralsnatmapSrcintfArgs.builder()
            .name("string")
            .build())
        .dstAddrs(CentralsnatmapDstAddrArgs.builder()
            .name("string")
            .build())
        .protocol(0)
        .dstintfs(CentralsnatmapDstintfArgs.builder()
            .name("string")
            .build())
        .origPort("string")
        .origAddrs(CentralsnatmapOrigAddrArgs.builder()
            .name("string")
            .build())
        .getAllTables("string")
        .policyid(0)
        .nat64("string")
        .natIppool6s(CentralsnatmapNatIppool6Args.builder()
            .name("string")
            .build())
        .natIppools(CentralsnatmapNatIppoolArgs.builder()
            .name("string")
            .build())
        .natPort("string")
        .origAddr6s(CentralsnatmapOrigAddr6Args.builder()
            .name("string")
            .build())
        .comments("string")
        .dynamicSortSubtable("string")
        .nat46("string")
        .portPreserve("string")
        .dstPort("string")
        .dstAddr6s(CentralsnatmapDstAddr6Args.builder()
            .name("string")
            .build())
        .status("string")
        .type("string")
        .uuid("string")
        .vdomparam("string")
        .build());
    
    centralsnatmap_resource = fortios.firewall.Centralsnatmap("centralsnatmapResource",
        nat="string",
        srcintfs=[{
            "name": "string",
        }],
        dst_addrs=[{
            "name": "string",
        }],
        protocol=0,
        dstintfs=[{
            "name": "string",
        }],
        orig_port="string",
        orig_addrs=[{
            "name": "string",
        }],
        get_all_tables="string",
        policyid=0,
        nat64="string",
        nat_ippool6s=[{
            "name": "string",
        }],
        nat_ippools=[{
            "name": "string",
        }],
        nat_port="string",
        orig_addr6s=[{
            "name": "string",
        }],
        comments="string",
        dynamic_sort_subtable="string",
        nat46="string",
        port_preserve="string",
        dst_port="string",
        dst_addr6s=[{
            "name": "string",
        }],
        status="string",
        type="string",
        uuid="string",
        vdomparam="string")
    
    const centralsnatmapResource = new fortios.firewall.Centralsnatmap("centralsnatmapResource", {
        nat: "string",
        srcintfs: [{
            name: "string",
        }],
        dstAddrs: [{
            name: "string",
        }],
        protocol: 0,
        dstintfs: [{
            name: "string",
        }],
        origPort: "string",
        origAddrs: [{
            name: "string",
        }],
        getAllTables: "string",
        policyid: 0,
        nat64: "string",
        natIppool6s: [{
            name: "string",
        }],
        natIppools: [{
            name: "string",
        }],
        natPort: "string",
        origAddr6s: [{
            name: "string",
        }],
        comments: "string",
        dynamicSortSubtable: "string",
        nat46: "string",
        portPreserve: "string",
        dstPort: "string",
        dstAddr6s: [{
            name: "string",
        }],
        status: "string",
        type: "string",
        uuid: "string",
        vdomparam: "string",
    });
    
    type: fortios:firewall:Centralsnatmap
    properties:
        comments: string
        dstAddr6s:
            - name: string
        dstAddrs:
            - name: string
        dstPort: string
        dstintfs:
            - name: string
        dynamicSortSubtable: string
        getAllTables: string
        nat: string
        nat46: string
        nat64: string
        natIppool6s:
            - name: string
        natIppools:
            - name: string
        natPort: string
        origAddr6s:
            - name: string
        origAddrs:
            - name: string
        origPort: string
        policyid: 0
        portPreserve: string
        protocol: 0
        srcintfs:
            - name: string
        status: string
        type: string
        uuid: string
        vdomparam: string
    

    Centralsnatmap Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Centralsnatmap resource accepts the following input properties:

    DstAddrs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstAddr>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    Dstintfs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstintf>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    Nat string
    Enable/disable source NAT. Valid values: disable, enable.
    OrigAddrs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapOrigAddr>
    Original address. The structure of orig_addr block is documented below.
    OrigPort string
    Original TCP port (1 to 65535, 0 means any port).
    Protocol int
    Integer value for the protocol type (0 - 255).
    Srcintfs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapSrcintf>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    Comments string
    Comment.
    DstAddr6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstAddr6>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    DstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    Nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    NatIppool6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapNatIppool6>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    NatIppools List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapNatIppool>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    NatPort string
    Translated port or port range (0 to 65535, 0 means any port).
    OrigAddr6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapOrigAddr6>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    Policyid int
    Policy ID.
    PortPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    Status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    Type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource 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.
    DstAddrs []CentralsnatmapDstAddrArgs
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    Dstintfs []CentralsnatmapDstintfArgs
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    Nat string
    Enable/disable source NAT. Valid values: disable, enable.
    OrigAddrs []CentralsnatmapOrigAddrArgs
    Original address. The structure of orig_addr block is documented below.
    OrigPort string
    Original TCP port (1 to 65535, 0 means any port).
    Protocol int
    Integer value for the protocol type (0 - 255).
    Srcintfs []CentralsnatmapSrcintfArgs
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    Comments string
    Comment.
    DstAddr6s []CentralsnatmapDstAddr6Args
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    DstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    Nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    NatIppool6s []CentralsnatmapNatIppool6Args
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    NatIppools []CentralsnatmapNatIppoolArgs
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    NatPort string
    Translated port or port range (0 to 65535, 0 means any port).
    OrigAddr6s []CentralsnatmapOrigAddr6Args
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    Policyid int
    Policy ID.
    PortPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    Status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    Type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource 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.
    dstAddrs List<CentralsnatmapDstAddr>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstintfs List<CentralsnatmapDstintf>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    nat String
    Enable/disable source NAT. Valid values: disable, enable.
    origAddrs List<CentralsnatmapOrigAddr>
    Original address. The structure of orig_addr block is documented below.
    origPort String
    Original TCP port (1 to 65535, 0 means any port).
    protocol Integer
    Integer value for the protocol type (0 - 255).
    srcintfs List<CentralsnatmapSrcintf>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    comments String
    Comment.
    dstAddr6s List<CentralsnatmapDstAddr6>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstPort String
    Destination port or port range (1 to 65535, 0 means any port).
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat46 String
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 String
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s List<CentralsnatmapNatIppool6>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools List<CentralsnatmapNatIppool>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort String
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s List<CentralsnatmapOrigAddr6>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    policyid Integer
    Policy ID.
    portPreserve String
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    status String
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type String
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource 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.
    dstAddrs CentralsnatmapDstAddr[]
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstintfs CentralsnatmapDstintf[]
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    nat string
    Enable/disable source NAT. Valid values: disable, enable.
    origAddrs CentralsnatmapOrigAddr[]
    Original address. The structure of orig_addr block is documented below.
    origPort string
    Original TCP port (1 to 65535, 0 means any port).
    protocol number
    Integer value for the protocol type (0 - 255).
    srcintfs CentralsnatmapSrcintf[]
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    comments string
    Comment.
    dstAddr6s CentralsnatmapDstAddr6[]
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s CentralsnatmapNatIppool6[]
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools CentralsnatmapNatIppool[]
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort string
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s CentralsnatmapOrigAddr6[]
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    policyid number
    Policy ID.
    portPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam string
    Specifies the vdom to which the resource 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.
    dst_addrs Sequence[CentralsnatmapDstAddrArgs]
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstintfs Sequence[CentralsnatmapDstintfArgs]
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    nat str
    Enable/disable source NAT. Valid values: disable, enable.
    orig_addrs Sequence[CentralsnatmapOrigAddrArgs]
    Original address. The structure of orig_addr block is documented below.
    orig_port str
    Original TCP port (1 to 65535, 0 means any port).
    protocol int
    Integer value for the protocol type (0 - 255).
    srcintfs Sequence[CentralsnatmapSrcintfArgs]
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    comments str
    Comment.
    dst_addr6s Sequence[CentralsnatmapDstAddr6Args]
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dst_port str
    Destination port or port range (1 to 65535, 0 means any port).
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat46 str
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 str
    Enable/disable NAT64. Valid values: enable, disable.
    nat_ippool6s Sequence[CentralsnatmapNatIppool6Args]
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    nat_ippools Sequence[CentralsnatmapNatIppoolArgs]
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    nat_port str
    Translated port or port range (0 to 65535, 0 means any port).
    orig_addr6s Sequence[CentralsnatmapOrigAddr6Args]
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    policyid int
    Policy ID.
    port_preserve str
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    status str
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type str
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam str
    Specifies the vdom to which the resource 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.
    dstAddrs List<Property Map>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstintfs List<Property Map>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    nat String
    Enable/disable source NAT. Valid values: disable, enable.
    origAddrs List<Property Map>
    Original address. The structure of orig_addr block is documented below.
    origPort String
    Original TCP port (1 to 65535, 0 means any port).
    protocol Number
    Integer value for the protocol type (0 - 255).
    srcintfs List<Property Map>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    comments String
    Comment.
    dstAddr6s List<Property Map>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstPort String
    Destination port or port range (1 to 65535, 0 means any port).
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat46 String
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 String
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s List<Property Map>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools List<Property Map>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort String
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s List<Property Map>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    policyid Number
    Policy ID.
    portPreserve String
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    status String
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type String
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Centralsnatmap resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Centralsnatmap Resource

    Get an existing Centralsnatmap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CentralsnatmapState, opts?: CustomResourceOptions): Centralsnatmap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comments: Optional[str] = None,
            dst_addr6s: Optional[Sequence[CentralsnatmapDstAddr6Args]] = None,
            dst_addrs: Optional[Sequence[CentralsnatmapDstAddrArgs]] = None,
            dst_port: Optional[str] = None,
            dstintfs: Optional[Sequence[CentralsnatmapDstintfArgs]] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            nat: Optional[str] = None,
            nat46: Optional[str] = None,
            nat64: Optional[str] = None,
            nat_ippool6s: Optional[Sequence[CentralsnatmapNatIppool6Args]] = None,
            nat_ippools: Optional[Sequence[CentralsnatmapNatIppoolArgs]] = None,
            nat_port: Optional[str] = None,
            orig_addr6s: Optional[Sequence[CentralsnatmapOrigAddr6Args]] = None,
            orig_addrs: Optional[Sequence[CentralsnatmapOrigAddrArgs]] = None,
            orig_port: Optional[str] = None,
            policyid: Optional[int] = None,
            port_preserve: Optional[str] = None,
            protocol: Optional[int] = None,
            srcintfs: Optional[Sequence[CentralsnatmapSrcintfArgs]] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            uuid: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Centralsnatmap
    func GetCentralsnatmap(ctx *Context, name string, id IDInput, state *CentralsnatmapState, opts ...ResourceOption) (*Centralsnatmap, error)
    public static Centralsnatmap Get(string name, Input<string> id, CentralsnatmapState? state, CustomResourceOptions? opts = null)
    public static Centralsnatmap get(String name, Output<String> id, CentralsnatmapState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comments string
    Comment.
    DstAddr6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstAddr6>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    DstAddrs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstAddr>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    DstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    Dstintfs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapDstintf>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Nat string
    Enable/disable source NAT. Valid values: disable, enable.
    Nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    Nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    NatIppool6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapNatIppool6>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    NatIppools List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapNatIppool>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    NatPort string
    Translated port or port range (0 to 65535, 0 means any port).
    OrigAddr6s List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapOrigAddr6>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    OrigAddrs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapOrigAddr>
    Original address. The structure of orig_addr block is documented below.
    OrigPort string
    Original TCP port (1 to 65535, 0 means any port).
    Policyid int
    Policy ID.
    PortPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    Protocol int
    Integer value for the protocol type (0 - 255).
    Srcintfs List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapSrcintf>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    Status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    Type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource 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.
    Comments string
    Comment.
    DstAddr6s []CentralsnatmapDstAddr6Args
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    DstAddrs []CentralsnatmapDstAddrArgs
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    DstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    Dstintfs []CentralsnatmapDstintfArgs
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Nat string
    Enable/disable source NAT. Valid values: disable, enable.
    Nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    Nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    NatIppool6s []CentralsnatmapNatIppool6Args
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    NatIppools []CentralsnatmapNatIppoolArgs
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    NatPort string
    Translated port or port range (0 to 65535, 0 means any port).
    OrigAddr6s []CentralsnatmapOrigAddr6Args
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    OrigAddrs []CentralsnatmapOrigAddrArgs
    Original address. The structure of orig_addr block is documented below.
    OrigPort string
    Original TCP port (1 to 65535, 0 means any port).
    Policyid int
    Policy ID.
    PortPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    Protocol int
    Integer value for the protocol type (0 - 255).
    Srcintfs []CentralsnatmapSrcintfArgs
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    Status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    Type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource 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.
    comments String
    Comment.
    dstAddr6s List<CentralsnatmapDstAddr6>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstAddrs List<CentralsnatmapDstAddr>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstPort String
    Destination port or port range (1 to 65535, 0 means any port).
    dstintfs List<CentralsnatmapDstintf>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat String
    Enable/disable source NAT. Valid values: disable, enable.
    nat46 String
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 String
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s List<CentralsnatmapNatIppool6>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools List<CentralsnatmapNatIppool>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort String
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s List<CentralsnatmapOrigAddr6>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    origAddrs List<CentralsnatmapOrigAddr>
    Original address. The structure of orig_addr block is documented below.
    origPort String
    Original TCP port (1 to 65535, 0 means any port).
    policyid Integer
    Policy ID.
    portPreserve String
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    protocol Integer
    Integer value for the protocol type (0 - 255).
    srcintfs List<CentralsnatmapSrcintf>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    status String
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type String
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource 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.
    comments string
    Comment.
    dstAddr6s CentralsnatmapDstAddr6[]
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstAddrs CentralsnatmapDstAddr[]
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstPort string
    Destination port or port range (1 to 65535, 0 means any port).
    dstintfs CentralsnatmapDstintf[]
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat string
    Enable/disable source NAT. Valid values: disable, enable.
    nat46 string
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 string
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s CentralsnatmapNatIppool6[]
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools CentralsnatmapNatIppool[]
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort string
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s CentralsnatmapOrigAddr6[]
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    origAddrs CentralsnatmapOrigAddr[]
    Original address. The structure of orig_addr block is documented below.
    origPort string
    Original TCP port (1 to 65535, 0 means any port).
    policyid number
    Policy ID.
    portPreserve string
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    protocol number
    Integer value for the protocol type (0 - 255).
    srcintfs CentralsnatmapSrcintf[]
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    status string
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type string
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam string
    Specifies the vdom to which the resource 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.
    comments str
    Comment.
    dst_addr6s Sequence[CentralsnatmapDstAddr6Args]
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dst_addrs Sequence[CentralsnatmapDstAddrArgs]
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dst_port str
    Destination port or port range (1 to 65535, 0 means any port).
    dstintfs Sequence[CentralsnatmapDstintfArgs]
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat str
    Enable/disable source NAT. Valid values: disable, enable.
    nat46 str
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 str
    Enable/disable NAT64. Valid values: enable, disable.
    nat_ippool6s Sequence[CentralsnatmapNatIppool6Args]
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    nat_ippools Sequence[CentralsnatmapNatIppoolArgs]
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    nat_port str
    Translated port or port range (0 to 65535, 0 means any port).
    orig_addr6s Sequence[CentralsnatmapOrigAddr6Args]
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    orig_addrs Sequence[CentralsnatmapOrigAddrArgs]
    Original address. The structure of orig_addr block is documented below.
    orig_port str
    Original TCP port (1 to 65535, 0 means any port).
    policyid int
    Policy ID.
    port_preserve str
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    protocol int
    Integer value for the protocol type (0 - 255).
    srcintfs Sequence[CentralsnatmapSrcintfArgs]
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    status str
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type str
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam str
    Specifies the vdom to which the resource 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.
    comments String
    Comment.
    dstAddr6s List<Property Map>
    IPv6 Destination address. The structure of dst_addr6 block is documented below.
    dstAddrs List<Property Map>
    Destination address name from available addresses. The structure of dst_addr block is documented below.
    dstPort String
    Destination port or port range (1 to 65535, 0 means any port).
    dstintfs List<Property Map>
    Destination interface name from available interfaces. The structure of dstintf block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    nat String
    Enable/disable source NAT. Valid values: disable, enable.
    nat46 String
    Enable/disable NAT46. Valid values: enable, disable.
    nat64 String
    Enable/disable NAT64. Valid values: enable, disable.
    natIppool6s List<Property Map>
    IPv6 pools to be used for source NAT. The structure of nat_ippool6 block is documented below.
    natIppools List<Property Map>
    Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippool block is documented below.
    natPort String
    Translated port or port range (0 to 65535, 0 means any port).
    origAddr6s List<Property Map>
    IPv6 Original address. The structure of orig_addr6 block is documented below.
    origAddrs List<Property Map>
    Original address. The structure of orig_addr block is documented below.
    origPort String
    Original TCP port (1 to 65535, 0 means any port).
    policyid Number
    Policy ID.
    portPreserve String
    Enable/disable preservation of the original source port from source NAT if it has not been used. Valid values: enable, disable.
    protocol Number
    Integer value for the protocol type (0 - 255).
    srcintfs List<Property Map>
    Source interface name from available interfaces. The structure of srcintf block is documented below.
    status String
    Enable/disable the active status of this policy. Valid values: enable, disable.
    type String
    IPv4/IPv6 source NAT. Valid values: ipv4, ipv6.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource 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.

    Supporting Types

    CentralsnatmapDstAddr, CentralsnatmapDstAddrArgs

    Name string
    Address name.
    Name string
    Address name.
    name String
    Address name.
    name string
    Address name.
    name str
    Address name.
    name String
    Address name.

    CentralsnatmapDstAddr6, CentralsnatmapDstAddr6Args

    Name string
    Name string
    name String
    name string
    name str
    name String

    CentralsnatmapDstintf, CentralsnatmapDstintfArgs

    Name string
    Interface name.
    Name string
    Interface name.
    name String
    Interface name.
    name string
    Interface name.
    name str
    Interface name.
    name String
    Interface name.

    CentralsnatmapNatIppool, CentralsnatmapNatIppoolArgs

    Name string
    IPv6 pool name.
    Name string
    IPv6 pool name.
    name String
    IPv6 pool name.
    name string
    IPv6 pool name.
    name str
    IPv6 pool name.
    name String
    IPv6 pool name.

    CentralsnatmapNatIppool6, CentralsnatmapNatIppool6Args

    Name string
    Name string
    name String
    name string
    name str
    name String

    CentralsnatmapOrigAddr, CentralsnatmapOrigAddrArgs

    Name string
    Address name.
    Name string
    Address name.
    name String
    Address name.
    name string
    Address name.
    name str
    Address name.
    name String
    Address name.

    CentralsnatmapOrigAddr6, CentralsnatmapOrigAddr6Args

    Name string
    Name string
    name String
    name string
    name str
    name String

    CentralsnatmapSrcintf, CentralsnatmapSrcintfArgs

    Name string
    Interface name.
    Name string
    Interface name.
    name String
    Interface name.
    name string
    Interface name.
    name str
    Interface name.
    name String
    Interface name.

    Import

    Firewall CentralSnatMap can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/centralsnatmap:Centralsnatmap labelname {{policyid}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/centralsnatmap:Centralsnatmap labelname {{policyid}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse