fortios.firewall.Centralsnatmap
Explore with Pulumi AI
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. Centralsnatmap Dst Addr> 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- Dstintfs
List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dstintf> 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- Nat string
- Enable/disable source NAT. Valid values: disable,enable.
- OrigAddrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr> 
- Original address. The structure of orig_addrblock 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. Centralsnatmap Srcintf> 
- Source interface name from available interfaces. The structure of srcintfblock is documented below.
- Comments string
- Comment.
- DstAddr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr6> 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- DstPort string
- Destination port or port range (1 to 65535, 0 means any port).
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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. Centralsnatmap Nat Ippool6> 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- NatIppools List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Nat Ippool> 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- NatPort string
- Translated port or port range (0 to 65535, 0 means any port).
- OrigAddr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr6> 
- IPv6 Original address. The structure of orig_addr6block 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 []CentralsnatmapDst Addr Args 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- Dstintfs
[]CentralsnatmapDstintf Args 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- Nat string
- Enable/disable source NAT. Valid values: disable,enable.
- OrigAddrs []CentralsnatmapOrig Addr Args 
- Original address. The structure of orig_addrblock 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
[]CentralsnatmapSrcintf Args 
- Source interface name from available interfaces. The structure of srcintfblock is documented below.
- Comments string
- Comment.
- DstAddr6s []CentralsnatmapDst Addr6Args 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- DstPort string
- Destination port or port range (1 to 65535, 0 means any port).
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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 []CentralsnatmapNat Ippool6Args 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- NatIppools []CentralsnatmapNat Ippool Args 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- NatPort string
- Translated port or port range (0 to 65535, 0 means any port).
- OrigAddr6s []CentralsnatmapOrig Addr6Args 
- IPv6 Original address. The structure of orig_addr6block 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<CentralsnatmapDst Addr> 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- dstintfs
List<CentralsnatmapDstintf> 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- nat String
- Enable/disable source NAT. Valid values: disable,enable.
- origAddrs List<CentralsnatmapOrig Addr> 
- Original address. The structure of orig_addrblock 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 srcintfblock is documented below.
- comments String
- Comment.
- dstAddr6s List<CentralsnatmapDst Addr6> 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dstPort String
- Destination port or port range (1 to 65535, 0 means any port).
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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<CentralsnatmapNat Ippool6> 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- natIppools List<CentralsnatmapNat Ippool> 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- natPort String
- Translated port or port range (0 to 65535, 0 means any port).
- origAddr6s List<CentralsnatmapOrig Addr6> 
- IPv6 Original address. The structure of orig_addr6block 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 CentralsnatmapDst Addr[] 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- dstintfs
CentralsnatmapDstintf[] 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- nat string
- Enable/disable source NAT. Valid values: disable,enable.
- origAddrs CentralsnatmapOrig Addr[] 
- Original address. The structure of orig_addrblock 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 srcintfblock is documented below.
- comments string
- Comment.
- dstAddr6s CentralsnatmapDst Addr6[] 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dstPort string
- Destination port or port range (1 to 65535, 0 means any port).
- dynamicSort stringSubtable 
- 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 ].
- getAll stringTables 
- 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 CentralsnatmapNat Ippool6[] 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- natIppools CentralsnatmapNat Ippool[] 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- natPort string
- Translated port or port range (0 to 65535, 0 means any port).
- origAddr6s CentralsnatmapOrig Addr6[] 
- IPv6 Original address. The structure of orig_addr6block 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[CentralsnatmapDst Addr Args] 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- dstintfs
Sequence[CentralsnatmapDstintf Args] 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- nat str
- Enable/disable source NAT. Valid values: disable,enable.
- orig_addrs Sequence[CentralsnatmapOrig Addr Args] 
- Original address. The structure of orig_addrblock 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[CentralsnatmapSrcintf Args] 
- Source interface name from available interfaces. The structure of srcintfblock is documented below.
- comments str
- Comment.
- dst_addr6s Sequence[CentralsnatmapDst Addr6Args] 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dst_port str
- Destination port or port range (1 to 65535, 0 means any port).
- dynamic_sort_ strsubtable 
- 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_ strtables 
- 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[CentralsnatmapNat Ippool6Args] 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- nat_ippools Sequence[CentralsnatmapNat Ippool Args] 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- nat_port str
- Translated port or port range (0 to 65535, 0 means any port).
- orig_addr6s Sequence[CentralsnatmapOrig Addr6Args] 
- IPv6 Original address. The structure of orig_addr6block 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_addrblock is documented below.
- dstintfs List<Property Map>
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- nat String
- Enable/disable source NAT. Valid values: disable,enable.
- origAddrs List<Property Map>
- Original address. The structure of orig_addrblock 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 srcintfblock is documented below.
- comments String
- Comment.
- dstAddr6s List<Property Map>
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dstPort String
- Destination port or port range (1 to 65535, 0 means any port).
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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_ippool6block 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_ippoolblock 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_addr6block 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) -> Centralsnatmapfunc 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)resources:  _:    type: fortios:firewall:Centralsnatmap    get:      id: ${id}- 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.
- Comments string
- Comment.
- DstAddr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr6> 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- DstAddrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr> 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- DstPort string
- Destination port or port range (1 to 65535, 0 means any port).
- Dstintfs
List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dstintf> 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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. Centralsnatmap Nat Ippool6> 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- NatIppools List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Nat Ippool> 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- NatPort string
- Translated port or port range (0 to 65535, 0 means any port).
- OrigAddr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr6> 
- IPv6 Original address. The structure of orig_addr6block is documented below.
- OrigAddrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr> 
- Original address. The structure of orig_addrblock 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. Centralsnatmap Srcintf> 
- Source interface name from available interfaces. The structure of srcintfblock 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 []CentralsnatmapDst Addr6Args 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- DstAddrs []CentralsnatmapDst Addr Args 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- DstPort string
- Destination port or port range (1 to 65535, 0 means any port).
- Dstintfs
[]CentralsnatmapDstintf Args 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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 []CentralsnatmapNat Ippool6Args 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- NatIppools []CentralsnatmapNat Ippool Args 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- NatPort string
- Translated port or port range (0 to 65535, 0 means any port).
- OrigAddr6s []CentralsnatmapOrig Addr6Args 
- IPv6 Original address. The structure of orig_addr6block is documented below.
- OrigAddrs []CentralsnatmapOrig Addr Args 
- Original address. The structure of orig_addrblock 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
[]CentralsnatmapSrcintf Args 
- Source interface name from available interfaces. The structure of srcintfblock 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<CentralsnatmapDst Addr6> 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dstAddrs List<CentralsnatmapDst Addr> 
- Destination address name from available addresses. The structure of dst_addrblock 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 dstintfblock is documented below.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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<CentralsnatmapNat Ippool6> 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- natIppools List<CentralsnatmapNat Ippool> 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- natPort String
- Translated port or port range (0 to 65535, 0 means any port).
- origAddr6s List<CentralsnatmapOrig Addr6> 
- IPv6 Original address. The structure of orig_addr6block is documented below.
- origAddrs List<CentralsnatmapOrig Addr> 
- Original address. The structure of orig_addrblock 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 srcintfblock 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 CentralsnatmapDst Addr6[] 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dstAddrs CentralsnatmapDst Addr[] 
- Destination address name from available addresses. The structure of dst_addrblock 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 dstintfblock is documented below.
- dynamicSort stringSubtable 
- 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 ].
- getAll stringTables 
- 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 CentralsnatmapNat Ippool6[] 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- natIppools CentralsnatmapNat Ippool[] 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- natPort string
- Translated port or port range (0 to 65535, 0 means any port).
- origAddr6s CentralsnatmapOrig Addr6[] 
- IPv6 Original address. The structure of orig_addr6block is documented below.
- origAddrs CentralsnatmapOrig Addr[] 
- Original address. The structure of orig_addrblock 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 srcintfblock 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[CentralsnatmapDst Addr6Args] 
- IPv6 Destination address. The structure of dst_addr6block is documented below.
- dst_addrs Sequence[CentralsnatmapDst Addr Args] 
- Destination address name from available addresses. The structure of dst_addrblock is documented below.
- dst_port str
- Destination port or port range (1 to 65535, 0 means any port).
- dstintfs
Sequence[CentralsnatmapDstintf Args] 
- Destination interface name from available interfaces. The structure of dstintfblock is documented below.
- dynamic_sort_ strsubtable 
- 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_ strtables 
- 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[CentralsnatmapNat Ippool6Args] 
- IPv6 pools to be used for source NAT. The structure of nat_ippool6block is documented below.
- nat_ippools Sequence[CentralsnatmapNat Ippool Args] 
- Name of the IP pools to be used to translate addresses from available IP Pools. The structure of nat_ippoolblock is documented below.
- nat_port str
- Translated port or port range (0 to 65535, 0 means any port).
- orig_addr6s Sequence[CentralsnatmapOrig Addr6Args] 
- IPv6 Original address. The structure of orig_addr6block is documented below.
- orig_addrs Sequence[CentralsnatmapOrig Addr Args] 
- Original address. The structure of orig_addrblock 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[CentralsnatmapSrcintf Args] 
- Source interface name from available interfaces. The structure of srcintfblock 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_addr6block is documented below.
- dstAddrs List<Property Map>
- Destination address name from available addresses. The structure of dst_addrblock 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 dstintfblock is documented below.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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_ippool6block 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_ippoolblock 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_addr6block is documented below.
- origAddrs List<Property Map>
- Original address. The structure of orig_addrblock 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 srcintfblock 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 fortiosTerraform Provider.
