code: func expandVmwareDistributedVirtualSwitchVlanIDSpec(d *schema.ResourceData) *types.VmwareDistributedVirtualSwitchVlanIdSpec {
  	obj := &types.VmwareDistributedVirtualSwitchVlanIdSpec{
  		VlanId: int32(d.Get("vlan_id").(int)),
  	}
  	return obj
  }
docs: // expandVmwareDistributedVirtualSwitchVlanIDSpec reads certain ResourceData keys and
  // returns a VmwareDistributedVirtualSwitchVlanIdSpec.