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

fortios.system.Mobiletunnel

Explore with Pulumi AI

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

    Configure Mobile tunnels, an implementation of Network Mobility (NEMO) extensions for Mobile IPv4 RFC5177.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Mobiletunnel("trname", {
        hashAlgorithm: "hmac-md5",
        homeAddress: "0.0.0.0",
        homeAgent: "1.1.1.1",
        lifetime: 65535,
        nMhaeKey: "'ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='",
        nMhaeKeyType: "ascii",
        nMhaeSpi: 256,
        regInterval: 5,
        regRetry: 3,
        renewInterval: 60,
        roamingInterface: "port3",
        status: "disable",
        tunnelMode: "gre",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Mobiletunnel("trname",
        hash_algorithm="hmac-md5",
        home_address="0.0.0.0",
        home_agent="1.1.1.1",
        lifetime=65535,
        n_mhae_key="'ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='",
        n_mhae_key_type="ascii",
        n_mhae_spi=256,
        reg_interval=5,
        reg_retry=3,
        renew_interval=60,
        roaming_interface="port3",
        status="disable",
        tunnel_mode="gre")
    
    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.NewMobiletunnel(ctx, "trname", &system.MobiletunnelArgs{
    			HashAlgorithm:    pulumi.String("hmac-md5"),
    			HomeAddress:      pulumi.String("0.0.0.0"),
    			HomeAgent:        pulumi.String("1.1.1.1"),
    			Lifetime:         pulumi.Int(65535),
    			NMhaeKey:         pulumi.String("'ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='"),
    			NMhaeKeyType:     pulumi.String("ascii"),
    			NMhaeSpi:         pulumi.Int(256),
    			RegInterval:      pulumi.Int(5),
    			RegRetry:         pulumi.Int(3),
    			RenewInterval:    pulumi.Int(60),
    			RoamingInterface: pulumi.String("port3"),
    			Status:           pulumi.String("disable"),
    			TunnelMode:       pulumi.String("gre"),
    		})
    		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.Mobiletunnel("trname", new()
        {
            HashAlgorithm = "hmac-md5",
            HomeAddress = "0.0.0.0",
            HomeAgent = "1.1.1.1",
            Lifetime = 65535,
            NMhaeKey = "'ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='",
            NMhaeKeyType = "ascii",
            NMhaeSpi = 256,
            RegInterval = 5,
            RegRetry = 3,
            RenewInterval = 60,
            RoamingInterface = "port3",
            Status = "disable",
            TunnelMode = "gre",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Mobiletunnel;
    import com.pulumi.fortios.system.MobiletunnelArgs;
    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 Mobiletunnel("trname", MobiletunnelArgs.builder()        
                .hashAlgorithm("hmac-md5")
                .homeAddress("0.0.0.0")
                .homeAgent("1.1.1.1")
                .lifetime(65535)
                .nMhaeKey("'ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='")
                .nMhaeKeyType("ascii")
                .nMhaeSpi(256)
                .regInterval(5)
                .regRetry(3)
                .renewInterval(60)
                .roamingInterface("port3")
                .status("disable")
                .tunnelMode("gre")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Mobiletunnel
        properties:
          hashAlgorithm: hmac-md5
          homeAddress: 0.0.0.0
          homeAgent: 1.1.1.1
          lifetime: 65535
          nMhaeKey: '''ENC M2wyM3DcnUhqgich7vsLk5oVuPAI9LTkcFNt0c3jI1ujC6w1XBot7gsRAf2S8X5dagfUnJGhZ5LrQxw21e4y8oXuCOLp8MmaRZbCkxYCAl1wm/wVY3aNzVk2+jE='''
          nMhaeKeyType: ascii
          nMhaeSpi: 256
          regInterval: 5
          regRetry: 3
          renewInterval: 60
          roamingInterface: port3
          status: disable
          tunnelMode: gre
    

    Create Mobiletunnel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Mobiletunnel(name: string, args: MobiletunnelArgs, opts?: CustomResourceOptions);
    @overload
    def Mobiletunnel(resource_name: str,
                     args: MobiletunnelArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Mobiletunnel(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     n_mhae_spi: Optional[int] = None,
                     hash_algorithm: Optional[str] = None,
                     tunnel_mode: Optional[str] = None,
                     roaming_interface: Optional[str] = None,
                     home_agent: Optional[str] = None,
                     lifetime: Optional[int] = None,
                     renew_interval: Optional[int] = None,
                     n_mhae_key_type: Optional[str] = None,
                     reg_retry: Optional[int] = None,
                     reg_interval: Optional[int] = None,
                     home_address: Optional[str] = None,
                     get_all_tables: Optional[str] = None,
                     vdomparam: Optional[str] = None,
                     n_mhae_key: Optional[str] = None,
                     networks: Optional[Sequence[MobiletunnelNetworkArgs]] = None,
                     status: Optional[str] = None,
                     name: Optional[str] = None,
                     dynamic_sort_subtable: Optional[str] = None)
    func NewMobiletunnel(ctx *Context, name string, args MobiletunnelArgs, opts ...ResourceOption) (*Mobiletunnel, error)
    public Mobiletunnel(string name, MobiletunnelArgs args, CustomResourceOptions? opts = null)
    public Mobiletunnel(String name, MobiletunnelArgs args)
    public Mobiletunnel(String name, MobiletunnelArgs args, CustomResourceOptions options)
    
    type: fortios:system:Mobiletunnel
    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 MobiletunnelArgs
    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 MobiletunnelArgs
    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 MobiletunnelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MobiletunnelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MobiletunnelArgs
    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 mobiletunnelResource = new Fortios.System.Mobiletunnel("mobiletunnelResource", new()
    {
        NMhaeSpi = 0,
        HashAlgorithm = "string",
        TunnelMode = "string",
        RoamingInterface = "string",
        HomeAgent = "string",
        Lifetime = 0,
        RenewInterval = 0,
        NMhaeKeyType = "string",
        RegRetry = 0,
        RegInterval = 0,
        HomeAddress = "string",
        GetAllTables = "string",
        Vdomparam = "string",
        NMhaeKey = "string",
        Networks = new[]
        {
            new Fortios.System.Inputs.MobiletunnelNetworkArgs
            {
                Id = 0,
                Interface = "string",
                Prefix = "string",
            },
        },
        Status = "string",
        Name = "string",
        DynamicSortSubtable = "string",
    });
    
    example, err := system.NewMobiletunnel(ctx, "mobiletunnelResource", &system.MobiletunnelArgs{
    	NMhaeSpi:         pulumi.Int(0),
    	HashAlgorithm:    pulumi.String("string"),
    	TunnelMode:       pulumi.String("string"),
    	RoamingInterface: pulumi.String("string"),
    	HomeAgent:        pulumi.String("string"),
    	Lifetime:         pulumi.Int(0),
    	RenewInterval:    pulumi.Int(0),
    	NMhaeKeyType:     pulumi.String("string"),
    	RegRetry:         pulumi.Int(0),
    	RegInterval:      pulumi.Int(0),
    	HomeAddress:      pulumi.String("string"),
    	GetAllTables:     pulumi.String("string"),
    	Vdomparam:        pulumi.String("string"),
    	NMhaeKey:         pulumi.String("string"),
    	Networks: system.MobiletunnelNetworkArray{
    		&system.MobiletunnelNetworkArgs{
    			Id:        pulumi.Int(0),
    			Interface: pulumi.String("string"),
    			Prefix:    pulumi.String("string"),
    		},
    	},
    	Status:              pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    })
    
    var mobiletunnelResource = new Mobiletunnel("mobiletunnelResource", MobiletunnelArgs.builder()
        .nMhaeSpi(0)
        .hashAlgorithm("string")
        .tunnelMode("string")
        .roamingInterface("string")
        .homeAgent("string")
        .lifetime(0)
        .renewInterval(0)
        .nMhaeKeyType("string")
        .regRetry(0)
        .regInterval(0)
        .homeAddress("string")
        .getAllTables("string")
        .vdomparam("string")
        .nMhaeKey("string")
        .networks(MobiletunnelNetworkArgs.builder()
            .id(0)
            .interface_("string")
            .prefix("string")
            .build())
        .status("string")
        .name("string")
        .dynamicSortSubtable("string")
        .build());
    
    mobiletunnel_resource = fortios.system.Mobiletunnel("mobiletunnelResource",
        n_mhae_spi=0,
        hash_algorithm="string",
        tunnel_mode="string",
        roaming_interface="string",
        home_agent="string",
        lifetime=0,
        renew_interval=0,
        n_mhae_key_type="string",
        reg_retry=0,
        reg_interval=0,
        home_address="string",
        get_all_tables="string",
        vdomparam="string",
        n_mhae_key="string",
        networks=[fortios.system.MobiletunnelNetworkArgs(
            id=0,
            interface="string",
            prefix="string",
        )],
        status="string",
        name="string",
        dynamic_sort_subtable="string")
    
    const mobiletunnelResource = new fortios.system.Mobiletunnel("mobiletunnelResource", {
        nMhaeSpi: 0,
        hashAlgorithm: "string",
        tunnelMode: "string",
        roamingInterface: "string",
        homeAgent: "string",
        lifetime: 0,
        renewInterval: 0,
        nMhaeKeyType: "string",
        regRetry: 0,
        regInterval: 0,
        homeAddress: "string",
        getAllTables: "string",
        vdomparam: "string",
        nMhaeKey: "string",
        networks: [{
            id: 0,
            "interface": "string",
            prefix: "string",
        }],
        status: "string",
        name: "string",
        dynamicSortSubtable: "string",
    });
    
    type: fortios:system:Mobiletunnel
    properties:
        dynamicSortSubtable: string
        getAllTables: string
        hashAlgorithm: string
        homeAddress: string
        homeAgent: string
        lifetime: 0
        nMhaeKey: string
        nMhaeKeyType: string
        nMhaeSpi: 0
        name: string
        networks:
            - id: 0
              interface: string
              prefix: string
        regInterval: 0
        regRetry: 0
        renewInterval: 0
        roamingInterface: string
        status: string
        tunnelMode: string
        vdomparam: string
    

    Mobiletunnel 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 Mobiletunnel resource accepts the following input properties:

    HashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    HomeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    Lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    NMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    NMhaeSpi int
    NEMO authentication SPI (default: 256).
    RegInterval int
    NMMO HA registration interval (5 - 300, default = 5).
    RegRetry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    RenewInterval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    RoamingInterface string
    Select the associated interface name from available options.
    TunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    HomeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    NMhaeKey string
    NEMO authentication key.
    Name string
    Tunnel name.
    Networks List<Pulumiverse.Fortios.System.Inputs.MobiletunnelNetwork>
    NEMO network configuration. The structure of network block is documented below.
    Status string
    Enable/disable this mobile tunnel. 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.
    HashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    HomeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    Lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    NMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    NMhaeSpi int
    NEMO authentication SPI (default: 256).
    RegInterval int
    NMMO HA registration interval (5 - 300, default = 5).
    RegRetry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    RenewInterval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    RoamingInterface string
    Select the associated interface name from available options.
    TunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    HomeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    NMhaeKey string
    NEMO authentication key.
    Name string
    Tunnel name.
    Networks []MobiletunnelNetworkArgs
    NEMO network configuration. The structure of network block is documented below.
    Status string
    Enable/disable this mobile tunnel. 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.
    hashAlgorithm String
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAgent String
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime Integer
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKeyType String
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi Integer
    NEMO authentication SPI (default: 256).
    regInterval Integer
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry Integer
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval Integer
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface String
    Select the associated interface name from available options.
    tunnelMode String
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    homeAddress String
    Home IP address (Format: xxx.xxx.xxx.xxx).
    nMhaeKey String
    NEMO authentication key.
    name String
    Tunnel name.
    networks List<MobiletunnelNetwork>
    NEMO network configuration. The structure of network block is documented below.
    status String
    Enable/disable this mobile tunnel. 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.
    hashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime number
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi number
    NEMO authentication SPI (default: 256).
    regInterval number
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry number
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval number
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface string
    Select the associated interface name from available options.
    tunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    homeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    nMhaeKey string
    NEMO authentication key.
    name string
    Tunnel name.
    networks MobiletunnelNetwork[]
    NEMO network configuration. The structure of network block is documented below.
    status string
    Enable/disable this mobile tunnel. 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.
    hash_algorithm str
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    home_agent str
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    n_mhae_key_type str
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    n_mhae_spi int
    NEMO authentication SPI (default: 256).
    reg_interval int
    NMMO HA registration interval (5 - 300, default = 5).
    reg_retry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renew_interval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roaming_interface str
    Select the associated interface name from available options.
    tunnel_mode str
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    home_address str
    Home IP address (Format: xxx.xxx.xxx.xxx).
    n_mhae_key str
    NEMO authentication key.
    name str
    Tunnel name.
    networks Sequence[MobiletunnelNetworkArgs]
    NEMO network configuration. The structure of network block is documented below.
    status str
    Enable/disable this mobile tunnel. 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.
    hashAlgorithm String
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAgent String
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime Number
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKeyType String
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi Number
    NEMO authentication SPI (default: 256).
    regInterval Number
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry Number
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval Number
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface String
    Select the associated interface name from available options.
    tunnelMode String
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    homeAddress String
    Home IP address (Format: xxx.xxx.xxx.xxx).
    nMhaeKey String
    NEMO authentication key.
    name String
    Tunnel name.
    networks List<Property Map>
    NEMO network configuration. The structure of network block is documented below.
    status String
    Enable/disable this mobile tunnel. 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 Mobiletunnel 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 Mobiletunnel Resource

    Get an existing Mobiletunnel 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?: MobiletunnelState, opts?: CustomResourceOptions): Mobiletunnel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            hash_algorithm: Optional[str] = None,
            home_address: Optional[str] = None,
            home_agent: Optional[str] = None,
            lifetime: Optional[int] = None,
            n_mhae_key: Optional[str] = None,
            n_mhae_key_type: Optional[str] = None,
            n_mhae_spi: Optional[int] = None,
            name: Optional[str] = None,
            networks: Optional[Sequence[MobiletunnelNetworkArgs]] = None,
            reg_interval: Optional[int] = None,
            reg_retry: Optional[int] = None,
            renew_interval: Optional[int] = None,
            roaming_interface: Optional[str] = None,
            status: Optional[str] = None,
            tunnel_mode: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Mobiletunnel
    func GetMobiletunnel(ctx *Context, name string, id IDInput, state *MobiletunnelState, opts ...ResourceOption) (*Mobiletunnel, error)
    public static Mobiletunnel Get(string name, Input<string> id, MobiletunnelState? state, CustomResourceOptions? opts = null)
    public static Mobiletunnel get(String name, Output<String> id, MobiletunnelState 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:
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    HashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    HomeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    HomeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    Lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    NMhaeKey string
    NEMO authentication key.
    NMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    NMhaeSpi int
    NEMO authentication SPI (default: 256).
    Name string
    Tunnel name.
    Networks List<Pulumiverse.Fortios.System.Inputs.MobiletunnelNetwork>
    NEMO network configuration. The structure of network block is documented below.
    RegInterval int
    NMMO HA registration interval (5 - 300, default = 5).
    RegRetry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    RenewInterval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    RoamingInterface string
    Select the associated interface name from available options.
    Status string
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    TunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    HashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    HomeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    HomeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    Lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    NMhaeKey string
    NEMO authentication key.
    NMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    NMhaeSpi int
    NEMO authentication SPI (default: 256).
    Name string
    Tunnel name.
    Networks []MobiletunnelNetworkArgs
    NEMO network configuration. The structure of network block is documented below.
    RegInterval int
    NMMO HA registration interval (5 - 300, default = 5).
    RegRetry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    RenewInterval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    RoamingInterface string
    Select the associated interface name from available options.
    Status string
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    TunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hashAlgorithm String
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAddress String
    Home IP address (Format: xxx.xxx.xxx.xxx).
    homeAgent String
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime Integer
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKey String
    NEMO authentication key.
    nMhaeKeyType String
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi Integer
    NEMO authentication SPI (default: 256).
    name String
    Tunnel name.
    networks List<MobiletunnelNetwork>
    NEMO network configuration. The structure of network block is documented below.
    regInterval Integer
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry Integer
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval Integer
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface String
    Select the associated interface name from available options.
    status String
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    tunnelMode String
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hashAlgorithm string
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAddress string
    Home IP address (Format: xxx.xxx.xxx.xxx).
    homeAgent string
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime number
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKey string
    NEMO authentication key.
    nMhaeKeyType string
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi number
    NEMO authentication SPI (default: 256).
    name string
    Tunnel name.
    networks MobiletunnelNetwork[]
    NEMO network configuration. The structure of network block is documented below.
    regInterval number
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry number
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval number
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface string
    Select the associated interface name from available options.
    status string
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    tunnelMode string
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hash_algorithm str
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    home_address str
    Home IP address (Format: xxx.xxx.xxx.xxx).
    home_agent str
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime int
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    n_mhae_key str
    NEMO authentication key.
    n_mhae_key_type str
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    n_mhae_spi int
    NEMO authentication SPI (default: 256).
    name str
    Tunnel name.
    networks Sequence[MobiletunnelNetworkArgs]
    NEMO network configuration. The structure of network block is documented below.
    reg_interval int
    NMMO HA registration interval (5 - 300, default = 5).
    reg_retry int
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renew_interval int
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roaming_interface str
    Select the associated interface name from available options.
    status str
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    tunnel_mode str
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hashAlgorithm String
    Hash Algorithm (Keyed MD5). Valid values: hmac-md5.
    homeAddress String
    Home IP address (Format: xxx.xxx.xxx.xxx).
    homeAgent String
    IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
    lifetime Number
    NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
    nMhaeKey String
    NEMO authentication key.
    nMhaeKeyType String
    NEMO authentication key type (ascii or base64). Valid values: ascii, base64.
    nMhaeSpi Number
    NEMO authentication SPI (default: 256).
    name String
    Tunnel name.
    networks List<Property Map>
    NEMO network configuration. The structure of network block is documented below.
    regInterval Number
    NMMO HA registration interval (5 - 300, default = 5).
    regRetry Number
    Maximum number of NMMO HA registration retries (1 to 30, default = 3).
    renewInterval Number
    Time before lifetime expiraton to send NMMO HA re-registration (5 - 60, default = 60).
    roamingInterface String
    Select the associated interface name from available options.
    status String
    Enable/disable this mobile tunnel. Valid values: disable, enable.
    tunnelMode String
    NEMO tunnnel mode (GRE tunnel). Valid values: gre.
    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

    MobiletunnelNetwork, MobiletunnelNetworkArgs

    Id int
    Network entry ID.
    Interface string
    Select the associated interface name from available options.
    Prefix string
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).
    Id int
    Network entry ID.
    Interface string
    Select the associated interface name from available options.
    Prefix string
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).
    id Integer
    Network entry ID.
    interface_ String
    Select the associated interface name from available options.
    prefix String
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).
    id number
    Network entry ID.
    interface string
    Select the associated interface name from available options.
    prefix string
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).
    id int
    Network entry ID.
    interface str
    Select the associated interface name from available options.
    prefix str
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).
    id Number
    Network entry ID.
    interface String
    Select the associated interface name from available options.
    prefix String
    Class IP and Netmask with correction (Format:xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x).

    Import

    System MobileTunnel can be imported using any of these accepted formats:

    $ pulumi import fortios:system/mobiletunnel:Mobiletunnel labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/mobiletunnel:Mobiletunnel 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