published on Friday, Jul 10, 2026 by Pulumi
published on Friday, Jul 10, 2026 by Pulumi
This resource manages Mist Tunnels in the Mist Organization.
A Mist Tunnel (MxTunnel) defines tunneling configuration used to carry AP user VLANs to Mist Edge clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";
const mxtunnelOne = new junipermist.org.Mxtunnel("mxtunnel_one", {
orgId: terraformTest.id,
name: "mxtunnel_one",
protocol: "udp",
helloInterval: 60,
helloRetries: 7,
mtu: 0,
vlanIds: [
10,
20,
30,
],
mxclusterIds: [mxclusterOne.id],
autoPreemption: {
enabled: true,
dayOfWeek: "mon",
timeOfDay: "02:00",
},
ipsec: {
enabled: true,
splitTunnel: true,
useMxedge: true,
dnsServers: [
"8.8.8.8",
"8.8.4.4",
],
dnsSuffixes: ["corp.example.com"],
extraRoutes: [{
dest: "10.0.0.0/8",
nextHop: "192.168.1.1",
}],
},
});
import pulumi
import pulumi_juniper_mist as junipermist
mxtunnel_one = junipermist.org.Mxtunnel("mxtunnel_one",
org_id=terraform_test["id"],
name="mxtunnel_one",
protocol="udp",
hello_interval=60,
hello_retries=7,
mtu=0,
vlan_ids=[
10,
20,
30,
],
mxcluster_ids=[mxcluster_one["id"]],
auto_preemption={
"enabled": True,
"day_of_week": "mon",
"time_of_day": "02:00",
},
ipsec={
"enabled": True,
"split_tunnel": True,
"use_mxedge": True,
"dns_servers": [
"8.8.8.8",
"8.8.4.4",
],
"dns_suffixes": ["corp.example.com"],
"extra_routes": [{
"dest": "10.0.0.0/8",
"next_hop": "192.168.1.1",
}],
})
package main
import (
"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := org.NewMxtunnel(ctx, "mxtunnel_one", &org.MxtunnelArgs{
OrgId: pulumi.Any(terraformTest.Id),
Name: pulumi.String("mxtunnel_one"),
Protocol: pulumi.String("udp"),
HelloInterval: pulumi.Int(60),
HelloRetries: pulumi.Int(7),
Mtu: pulumi.Int(0),
VlanIds: pulumi.IntArray{
pulumi.Int(10),
pulumi.Int(20),
pulumi.Int(30),
},
MxclusterIds: pulumi.StringArray{
mxclusterOne.Id,
},
AutoPreemption: &org.MxtunnelAutoPreemptionArgs{
Enabled: pulumi.Bool(true),
DayOfWeek: pulumi.String("mon"),
TimeOfDay: pulumi.String("02:00"),
},
Ipsec: &org.MxtunnelIpsecArgs{
Enabled: pulumi.Bool(true),
SplitTunnel: pulumi.Bool(true),
UseMxedge: pulumi.Bool(true),
DnsServers: pulumi.StringArray{
pulumi.String("8.8.8.8"),
pulumi.String("8.8.4.4"),
},
DnsSuffixes: pulumi.StringArray{
pulumi.String("corp.example.com"),
},
ExtraRoutes: org.MxtunnelIpsecExtraRouteArray{
&org.MxtunnelIpsecExtraRouteArgs{
Dest: pulumi.String("10.0.0.0/8"),
NextHop: pulumi.String("192.168.1.1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() =>
{
var mxtunnelOne = new JuniperMist.Org.Mxtunnel("mxtunnel_one", new()
{
OrgId = terraformTest.Id,
Name = "mxtunnel_one",
Protocol = "udp",
HelloInterval = 60,
HelloRetries = 7,
Mtu = 0,
VlanIds = new[]
{
10,
20,
30,
},
MxclusterIds = new[]
{
mxclusterOne.Id,
},
AutoPreemption = new JuniperMist.Org.Inputs.MxtunnelAutoPreemptionArgs
{
Enabled = true,
DayOfWeek = "mon",
TimeOfDay = "02:00",
},
Ipsec = new JuniperMist.Org.Inputs.MxtunnelIpsecArgs
{
Enabled = true,
SplitTunnel = true,
UseMxedge = true,
DnsServers = new[]
{
"8.8.8.8",
"8.8.4.4",
},
DnsSuffixes = new[]
{
"corp.example.com",
},
ExtraRoutes = new[]
{
new JuniperMist.Org.Inputs.MxtunnelIpsecExtraRouteArgs
{
Dest = "10.0.0.0/8",
NextHop = "192.168.1.1",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Mxtunnel;
import com.pulumi.junipermist.org.MxtunnelArgs;
import com.pulumi.junipermist.org.inputs.MxtunnelAutoPreemptionArgs;
import com.pulumi.junipermist.org.inputs.MxtunnelIpsecArgs;
import com.pulumi.junipermist.org.inputs.MxtunnelIpsecExtraRouteArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 mxtunnelOne = new Mxtunnel("mxtunnelOne", MxtunnelArgs.builder()
.orgId(terraformTest.id())
.name("mxtunnel_one")
.protocol("udp")
.helloInterval(60)
.helloRetries(7)
.mtu(0)
.vlanIds(
10,
20,
30)
.mxclusterIds(mxclusterOne.id())
.autoPreemption(MxtunnelAutoPreemptionArgs.builder()
.enabled(true)
.dayOfWeek("mon")
.timeOfDay("02:00")
.build())
.ipsec(MxtunnelIpsecArgs.builder()
.enabled(true)
.splitTunnel(true)
.useMxedge(true)
.dnsServers(
"8.8.8.8",
"8.8.4.4")
.dnsSuffixes("corp.example.com")
.extraRoutes(MxtunnelIpsecExtraRouteArgs.builder()
.dest("10.0.0.0/8")
.nextHop("192.168.1.1")
.build())
.build())
.build());
}
}
resources:
mxtunnelOne:
type: junipermist:org:Mxtunnel
name: mxtunnel_one
properties:
orgId: ${terraformTest.id}
name: mxtunnel_one
protocol: udp
helloInterval: 60
helloRetries: 7
mtu: 0
vlanIds:
- 10
- 20
- 30
mxclusterIds:
- ${mxclusterOne.id}
autoPreemption:
enabled: true
dayOfWeek: mon
timeOfDay: 02:00
ipsec:
enabled: true
splitTunnel: true
useMxedge: true
dnsServers:
- 8.8.8.8
- 8.8.4.4
dnsSuffixes:
- corp.example.com
extraRoutes:
- dest: 10.0.0.0/8
nextHop: 192.168.1.1
pulumi {
required_providers {
junipermist = {
source = "pulumi/junipermist"
}
}
}
resource "junipermist_org_mxtunnel" "mxtunnel_one" {
org_id = terraformTest.id
name = "mxtunnel_one"
protocol = "udp"
hello_interval = 60
hello_retries = 7
mtu = 0
vlan_ids = [10, 20, 30]
mxcluster_ids = [mxclusterOne.id]
auto_preemption = {
enabled = true
day_of_week = "mon"
time_of_day = "02:00"
}
ipsec = {
enabled = true
split_tunnel = true
use_mxedge = true
dns_servers = ["8.8.8.8", "8.8.4.4"]
dns_suffixes = ["corp.example.com"]
extra_routes = [{
"dest" = "10.0.0.0/8"
"nextHop" = "192.168.1.1"
}]
}
}
Create Mxtunnel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Mxtunnel(name: string, args: MxtunnelArgs, opts?: CustomResourceOptions);@overload
def Mxtunnel(resource_name: str,
args: MxtunnelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Mxtunnel(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
anchor_mxtunnel_ids: Optional[Sequence[str]] = None,
auto_preemption: Optional[MxtunnelAutoPreemptionArgs] = None,
hello_interval: Optional[int] = None,
hello_retries: Optional[int] = None,
ipsec: Optional[MxtunnelIpsecArgs] = None,
mtu: Optional[int] = None,
mxcluster_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
protocol: Optional[str] = None,
vlan_ids: Optional[Sequence[int]] = None)func NewMxtunnel(ctx *Context, name string, args MxtunnelArgs, opts ...ResourceOption) (*Mxtunnel, error)public Mxtunnel(string name, MxtunnelArgs args, CustomResourceOptions? opts = null)
public Mxtunnel(String name, MxtunnelArgs args)
public Mxtunnel(String name, MxtunnelArgs args, CustomResourceOptions options)
type: junipermist:org:Mxtunnel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "junipermist_org_mxtunnel" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args MxtunnelArgs
- 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 MxtunnelArgs
- 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 MxtunnelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MxtunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MxtunnelArgs
- 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 mxtunnelResource = new JuniperMist.Org.Mxtunnel("mxtunnelResource", new()
{
OrgId = "string",
AnchorMxtunnelIds = new[]
{
"string",
},
AutoPreemption = new JuniperMist.Org.Inputs.MxtunnelAutoPreemptionArgs
{
DayOfWeek = "string",
Enabled = false,
TimeOfDay = "string",
},
HelloInterval = 0,
HelloRetries = 0,
Ipsec = new JuniperMist.Org.Inputs.MxtunnelIpsecArgs
{
DnsServers = new[]
{
"string",
},
DnsSuffixes = new[]
{
"string",
},
Enabled = false,
ExtraRoutes = new[]
{
new JuniperMist.Org.Inputs.MxtunnelIpsecExtraRouteArgs
{
Dest = "string",
NextHop = "string",
},
},
SplitTunnel = false,
UseMxedge = false,
},
Mtu = 0,
MxclusterIds = new[]
{
"string",
},
Name = "string",
Protocol = "string",
VlanIds = new[]
{
0,
},
});
example, err := org.NewMxtunnel(ctx, "mxtunnelResource", &org.MxtunnelArgs{
OrgId: pulumi.String("string"),
AnchorMxtunnelIds: pulumi.StringArray{
pulumi.String("string"),
},
AutoPreemption: &org.MxtunnelAutoPreemptionArgs{
DayOfWeek: pulumi.String("string"),
Enabled: pulumi.Bool(false),
TimeOfDay: pulumi.String("string"),
},
HelloInterval: pulumi.Int(0),
HelloRetries: pulumi.Int(0),
Ipsec: &org.MxtunnelIpsecArgs{
DnsServers: pulumi.StringArray{
pulumi.String("string"),
},
DnsSuffixes: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
ExtraRoutes: org.MxtunnelIpsecExtraRouteArray{
&org.MxtunnelIpsecExtraRouteArgs{
Dest: pulumi.String("string"),
NextHop: pulumi.String("string"),
},
},
SplitTunnel: pulumi.Bool(false),
UseMxedge: pulumi.Bool(false),
},
Mtu: pulumi.Int(0),
MxclusterIds: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Protocol: pulumi.String("string"),
VlanIds: pulumi.IntArray{
pulumi.Int(0),
},
})
resource "junipermist_org_mxtunnel" "mxtunnelResource" {
org_id = "string"
anchor_mxtunnel_ids = ["string"]
auto_preemption = {
day_of_week = "string"
enabled = false
time_of_day = "string"
}
hello_interval = 0
hello_retries = 0
ipsec = {
dns_servers = ["string"]
dns_suffixes = ["string"]
enabled = false
extra_routes = [{
"dest" = "string"
"nextHop" = "string"
}]
split_tunnel = false
use_mxedge = false
}
mtu = 0
mxcluster_ids = ["string"]
name = "string"
protocol = "string"
vlan_ids = [0]
}
var mxtunnelResource = new Mxtunnel("mxtunnelResource", MxtunnelArgs.builder()
.orgId("string")
.anchorMxtunnelIds("string")
.autoPreemption(MxtunnelAutoPreemptionArgs.builder()
.dayOfWeek("string")
.enabled(false)
.timeOfDay("string")
.build())
.helloInterval(0)
.helloRetries(0)
.ipsec(MxtunnelIpsecArgs.builder()
.dnsServers("string")
.dnsSuffixes("string")
.enabled(false)
.extraRoutes(MxtunnelIpsecExtraRouteArgs.builder()
.dest("string")
.nextHop("string")
.build())
.splitTunnel(false)
.useMxedge(false)
.build())
.mtu(0)
.mxclusterIds("string")
.name("string")
.protocol("string")
.vlanIds(0)
.build());
mxtunnel_resource = junipermist.org.Mxtunnel("mxtunnelResource",
org_id="string",
anchor_mxtunnel_ids=["string"],
auto_preemption={
"day_of_week": "string",
"enabled": False,
"time_of_day": "string",
},
hello_interval=0,
hello_retries=0,
ipsec={
"dns_servers": ["string"],
"dns_suffixes": ["string"],
"enabled": False,
"extra_routes": [{
"dest": "string",
"next_hop": "string",
}],
"split_tunnel": False,
"use_mxedge": False,
},
mtu=0,
mxcluster_ids=["string"],
name="string",
protocol="string",
vlan_ids=[0])
const mxtunnelResource = new junipermist.org.Mxtunnel("mxtunnelResource", {
orgId: "string",
anchorMxtunnelIds: ["string"],
autoPreemption: {
dayOfWeek: "string",
enabled: false,
timeOfDay: "string",
},
helloInterval: 0,
helloRetries: 0,
ipsec: {
dnsServers: ["string"],
dnsSuffixes: ["string"],
enabled: false,
extraRoutes: [{
dest: "string",
nextHop: "string",
}],
splitTunnel: false,
useMxedge: false,
},
mtu: 0,
mxclusterIds: ["string"],
name: "string",
protocol: "string",
vlanIds: [0],
});
type: junipermist:org:Mxtunnel
properties:
anchorMxtunnelIds:
- string
autoPreemption:
dayOfWeek: string
enabled: false
timeOfDay: string
helloInterval: 0
helloRetries: 0
ipsec:
dnsServers:
- string
dnsSuffixes:
- string
enabled: false
extraRoutes:
- dest: string
nextHop: string
splitTunnel: false
useMxedge: false
mtu: 0
mxclusterIds:
- string
name: string
orgId: string
protocol: string
vlanIds:
- 0
Mxtunnel 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 Mxtunnel resource accepts the following input properties:
- Org
Id string - Identifier of the org that owns the Mist Tunnel
- Anchor
Mxtunnel List<string>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- Auto
Preemption Pulumi.Juniper Mist. Org. Inputs. Mxtunnel Auto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- Hello
Interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - Hello
Retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- Ipsec
Pulumi.
Juniper Mist. Org. Inputs. Mxtunnel Ipsec - Security settings for IPsec support on this Mist Tunnel
- Mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- Mxcluster
Ids List<string> - Mist Edge cluster IDs that host this Mist Tunnel
- Name string
- Display name of the Mist Tunnel
- Protocol string
- Encapsulation protocol used for the Mist Tunnel
- Vlan
Ids List<int> - List of VLAN IDs carried by this Mist Tunnel
- Org
Id string - Identifier of the org that owns the Mist Tunnel
- Anchor
Mxtunnel []stringIds - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- Auto
Preemption MxtunnelAuto Preemption Args - Preemption behavior for restoring preferred tunnel peers after failover
- Hello
Interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - Hello
Retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- Ipsec
Mxtunnel
Ipsec Args - Security settings for IPsec support on this Mist Tunnel
- Mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- Mxcluster
Ids []string - Mist Edge cluster IDs that host this Mist Tunnel
- Name string
- Display name of the Mist Tunnel
- Protocol string
- Encapsulation protocol used for the Mist Tunnel
- Vlan
Ids []int - List of VLAN IDs carried by this Mist Tunnel
- org_
id string - Identifier of the org that owns the Mist Tunnel
- anchor_
mxtunnel_ list(string)ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto_
preemption object - Preemption behavior for restoring preferred tunnel peers after failover
- hello_
interval number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello_
retries number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec object
- Security settings for IPsec support on this Mist Tunnel
- mtu number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster_
ids list(string) - Mist Edge cluster IDs that host this Mist Tunnel
- name string
- Display name of the Mist Tunnel
- protocol string
- Encapsulation protocol used for the Mist Tunnel
- vlan_
ids list(number) - List of VLAN IDs carried by this Mist Tunnel
- org
Id String - Identifier of the org that owns the Mist Tunnel
- anchor
Mxtunnel List<String>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption MxtunnelAuto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval Integer - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries Integer - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec - Security settings for IPsec support on this Mist Tunnel
- mtu Integer
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids List<String> - Mist Edge cluster IDs that host this Mist Tunnel
- name String
- Display name of the Mist Tunnel
- protocol String
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids List<Integer> - List of VLAN IDs carried by this Mist Tunnel
- org
Id string - Identifier of the org that owns the Mist Tunnel
- anchor
Mxtunnel string[]Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption MxtunnelAuto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec - Security settings for IPsec support on this Mist Tunnel
- mtu number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids string[] - Mist Edge cluster IDs that host this Mist Tunnel
- name string
- Display name of the Mist Tunnel
- protocol string
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids number[] - List of VLAN IDs carried by this Mist Tunnel
- org_
id str - Identifier of the org that owns the Mist Tunnel
- anchor_
mxtunnel_ Sequence[str]ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto_
preemption MxtunnelAuto Preemption Args - Preemption behavior for restoring preferred tunnel peers after failover
- hello_
interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello_
retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec Args - Security settings for IPsec support on this Mist Tunnel
- mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster_
ids Sequence[str] - Mist Edge cluster IDs that host this Mist Tunnel
- name str
- Display name of the Mist Tunnel
- protocol str
- Encapsulation protocol used for the Mist Tunnel
- vlan_
ids Sequence[int] - List of VLAN IDs carried by this Mist Tunnel
- org
Id String - Identifier of the org that owns the Mist Tunnel
- anchor
Mxtunnel List<String>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption Property Map - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval Number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries Number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec Property Map
- Security settings for IPsec support on this Mist Tunnel
- mtu Number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids List<String> - Mist Edge cluster IDs that host this Mist Tunnel
- name String
- Display name of the Mist Tunnel
- protocol String
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids List<Number> - List of VLAN IDs carried by this Mist Tunnel
Outputs
All input properties are implicitly available as output properties. Additionally, the Mxtunnel 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 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 Mxtunnel Resource
Get an existing Mxtunnel 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?: MxtunnelState, opts?: CustomResourceOptions): Mxtunnel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anchor_mxtunnel_ids: Optional[Sequence[str]] = None,
auto_preemption: Optional[MxtunnelAutoPreemptionArgs] = None,
hello_interval: Optional[int] = None,
hello_retries: Optional[int] = None,
ipsec: Optional[MxtunnelIpsecArgs] = None,
mtu: Optional[int] = None,
mxcluster_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
protocol: Optional[str] = None,
vlan_ids: Optional[Sequence[int]] = None) -> Mxtunnelfunc GetMxtunnel(ctx *Context, name string, id IDInput, state *MxtunnelState, opts ...ResourceOption) (*Mxtunnel, error)public static Mxtunnel Get(string name, Input<string> id, MxtunnelState? state, CustomResourceOptions? opts = null)public static Mxtunnel get(String name, Output<String> id, MxtunnelState state, CustomResourceOptions options)resources: _: type: junipermist:org:Mxtunnel get: id: ${id}import {
to = junipermist_org_mxtunnel.example
id = "${id}"
}
- 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.
- Anchor
Mxtunnel List<string>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- Auto
Preemption Pulumi.Juniper Mist. Org. Inputs. Mxtunnel Auto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- Hello
Interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - Hello
Retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- Ipsec
Pulumi.
Juniper Mist. Org. Inputs. Mxtunnel Ipsec - Security settings for IPsec support on this Mist Tunnel
- Mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- Mxcluster
Ids List<string> - Mist Edge cluster IDs that host this Mist Tunnel
- Name string
- Display name of the Mist Tunnel
- Org
Id string - Identifier of the org that owns the Mist Tunnel
- Protocol string
- Encapsulation protocol used for the Mist Tunnel
- Vlan
Ids List<int> - List of VLAN IDs carried by this Mist Tunnel
- Anchor
Mxtunnel []stringIds - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- Auto
Preemption MxtunnelAuto Preemption Args - Preemption behavior for restoring preferred tunnel peers after failover
- Hello
Interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - Hello
Retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- Ipsec
Mxtunnel
Ipsec Args - Security settings for IPsec support on this Mist Tunnel
- Mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- Mxcluster
Ids []string - Mist Edge cluster IDs that host this Mist Tunnel
- Name string
- Display name of the Mist Tunnel
- Org
Id string - Identifier of the org that owns the Mist Tunnel
- Protocol string
- Encapsulation protocol used for the Mist Tunnel
- Vlan
Ids []int - List of VLAN IDs carried by this Mist Tunnel
- anchor_
mxtunnel_ list(string)ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto_
preemption object - Preemption behavior for restoring preferred tunnel peers after failover
- hello_
interval number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello_
retries number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec object
- Security settings for IPsec support on this Mist Tunnel
- mtu number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster_
ids list(string) - Mist Edge cluster IDs that host this Mist Tunnel
- name string
- Display name of the Mist Tunnel
- org_
id string - Identifier of the org that owns the Mist Tunnel
- protocol string
- Encapsulation protocol used for the Mist Tunnel
- vlan_
ids list(number) - List of VLAN IDs carried by this Mist Tunnel
- anchor
Mxtunnel List<String>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption MxtunnelAuto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval Integer - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries Integer - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec - Security settings for IPsec support on this Mist Tunnel
- mtu Integer
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids List<String> - Mist Edge cluster IDs that host this Mist Tunnel
- name String
- Display name of the Mist Tunnel
- org
Id String - Identifier of the org that owns the Mist Tunnel
- protocol String
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids List<Integer> - List of VLAN IDs carried by this Mist Tunnel
- anchor
Mxtunnel string[]Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption MxtunnelAuto Preemption - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec - Security settings for IPsec support on this Mist Tunnel
- mtu number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids string[] - Mist Edge cluster IDs that host this Mist Tunnel
- name string
- Display name of the Mist Tunnel
- org
Id string - Identifier of the org that owns the Mist Tunnel
- protocol string
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids number[] - List of VLAN IDs carried by this Mist Tunnel
- anchor_
mxtunnel_ Sequence[str]ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto_
preemption MxtunnelAuto Preemption Args - Preemption behavior for restoring preferred tunnel peers after failover
- hello_
interval int - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello_
retries int - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec
Mxtunnel
Ipsec Args - Security settings for IPsec support on this Mist Tunnel
- mtu int
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster_
ids Sequence[str] - Mist Edge cluster IDs that host this Mist Tunnel
- name str
- Display name of the Mist Tunnel
- org_
id str - Identifier of the org that owns the Mist Tunnel
- protocol str
- Encapsulation protocol used for the Mist Tunnel
- vlan_
ids Sequence[int] - List of VLAN IDs carried by this Mist Tunnel
- anchor
Mxtunnel List<String>Ids - IDs of anchor Mist Tunnels used for edge-to-edge tunnel formation
- auto
Preemption Property Map - Preemption behavior for restoring preferred tunnel peers after failover
- hello
Interval Number - In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by
helloRetries. - hello
Retries Number - Number of missed hello heartbeats before an AP tries another tunnel peer
- ipsec Property Map
- Security settings for IPsec support on this Mist Tunnel
- mtu Number
- 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
- mxcluster
Ids List<String> - Mist Edge cluster IDs that host this Mist Tunnel
- name String
- Display name of the Mist Tunnel
- org
Id String - Identifier of the org that owns the Mist Tunnel
- protocol String
- Encapsulation protocol used for the Mist Tunnel
- vlan
Ids List<Number> - List of VLAN IDs carried by this Mist Tunnel
Supporting Types
MxtunnelAutoPreemption, MxtunnelAutoPreemptionArgs
- day_
of_ stringweek - Scheduled weekday for auto preemption
- enabled bool
- Whether auto preemption is enabled
- time_
of_ stringday - Scheduled time of day for auto preemption
- day_
of_ strweek - Scheduled weekday for auto preemption
- enabled bool
- Whether auto preemption is enabled
- time_
of_ strday - Scheduled time of day for auto preemption
MxtunnelIpsec, MxtunnelIpsecArgs
- Dns
Servers List<string> - Name server addresses advertised for IPsec tunnel clients
- Dns
Suffixes List<string> - Search suffixes advertised for IPsec tunnel clients
- Enabled bool
- Whether IPsec support is enabled for this Mist Tunnel
- Extra
Routes List<Pulumi.Juniper Mist. Org. Inputs. Mxtunnel Ipsec Extra Route> - Additional routes advertised for the IPsec tunnel
- Split
Tunnel bool - Whether split tunneling is enabled for IPsec clients
- Use
Mxedge bool - Whether IPsec termination uses Mist Edge
- Dns
Servers []string - Name server addresses advertised for IPsec tunnel clients
- Dns
Suffixes []string - Search suffixes advertised for IPsec tunnel clients
- Enabled bool
- Whether IPsec support is enabled for this Mist Tunnel
- Extra
Routes []MxtunnelIpsec Extra Route - Additional routes advertised for the IPsec tunnel
- Split
Tunnel bool - Whether split tunneling is enabled for IPsec clients
- Use
Mxedge bool - Whether IPsec termination uses Mist Edge
- dns_
servers list(string) - Name server addresses advertised for IPsec tunnel clients
- dns_
suffixes list(string) - Search suffixes advertised for IPsec tunnel clients
- enabled bool
- Whether IPsec support is enabled for this Mist Tunnel
- extra_
routes list(object) - Additional routes advertised for the IPsec tunnel
- split_
tunnel bool - Whether split tunneling is enabled for IPsec clients
- use_
mxedge bool - Whether IPsec termination uses Mist Edge
- dns
Servers List<String> - Name server addresses advertised for IPsec tunnel clients
- dns
Suffixes List<String> - Search suffixes advertised for IPsec tunnel clients
- enabled Boolean
- Whether IPsec support is enabled for this Mist Tunnel
- extra
Routes List<MxtunnelIpsec Extra Route> - Additional routes advertised for the IPsec tunnel
- split
Tunnel Boolean - Whether split tunneling is enabled for IPsec clients
- use
Mxedge Boolean - Whether IPsec termination uses Mist Edge
- dns
Servers string[] - Name server addresses advertised for IPsec tunnel clients
- dns
Suffixes string[] - Search suffixes advertised for IPsec tunnel clients
- enabled boolean
- Whether IPsec support is enabled for this Mist Tunnel
- extra
Routes MxtunnelIpsec Extra Route[] - Additional routes advertised for the IPsec tunnel
- split
Tunnel boolean - Whether split tunneling is enabled for IPsec clients
- use
Mxedge boolean - Whether IPsec termination uses Mist Edge
- dns_
servers Sequence[str] - Name server addresses advertised for IPsec tunnel clients
- dns_
suffixes Sequence[str] - Search suffixes advertised for IPsec tunnel clients
- enabled bool
- Whether IPsec support is enabled for this Mist Tunnel
- extra_
routes Sequence[MxtunnelIpsec Extra Route] - Additional routes advertised for the IPsec tunnel
- split_
tunnel bool - Whether split tunneling is enabled for IPsec clients
- use_
mxedge bool - Whether IPsec termination uses Mist Edge
- dns
Servers List<String> - Name server addresses advertised for IPsec tunnel clients
- dns
Suffixes List<String> - Search suffixes advertised for IPsec tunnel clients
- enabled Boolean
- Whether IPsec support is enabled for this Mist Tunnel
- extra
Routes List<Property Map> - Additional routes advertised for the IPsec tunnel
- split
Tunnel Boolean - Whether split tunneling is enabled for IPsec clients
- use
Mxedge Boolean - Whether IPsec termination uses Mist Edge
MxtunnelIpsecExtraRoute, MxtunnelIpsecExtraRouteArgs
Import
Using pulumi import, import junipermist.org.Mxtunnel with:
Mist Org MxTunnel can be imported by specifying the orgId and the mxtunnelId
$ pulumi import junipermist:org/mxtunnel:Mxtunnel mxtunnel_one 17f90707-aebe-4274-af42-f42952a665a3.d3c42998-9012-4859-9743-6a9f30d68218
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mistTerraform Provider.
published on Friday, Jul 10, 2026 by Pulumi