fortios.system.Mobiletunnel
Explore with Pulumi AI
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=[{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Mobiletunnel resource accepts the following input properties:
- Hash
Algorithm string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - Home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- Lifetime int
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- NMhae
Key stringType - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - NMhae
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 expiration to send NMMO HA re-registration (5 - 60, default = 60).
- Roaming
Interface string - Select the associated interface name from available options.
- Tunnel
Mode string - NEMO tunnel mode (GRE tunnel). Valid values:
gre
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Home IP address (Format: xxx.xxx.xxx.xxx).
- NMhae
Key string - NEMO authentication key.
- Name string
- Tunnel name.
- Networks
List<Pulumiverse.
Fortios. System. Inputs. Mobiletunnel Network> - 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 string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - Home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- Lifetime int
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- NMhae
Key stringType - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - NMhae
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 expiration to send NMMO HA re-registration (5 - 60, default = 60).
- Roaming
Interface string - Select the associated interface name from available options.
- Tunnel
Mode string - NEMO tunnel mode (GRE tunnel). Valid values:
gre
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Home IP address (Format: xxx.xxx.xxx.xxx).
- NMhae
Key string - NEMO authentication key.
- Name string
- Tunnel name.
- Networks
[]Mobiletunnel
Network Args - 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 String - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Agent String - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime Integer
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae StringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae IntegerSpi - NEMO authentication SPI (default: 256).
- reg
Interval Integer - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry Integer - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval Integer - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface String - Select the associated interface name from available options.
- tunnel
Mode String - NEMO tunnel mode (GRE tunnel). Valid values:
gre
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 String - Home IP address (Format: xxx.xxx.xxx.xxx).
- n
Mhae StringKey - NEMO authentication key.
- name String
- Tunnel name.
- networks
List<Mobiletunnel
Network> - 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 string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime number
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae stringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae numberSpi - NEMO authentication SPI (default: 256).
- reg
Interval number - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry number - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval number - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface string - Select the associated interface name from available options.
- tunnel
Mode string - NEMO tunnel mode (GRE tunnel). Valid values:
gre
. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Home IP address (Format: xxx.xxx.xxx.xxx).
- n
Mhae stringKey - NEMO authentication key.
- name string
- Tunnel name.
- networks
Mobiletunnel
Network[] - 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_ strkey_ type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n_
mhae_ intspi - 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 expiration 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 tunnel mode (GRE tunnel). Valid values:
gre
. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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_ strkey - NEMO authentication key.
- name str
- Tunnel name.
- networks
Sequence[Mobiletunnel
Network Args] - 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.
- hash
Algorithm String - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Agent String - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime Number
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae StringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae NumberSpi - NEMO authentication SPI (default: 256).
- reg
Interval Number - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry Number - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval Number - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface String - Select the associated interface name from available options.
- tunnel
Mode String - NEMO tunnel mode (GRE tunnel). Valid values:
gre
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 String - Home IP address (Format: xxx.xxx.xxx.xxx).
- n
Mhae StringKey - 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.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - Home
Address string - Home IP address (Format: xxx.xxx.xxx.xxx).
- Home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- Lifetime int
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- NMhae
Key string - NEMO authentication key.
- NMhae
Key stringType - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - NMhae
Spi int - NEMO authentication SPI (default: 256).
- Name string
- Tunnel name.
- Networks
List<Pulumiverse.
Fortios. System. Inputs. Mobiletunnel Network> - 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 expiration to send NMMO HA re-registration (5 - 60, default = 60).
- Roaming
Interface string - Select the associated interface name from available options.
- Status string
- Enable/disable this mobile tunnel. Valid values:
disable
,enable
. - Tunnel
Mode string - NEMO tunnel 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 stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - Home
Address string - Home IP address (Format: xxx.xxx.xxx.xxx).
- Home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- Lifetime int
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- NMhae
Key string - NEMO authentication key.
- NMhae
Key stringType - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - NMhae
Spi int - NEMO authentication SPI (default: 256).
- Name string
- Tunnel name.
- Networks
[]Mobiletunnel
Network Args - 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 expiration to send NMMO HA re-registration (5 - 60, default = 60).
- Roaming
Interface string - Select the associated interface name from available options.
- Status string
- Enable/disable this mobile tunnel. Valid values:
disable
,enable
. - Tunnel
Mode string - NEMO tunnel 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 StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 String - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Address String - Home IP address (Format: xxx.xxx.xxx.xxx).
- home
Agent String - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime Integer
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae StringKey - NEMO authentication key.
- n
Mhae StringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae IntegerSpi - NEMO authentication SPI (default: 256).
- name String
- Tunnel name.
- networks
List<Mobiletunnel
Network> - NEMO network configuration. The structure of
network
block is documented below. - reg
Interval Integer - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry Integer - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval Integer - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface String - Select the associated interface name from available options.
- status String
- Enable/disable this mobile tunnel. Valid values:
disable
,enable
. - tunnel
Mode String - NEMO tunnel 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 stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 string - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Address string - Home IP address (Format: xxx.xxx.xxx.xxx).
- home
Agent string - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime number
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae stringKey - NEMO authentication key.
- n
Mhae stringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae numberSpi - NEMO authentication SPI (default: 256).
- name string
- Tunnel name.
- networks
Mobiletunnel
Network[] - NEMO network configuration. The structure of
network
block is documented below. - reg
Interval number - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry number - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval number - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface string - Select the associated interface name from available options.
- status string
- Enable/disable this mobile tunnel. Valid values:
disable
,enable
. - tunnel
Mode string - NEMO tunnel 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_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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_ strkey - NEMO authentication key.
- n_
mhae_ strkey_ type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n_
mhae_ intspi - NEMO authentication SPI (default: 256).
- name str
- Tunnel name.
- networks
Sequence[Mobiletunnel
Network Args] - 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 expiration 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 tunnel 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.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 String - Hash Algorithm (Keyed MD5). Valid values:
hmac-md5
. - home
Address String - Home IP address (Format: xxx.xxx.xxx.xxx).
- home
Agent String - IPv4 address of the NEMO HA (Format: xxx.xxx.xxx.xxx).
- lifetime Number
- NMMO HA registration request lifetime (180 - 65535 sec, default = 65535).
- n
Mhae StringKey - NEMO authentication key.
- n
Mhae StringKey Type - NEMO authentication key type (ascii or base64). Valid values:
ascii
,base64
. - n
Mhae NumberSpi - NEMO authentication SPI (default: 256).
- name String
- Tunnel name.
- networks List<Property Map>
- NEMO network configuration. The structure of
network
block is documented below. - reg
Interval Number - NMMO HA registration interval (5 - 300, default = 5).
- reg
Retry Number - Maximum number of NMMO HA registration retries (1 to 30, default = 3).
- renew
Interval Number - Time before lifetime expiration to send NMMO HA re-registration (5 - 60, default = 60).
- roaming
Interface String - Select the associated interface name from available options.
- status String
- Enable/disable this mobile tunnel. Valid values:
disable
,enable
. - tunnel
Mode String - NEMO tunnel 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 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).
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.