fortios.system.Nat64
Explore with Pulumi AI
Configure NAT64. Applies to FortiOS Version <= 7.0.0
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.Nat64("trname", {
alwaysSynthesizeAaaaRecord: "enable",
generateIpv6FragmentHeader: "disable",
nat46ForceIpv4PacketForwarding: "disable",
nat64Prefix: "2001:1:2:3::/96",
secondaryPrefixStatus: "disable",
status: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.Nat64("trname",
always_synthesize_aaaa_record="enable",
generate_ipv6_fragment_header="disable",
nat46_force_ipv4_packet_forwarding="disable",
nat64_prefix="2001:1:2:3::/96",
secondary_prefix_status="disable",
status="disable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewNat64(ctx, "trname", &system.Nat64Args{
AlwaysSynthesizeAaaaRecord: pulumi.String("enable"),
GenerateIpv6FragmentHeader: pulumi.String("disable"),
Nat46ForceIpv4PacketForwarding: pulumi.String("disable"),
Nat64Prefix: pulumi.String("2001:1:2:3::/96"),
SecondaryPrefixStatus: pulumi.String("disable"),
Status: pulumi.String("disable"),
})
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.System.Nat64("trname", new()
{
AlwaysSynthesizeAaaaRecord = "enable",
GenerateIpv6FragmentHeader = "disable",
Nat46ForceIpv4PacketForwarding = "disable",
Nat64Prefix = "2001:1:2:3::/96",
SecondaryPrefixStatus = "disable",
Status = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Nat64;
import com.pulumi.fortios.system.Nat64Args;
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 Nat64("trname", Nat64Args.builder()
.alwaysSynthesizeAaaaRecord("enable")
.generateIpv6FragmentHeader("disable")
.nat46ForceIpv4PacketForwarding("disable")
.nat64Prefix("2001:1:2:3::/96")
.secondaryPrefixStatus("disable")
.status("disable")
.build());
}
}
resources:
trname:
type: fortios:system:Nat64
properties:
alwaysSynthesizeAaaaRecord: enable
generateIpv6FragmentHeader: disable
nat46ForceIpv4PacketForwarding: disable
nat64Prefix: 2001:1:2:3::/96
secondaryPrefixStatus: disable
status: disable
Create Nat64 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Nat64(name: string, args: Nat64Args, opts?: CustomResourceOptions);
@overload
def Nat64(resource_name: str,
args: Nat64Args,
opts: Optional[ResourceOptions] = None)
@overload
def Nat64(resource_name: str,
opts: Optional[ResourceOptions] = None,
nat64_prefix: Optional[str] = None,
always_synthesize_aaaa_record: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
generate_ipv6_fragment_header: Optional[str] = None,
get_all_tables: Optional[str] = None,
nat46_force_ipv4_packet_forwarding: Optional[str] = None,
secondary_prefix_status: Optional[str] = None,
secondary_prefixes: Optional[Sequence[Nat64SecondaryPrefixArgs]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewNat64(ctx *Context, name string, args Nat64Args, opts ...ResourceOption) (*Nat64, error)
public Nat64(string name, Nat64Args args, CustomResourceOptions? opts = null)
type: fortios:system:Nat64
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 Nat64Args
- 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 Nat64Args
- 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 Nat64Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Nat64Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Nat64Args
- 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 nat64Resource = new Fortios.System.Nat64("nat64Resource", new()
{
Nat64Prefix = "string",
AlwaysSynthesizeAaaaRecord = "string",
DynamicSortSubtable = "string",
GenerateIpv6FragmentHeader = "string",
GetAllTables = "string",
Nat46ForceIpv4PacketForwarding = "string",
SecondaryPrefixStatus = "string",
SecondaryPrefixes = new[]
{
new Fortios.System.Inputs.Nat64SecondaryPrefixArgs
{
Name = "string",
Nat64Prefix = "string",
},
},
Status = "string",
Vdomparam = "string",
});
example, err := system.NewNat64(ctx, "nat64Resource", &system.Nat64Args{
Nat64Prefix: pulumi.String("string"),
AlwaysSynthesizeAaaaRecord: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
GenerateIpv6FragmentHeader: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
Nat46ForceIpv4PacketForwarding: pulumi.String("string"),
SecondaryPrefixStatus: pulumi.String("string"),
SecondaryPrefixes: system.Nat64SecondaryPrefixArray{
&system.Nat64SecondaryPrefixArgs{
Name: pulumi.String("string"),
Nat64Prefix: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var nat64Resource = new Nat64("nat64Resource", Nat64Args.builder()
.nat64Prefix("string")
.alwaysSynthesizeAaaaRecord("string")
.dynamicSortSubtable("string")
.generateIpv6FragmentHeader("string")
.getAllTables("string")
.nat46ForceIpv4PacketForwarding("string")
.secondaryPrefixStatus("string")
.secondaryPrefixes(Nat64SecondaryPrefixArgs.builder()
.name("string")
.nat64Prefix("string")
.build())
.status("string")
.vdomparam("string")
.build());
nat64_resource = fortios.system.Nat64("nat64Resource",
nat64_prefix="string",
always_synthesize_aaaa_record="string",
dynamic_sort_subtable="string",
generate_ipv6_fragment_header="string",
get_all_tables="string",
nat46_force_ipv4_packet_forwarding="string",
secondary_prefix_status="string",
secondary_prefixes=[fortios.system.Nat64SecondaryPrefixArgs(
name="string",
nat64_prefix="string",
)],
status="string",
vdomparam="string")
const nat64Resource = new fortios.system.Nat64("nat64Resource", {
nat64Prefix: "string",
alwaysSynthesizeAaaaRecord: "string",
dynamicSortSubtable: "string",
generateIpv6FragmentHeader: "string",
getAllTables: "string",
nat46ForceIpv4PacketForwarding: "string",
secondaryPrefixStatus: "string",
secondaryPrefixes: [{
name: "string",
nat64Prefix: "string",
}],
status: "string",
vdomparam: "string",
});
type: fortios:system:Nat64
properties:
alwaysSynthesizeAaaaRecord: string
dynamicSortSubtable: string
generateIpv6FragmentHeader: string
getAllTables: string
nat46ForceIpv4PacketForwarding: string
nat64Prefix: string
secondaryPrefixStatus: string
secondaryPrefixes:
- name: string
nat64Prefix: string
status: string
vdomparam: string
Nat64 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 Nat64 resource accepts the following input properties:
- Nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- Always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- Generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - Secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - Secondary
Prefixes List<Pulumiverse.Fortios. System. Inputs. Nat64Secondary Prefix> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - Status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- Nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- Always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- Generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - Secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - Secondary
Prefixes []Nat64SecondaryPrefix Args - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - Status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- nat64Prefix String
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- always
Synthesize StringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment StringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet StringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - secondary
Prefix StringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes List<Nat64SecondaryPrefix> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status String
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes Nat64SecondaryPrefix[] - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- nat64_
prefix str - NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- always_
synthesize_ straaaa_ record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate_
ipv6_ strfragment_ header - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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_
force_ stripv4_ packet_ forwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - secondary_
prefix_ strstatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary_
prefixes Sequence[Nat64SecondaryPrefix Args] - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status str
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- nat64Prefix String
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- always
Synthesize StringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment StringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet StringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - secondary
Prefix StringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes List<Property Map> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status String
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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 Nat64 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 Nat64 Resource
Get an existing Nat64 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?: Nat64State, opts?: CustomResourceOptions): Nat64
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
always_synthesize_aaaa_record: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
generate_ipv6_fragment_header: Optional[str] = None,
get_all_tables: Optional[str] = None,
nat46_force_ipv4_packet_forwarding: Optional[str] = None,
nat64_prefix: Optional[str] = None,
secondary_prefix_status: Optional[str] = None,
secondary_prefixes: Optional[Sequence[Nat64SecondaryPrefixArgs]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> Nat64
func GetNat64(ctx *Context, name string, id IDInput, state *Nat64State, opts ...ResourceOption) (*Nat64, error)
public static Nat64 Get(string name, Input<string> id, Nat64State? state, CustomResourceOptions? opts = null)
public static Nat64 get(String name, Output<String> id, Nat64State 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.
- Always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- Generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - Nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- Secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - Secondary
Prefixes List<Pulumiverse.Fortios. System. Inputs. Nat64Secondary Prefix> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - Status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- Always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- Generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - Nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- Secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - Secondary
Prefixes []Nat64SecondaryPrefix Args - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - Status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- always
Synthesize StringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment StringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet StringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - nat64Prefix String
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- secondary
Prefix StringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes List<Nat64SecondaryPrefix> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status String
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- always
Synthesize stringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment stringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet stringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - nat64Prefix string
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- secondary
Prefix stringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes Nat64SecondaryPrefix[] - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status string
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- always_
synthesize_ straaaa_ record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate_
ipv6_ strfragment_ header - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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_
force_ stripv4_ packet_ forwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - nat64_
prefix str - NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- secondary_
prefix_ strstatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary_
prefixes Sequence[Nat64SecondaryPrefix Args] - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status str
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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.
- always
Synthesize StringAaaa Record - Enable/disable AAAA record synthesis (default = enable). Valid values:
enable
,disable
. - 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 ].
- generate
Ipv6Fragment StringHeader - Enable/disable IPv6 fragment header generation. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- nat46Force
Ipv4Packet StringForwarding - Enable/disable mandatory IPv4 packet forwarding in nat46. Valid values:
enable
,disable
. - nat64Prefix String
- NAT64 prefix must be ::/96 (default = 64:ff9b::/96).
- secondary
Prefix StringStatus - Enable/disable secondary NAT64 prefix. Valid values:
enable
,disable
. - secondary
Prefixes List<Property Map> - Secondary NAT64 prefix. The structure of
secondary_prefix
block is documented below. - status String
- Enable/disable NAT64 (default = disable). Valid values:
enable
,disable
. - 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
Nat64SecondaryPrefix, Nat64SecondaryPrefixArgs
- Name string
- NAT64 prefix name.
- Nat64Prefix string
- NAT64 prefix.
- Name string
- NAT64 prefix name.
- Nat64Prefix string
- NAT64 prefix.
- name String
- NAT64 prefix name.
- nat64Prefix String
- NAT64 prefix.
- name string
- NAT64 prefix name.
- nat64Prefix string
- NAT64 prefix.
- name str
- NAT64 prefix name.
- nat64_
prefix str - NAT64 prefix.
- name String
- NAT64 prefix name.
- nat64Prefix String
- NAT64 prefix.
Import
System Nat64 can be imported using any of these accepted formats:
$ pulumi import fortios:system/nat64:Nat64 labelname SystemNat64
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/nat64:Nat64 labelname SystemNat64
$ 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.