1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Gretunnel
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.Gretunnel

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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

    The Gretunnel resource accepts the following input properties:

    LocalGw string
    IP address of the local gateway.
    RemoteGw string
    IP address of the remote gateway.
    ChecksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    ChecksumTransmission 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.
    DscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    Interface string
    Interface name.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    KeepaliveFailtimes int
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    KeepaliveInterval int
    Keepalive message interval (0 - 32767, 0 = disabled).
    KeyInbound int
    Require received GRE packets contain this key (0 - 4294967295).
    KeyOutbound int
    Include this key in transmitted GRE packets (0 - 4294967295).
    LocalGw6 string
    IPv6 address of the local gateway.
    Name string
    Tunnel name.
    RemoteGw6 string
    IPv6 address of the remote gateway.
    SequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    SequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    UseSdwan 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.
    LocalGw string
    IP address of the local gateway.
    RemoteGw string
    IP address of the remote gateway.
    ChecksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    ChecksumTransmission 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.
    DscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    Interface string
    Interface name.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    KeepaliveFailtimes int
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    KeepaliveInterval int
    Keepalive message interval (0 - 32767, 0 = disabled).
    KeyInbound int
    Require received GRE packets contain this key (0 - 4294967295).
    KeyOutbound int
    Include this key in transmitted GRE packets (0 - 4294967295).
    LocalGw6 string
    IPv6 address of the local gateway.
    Name string
    Tunnel name.
    RemoteGw6 string
    IPv6 address of the remote gateway.
    SequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    SequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    UseSdwan 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.
    localGw String
    IP address of the local gateway.
    remoteGw String
    IP address of the remote gateway.
    checksumReception String
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying String
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface_ String
    Interface name.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes Integer
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval Integer
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound Integer
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound Integer
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw6 String
    IPv6 address of the local gateway.
    name String
    Tunnel name.
    remoteGw6 String
    IPv6 address of the remote gateway.
    sequenceNumberReception String
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission String
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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.
    localGw string
    IP address of the local gateway.
    remoteGw string
    IP address of the remote gateway.
    checksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface string
    Interface name.
    ipVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes number
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval number
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound number
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound number
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw6 string
    IPv6 address of the local gateway.
    name string
    Tunnel name.
    remoteGw6 string
    IPv6 address of the remote gateway.
    sequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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_reception str
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequence_number_transmission str
    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.
    localGw String
    IP address of the local gateway.
    remoteGw String
    IP address of the remote gateway.
    checksumReception String
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying String
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface String
    Interface name.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes Number
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval Number
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound Number
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound Number
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw6 String
    IPv6 address of the local gateway.
    name String
    Tunnel name.
    remoteGw6 String
    IPv6 address of the remote gateway.
    sequenceNumberReception String
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission String
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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.
    The following state arguments are supported:
    ChecksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    ChecksumTransmission 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.
    DscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    Interface string
    Interface name.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    KeepaliveFailtimes int
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    KeepaliveInterval int
    Keepalive message interval (0 - 32767, 0 = disabled).
    KeyInbound int
    Require received GRE packets contain this key (0 - 4294967295).
    KeyOutbound int
    Include this key in transmitted GRE packets (0 - 4294967295).
    LocalGw string
    IP address of the local gateway.
    LocalGw6 string
    IPv6 address of the local gateway.
    Name string
    Tunnel name.
    RemoteGw string
    IP address of the remote gateway.
    RemoteGw6 string
    IPv6 address of the remote gateway.
    SequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    SequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    UseSdwan 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.
    ChecksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    ChecksumTransmission 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.
    DscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    Interface string
    Interface name.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    KeepaliveFailtimes int
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    KeepaliveInterval int
    Keepalive message interval (0 - 32767, 0 = disabled).
    KeyInbound int
    Require received GRE packets contain this key (0 - 4294967295).
    KeyOutbound int
    Include this key in transmitted GRE packets (0 - 4294967295).
    LocalGw string
    IP address of the local gateway.
    LocalGw6 string
    IPv6 address of the local gateway.
    Name string
    Tunnel name.
    RemoteGw string
    IP address of the remote gateway.
    RemoteGw6 string
    IPv6 address of the remote gateway.
    SequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    SequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    UseSdwan 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.
    checksumReception String
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying String
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface_ String
    Interface name.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes Integer
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval Integer
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound Integer
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound Integer
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw String
    IP address of the local gateway.
    localGw6 String
    IPv6 address of the local gateway.
    name String
    Tunnel name.
    remoteGw String
    IP address of the remote gateway.
    remoteGw6 String
    IPv6 address of the remote gateway.
    sequenceNumberReception String
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission String
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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.
    checksumReception string
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying string
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface string
    Interface name.
    ipVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes number
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval number
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound number
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound number
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw string
    IP address of the local gateway.
    localGw6 string
    IPv6 address of the local gateway.
    name string
    Tunnel name.
    remoteGw string
    IP address of the remote gateway.
    remoteGw6 string
    IPv6 address of the remote gateway.
    sequenceNumberReception string
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission string
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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_reception str
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequence_number_transmission str
    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.
    checksumReception String
    Enable/disable validating checksums in received GRE packets. Valid values: disable, enable.
    checksumTransmission 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.
    dscpCopying String
    Enable/disable DSCP copying. Valid values: disable, enable.
    interface String
    Interface name.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    keepaliveFailtimes Number
    Number of consecutive unreturned keepalive messages before a GRE connection is considered down (1 - 255).
    keepaliveInterval Number
    Keepalive message interval (0 - 32767, 0 = disabled).
    keyInbound Number
    Require received GRE packets contain this key (0 - 4294967295).
    keyOutbound Number
    Include this key in transmitted GRE packets (0 - 4294967295).
    localGw String
    IP address of the local gateway.
    localGw6 String
    IPv6 address of the local gateway.
    name String
    Tunnel name.
    remoteGw String
    IP address of the remote gateway.
    remoteGw6 String
    IPv6 address of the remote gateway.
    sequenceNumberReception String
    Enable/disable validating sequence numbers in received GRE packets. Valid values: disable, enable.
    sequenceNumberTransmission String
    Enable/disable including of sequence numbers in transmitted GRE packets. Valid values: disable, enable.
    useSdwan 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse