routeros.InterfaceEthernetSwitchPort
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.InterfaceEthernetSwitchPort("test", {vlanMode: "check"});
import pulumi
import pulumi_routeros as routeros
test = routeros.InterfaceEthernetSwitchPort("test", vlan_mode="check")
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.NewInterfaceEthernetSwitchPort(ctx, "test", &routeros.InterfaceEthernetSwitchPortArgs{
VlanMode: pulumi.String("check"),
})
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.InterfaceEthernetSwitchPort("test", new()
{
VlanMode = "check",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceEthernetSwitchPort;
import com.pulumi.routeros.InterfaceEthernetSwitchPortArgs;
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 InterfaceEthernetSwitchPort("test", InterfaceEthernetSwitchPortArgs.builder()
.vlanMode("check")
.build());
}
}
resources:
test:
type: routeros:InterfaceEthernetSwitchPort
properties:
vlanMode: check
Create InterfaceEthernetSwitchPort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceEthernetSwitchPort(name: string, args?: InterfaceEthernetSwitchPortArgs, opts?: CustomResourceOptions);
@overload
def InterfaceEthernetSwitchPort(resource_name: str,
args: Optional[InterfaceEthernetSwitchPortArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceEthernetSwitchPort(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
default_vlan_id: Optional[str] = None,
interface_ethernet_switch_port_id: Optional[str] = None,
mirror_egress: Optional[bool] = None,
mirror_ingress: Optional[bool] = None,
mirror_ingress_target: Optional[str] = None,
name: Optional[str] = None,
vlan_header: Optional[str] = None,
vlan_mode: Optional[str] = None)
func NewInterfaceEthernetSwitchPort(ctx *Context, name string, args *InterfaceEthernetSwitchPortArgs, opts ...ResourceOption) (*InterfaceEthernetSwitchPort, error)
public InterfaceEthernetSwitchPort(string name, InterfaceEthernetSwitchPortArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceEthernetSwitchPort(String name, InterfaceEthernetSwitchPortArgs args)
public InterfaceEthernetSwitchPort(String name, InterfaceEthernetSwitchPortArgs args, CustomResourceOptions options)
type: routeros:InterfaceEthernetSwitchPort
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 InterfaceEthernetSwitchPortArgs
- 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 InterfaceEthernetSwitchPortArgs
- 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 InterfaceEthernetSwitchPortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceEthernetSwitchPortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceEthernetSwitchPortArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceEthernetSwitchPort 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 InterfaceEthernetSwitchPort resource accepts the following input properties:
- Default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - Interface
Ethernet stringSwitch Port Id - The ID of this resource.
- Mirror
Egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - Name string
- Port name.
- Vlan
Header string - Sets action which is performed on the port for egress traffic.
- Vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - Interface
Ethernet stringSwitch Port Id - The ID of this resource.
- Mirror
Egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - Name string
- Port name.
- Vlan
Header string - Sets action which is performed on the port for egress traffic.
- Vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. 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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan StringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet StringSwitch Port Id - The ID of this resource.
- mirror
Egress Boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress Boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress StringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name String
- Port name.
- vlan
Header String - Sets action which is performed on the port for egress traffic.
- vlan
Mode String - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet stringSwitch Port Id - The ID of this resource.
- mirror
Egress boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name string
- Port name.
- vlan
Header string - Sets action which is performed on the port for egress traffic.
- vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default_
vlan_ strid - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface_
ethernet_ strswitch_ port_ id - The ID of this resource.
- mirror_
egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror_
ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror_
ingress_ strtarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name str
- Port name.
- vlan_
header str - Sets action which is performed on the port for egress traffic.
- vlan_
mode str - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan StringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet StringSwitch Port Id - The ID of this resource.
- mirror
Egress Boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress Boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress StringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name String
- Port name.
- vlan
Header String - Sets action which is performed on the port for egress traffic.
- vlan
Mode String - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceEthernetSwitchPort resource produces the following output properties:
Look up Existing InterfaceEthernetSwitchPort Resource
Get an existing InterfaceEthernetSwitchPort 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?: InterfaceEthernetSwitchPortState, opts?: CustomResourceOptions): InterfaceEthernetSwitchPort
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
default_vlan_id: Optional[str] = None,
interface_ethernet_switch_port_id: Optional[str] = None,
invalid: Optional[bool] = None,
mirror_egress: Optional[bool] = None,
mirror_ingress: Optional[bool] = None,
mirror_ingress_target: Optional[str] = None,
name: Optional[str] = None,
running: Optional[bool] = None,
switch: Optional[str] = None,
vlan_header: Optional[str] = None,
vlan_mode: Optional[str] = None) -> InterfaceEthernetSwitchPort
func GetInterfaceEthernetSwitchPort(ctx *Context, name string, id IDInput, state *InterfaceEthernetSwitchPortState, opts ...ResourceOption) (*InterfaceEthernetSwitchPort, error)
public static InterfaceEthernetSwitchPort Get(string name, Input<string> id, InterfaceEthernetSwitchPortState? state, CustomResourceOptions? opts = null)
public static InterfaceEthernetSwitchPort get(String name, Output<String> id, InterfaceEthernetSwitchPortState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceEthernetSwitchPort 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.
- Default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - Interface
Ethernet stringSwitch Port Id - The ID of this resource.
- Invalid bool
- Mirror
Egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - Name string
- Port name.
- Running bool
- Switch string
- Name of the switch.
- Vlan
Header string - Sets action which is performed on the port for egress traffic.
- Vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - Interface
Ethernet stringSwitch Port Id - The ID of this resource.
- Invalid bool
- Mirror
Egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - Mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - Name string
- Port name.
- Running bool
- Switch string
- Name of the switch.
- Vlan
Header string - Sets action which is performed on the port for egress traffic.
- Vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. 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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan StringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet StringSwitch Port Id - The ID of this resource.
- invalid Boolean
- mirror
Egress Boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress Boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress StringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name String
- Port name.
- running Boolean
- switch_ String
- Name of the switch.
- vlan
Header String - Sets action which is performed on the port for egress traffic.
- vlan
Mode String - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan stringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet stringSwitch Port Id - The ID of this resource.
- invalid boolean
- mirror
Egress boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress stringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name string
- Port name.
- running boolean
- switch string
- Name of the switch.
- vlan
Header string - Sets action which is performed on the port for egress traffic.
- vlan
Mode string - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default_
vlan_ strid - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface_
ethernet_ strswitch_ port_ id - The ID of this resource.
- invalid bool
- mirror_
egress bool - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror_
ingress bool - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror_
ingress_ strtarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name str
- Port name.
- running bool
- switch str
- Name of the switch.
- vlan_
header str - Sets action which is performed on the port for egress traffic.
- vlan_
mode str - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
- ___
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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- default
Vlan StringId - Adds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port, should be used with
vlan-header
set toalways-strip
on a port to configure the port to be the access port. For hybrid portsdefault-vlan-id
is used to tag untagged traffic. If two ports have the samedefault-vlan-id
, then VLAN tag is not added since the switch chip assumes that traffic is being forwarded between access ports. - interface
Ethernet StringSwitch Port Id - The ID of this resource.
- invalid Boolean
- mirror
Egress Boolean - Whether to send egress packet copy to the
mirror-egress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress Boolean - Whether to send ingress packet copy to the
mirror-ingress-target
port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. - mirror
Ingress StringTarget - Selects a single mirroring ingress target port, only available on 88E6393X, 88E6191X and 88E6190 switch chips. Mirrored packets from
mirror-ingress
will be sent to the selected port. - name String
- Port name.
- running Boolean
- switch String
- Name of the switch.
- vlan
Header String - Sets action which is performed on the port for egress traffic.
- vlan
Mode String - Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/ethernet/switch/port get [print show-ids]]
$ pulumi import routeros:index/interfaceEthernetSwitchPort:InterfaceEthernetSwitchPort test *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.