fortios.system.Gretunnel
Explore with Pulumi AI
Configure GRE tunnel.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.Gretunnel("trname", {
checksumReception: "disable",
checksumTransmission: "disable",
dscpCopying: "disable",
"interface": "port3",
ipVersion: "4",
keepaliveFailtimes: 10,
keepaliveInterval: 0,
keyInbound: 0,
keyOutbound: 0,
localGw: "3.3.3.3",
localGw6: "::",
remoteGw: "1.1.1.1",
remoteGw6: "::",
sequenceNumberReception: "disable",
sequenceNumberTransmission: "enable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.Gretunnel("trname",
checksum_reception="disable",
checksum_transmission="disable",
dscp_copying="disable",
interface="port3",
ip_version="4",
keepalive_failtimes=10,
keepalive_interval=0,
key_inbound=0,
key_outbound=0,
local_gw="3.3.3.3",
local_gw6="::",
remote_gw="1.1.1.1",
remote_gw6="::",
sequence_number_reception="disable",
sequence_number_transmission="enable")
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.NewGretunnel(ctx, "trname", &system.GretunnelArgs{
ChecksumReception: pulumi.String("disable"),
ChecksumTransmission: pulumi.String("disable"),
DscpCopying: pulumi.String("disable"),
Interface: pulumi.String("port3"),
IpVersion: pulumi.String("4"),
KeepaliveFailtimes: pulumi.Int(10),
KeepaliveInterval: pulumi.Int(0),
KeyInbound: pulumi.Int(0),
KeyOutbound: pulumi.Int(0),
LocalGw: pulumi.String("3.3.3.3"),
LocalGw6: pulumi.String("::"),
RemoteGw: pulumi.String("1.1.1.1"),
RemoteGw6: pulumi.String("::"),
SequenceNumberReception: pulumi.String("disable"),
SequenceNumberTransmission: 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.System.Gretunnel("trname", new()
{
ChecksumReception = "disable",
ChecksumTransmission = "disable",
DscpCopying = "disable",
Interface = "port3",
IpVersion = "4",
KeepaliveFailtimes = 10,
KeepaliveInterval = 0,
KeyInbound = 0,
KeyOutbound = 0,
LocalGw = "3.3.3.3",
LocalGw6 = "::",
RemoteGw = "1.1.1.1",
RemoteGw6 = "::",
SequenceNumberReception = "disable",
SequenceNumberTransmission = "enable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Gretunnel;
import com.pulumi.fortios.system.GretunnelArgs;
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 Gretunnel("trname", GretunnelArgs.builder()
.checksumReception("disable")
.checksumTransmission("disable")
.dscpCopying("disable")
.interface_("port3")
.ipVersion("4")
.keepaliveFailtimes(10)
.keepaliveInterval(0)
.keyInbound(0)
.keyOutbound(0)
.localGw("3.3.3.3")
.localGw6("::")
.remoteGw("1.1.1.1")
.remoteGw6("::")
.sequenceNumberReception("disable")
.sequenceNumberTransmission("enable")
.build());
}
}
resources:
trname:
type: fortios:system:Gretunnel
properties:
checksumReception: disable
checksumTransmission: disable
dscpCopying: disable
interface: port3
ipVersion: '4'
keepaliveFailtimes: 10
keepaliveInterval: 0
keyInbound: 0
keyOutbound: 0
localGw: 3.3.3.3
localGw6: '::'
remoteGw: 1.1.1.1
remoteGw6: '::'
sequenceNumberReception: disable
sequenceNumberTransmission: enable
Create Gretunnel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gretunnel(name: string, args: GretunnelArgs, opts?: CustomResourceOptions);
@overload
def Gretunnel(resource_name: str,
args: GretunnelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Gretunnel(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_gw: Optional[str] = None,
remote_gw: Optional[str] = None,
key_inbound: Optional[int] = None,
local_gw6: Optional[str] = None,
interface: Optional[str] = None,
ip_version: Optional[str] = None,
keepalive_failtimes: Optional[int] = None,
keepalive_interval: Optional[int] = None,
checksum_reception: Optional[str] = None,
key_outbound: Optional[int] = None,
diffservcode: Optional[str] = None,
dscp_copying: Optional[str] = None,
name: Optional[str] = None,
checksum_transmission: Optional[str] = None,
remote_gw6: Optional[str] = None,
sequence_number_reception: Optional[str] = None,
sequence_number_transmission: Optional[str] = None,
use_sdwan: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewGretunnel(ctx *Context, name string, args GretunnelArgs, opts ...ResourceOption) (*Gretunnel, error)
public Gretunnel(string name, GretunnelArgs args, CustomResourceOptions? opts = null)
public Gretunnel(String name, GretunnelArgs args)
public Gretunnel(String name, GretunnelArgs args, CustomResourceOptions options)
type: fortios:system:Gretunnel
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 GretunnelArgs
- 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 GretunnelArgs
- 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 GretunnelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GretunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GretunnelArgs
- 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 gretunnelResource = new Fortios.System.Gretunnel("gretunnelResource", new()
{
LocalGw = "string",
RemoteGw = "string",
KeyInbound = 0,
LocalGw6 = "string",
Interface = "string",
IpVersion = "string",
KeepaliveFailtimes = 0,
KeepaliveInterval = 0,
ChecksumReception = "string",
KeyOutbound = 0,
Diffservcode = "string",
DscpCopying = "string",
Name = "string",
ChecksumTransmission = "string",
RemoteGw6 = "string",
SequenceNumberReception = "string",
SequenceNumberTransmission = "string",
UseSdwan = "string",
Vdomparam = "string",
});
example, err := system.NewGretunnel(ctx, "gretunnelResource", &system.GretunnelArgs{
LocalGw: pulumi.String("string"),
RemoteGw: pulumi.String("string"),
KeyInbound: pulumi.Int(0),
LocalGw6: pulumi.String("string"),
Interface: pulumi.String("string"),
IpVersion: pulumi.String("string"),
KeepaliveFailtimes: pulumi.Int(0),
KeepaliveInterval: pulumi.Int(0),
ChecksumReception: pulumi.String("string"),
KeyOutbound: pulumi.Int(0),
Diffservcode: pulumi.String("string"),
DscpCopying: pulumi.String("string"),
Name: pulumi.String("string"),
ChecksumTransmission: pulumi.String("string"),
RemoteGw6: pulumi.String("string"),
SequenceNumberReception: pulumi.String("string"),
SequenceNumberTransmission: pulumi.String("string"),
UseSdwan: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var gretunnelResource = new Gretunnel("gretunnelResource", GretunnelArgs.builder()
.localGw("string")
.remoteGw("string")
.keyInbound(0)
.localGw6("string")
.interface_("string")
.ipVersion("string")
.keepaliveFailtimes(0)
.keepaliveInterval(0)
.checksumReception("string")
.keyOutbound(0)
.diffservcode("string")
.dscpCopying("string")
.name("string")
.checksumTransmission("string")
.remoteGw6("string")
.sequenceNumberReception("string")
.sequenceNumberTransmission("string")
.useSdwan("string")
.vdomparam("string")
.build());
gretunnel_resource = fortios.system.Gretunnel("gretunnelResource",
local_gw="string",
remote_gw="string",
key_inbound=0,
local_gw6="string",
interface="string",
ip_version="string",
keepalive_failtimes=0,
keepalive_interval=0,
checksum_reception="string",
key_outbound=0,
diffservcode="string",
dscp_copying="string",
name="string",
checksum_transmission="string",
remote_gw6="string",
sequence_number_reception="string",
sequence_number_transmission="string",
use_sdwan="string",
vdomparam="string")
const gretunnelResource = new fortios.system.Gretunnel("gretunnelResource", {
localGw: "string",
remoteGw: "string",
keyInbound: 0,
localGw6: "string",
"interface": "string",
ipVersion: "string",
keepaliveFailtimes: 0,
keepaliveInterval: 0,
checksumReception: "string",
keyOutbound: 0,
diffservcode: "string",
dscpCopying: "string",
name: "string",
checksumTransmission: "string",
remoteGw6: "string",
sequenceNumberReception: "string",
sequenceNumberTransmission: "string",
useSdwan: "string",
vdomparam: "string",
});
type: fortios:system:Gretunnel
properties:
checksumReception: string
checksumTransmission: string
diffservcode: string
dscpCopying: string
interface: string
ipVersion: string
keepaliveFailtimes: 0
keepaliveInterval: 0
keyInbound: 0
keyOutbound: 0
localGw: string
localGw6: string
name: string
remoteGw: string
remoteGw6: string
sequenceNumberReception: string
sequenceNumberTransmission: string
useSdwan: string
vdomparam: string
Gretunnel 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 Gretunnel resource accepts the following input properties:
- Local
Gw string - IP address of the local gateway.
- Remote
Gw string - IP address of the remote gateway.
- Checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - Checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - Diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- Dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - Interface string
- Interface name.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Keepalive
Failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- Keepalive
Interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- Key
Inbound int - Require received GRE packets contain this key (0 - 4294967295).
- Key
Outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- Local
Gw6 string - IPv6 address of the local gateway.
- Name string
- Tunnel name.
- Remote
Gw6 string - IPv6 address of the remote gateway.
- Sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - Sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - Use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- Local
Gw string - IP address of the local gateway.
- Remote
Gw string - IP address of the remote gateway.
- Checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - Checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - Diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- Dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - Interface string
- Interface name.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Keepalive
Failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- Keepalive
Interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- Key
Inbound int - Require received GRE packets contain this key (0 - 4294967295).
- Key
Outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- Local
Gw6 string - IPv6 address of the local gateway.
- Name string
- Tunnel name.
- Remote
Gw6 string - IPv6 address of the remote gateway.
- Sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - Sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - Use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- local
Gw String - IP address of the local gateway.
- remote
Gw String - IP address of the remote gateway.
- checksum
Reception String - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission String - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode String
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying String - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface_ String
- Interface name.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes Integer - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval Integer - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound Integer - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound Integer - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw6 String - IPv6 address of the local gateway.
- name String
- Tunnel name.
- remote
Gw6 String - IPv6 address of the remote gateway.
- sequence
Number StringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number StringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan String - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- local
Gw string - IP address of the local gateway.
- remote
Gw string - IP address of the remote gateway.
- checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface string
- Interface name.
- ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes number - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval number - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound number - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound number - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw6 string - IPv6 address of the local gateway.
- name string
- Tunnel name.
- remote
Gw6 string - IPv6 address of the remote gateway.
- sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- local_
gw str - IP address of the local gateway.
- remote_
gw str - IP address of the remote gateway.
- checksum_
reception str - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum_
transmission str - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode str
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp_
copying str - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface str
- Interface name.
- ip_
version str - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive_
failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive_
interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- key_
inbound int - Require received GRE packets contain this key (0 - 4294967295).
- key_
outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- local_
gw6 str - IPv6 address of the local gateway.
- name str
- Tunnel name.
- remote_
gw6 str - IPv6 address of the remote gateway.
- sequence_
number_ strreception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence_
number_ strtransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use_
sdwan str - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- local
Gw String - IP address of the local gateway.
- remote
Gw String - IP address of the remote gateway.
- checksum
Reception String - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission String - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode String
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying String - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface String
- Interface name.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes Number - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval Number - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound Number - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound Number - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw6 String - IPv6 address of the local gateway.
- name String
- Tunnel name.
- remote
Gw6 String - IPv6 address of the remote gateway.
- sequence
Number StringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number StringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan String - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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 Gretunnel 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 Gretunnel Resource
Get an existing Gretunnel 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?: GretunnelState, opts?: CustomResourceOptions): Gretunnel
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
checksum_reception: Optional[str] = None,
checksum_transmission: Optional[str] = None,
diffservcode: Optional[str] = None,
dscp_copying: Optional[str] = None,
interface: Optional[str] = None,
ip_version: Optional[str] = None,
keepalive_failtimes: Optional[int] = None,
keepalive_interval: Optional[int] = None,
key_inbound: Optional[int] = None,
key_outbound: Optional[int] = None,
local_gw: Optional[str] = None,
local_gw6: Optional[str] = None,
name: Optional[str] = None,
remote_gw: Optional[str] = None,
remote_gw6: Optional[str] = None,
sequence_number_reception: Optional[str] = None,
sequence_number_transmission: Optional[str] = None,
use_sdwan: Optional[str] = None,
vdomparam: Optional[str] = None) -> Gretunnel
func GetGretunnel(ctx *Context, name string, id IDInput, state *GretunnelState, opts ...ResourceOption) (*Gretunnel, error)
public static Gretunnel Get(string name, Input<string> id, GretunnelState? state, CustomResourceOptions? opts = null)
public static Gretunnel get(String name, Output<String> id, GretunnelState 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.
- Checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - Checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - Diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- Dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - Interface string
- Interface name.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Keepalive
Failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- Keepalive
Interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- Key
Inbound int - Require received GRE packets contain this key (0 - 4294967295).
- Key
Outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- Local
Gw string - IP address of the local gateway.
- Local
Gw6 string - IPv6 address of the local gateway.
- Name string
- Tunnel name.
- Remote
Gw string - IP address of the remote gateway.
- Remote
Gw6 string - IPv6 address of the remote gateway.
- Sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - Sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - Use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- Checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - Checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - Diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- Dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - Interface string
- Interface name.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Keepalive
Failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- Keepalive
Interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- Key
Inbound int - Require received GRE packets contain this key (0 - 4294967295).
- Key
Outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- Local
Gw string - IP address of the local gateway.
- Local
Gw6 string - IPv6 address of the local gateway.
- Name string
- Tunnel name.
- Remote
Gw string - IP address of the remote gateway.
- Remote
Gw6 string - IPv6 address of the remote gateway.
- Sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - Sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - Use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- checksum
Reception String - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission String - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode String
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying String - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface_ String
- Interface name.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes Integer - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval Integer - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound Integer - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound Integer - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw String - IP address of the local gateway.
- local
Gw6 String - IPv6 address of the local gateway.
- name String
- Tunnel name.
- remote
Gw String - IP address of the remote gateway.
- remote
Gw6 String - IPv6 address of the remote gateway.
- sequence
Number StringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number StringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan String - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- checksum
Reception string - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission string - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode string
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying string - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface string
- Interface name.
- ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes number - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval number - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound number - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound number - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw string - IP address of the local gateway.
- local
Gw6 string - IPv6 address of the local gateway.
- name string
- Tunnel name.
- remote
Gw string - IP address of the remote gateway.
- remote
Gw6 string - IPv6 address of the remote gateway.
- sequence
Number stringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number stringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan string - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- checksum_
reception str - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum_
transmission str - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode str
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp_
copying str - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface str
- Interface name.
- ip_
version str - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive_
failtimes int - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive_
interval int - Keepalive message interval (0 - 32767, 0 = disabled).
- key_
inbound int - Require received GRE packets contain this key (0 - 4294967295).
- key_
outbound int - Include this key in transmitted GRE packets (0 - 4294967295).
- local_
gw str - IP address of the local gateway.
- local_
gw6 str - IPv6 address of the local gateway.
- name str
- Tunnel name.
- remote_
gw str - IP address of the remote gateway.
- remote_
gw6 str - IPv6 address of the remote gateway.
- sequence_
number_ strreception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence_
number_ strtransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use_
sdwan str - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
- checksum
Reception String - Enable/disable validating checksums in received GRE packets. Valid values:
disable
,enable
. - checksum
Transmission String - Enable/disable including checksums in transmitted GRE packets. Valid values:
disable
,enable
. - diffservcode String
- DiffServ setting to be applied to GRE tunnel outer IP header.
- dscp
Copying String - Enable/disable DSCP copying. Valid values:
disable
,enable
. - interface String
- Interface name.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - keepalive
Failtimes Number - Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
- keepalive
Interval Number - Keepalive message interval (0 - 32767, 0 = disabled).
- key
Inbound Number - Require received GRE packets contain this key (0 - 4294967295).
- key
Outbound Number - Include this key in transmitted GRE packets (0 - 4294967295).
- local
Gw String - IP address of the local gateway.
- local
Gw6 String - IPv6 address of the local gateway.
- name String
- Tunnel name.
- remote
Gw String - IP address of the remote gateway.
- remote
Gw6 String - IPv6 address of the remote gateway.
- sequence
Number StringReception - Enable/disable validating sequence numbers in received GRE packets. Valid values:
disable
,enable
. - sequence
Number StringTransmission - Enable/disable including of sequence numbers in transmitted GRE packets. Valid values:
disable
,enable
. - use
Sdwan String - Enable/disable use of SD-WAN to reach remote gateway. Valid values:
disable
,enable
. - 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.
Import
System GreTunnel can be imported using any of these accepted formats:
$ pulumi import fortios:system/gretunnel:Gretunnel labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/gretunnel:Gretunnel labelname {{name}}
$ 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.