1. Packages
  2. Routeros Provider
  3. API Docs
  4. BridgeVlan
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.BridgeVlan

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    # routeros.BridgeVlan (Resource)


    This is an alias for backwards compatibility between plugin versions.

    Please see documentation for routeros.InterfaceBridgeVlan

    Create BridgeVlan Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BridgeVlan(name: string, args: BridgeVlanArgs, opts?: CustomResourceOptions);
    @overload
    def BridgeVlan(resource_name: str,
                   args: BridgeVlanArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def BridgeVlan(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   bridge: Optional[str] = None,
                   vlan_ids: Optional[Sequence[str]] = None,
                   ___id_: Optional[float] = None,
                   ___path_: Optional[str] = None,
                   ___skip_: Optional[str] = None,
                   bridge_vlan_id: Optional[str] = None,
                   comment: Optional[str] = None,
                   disabled: Optional[bool] = None,
                   mvrp_forbiddens: Optional[Sequence[str]] = None,
                   taggeds: Optional[Sequence[str]] = None,
                   untaggeds: Optional[Sequence[str]] = None)
    func NewBridgeVlan(ctx *Context, name string, args BridgeVlanArgs, opts ...ResourceOption) (*BridgeVlan, error)
    public BridgeVlan(string name, BridgeVlanArgs args, CustomResourceOptions? opts = null)
    public BridgeVlan(String name, BridgeVlanArgs args)
    public BridgeVlan(String name, BridgeVlanArgs args, CustomResourceOptions options)
    
    type: routeros:BridgeVlan
    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 BridgeVlanArgs
    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 BridgeVlanArgs
    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 BridgeVlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BridgeVlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BridgeVlanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BridgeVlan 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 BridgeVlan resource accepts the following input properties:

    Bridge string
    The bridge interface which the respective VLAN entry is intended for.
    VlanIds List<string>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    BridgeVlanId string
    Comment string
    Disabled bool
    MvrpForbiddens List<string>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    Taggeds List<string>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    Untaggeds List<string>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    ___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.
    Bridge string
    The bridge interface which the respective VLAN entry is intended for.
    VlanIds []string
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    BridgeVlanId string
    Comment string
    Disabled bool
    MvrpForbiddens []string
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    Taggeds []string
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    Untaggeds []string
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    ___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.
    bridge String
    The bridge interface which the respective VLAN entry is intended for.
    vlanIds List<String>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridgeVlanId String
    comment String
    disabled Boolean
    mvrpForbiddens List<String>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds List<String>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds List<String>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    bridge string
    The bridge interface which the respective VLAN entry is intended for.
    vlanIds string[]
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridgeVlanId string
    comment string
    disabled boolean
    mvrpForbiddens string[]
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds string[]
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds string[]
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    bridge str
    The bridge interface which the respective VLAN entry is intended for.
    vlan_ids Sequence[str]
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridge_vlan_id str
    comment str
    disabled bool
    mvrp_forbiddens Sequence[str]
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds Sequence[str]
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds Sequence[str]
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    bridge String
    The bridge interface which the respective VLAN entry is intended for.
    vlanIds List<String>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridgeVlanId String
    comment String
    disabled Boolean
    mvrpForbiddens List<String>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds List<String>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds List<String>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BridgeVlan resource produces the following output properties:

    CurrentTaggeds List<string>
    CurrentUntaggeds List<string>
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    CurrentTaggeds []string
    CurrentUntaggeds []string
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    currentTaggeds List<String>
    currentUntaggeds List<String>
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id String
    The provider-assigned unique ID for this managed resource.
    currentTaggeds string[]
    currentUntaggeds string[]
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id string
    The provider-assigned unique ID for this managed resource.
    current_taggeds Sequence[str]
    current_untaggeds Sequence[str]
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id str
    The provider-assigned unique ID for this managed resource.
    currentTaggeds List<String>
    currentUntaggeds List<String>
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BridgeVlan Resource

    Get an existing BridgeVlan 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?: BridgeVlanState, opts?: CustomResourceOptions): BridgeVlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            ___skip_: Optional[str] = None,
            bridge: Optional[str] = None,
            bridge_vlan_id: Optional[str] = None,
            comment: Optional[str] = None,
            current_taggeds: Optional[Sequence[str]] = None,
            current_untaggeds: Optional[Sequence[str]] = None,
            disabled: Optional[bool] = None,
            dynamic: Optional[bool] = None,
            mvrp_forbiddens: Optional[Sequence[str]] = None,
            taggeds: Optional[Sequence[str]] = None,
            untaggeds: Optional[Sequence[str]] = None,
            vlan_ids: Optional[Sequence[str]] = None) -> BridgeVlan
    func GetBridgeVlan(ctx *Context, name string, id IDInput, state *BridgeVlanState, opts ...ResourceOption) (*BridgeVlan, error)
    public static BridgeVlan Get(string name, Input<string> id, BridgeVlanState? state, CustomResourceOptions? opts = null)
    public static BridgeVlan get(String name, Output<String> id, BridgeVlanState state, CustomResourceOptions options)
    resources:  _:    type: routeros:BridgeVlan    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.
    The following state arguments are supported:
    Bridge string
    The bridge interface which the respective VLAN entry is intended for.
    BridgeVlanId string
    Comment string
    CurrentTaggeds List<string>
    CurrentUntaggeds List<string>
    Disabled bool
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    MvrpForbiddens List<string>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    Taggeds List<string>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    Untaggeds List<string>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    VlanIds List<string>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    Bridge string
    The bridge interface which the respective VLAN entry is intended for.
    BridgeVlanId string
    Comment string
    CurrentTaggeds []string
    CurrentUntaggeds []string
    Disabled bool
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    MvrpForbiddens []string
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    Taggeds []string
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    Untaggeds []string
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    VlanIds []string
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridge String
    The bridge interface which the respective VLAN entry is intended for.
    bridgeVlanId String
    comment String
    currentTaggeds List<String>
    currentUntaggeds List<String>
    disabled Boolean
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    mvrpForbiddens List<String>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds List<String>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds List<String>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    vlanIds List<String>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridge string
    The bridge interface which the respective VLAN entry is intended for.
    bridgeVlanId string
    comment string
    currentTaggeds string[]
    currentUntaggeds string[]
    disabled boolean
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    mvrpForbiddens string[]
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds string[]
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds string[]
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    vlanIds string[]
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridge str
    The bridge interface which the respective VLAN entry is intended for.
    bridge_vlan_id str
    comment str
    current_taggeds Sequence[str]
    current_untaggeds Sequence[str]
    disabled bool
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    mvrp_forbiddens Sequence[str]
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds Sequence[str]
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds Sequence[str]
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    vlan_ids Sequence[str]
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].
    ___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.
    bridge String
    The bridge interface which the respective VLAN entry is intended for.
    bridgeVlanId String
    comment String
    currentTaggeds List<String>
    currentUntaggeds List<String>
    disabled Boolean
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    mvrpForbiddens List<String>
    Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15).
    taggeds List<String>
    Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
    untaggeds List<String>
    Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
    vlanIds List<String>
    The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=["100-115","120","122","128-130"].

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros