1. Packages
  2. Routeros Provider
  3. API Docs
  4. ZerotierInterface
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.ZerotierInterface

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    import * as zerotier from "@pulumi/zerotier";
    
    const identity = new zerotier.index.Zerotier_identity("identity", {});
    const network = new zerotier.index.Zerotier_network("network", {name: "test"});
    const member = new zerotier.index.Zerotier_member("member", {
        authorized: true,
        memberId: identity.id,
        name: "test",
        networkId: network.id,
        hidden: false,
        allowEthernetBridging: true,
        noAutoAssignIps: true,
    });
    const zt1 = new routeros.Zerotier("zt1", {
        comment: "ZeroTier Central",
        identity: identity.privateKey,
        interfaces: ["all"],
    });
    const zerotier1 = new routeros.ZerotierInterface("zerotier1", {
        allowDefault: false,
        allowGlobal: false,
        allowManaged: false,
        instance: zt1.name,
        network: network.id,
    });
    
    import pulumi
    import pulumi_routeros as routeros
    import pulumi_zerotier as zerotier
    
    identity = zerotier.index.Zerotier_identity("identity")
    network = zerotier.index.Zerotier_network("network", name=test)
    member = zerotier.index.Zerotier_member("member",
        authorized=True,
        member_id=identity.id,
        name=test,
        network_id=network.id,
        hidden=False,
        allow_ethernet_bridging=True,
        no_auto_assign_ips=True)
    zt1 = routeros.Zerotier("zt1",
        comment="ZeroTier Central",
        identity=identity["privateKey"],
        interfaces=["all"])
    zerotier1 = routeros.ZerotierInterface("zerotier1",
        allow_default=False,
        allow_global=False,
        allow_managed=False,
        instance=zt1.name,
        network=network["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi-zerotier/sdk/go/zerotier"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		identity, err := zerotier.NewZerotier_identity(ctx, "identity", nil)
    		if err != nil {
    			return err
    		}
    		network, err := zerotier.NewZerotier_network(ctx, "network", &zerotier.Zerotier_networkArgs{
    			Name: "test",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = zerotier.NewZerotier_member(ctx, "member", &zerotier.Zerotier_memberArgs{
    			Authorized:            true,
    			MemberId:              identity.Id,
    			Name:                  "test",
    			NetworkId:             network.Id,
    			Hidden:                false,
    			AllowEthernetBridging: true,
    			NoAutoAssignIps:       true,
    		})
    		if err != nil {
    			return err
    		}
    		zt1, err := routeros.NewZerotier(ctx, "zt1", &routeros.ZerotierArgs{
    			Comment:  pulumi.String("ZeroTier Central"),
    			Identity: identity.PrivateKey,
    			Interfaces: pulumi.StringArray{
    				pulumi.String("all"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = routeros.NewZerotierInterface(ctx, "zerotier1", &routeros.ZerotierInterfaceArgs{
    			AllowDefault: pulumi.Bool(false),
    			AllowGlobal:  pulumi.Bool(false),
    			AllowManaged: pulumi.Bool(false),
    			Instance:     zt1.Name,
    			Network:      network.Id,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    using Zerotier = Pulumi.Zerotier;
    
    return await Deployment.RunAsync(() => 
    {
        var identity = new Zerotier.Index.Zerotier_identity("identity");
    
        var network = new Zerotier.Index.Zerotier_network("network", new()
        {
            Name = "test",
        });
    
        var member = new Zerotier.Index.Zerotier_member("member", new()
        {
            Authorized = true,
            MemberId = identity.Id,
            Name = "test",
            NetworkId = network.Id,
            Hidden = false,
            AllowEthernetBridging = true,
            NoAutoAssignIps = true,
        });
    
        var zt1 = new Routeros.Zerotier("zt1", new()
        {
            Comment = "ZeroTier Central",
            Identity = identity.PrivateKey,
            Interfaces = new[]
            {
                "all",
            },
        });
    
        var zerotier1 = new Routeros.ZerotierInterface("zerotier1", new()
        {
            AllowDefault = false,
            AllowGlobal = false,
            AllowManaged = false,
            Instance = zt1.Name,
            Network = network.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zerotier.zerotier_identity;
    import com.pulumi.zerotier.zerotier_network;
    import com.pulumi.zerotier.Zerotier_networkArgs;
    import com.pulumi.zerotier.zerotier_member;
    import com.pulumi.zerotier.Zerotier_memberArgs;
    import com.pulumi.routeros.Zerotier;
    import com.pulumi.routeros.ZerotierArgs;
    import com.pulumi.routeros.ZerotierInterface;
    import com.pulumi.routeros.ZerotierInterfaceArgs;
    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 identity = new Zerotier_identity("identity");
    
            var network = new Zerotier_network("network", Zerotier_networkArgs.builder()
                .name("test")
                .build());
    
            var member = new Zerotier_member("member", Zerotier_memberArgs.builder()
                .authorized(true)
                .memberId(identity.id())
                .name("test")
                .networkId(network.id())
                .hidden(false)
                .allowEthernetBridging(true)
                .noAutoAssignIps(true)
                .build());
    
            var zt1 = new Zerotier("zt1", ZerotierArgs.builder()
                .comment("ZeroTier Central")
                .identity(identity.privateKey())
                .interfaces("all")
                .build());
    
            var zerotier1 = new ZerotierInterface("zerotier1", ZerotierInterfaceArgs.builder()
                .allowDefault(false)
                .allowGlobal(false)
                .allowManaged(false)
                .instance(zt1.name())
                .network(network.id())
                .build());
    
        }
    }
    
    resources:
      identity:
        type: zerotier:zerotier_identity
      network:
        type: zerotier:zerotier_network
        properties:
          name: test
      member:
        type: zerotier:zerotier_member
        properties:
          authorized: true
          memberId: ${identity.id}
          name: test
          networkId: ${network.id}
          hidden: false
          allowEthernetBridging: true
          noAutoAssignIps: true
      zt1:
        type: routeros:Zerotier
        properties:
          comment: ZeroTier Central
          identity: ${identity.privateKey}
          interfaces:
            - all
      zerotier1:
        type: routeros:ZerotierInterface
        properties:
          allowDefault: false
          allowGlobal: false
          allowManaged: false
          instance: ${zt1.name}
          network: ${network.id}
    

    Create ZerotierInterface Resource

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

    Constructor syntax

    new ZerotierInterface(name: string, args: ZerotierInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def ZerotierInterface(resource_name: str,
                          args: ZerotierInterfaceArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZerotierInterface(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          instance: Optional[str] = None,
                          network: Optional[str] = None,
                          allow_global: Optional[bool] = None,
                          ___id_: Optional[float] = None,
                          allow_managed: Optional[bool] = None,
                          arp_timeout: Optional[str] = None,
                          comment: Optional[str] = None,
                          disable_running_check: Optional[bool] = None,
                          disabled: Optional[bool] = None,
                          allow_default: Optional[bool] = None,
                          name: Optional[str] = None,
                          ___path_: Optional[str] = None,
                          zerotier_interface_id: Optional[str] = None)
    func NewZerotierInterface(ctx *Context, name string, args ZerotierInterfaceArgs, opts ...ResourceOption) (*ZerotierInterface, error)
    public ZerotierInterface(string name, ZerotierInterfaceArgs args, CustomResourceOptions? opts = null)
    public ZerotierInterface(String name, ZerotierInterfaceArgs args)
    public ZerotierInterface(String name, ZerotierInterfaceArgs args, CustomResourceOptions options)
    
    type: routeros:ZerotierInterface
    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 ZerotierInterfaceArgs
    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 ZerotierInterfaceArgs
    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 ZerotierInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZerotierInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZerotierInterfaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Instance string
    The ZeroTier instance name.
    Network string
    The ZeroTier network identifier.
    AllowDefault bool
    An option to override the default route.
    AllowGlobal bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    AllowManaged bool
    An option to allow assignment of managed IPs.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    Comment string
    DisableRunningCheck bool
    An option to force the running property to true.
    Disabled bool
    Name string
    Name of the ZeroTier interface.
    ZerotierInterfaceId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    Instance string
    The ZeroTier instance name.
    Network string
    The ZeroTier network identifier.
    AllowDefault bool
    An option to override the default route.
    AllowGlobal bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    AllowManaged bool
    An option to allow assignment of managed IPs.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    Comment string
    DisableRunningCheck bool
    An option to force the running property to true.
    Disabled bool
    Name string
    Name of the ZeroTier interface.
    ZerotierInterfaceId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    instance String
    The ZeroTier instance name.
    network String
    The ZeroTier network identifier.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault Boolean
    An option to override the default route.
    allowGlobal Boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged Boolean
    An option to allow assignment of managed IPs.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    comment String
    disableRunningCheck Boolean
    An option to force the running property to true.
    disabled Boolean
    name String
    Name of the ZeroTier interface.
    zerotierInterfaceId String
    The ID of this resource.
    instance string
    The ZeroTier instance name.
    network string
    The ZeroTier network identifier.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault boolean
    An option to override the default route.
    allowGlobal boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged boolean
    An option to allow assignment of managed IPs.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    comment string
    disableRunningCheck boolean
    An option to force the running property to true.
    disabled boolean
    name string
    Name of the ZeroTier interface.
    zerotierInterfaceId string
    The ID of this resource.
    instance str
    The ZeroTier instance name.
    network str
    The ZeroTier network identifier.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allow_default bool
    An option to override the default route.
    allow_global bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allow_managed bool
    An option to allow assignment of managed IPs.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    comment str
    disable_running_check bool
    An option to force the running property to true.
    disabled bool
    name str
    Name of the ZeroTier interface.
    zerotier_interface_id str
    The ID of this resource.
    instance String
    The ZeroTier instance name.
    network String
    The ZeroTier network identifier.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault Boolean
    An option to override the default route.
    allowGlobal Boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged Boolean
    An option to allow assignment of managed IPs.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    comment String
    disableRunningCheck Boolean
    An option to force the running property to true.
    disabled Boolean
    name String
    Name of the ZeroTier interface.
    zerotierInterfaceId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZerotierInterface resource produces the following output properties:

    Bridge bool
    A flag whether the ZeroTier interface is bridged.
    Dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    Id string
    The provider-assigned unique ID for this managed resource.
    MacAddress string
    Current mac address.
    Mtu double
    Layer2 Maximum transmission unit. See.
    NetworkName string
    The ZeroTier network name.
    Running bool
    Status string
    The status of the ZeroTier connection.
    Type string
    The ZeroTier network type.
    Bridge bool
    A flag whether the ZeroTier interface is bridged.
    Dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    Id string
    The provider-assigned unique ID for this managed resource.
    MacAddress string
    Current mac address.
    Mtu float64
    Layer2 Maximum transmission unit. See.
    NetworkName string
    The ZeroTier network name.
    Running bool
    Status string
    The status of the ZeroTier connection.
    Type string
    The ZeroTier network type.
    bridge Boolean
    A flag whether the ZeroTier interface is bridged.
    dhcp Boolean
    A flag whether the ZeroTier interface obtained an IP address.
    id String
    The provider-assigned unique ID for this managed resource.
    macAddress String
    Current mac address.
    mtu Double
    Layer2 Maximum transmission unit. See.
    networkName String
    The ZeroTier network name.
    running Boolean
    status String
    The status of the ZeroTier connection.
    type String
    The ZeroTier network type.
    bridge boolean
    A flag whether the ZeroTier interface is bridged.
    dhcp boolean
    A flag whether the ZeroTier interface obtained an IP address.
    id string
    The provider-assigned unique ID for this managed resource.
    macAddress string
    Current mac address.
    mtu number
    Layer2 Maximum transmission unit. See.
    networkName string
    The ZeroTier network name.
    running boolean
    status string
    The status of the ZeroTier connection.
    type string
    The ZeroTier network type.
    bridge bool
    A flag whether the ZeroTier interface is bridged.
    dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    id str
    The provider-assigned unique ID for this managed resource.
    mac_address str
    Current mac address.
    mtu float
    Layer2 Maximum transmission unit. See.
    network_name str
    The ZeroTier network name.
    running bool
    status str
    The status of the ZeroTier connection.
    type str
    The ZeroTier network type.
    bridge Boolean
    A flag whether the ZeroTier interface is bridged.
    dhcp Boolean
    A flag whether the ZeroTier interface obtained an IP address.
    id String
    The provider-assigned unique ID for this managed resource.
    macAddress String
    Current mac address.
    mtu Number
    Layer2 Maximum transmission unit. See.
    networkName String
    The ZeroTier network name.
    running Boolean
    status String
    The status of the ZeroTier connection.
    type String
    The ZeroTier network type.

    Look up Existing ZerotierInterface Resource

    Get an existing ZerotierInterface 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?: ZerotierInterfaceState, opts?: CustomResourceOptions): ZerotierInterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            allow_default: Optional[bool] = None,
            allow_global: Optional[bool] = None,
            allow_managed: Optional[bool] = None,
            arp_timeout: Optional[str] = None,
            bridge: Optional[bool] = None,
            comment: Optional[str] = None,
            dhcp: Optional[bool] = None,
            disable_running_check: Optional[bool] = None,
            disabled: Optional[bool] = None,
            instance: Optional[str] = None,
            mac_address: Optional[str] = None,
            mtu: Optional[float] = None,
            name: Optional[str] = None,
            network: Optional[str] = None,
            network_name: Optional[str] = None,
            running: Optional[bool] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            zerotier_interface_id: Optional[str] = None) -> ZerotierInterface
    func GetZerotierInterface(ctx *Context, name string, id IDInput, state *ZerotierInterfaceState, opts ...ResourceOption) (*ZerotierInterface, error)
    public static ZerotierInterface Get(string name, Input<string> id, ZerotierInterfaceState? state, CustomResourceOptions? opts = null)
    public static ZerotierInterface get(String name, Output<String> id, ZerotierInterfaceState state, CustomResourceOptions options)
    resources:  _:    type: routeros:ZerotierInterface    get:      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.
    The following state arguments are supported:
    AllowDefault bool
    An option to override the default route.
    AllowGlobal bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    AllowManaged bool
    An option to allow assignment of managed IPs.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    Bridge bool
    A flag whether the ZeroTier interface is bridged.
    Comment string
    Dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    DisableRunningCheck bool
    An option to force the running property to true.
    Disabled bool
    Instance string
    The ZeroTier instance name.
    MacAddress string
    Current mac address.
    Mtu double
    Layer2 Maximum transmission unit. See.
    Name string
    Name of the ZeroTier interface.
    Network string
    The ZeroTier network identifier.
    NetworkName string
    The ZeroTier network name.
    Running bool
    Status string
    The status of the ZeroTier connection.
    Type string
    The ZeroTier network type.
    ZerotierInterfaceId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    AllowDefault bool
    An option to override the default route.
    AllowGlobal bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    AllowManaged bool
    An option to allow assignment of managed IPs.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    Bridge bool
    A flag whether the ZeroTier interface is bridged.
    Comment string
    Dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    DisableRunningCheck bool
    An option to force the running property to true.
    Disabled bool
    Instance string
    The ZeroTier instance name.
    MacAddress string
    Current mac address.
    Mtu float64
    Layer2 Maximum transmission unit. See.
    Name string
    Name of the ZeroTier interface.
    Network string
    The ZeroTier network identifier.
    NetworkName string
    The ZeroTier network name.
    Running bool
    Status string
    The status of the ZeroTier connection.
    Type string
    The ZeroTier network type.
    ZerotierInterfaceId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault Boolean
    An option to override the default route.
    allowGlobal Boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged Boolean
    An option to allow assignment of managed IPs.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    bridge Boolean
    A flag whether the ZeroTier interface is bridged.
    comment String
    dhcp Boolean
    A flag whether the ZeroTier interface obtained an IP address.
    disableRunningCheck Boolean
    An option to force the running property to true.
    disabled Boolean
    instance String
    The ZeroTier instance name.
    macAddress String
    Current mac address.
    mtu Double
    Layer2 Maximum transmission unit. See.
    name String
    Name of the ZeroTier interface.
    network String
    The ZeroTier network identifier.
    networkName String
    The ZeroTier network name.
    running Boolean
    status String
    The status of the ZeroTier connection.
    type String
    The ZeroTier network type.
    zerotierInterfaceId String
    The ID of this resource.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault boolean
    An option to override the default route.
    allowGlobal boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged boolean
    An option to allow assignment of managed IPs.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    bridge boolean
    A flag whether the ZeroTier interface is bridged.
    comment string
    dhcp boolean
    A flag whether the ZeroTier interface obtained an IP address.
    disableRunningCheck boolean
    An option to force the running property to true.
    disabled boolean
    instance string
    The ZeroTier instance name.
    macAddress string
    Current mac address.
    mtu number
    Layer2 Maximum transmission unit. See.
    name string
    Name of the ZeroTier interface.
    network string
    The ZeroTier network identifier.
    networkName string
    The ZeroTier network name.
    running boolean
    status string
    The status of the ZeroTier connection.
    type string
    The ZeroTier network type.
    zerotierInterfaceId string
    The ID of this resource.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allow_default bool
    An option to override the default route.
    allow_global bool
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allow_managed bool
    An option to allow assignment of managed IPs.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    bridge bool
    A flag whether the ZeroTier interface is bridged.
    comment str
    dhcp bool
    A flag whether the ZeroTier interface obtained an IP address.
    disable_running_check bool
    An option to force the running property to true.
    disabled bool
    instance str
    The ZeroTier instance name.
    mac_address str
    Current mac address.
    mtu float
    Layer2 Maximum transmission unit. See.
    name str
    Name of the ZeroTier interface.
    network str
    The ZeroTier network identifier.
    network_name str
    The ZeroTier network name.
    running bool
    status str
    The status of the ZeroTier connection.
    type str
    The ZeroTier network type.
    zerotier_interface_id str
    The ID of this resource.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowDefault Boolean
    An option to override the default route.
    allowGlobal Boolean
    An option to allow overlapping public IP space by the ZeroTier routes. .
    allowManaged Boolean
    An option to allow assignment of managed IPs.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    bridge Boolean
    A flag whether the ZeroTier interface is bridged.
    comment String
    dhcp Boolean
    A flag whether the ZeroTier interface obtained an IP address.
    disableRunningCheck Boolean
    An option to force the running property to true.
    disabled Boolean
    instance String
    The ZeroTier instance name.
    macAddress String
    Current mac address.
    mtu Number
    Layer2 Maximum transmission unit. See.
    name String
    Name of the ZeroTier interface.
    network String
    The ZeroTier network identifier.
    networkName String
    The ZeroTier network name.
    running Boolean
    status String
    The status of the ZeroTier connection.
    type String
    The ZeroTier network type.
    zerotierInterfaceId String
    The ID of this resource.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/zerotier/interface get [print show-ids]]

    $ pulumi import routeros:index/zerotierInterface:ZerotierInterface zerotier1 '*1'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros