routeros.BridgeVlan
Explore with Pulumi AI
# 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.
- Vlan
Ids 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"]
. - Bridge
Vlan stringId - Comment string
- Disabled bool
- Mvrp
Forbiddens 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.
- Vlan
Ids []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"]
. - Bridge
Vlan stringId - Comment string
- Disabled bool
- Mvrp
Forbiddens []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.
- vlan
Ids 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
Vlan StringId - comment String
- disabled Boolean
- mvrp
Forbiddens 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.
- vlan
Ids 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
Vlan stringId - comment string
- disabled boolean
- mvrp
Forbiddens 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_ strid - 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.
- vlan
Ids 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
Vlan StringId - comment String
- disabled Boolean
- mvrp
Forbiddens 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:
- Current
Taggeds List<string> - Current
Untaggeds 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.
- Current
Taggeds []string - Current
Untaggeds []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.
- current
Taggeds List<String> - current
Untaggeds 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.
- current
Taggeds string[] - current
Untaggeds 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.
- current
Taggeds List<String> - current
Untaggeds 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.
- Bridge string
- The bridge interface which the respective VLAN entry is intended for.
- Bridge
Vlan stringId - Comment string
- Current
Taggeds List<string> - Current
Untaggeds List<string> - Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Mvrp
Forbiddens 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
- Vlan
Ids 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.
- Bridge
Vlan stringId - Comment string
- Current
Taggeds []string - Current
Untaggeds []string - Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Mvrp
Forbiddens []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
- Vlan
Ids []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.
- bridge
Vlan StringId - comment String
- current
Taggeds List<String> - current
Untaggeds List<String> - disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- mvrp
Forbiddens 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
- vlan
Ids 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.
- bridge
Vlan stringId - comment string
- current
Taggeds string[] - current
Untaggeds string[] - disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- mvrp
Forbiddens 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
- vlan
Ids 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_ strid - 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.
- bridge
Vlan StringId - comment String
- current
Taggeds List<String> - current
Untaggeds List<String> - disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- mvrp
Forbiddens 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
- vlan
Ids 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.