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,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: 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,
nat46: Optional[str] = None,
comments: Optional[str] = None,
policyid: Optional[int] = 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",
},
},
DynamicSortSubtable = "string",
GetAllTables = "string",
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",
},
},
Nat46 = "string",
Comments = "string",
Policyid = 0,
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"),
},
},
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
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"),
},
},
Nat46: pulumi.String("string"),
Comments: pulumi.String("string"),
Policyid: pulumi.Int(0),
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())
.dynamicSortSubtable("string")
.getAllTables("string")
.nat64("string")
.natIppool6s(CentralsnatmapNatIppool6Args.builder()
.name("string")
.build())
.natIppools(CentralsnatmapNatIppoolArgs.builder()
.name("string")
.build())
.natPort("string")
.origAddr6s(CentralsnatmapOrigAddr6Args.builder()
.name("string")
.build())
.nat46("string")
.comments("string")
.policyid(0)
.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=[fortios.firewall.CentralsnatmapSrcintfArgs(
name="string",
)],
dst_addrs=[fortios.firewall.CentralsnatmapDstAddrArgs(
name="string",
)],
protocol=0,
dstintfs=[fortios.firewall.CentralsnatmapDstintfArgs(
name="string",
)],
orig_port="string",
orig_addrs=[fortios.firewall.CentralsnatmapOrigAddrArgs(
name="string",
)],
dynamic_sort_subtable="string",
get_all_tables="string",
nat64="string",
nat_ippool6s=[fortios.firewall.CentralsnatmapNatIppool6Args(
name="string",
)],
nat_ippools=[fortios.firewall.CentralsnatmapNatIppoolArgs(
name="string",
)],
nat_port="string",
orig_addr6s=[fortios.firewall.CentralsnatmapOrigAddr6Args(
name="string",
)],
nat46="string",
comments="string",
policyid=0,
dst_port="string",
dst_addr6s=[fortios.firewall.CentralsnatmapDstAddr6Args(
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",
}],
dynamicSortSubtable: "string",
getAllTables: "string",
nat64: "string",
natIppool6s: [{
name: "string",
}],
natIppools: [{
name: "string",
}],
natPort: "string",
origAddr6s: [{
name: "string",
}],
nat46: "string",
comments: "string",
policyid: 0,
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
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
The Centralsnatmap resource accepts the following input properties:
- Dst
Addrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr> - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - Dstintfs
List<Pulumiverse.
Fortios. Firewall. Inputs. Centralsnatmap Dstintf> - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - Nat string
- Enable/disable source NAT. Valid values:
disable
,enable
. - Orig
Addrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr> - Original address. The structure of
orig_addr
block is documented below. - Orig
Port 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
srcintf
block is documented below. - Comments string
- Comment.
- Dst
Addr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr6> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - Dst
Port string - Destination port or port range (1 to 65535, 0 means any port).
- Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - Nat
Ippool6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Nat Ippool6> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - Nat
Ippools 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_ippool
block is documented below. - Nat
Port string - Translated port or port range (0 to 65535, 0 means any port).
- Orig
Addr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr6> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - Policyid int
- Policy ID.
- 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 []CentralsnatmapDst Addr Args - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - Dstintfs
[]Centralsnatmap
Dstintf Args - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - Nat string
- Enable/disable source NAT. Valid values:
disable
,enable
. - Orig
Addrs []CentralsnatmapOrig Addr Args - Original address. The structure of
orig_addr
block is documented below. - Orig
Port string - Original TCP port (1 to 65535, 0 means any port).
- Protocol int
- Integer value for the protocol type (0 - 255).
- Srcintfs
[]Centralsnatmap
Srcintf Args - Source interface name from available interfaces. The structure of
srcintf
block is documented below. - Comments string
- Comment.
- Dst
Addr6s []CentralsnatmapDst Addr6Args - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - Dst
Port string - Destination port or port range (1 to 65535, 0 means any port).
- Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - Nat
Ippool6s []CentralsnatmapNat Ippool6Args - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - Nat
Ippools []CentralsnatmapNat Ippool Args - 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 string - Translated port or port range (0 to 65535, 0 means any port).
- Orig
Addr6s []CentralsnatmapOrig Addr6Args - IPv6 Original address. The structure of
orig_addr6
block is documented below. - Policyid int
- Policy ID.
- 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 List<CentralsnatmapDst Addr> - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - dstintfs
List<Centralsnatmap
Dstintf> - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - nat String
- Enable/disable source NAT. Valid values:
disable
,enable
. - orig
Addrs List<CentralsnatmapOrig Addr> - Original address. The structure of
orig_addr
block is documented below. - orig
Port String - Original TCP port (1 to 65535, 0 means any port).
- protocol Integer
- Integer value for the protocol type (0 - 255).
- srcintfs
List<Centralsnatmap
Srcintf> - Source interface name from available interfaces. The structure of
srcintf
block is documented below. - comments String
- Comment.
- dst
Addr6s List<CentralsnatmapDst Addr6> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Port String - Destination port or port range (1 to 65535, 0 means any port).
- dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s List<CentralsnatmapNat Ippool6> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools List<CentralsnatmapNat Ippool> - 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 String - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s List<CentralsnatmapOrig Addr6> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - policyid Integer
- Policy ID.
- 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 CentralsnatmapDst Addr[] - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - dstintfs
Centralsnatmap
Dstintf[] - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - nat string
- Enable/disable source NAT. Valid values:
disable
,enable
. - orig
Addrs CentralsnatmapOrig Addr[] - Original address. The structure of
orig_addr
block is documented below. - orig
Port string - Original TCP port (1 to 65535, 0 means any port).
- protocol number
- Integer value for the protocol type (0 - 255).
- srcintfs
Centralsnatmap
Srcintf[] - Source interface name from available interfaces. The structure of
srcintf
block is documented below. - comments string
- Comment.
- dst
Addr6s CentralsnatmapDst Addr6[] - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Port string - Destination port or port range (1 to 65535, 0 means any port).
- dynamic
Sort 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 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s CentralsnatmapNat Ippool6[] - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools CentralsnatmapNat Ippool[] - 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 string - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s CentralsnatmapOrig Addr6[] - IPv6 Original address. The structure of
orig_addr6
block is documented below. - policyid number
- Policy ID.
- 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_addr
block is documented below. - dstintfs
Sequence[Centralsnatmap
Dstintf Args] - 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[CentralsnatmapOrig Addr Args] - 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[Centralsnatmap
Srcintf Args] - Source interface name from available interfaces. The structure of
srcintf
block is documented below. - comments str
- Comment.
- dst_
addr6s Sequence[CentralsnatmapDst Addr6Args] - 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_ 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, otherwish 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_ippool6
block 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_ippool
block 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_addr6
block is documented below. - policyid int
- Policy ID.
- 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.
- dst
Addrs 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
. - orig
Addrs List<Property Map> - Original address. The structure of
orig_addr
block is documented below. - orig
Port 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.
- dst
Addr6s List<Property Map> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Port String - Destination port or port range (1 to 65535, 0 means any port).
- dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s List<Property Map> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools 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. - nat
Port String - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s List<Property Map> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - policyid Number
- Policy ID.
- 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,
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.
- Comments string
- Comment.
- Dst
Addr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr6> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - Dst
Addrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Dst Addr> - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - Dst
Port 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
dstintf
block is documented below. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - Nat
Ippool6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Nat Ippool6> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - Nat
Ippools 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_ippool
block is documented below. - Nat
Port string - Translated port or port range (0 to 65535, 0 means any port).
- Orig
Addr6s List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr6> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - Orig
Addrs List<Pulumiverse.Fortios. Firewall. Inputs. Centralsnatmap Orig Addr> - Original address. The structure of
orig_addr
block is documented below. - Orig
Port string - Original TCP port (1 to 65535, 0 means any port).
- Policyid int
- Policy ID.
- 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
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.
- Dst
Addr6s []CentralsnatmapDst Addr6Args - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - Dst
Addrs []CentralsnatmapDst Addr Args - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - Dst
Port string - Destination port or port range (1 to 65535, 0 means any port).
- Dstintfs
[]Centralsnatmap
Dstintf Args - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - Nat
Ippool6s []CentralsnatmapNat Ippool6Args - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - Nat
Ippools []CentralsnatmapNat Ippool Args - 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 string - Translated port or port range (0 to 65535, 0 means any port).
- Orig
Addr6s []CentralsnatmapOrig Addr6Args - IPv6 Original address. The structure of
orig_addr6
block is documented below. - Orig
Addrs []CentralsnatmapOrig Addr Args - Original address. The structure of
orig_addr
block is documented below. - Orig
Port string - Original TCP port (1 to 65535, 0 means any port).
- Policyid int
- Policy ID.
- Protocol int
- Integer value for the protocol type (0 - 255).
- Srcintfs
[]Centralsnatmap
Srcintf Args - 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.
- dst
Addr6s List<CentralsnatmapDst Addr6> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Addrs List<CentralsnatmapDst Addr> - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - dst
Port String - Destination port or port range (1 to 65535, 0 means any port).
- dstintfs
List<Centralsnatmap
Dstintf> - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s List<CentralsnatmapNat Ippool6> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools List<CentralsnatmapNat Ippool> - 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 String - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s List<CentralsnatmapOrig Addr6> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - orig
Addrs List<CentralsnatmapOrig Addr> - Original address. The structure of
orig_addr
block is documented below. - orig
Port String - Original TCP port (1 to 65535, 0 means any port).
- policyid Integer
- Policy ID.
- protocol Integer
- Integer value for the protocol type (0 - 255).
- srcintfs
List<Centralsnatmap
Srcintf> - 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.
- dst
Addr6s CentralsnatmapDst Addr6[] - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Addrs CentralsnatmapDst Addr[] - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - dst
Port string - Destination port or port range (1 to 65535, 0 means any port).
- dstintfs
Centralsnatmap
Dstintf[] - Destination interface name from available interfaces. The structure of
dstintf
block is documented below. - dynamic
Sort 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 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s CentralsnatmapNat Ippool6[] - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools CentralsnatmapNat Ippool[] - 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 string - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s CentralsnatmapOrig Addr6[] - IPv6 Original address. The structure of
orig_addr6
block is documented below. - orig
Addrs CentralsnatmapOrig Addr[] - Original address. The structure of
orig_addr
block is documented below. - orig
Port string - Original TCP port (1 to 65535, 0 means any port).
- policyid number
- Policy ID.
- protocol number
- Integer value for the protocol type (0 - 255).
- srcintfs
Centralsnatmap
Srcintf[] - 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[CentralsnatmapDst Addr6Args] - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst_
addrs Sequence[CentralsnatmapDst Addr Args] - 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[Centralsnatmap
Dstintf Args] - Destination interface name from available interfaces. The structure of
dstintf
block 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, otherwish 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_ippool6
block 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_ippool
block 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_addr6
block is documented below. - orig_
addrs Sequence[CentralsnatmapOrig Addr Args] - 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.
- protocol int
- Integer value for the protocol type (0 - 255).
- srcintfs
Sequence[Centralsnatmap
Srcintf Args] - 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.
- dst
Addr6s List<Property Map> - IPv6 Destination address. The structure of
dst_addr6
block is documented below. - dst
Addrs List<Property Map> - Destination address name from available addresses. The structure of
dst_addr
block is documented below. - dst
Port 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. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
. - nat
Ippool6s List<Property Map> - IPv6 pools to be used for source NAT. The structure of
nat_ippool6
block is documented below. - nat
Ippools 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. - nat
Port String - Translated port or port range (0 to 65535, 0 means any port).
- orig
Addr6s List<Property Map> - IPv6 Original address. The structure of
orig_addr6
block is documented below. - orig
Addrs List<Property Map> - Original address. The structure of
orig_addr
block is documented below. - orig
Port String - Original TCP port (1 to 65535, 0 means any port).
- policyid Number
- Policy ID.
- 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
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
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
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
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
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
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.