routeros.ZerotierInterface
Explore with Pulumi AI
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.
- 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 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
- Disable
Running boolCheck - An option to force the
running
property to true. - Disabled bool
- Name string
- Name of the ZeroTier interface.
- Zerotier
Interface stringId - 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.
- 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 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
- Disable
Running boolCheck - An option to force the
running
property to true. - Disabled bool
- Name string
- Name of the ZeroTier interface.
- Zerotier
Interface stringId - 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.
- allow
Default Boolean - An option to override the default route.
- allow
Global Boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed Boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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
- disable
Running BooleanCheck - An option to force the
running
property to true. - disabled Boolean
- name String
- Name of the ZeroTier interface.
- zerotier
Interface StringId - 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.
- allow
Default boolean - An option to override the default route.
- allow
Global boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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
- disable
Running booleanCheck - An option to force the
running
property to true. - disabled boolean
- name string
- Name of the ZeroTier interface.
- zerotier
Interface stringId - 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_ boolcheck - An option to force the
running
property to true. - disabled bool
- name str
- Name of the ZeroTier interface.
- zerotier_
interface_ strid - 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.
- allow
Default Boolean - An option to override the default route.
- allow
Global Boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed Boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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
- disable
Running BooleanCheck - An option to force the
running
property to true. - disabled Boolean
- name String
- Name of the ZeroTier interface.
- zerotier
Interface StringId - 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.
- Mac
Address string - Current mac address.
- Mtu double
- Layer2 Maximum transmission unit. See.
- Network
Name 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.
- Mac
Address string - Current mac address.
- Mtu float64
- Layer2 Maximum transmission unit. See.
- Network
Name 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.
- mac
Address String - Current mac address.
- mtu Double
- Layer2 Maximum transmission unit. See.
- network
Name 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.
- mac
Address string - Current mac address.
- mtu number
- Layer2 Maximum transmission unit. See.
- network
Name 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.
- mac
Address String - Current mac address.
- mtu Number
- Layer2 Maximum transmission unit. See.
- network
Name 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.
- 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 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.
- Disable
Running boolCheck - An option to force the
running
property to true. - Disabled bool
- Instance string
- The ZeroTier instance name.
- Mac
Address string - Current mac address.
- Mtu double
- Layer2 Maximum transmission unit. See.
- Name string
- Name of the ZeroTier interface.
- Network string
- The ZeroTier network identifier.
- Network
Name string - The ZeroTier network name.
- Running bool
- Status string
- The status of the ZeroTier connection.
- Type string
- The ZeroTier network type.
- Zerotier
Interface stringId - 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.
- 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 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.
- Disable
Running boolCheck - An option to force the
running
property to true. - Disabled bool
- Instance string
- The ZeroTier instance name.
- Mac
Address string - Current mac address.
- Mtu float64
- Layer2 Maximum transmission unit. See.
- Name string
- Name of the ZeroTier interface.
- Network string
- The ZeroTier network identifier.
- Network
Name string - The ZeroTier network name.
- Running bool
- Status string
- The status of the ZeroTier connection.
- Type string
- The ZeroTier network type.
- Zerotier
Interface stringId - 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.
- allow
Default Boolean - An option to override the default route.
- allow
Global Boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed Boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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.
- disable
Running BooleanCheck - An option to force the
running
property to true. - disabled Boolean
- instance String
- The ZeroTier instance name.
- mac
Address String - Current mac address.
- mtu Double
- Layer2 Maximum transmission unit. See.
- name String
- Name of the ZeroTier interface.
- network String
- The ZeroTier network identifier.
- network
Name String - The ZeroTier network name.
- running Boolean
- status String
- The status of the ZeroTier connection.
- type String
- The ZeroTier network type.
- zerotier
Interface StringId - 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.
- allow
Default boolean - An option to override the default route.
- allow
Global boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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.
- disable
Running booleanCheck - An option to force the
running
property to true. - disabled boolean
- instance string
- The ZeroTier instance name.
- mac
Address string - Current mac address.
- mtu number
- Layer2 Maximum transmission unit. See.
- name string
- Name of the ZeroTier interface.
- network string
- The ZeroTier network identifier.
- network
Name string - The ZeroTier network name.
- running boolean
- status string
- The status of the ZeroTier connection.
- type string
- The ZeroTier network type.
- zerotier
Interface stringId - 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_ boolcheck - 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_ strid - 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.
- allow
Default Boolean - An option to override the default route.
- allow
Global Boolean - An option to allow overlapping public IP space by the ZeroTier routes. .
- allow
Managed Boolean - An option to allow assignment of managed IPs.
- arp
Timeout 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.
- disable
Running BooleanCheck - An option to force the
running
property to true. - disabled Boolean
- instance String
- The ZeroTier instance name.
- mac
Address String - Current mac address.
- mtu Number
- Layer2 Maximum transmission unit. See.
- name String
- Name of the ZeroTier interface.
- network String
- The ZeroTier network identifier.
- network
Name String - The ZeroTier network name.
- running Boolean
- status String
- The status of the ZeroTier connection.
- type String
- The ZeroTier network type.
- zerotier
Interface StringId - 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.