# routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation (Resource)
Resource for managing CRS (Cloud Router Switch) series device properties.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation("test", {
ports: ["ether1"],
serviceVlanFormat: "any",
customerVlanFormat: "any",
customerVid: "0",
newCustomerVid: "100",
saLearning: "true",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation("test",
ports=["ether1"],
service_vlan_format="any",
customer_vlan_format="any",
customer_vid="0",
new_customer_vid="100",
sa_learning="true")
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.NewInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx, "test", &routeros.InterfaceEthernetSwitchCrsIngressVlanTranslationArgs{
Ports: pulumi.StringArray{
pulumi.String("ether1"),
},
ServiceVlanFormat: pulumi.String("any"),
CustomerVlanFormat: pulumi.String("any"),
CustomerVid: pulumi.String("0"),
NewCustomerVid: pulumi.String("100"),
SaLearning: pulumi.String("true"),
})
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.InterfaceEthernetSwitchCrsIngressVlanTranslation("test", new()
{
Ports = new[]
{
"ether1",
},
ServiceVlanFormat = "any",
CustomerVlanFormat = "any",
CustomerVid = "0",
NewCustomerVid = "100",
SaLearning = "true",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation;
import com.pulumi.routeros.InterfaceEthernetSwitchCrsIngressVlanTranslationArgs;
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 InterfaceEthernetSwitchCrsIngressVlanTranslation("test", InterfaceEthernetSwitchCrsIngressVlanTranslationArgs.builder()
.ports("ether1")
.serviceVlanFormat("any")
.customerVlanFormat("any")
.customerVid("0")
.newCustomerVid("100")
.saLearning("true")
.build());
}
}
resources:
test:
type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation
properties:
ports:
- ether1
serviceVlanFormat: any
customerVlanFormat: any
customerVid: 0
newCustomerVid: 100
saLearning: true
Create InterfaceEthernetSwitchCrsIngressVlanTranslation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceEthernetSwitchCrsIngressVlanTranslation(name: string, args?: InterfaceEthernetSwitchCrsIngressVlanTranslationArgs, opts?: CustomResourceOptions);@overload
def InterfaceEthernetSwitchCrsIngressVlanTranslation(resource_name: str,
args: Optional[InterfaceEthernetSwitchCrsIngressVlanTranslationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceEthernetSwitchCrsIngressVlanTranslation(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
comment: Optional[str] = None,
customer_dei: Optional[str] = None,
customer_pcp: Optional[str] = None,
customer_vid: Optional[str] = None,
customer_vlan_format: Optional[str] = None,
disabled: Optional[bool] = None,
interface_ethernet_switch_crs_ingress_vlan_translation_id: Optional[str] = None,
new_customer_vid: Optional[str] = None,
new_service_vid: Optional[str] = None,
pcp_propagation: Optional[str] = None,
ports: Optional[Sequence[str]] = None,
protocol: Optional[str] = None,
sa_learning: Optional[str] = None,
service_dei: Optional[str] = None,
service_pcp: Optional[str] = None,
service_vid: Optional[str] = None,
service_vlan_format: Optional[str] = None,
swap_vids: Optional[str] = None)func NewInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx *Context, name string, args *InterfaceEthernetSwitchCrsIngressVlanTranslationArgs, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsIngressVlanTranslation, error)public InterfaceEthernetSwitchCrsIngressVlanTranslation(string name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceEthernetSwitchCrsIngressVlanTranslation(String name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs args)
public InterfaceEthernetSwitchCrsIngressVlanTranslation(String name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs args, CustomResourceOptions options)
type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation
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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
- 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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
- 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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceEthernetSwitchCrsIngressVlanTranslation 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 InterfaceEthernetSwitchCrsIngressVlanTranslation resource accepts the following input properties:
- Comment string
- Customer
Dei string - Matching DEI of the customer tag.
- Customer
Pcp string - Matching PCP of the customer tag.
- Customer
Vid string - Matching the VLAN ID of the customer tag.
- Customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- Disabled bool
- Interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- New
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- New
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- Pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- Ports List<string>
- Matching switch ports for VLAN translation rule.
- Protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- Sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- Service
Dei string - Matching DEI of the service tag.
- Service
Pcp string - Matching PCP of the service tag.
- Service
Vid string - Matching VLAN ID of the service tag.
- Service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- Swap
Vids 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.
- Comment string
- Customer
Dei string - Matching DEI of the customer tag.
- Customer
Pcp string - Matching PCP of the customer tag.
- Customer
Vid string - Matching the VLAN ID of the customer tag.
- Customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- Disabled bool
- Interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- New
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- New
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- Pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- Ports []string
- Matching switch ports for VLAN translation rule.
- Protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- Sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- Service
Dei string - Matching DEI of the service tag.
- Service
Pcp string - Matching PCP of the service tag.
- Service
Vid string - Matching VLAN ID of the service tag.
- Service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- Swap
Vids 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.
- comment String
- customer
Dei String - Matching DEI of the customer tag.
- customer
Pcp String - Matching PCP of the customer tag.
- customer
Vid String - Matching the VLAN ID of the customer tag.
- customer
Vlan StringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled Boolean
- interface
Ethernet StringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer StringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service StringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation String - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports List<String>
- Matching switch ports for VLAN translation rule.
- protocol String
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning String - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei String - Matching DEI of the service tag.
- service
Pcp String - Matching PCP of the service tag.
- service
Vid String - Matching VLAN ID of the service tag.
- service
Vlan StringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids 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.
- comment string
- customer
Dei string - Matching DEI of the customer tag.
- customer
Pcp string - Matching PCP of the customer tag.
- customer
Vid string - Matching the VLAN ID of the customer tag.
- customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled boolean
- interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports string[]
- Matching switch ports for VLAN translation rule.
- protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei string - Matching DEI of the service tag.
- service
Pcp string - Matching PCP of the service tag.
- service
Vid string - Matching VLAN ID of the service tag.
- service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids 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.
- comment str
- customer_
dei str - Matching DEI of the customer tag.
- customer_
pcp str - Matching PCP of the customer tag.
- customer_
vid str - Matching the VLAN ID of the customer tag.
- customer_
vlan_ strformat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled bool
- interface_
ethernet_ strswitch_ crs_ ingress_ vlan_ translation_ id - The ID of this resource.
- new_
customer_ strvid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new_
service_ strvid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp_
propagation str - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports Sequence[str]
- Matching switch ports for VLAN translation rule.
- protocol str
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa_
learning str - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service_
dei str - Matching DEI of the service tag.
- service_
pcp str - Matching PCP of the service tag.
- service_
vid str - Matching VLAN ID of the service tag.
- service_
vlan_ strformat - Type of frames with service tag for which VLAN translation rule is valid.
- swap_
vids 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.
- comment String
- customer
Dei String - Matching DEI of the customer tag.
- customer
Pcp String - Matching PCP of the customer tag.
- customer
Vid String - Matching the VLAN ID of the customer tag.
- customer
Vlan StringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled Boolean
- interface
Ethernet StringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer StringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service StringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation String - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports List<String>
- Matching switch ports for VLAN translation rule.
- protocol String
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning String - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei String - Matching DEI of the service tag.
- service
Pcp String - Matching PCP of the service tag.
- service
Vid String - Matching VLAN ID of the service tag.
- service
Vlan StringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids String
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceEthernetSwitchCrsIngressVlanTranslation resource produces the following output properties:
Look up Existing InterfaceEthernetSwitchCrsIngressVlanTranslation Resource
Get an existing InterfaceEthernetSwitchCrsIngressVlanTranslation 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?: InterfaceEthernetSwitchCrsIngressVlanTranslationState, opts?: CustomResourceOptions): InterfaceEthernetSwitchCrsIngressVlanTranslation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
comment: Optional[str] = None,
customer_dei: Optional[str] = None,
customer_pcp: Optional[str] = None,
customer_vid: Optional[str] = None,
customer_vlan_format: Optional[str] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
interface_ethernet_switch_crs_ingress_vlan_translation_id: Optional[str] = None,
new_customer_vid: Optional[str] = None,
new_service_vid: Optional[str] = None,
pcp_propagation: Optional[str] = None,
ports: Optional[Sequence[str]] = None,
protocol: Optional[str] = None,
sa_learning: Optional[str] = None,
service_dei: Optional[str] = None,
service_pcp: Optional[str] = None,
service_vid: Optional[str] = None,
service_vlan_format: Optional[str] = None,
swap_vids: Optional[str] = None) -> InterfaceEthernetSwitchCrsIngressVlanTranslationfunc GetInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx *Context, name string, id IDInput, state *InterfaceEthernetSwitchCrsIngressVlanTranslationState, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsIngressVlanTranslation, error)public static InterfaceEthernetSwitchCrsIngressVlanTranslation Get(string name, Input<string> id, InterfaceEthernetSwitchCrsIngressVlanTranslationState? state, CustomResourceOptions? opts = null)public static InterfaceEthernetSwitchCrsIngressVlanTranslation get(String name, Output<String> id, InterfaceEthernetSwitchCrsIngressVlanTranslationState state, CustomResourceOptions options)resources: _: type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation 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.
- Comment string
- Customer
Dei string - Matching DEI of the customer tag.
- Customer
Pcp string - Matching PCP of the customer tag.
- Customer
Vid string - Matching the VLAN ID of the customer tag.
- Customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- New
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- New
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- Pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- Ports List<string>
- Matching switch ports for VLAN translation rule.
- Protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- Sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- Service
Dei string - Matching DEI of the service tag.
- Service
Pcp string - Matching PCP of the service tag.
- Service
Vid string - Matching VLAN ID of the service tag.
- Service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- Swap
Vids 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.
- Comment string
- Customer
Dei string - Matching DEI of the customer tag.
- Customer
Pcp string - Matching PCP of the customer tag.
- Customer
Vid string - Matching the VLAN ID of the customer tag.
- Customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- New
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- New
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- Pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- Ports []string
- Matching switch ports for VLAN translation rule.
- Protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- Sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- Service
Dei string - Matching DEI of the service tag.
- Service
Pcp string - Matching PCP of the service tag.
- Service
Vid string - Matching VLAN ID of the service tag.
- Service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- Swap
Vids 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.
- comment String
- customer
Dei String - Matching DEI of the customer tag.
- customer
Pcp String - Matching PCP of the customer tag.
- customer
Vid String - Matching the VLAN ID of the customer tag.
- customer
Vlan StringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet StringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer StringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service StringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation String - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports List<String>
- Matching switch ports for VLAN translation rule.
- protocol String
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning String - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei String - Matching DEI of the service tag.
- service
Pcp String - Matching PCP of the service tag.
- service
Vid String - Matching VLAN ID of the service tag.
- service
Vlan StringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids 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.
- comment string
- customer
Dei string - Matching DEI of the customer tag.
- customer
Pcp string - Matching PCP of the customer tag.
- customer
Vid string - Matching the VLAN ID of the customer tag.
- customer
Vlan stringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet stringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer stringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service stringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation string - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports string[]
- Matching switch ports for VLAN translation rule.
- protocol string
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning string - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei string - Matching DEI of the service tag.
- service
Pcp string - Matching PCP of the service tag.
- service
Vid string - Matching VLAN ID of the service tag.
- service
Vlan stringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids 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.
- comment str
- customer_
dei str - Matching DEI of the customer tag.
- customer_
pcp str - Matching PCP of the customer tag.
- customer_
vid str - Matching the VLAN ID of the customer tag.
- customer_
vlan_ strformat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled bool
- dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface_
ethernet_ strswitch_ crs_ ingress_ vlan_ translation_ id - The ID of this resource.
- new_
customer_ strvid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new_
service_ strvid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp_
propagation str - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports Sequence[str]
- Matching switch ports for VLAN translation rule.
- protocol str
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa_
learning str - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service_
dei str - Matching DEI of the service tag.
- service_
pcp str - Matching PCP of the service tag.
- service_
vid str - Matching VLAN ID of the service tag.
- service_
vlan_ strformat - Type of frames with service tag for which VLAN translation rule is valid.
- swap_
vids 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.
- comment String
- customer
Dei String - Matching DEI of the customer tag.
- customer
Pcp String - Matching PCP of the customer tag.
- customer
Vid String - Matching the VLAN ID of the customer tag.
- customer
Vlan StringFormat - Type of frames with customer tag for which VLAN translation rule is valid.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet StringSwitch Crs Ingress Vlan Translation Id - The ID of this resource.
- new
Customer StringVid - The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
- new
Service StringVid - The new service VLAN ID replaces the matching service VLAN ID.
- pcp
Propagation String - Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
- ports List<String>
- Matching switch ports for VLAN translation rule.
- protocol String
- Matching Ethernet protocol (only for Ingress VLAN Translation).
- sa
Learning String - Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
- service
Dei String - Matching DEI of the service tag.
- service
Pcp String - Matching PCP of the service tag.
- service
Vid String - Matching VLAN ID of the service tag.
- service
Vlan StringFormat - Type of frames with service tag for which VLAN translation rule is valid.
- swap
Vids String
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/ethernet/switch/ingress-vlan-translation get [print show-ids]]
$ pulumi import routeros:index/interfaceEthernetSwitchCrsIngressVlanTranslation:InterfaceEthernetSwitchCrsIngressVlanTranslation test *3
#Or you can import a resource using one of its attributes
$ pulumi import routeros:index/interfaceEthernetSwitchCrsIngressVlanTranslation:InterfaceEthernetSwitchCrsIngressVlanTranslation test "name=xxx"
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
routerosTerraform Provider.
