routeros.InterfaceVlan
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const interfaceVlan = new routeros.InterfaceVlan("interfaceVlan", {
"interface": "bridge",
vlanId: 50,
});
import pulumi
import pulumi_routeros as routeros
interface_vlan = routeros.InterfaceVlan("interfaceVlan",
interface="bridge",
vlan_id=50)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := routeros.NewInterfaceVlan(ctx, "interfaceVlan", &routeros.InterfaceVlanArgs{
Interface: pulumi.String("bridge"),
VlanId: pulumi.Float64(50),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;
return await Deployment.RunAsync(() =>
{
var interfaceVlan = new Routeros.InterfaceVlan("interfaceVlan", new()
{
Interface = "bridge",
VlanId = 50,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceVlan;
import com.pulumi.routeros.InterfaceVlanArgs;
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 interfaceVlan = new InterfaceVlan("interfaceVlan", InterfaceVlanArgs.builder()
.interface_("bridge")
.vlanId(50)
.build());
}
}
resources:
interfaceVlan:
type: routeros:InterfaceVlan
properties:
interface: bridge
vlanId: 50
Create InterfaceVlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceVlan(name: string, args: InterfaceVlanArgs, opts?: CustomResourceOptions);
@overload
def InterfaceVlan(resource_name: str,
args: InterfaceVlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceVlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface: Optional[str] = None,
vlan_id: Optional[float] = None,
loop_protect: Optional[str] = None,
loop_protect_disable_time: Optional[str] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
arp: Optional[str] = None,
interface_vlan_id: Optional[str] = None,
___id_: Optional[float] = None,
arp_timeout: Optional[str] = None,
loop_protect_send_interval: Optional[str] = None,
mtu: Optional[str] = None,
mvrp: Optional[bool] = None,
name: Optional[str] = None,
use_service_tag: Optional[bool] = None,
___path_: Optional[str] = None)
func NewInterfaceVlan(ctx *Context, name string, args InterfaceVlanArgs, opts ...ResourceOption) (*InterfaceVlan, error)
public InterfaceVlan(string name, InterfaceVlanArgs args, CustomResourceOptions? opts = null)
public InterfaceVlan(String name, InterfaceVlanArgs args)
public InterfaceVlan(String name, InterfaceVlanArgs args, CustomResourceOptions options)
type: routeros:InterfaceVlan
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 InterfaceVlanArgs
- 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 InterfaceVlanArgs
- 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 InterfaceVlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceVlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceVlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceVlan 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 InterfaceVlan resource accepts the following input properties:
- Interface string
- Name of the interface.
- Vlan
Id double - Arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- Disabled bool
- Interface
Vlan stringId - Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- Name string
- Use
Service boolTag - ___
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.
- Interface string
- Name of the interface.
- Vlan
Id float64 - Arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- Disabled bool
- Interface
Vlan stringId - Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- Name string
- Use
Service boolTag - ___
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.
- interface_ String
- Name of the interface.
- vlan
Id Double - ___
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.
- arp String
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled Boolean
- interface
Vlan StringId - loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp Boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name String
- use
Service BooleanTag
- interface string
- Name of the interface.
- vlan
Id number - ___
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.
- arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled boolean
- interface
Vlan stringId - loop
Protect string - loop
Protect stringDisable Time - loop
Protect stringSend Interval - mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name string
- use
Service booleanTag
- interface str
- Name of the interface.
- vlan_
id float - ___
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.
- arp str
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled bool
- interface_
vlan_ strid - loop_
protect str - loop_
protect_ strdisable_ time - loop_
protect_ strsend_ interval - mtu str
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name str
- use_
service_ booltag
- interface String
- Name of the interface.
- vlan
Id Number - ___
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.
- arp String
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled Boolean
- interface
Vlan StringId - loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp Boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name String
- use
Service BooleanTag
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceVlan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- L2mtu double
- Layer2 Maximum transmission unit. See.
- Loop
Protect stringStatus - Mac
Address string - Current mac address.
- Running bool
- Id string
- The provider-assigned unique ID for this managed resource.
- L2mtu float64
- Layer2 Maximum transmission unit. See.
- Loop
Protect stringStatus - Mac
Address string - Current mac address.
- Running bool
- id String
- The provider-assigned unique ID for this managed resource.
- l2mtu Double
- Layer2 Maximum transmission unit. See.
- loop
Protect StringStatus - mac
Address String - Current mac address.
- running Boolean
- id string
- The provider-assigned unique ID for this managed resource.
- l2mtu number
- Layer2 Maximum transmission unit. See.
- loop
Protect stringStatus - mac
Address string - Current mac address.
- running boolean
- id str
- The provider-assigned unique ID for this managed resource.
- l2mtu float
- Layer2 Maximum transmission unit. See.
- loop_
protect_ strstatus - mac_
address str - Current mac address.
- running bool
- id String
- The provider-assigned unique ID for this managed resource.
- l2mtu Number
- Layer2 Maximum transmission unit. See.
- loop
Protect StringStatus - mac
Address String - Current mac address.
- running Boolean
Look up Existing InterfaceVlan Resource
Get an existing InterfaceVlan 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?: InterfaceVlanState, opts?: CustomResourceOptions): InterfaceVlan
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
arp: Optional[str] = None,
arp_timeout: Optional[str] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
interface: Optional[str] = None,
interface_vlan_id: Optional[str] = None,
l2mtu: Optional[float] = None,
loop_protect: Optional[str] = None,
loop_protect_disable_time: Optional[str] = None,
loop_protect_send_interval: Optional[str] = None,
loop_protect_status: Optional[str] = None,
mac_address: Optional[str] = None,
mtu: Optional[str] = None,
mvrp: Optional[bool] = None,
name: Optional[str] = None,
running: Optional[bool] = None,
use_service_tag: Optional[bool] = None,
vlan_id: Optional[float] = None) -> InterfaceVlan
func GetInterfaceVlan(ctx *Context, name string, id IDInput, state *InterfaceVlanState, opts ...ResourceOption) (*InterfaceVlan, error)
public static InterfaceVlan Get(string name, Input<string> id, InterfaceVlanState? state, CustomResourceOptions? opts = null)
public static InterfaceVlan get(String name, Output<String> id, InterfaceVlanState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceVlan 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.
- Arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- Disabled bool
- Interface string
- Name of the interface.
- Interface
Vlan stringId - L2mtu double
- Layer2 Maximum transmission unit. See.
- Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Loop
Protect stringStatus - Mac
Address string - Current mac address.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- Name string
- Running bool
- Use
Service boolTag - Vlan
Id double - ___
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.
- Arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- Disabled bool
- Interface string
- Name of the interface.
- Interface
Vlan stringId - L2mtu float64
- Layer2 Maximum transmission unit. See.
- Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Loop
Protect stringStatus - Mac
Address string - Current mac address.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- Name string
- Running bool
- Use
Service boolTag - Vlan
Id float64 - ___
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.
- arp String
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled Boolean
- interface
Vlan StringId - interface_ String
- Name of the interface.
- l2mtu Double
- Layer2 Maximum transmission unit. See.
- loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - loop
Protect StringStatus - mac
Address String - Current mac address.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp Boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name String
- running Boolean
- use
Service BooleanTag - vlan
Id Double
- ___
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.
- arp string
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled boolean
- interface string
- Name of the interface.
- interface
Vlan stringId - l2mtu number
- Layer2 Maximum transmission unit. See.
- loop
Protect string - loop
Protect stringDisable Time - loop
Protect stringSend Interval - loop
Protect stringStatus - mac
Address string - Current mac address.
- mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name string
- running boolean
- use
Service booleanTag - vlan
Id number
- ___
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.
- arp str
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled bool
- interface str
- Name of the interface.
- interface_
vlan_ strid - l2mtu float
- Layer2 Maximum transmission unit. See.
- loop_
protect str - loop_
protect_ strdisable_ time - loop_
protect_ strsend_ interval - loop_
protect_ strstatus - mac_
address str - Current mac address.
- mtu str
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp bool
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name str
- running bool
- use_
service_ booltag - vlan_
id float
- ___
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.
- arp String
- Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
- 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
- disabled Boolean
- interface String
- Name of the interface.
- interface
Vlan StringId - l2mtu Number
- Layer2 Maximum transmission unit. See.
- loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - loop
Protect StringStatus - mac
Address String - Current mac address.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- mvrp Boolean
- Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled.
- name String
- running Boolean
- use
Service BooleanTag - vlan
Id Number
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/vlan get [print show-ids]]
$ pulumi import routeros:index/interfaceVlan:InterfaceVlan interface_vlan "*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.