# Data Object - VmwareDistributedVirtualSwitchVlanIdSpec(vim.dvs.VmwareDistributedVirtualSwitch.VlanIdSpec)

Extends
  VmwareDistributedVirtualSwitchVlanSpec
Since
  vSphere API 4.0

## Data Object Description

This data type defines the configuration when single vlanId is used for the port.

Properties

Name | Type | Description
--- | --- | ---
vlanId | xsd:int | The VLAN ID for ports. Possible values: A value of 0 specifies that you do not want the port associated with a VLAN. A value from 1 to 4094 specifies a VLAN ID for the port.
Properties inherited from VmwareDistributedVirtualSwitchVlanSpec
None
Properties inherited from InheritablePolicy
inherited
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="VmwareDistributedVirtualSwitchVlanIdSpec"> <complexContent> <extension base="vslm:VmwareDistributedVirtualSwitchVlanSpec"> <sequence> <element name="vlanId" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>