routeros.InterfaceMacvlan
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.InterfaceMacvlan("test", {
disabled: false,
"interface": "ether1",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.InterfaceMacvlan("test",
disabled=False,
interface="ether1")
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.NewInterfaceMacvlan(ctx, "test", &routeros.InterfaceMacvlanArgs{
Disabled: pulumi.Bool(false),
Interface: pulumi.String("ether1"),
})
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 test = new Routeros.InterfaceMacvlan("test", new()
{
Disabled = false,
Interface = "ether1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceMacvlan;
import com.pulumi.routeros.InterfaceMacvlanArgs;
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 test = new InterfaceMacvlan("test", InterfaceMacvlanArgs.builder()
.disabled(false)
.interface_("ether1")
.build());
}
}
resources:
test:
type: routeros:InterfaceMacvlan
properties:
disabled: false
interface: ether1
Create InterfaceMacvlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceMacvlan(name: string, args: InterfaceMacvlanArgs, opts?: CustomResourceOptions);
@overload
def InterfaceMacvlan(resource_name: str,
args: InterfaceMacvlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceMacvlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface: Optional[str] = None,
arp_timeout: Optional[str] = None,
arp: Optional[str] = None,
___id_: Optional[float] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
___path_: Optional[str] = None,
interface_macvlan_id: Optional[str] = None,
loop_protect: Optional[str] = None,
loop_protect_disable_time: Optional[str] = None,
loop_protect_send_interval: Optional[str] = None,
mac_address: Optional[str] = None,
mode: Optional[str] = None,
name: Optional[str] = None)
func NewInterfaceMacvlan(ctx *Context, name string, args InterfaceMacvlanArgs, opts ...ResourceOption) (*InterfaceMacvlan, error)
public InterfaceMacvlan(string name, InterfaceMacvlanArgs args, CustomResourceOptions? opts = null)
public InterfaceMacvlan(String name, InterfaceMacvlanArgs args)
public InterfaceMacvlan(String name, InterfaceMacvlanArgs args, CustomResourceOptions options)
type: routeros:InterfaceMacvlan
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 InterfaceMacvlanArgs
- 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 InterfaceMacvlanArgs
- 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 InterfaceMacvlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceMacvlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceMacvlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceMacvlan 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 InterfaceMacvlan resource accepts the following input properties:
- Interface string
- Name of the interface.
- 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
Macvlan stringId - Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- Mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- Name string
- ___
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.
- 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
Macvlan stringId - Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- Mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- Name string
- ___
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.
- ___
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
Macvlan StringId - loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - mac
Address String - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode String
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name String
- interface string
- Name of the interface.
- ___
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
Macvlan stringId - loop
Protect string - loop
Protect stringDisable Time - loop
Protect stringSend Interval - mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name string
- interface str
- Name of the interface.
- ___
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_
macvlan_ strid - loop_
protect str - loop_
protect_ strdisable_ time - loop_
protect_ strsend_ interval - mac_
address str - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode str
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name str
- interface String
- Name of the interface.
- ___
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
Macvlan StringId - loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - mac
Address String - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode String
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name String
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceMacvlan resource produces the following output properties:
Look up Existing InterfaceMacvlan Resource
Get an existing InterfaceMacvlan 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?: InterfaceMacvlanState, opts?: CustomResourceOptions): InterfaceMacvlan
@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_macvlan_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,
mac_address: Optional[str] = None,
mode: Optional[str] = None,
name: Optional[str] = None) -> InterfaceMacvlan
func GetInterfaceMacvlan(ctx *Context, name string, id IDInput, state *InterfaceMacvlanState, opts ...ResourceOption) (*InterfaceMacvlan, error)
public static InterfaceMacvlan Get(string name, Input<string> id, InterfaceMacvlanState? state, CustomResourceOptions? opts = null)
public static InterfaceMacvlan get(String name, Output<String> id, InterfaceMacvlanState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceMacvlan 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
Macvlan stringId - L2mtu double
- Layer2 Maximum transmission unit. See.
- Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- Mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- Name string
- ___
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
Macvlan stringId - L2mtu float64
- Layer2 Maximum transmission unit. See.
- Loop
Protect string - Loop
Protect stringDisable Time - Loop
Protect stringSend Interval - Mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- Mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- Name string
- ___
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
Macvlan 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 - mac
Address String - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode String
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name String
- ___
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
Macvlan stringId - l2mtu number
- Layer2 Maximum transmission unit. See.
- loop
Protect string - loop
Protect stringDisable Time - loop
Protect stringSend Interval - mac
Address string - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode string
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name string
- ___
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_
macvlan_ strid - l2mtu float
- Layer2 Maximum transmission unit. See.
- loop_
protect str - loop_
protect_ strdisable_ time - loop_
protect_ strsend_ interval - mac_
address str - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode str
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name str
- ___
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
Macvlan StringId - l2mtu Number
- Layer2 Maximum transmission unit. See.
- loop
Protect String - loop
Protect StringDisable Time - loop
Protect StringSend Interval - mac
Address String - Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified.
- mode String
- Sets MACVLAN interface mode: * private - does not allow communication between MACVLAN instances on the same parent interface. * bridge - allows communication between MACVLAN instances on the same parent interface.
- name String
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/macvlan get [print show-ids]]
$ pulumi import routeros:index/interfaceMacvlan:InterfaceMacvlan test "*0"
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.