A set of boundary conditions called the transpiration-resistance model (TRM) is investigated in altering near-wall turbulence. The TRM was proposed by Lacis et al. (J. Fluid Mech., vol. 884, 2020, p. A21) as a means of representing the net effect of surface micro-textures on their overlying bulk flows. It encompasses conventional Navier-slip boundary conditions relating the streamwise and spanwise velocities to their respective shears through the slip lengths $\ell _x$ and $\ell _z$. In addition, it features a transpiration condition accounting for the changes induced in the wall-normal velocity by expressing it in terms of variations of the wall-parallel velocity shears through the transpiration lengths $m_x$ and $m_z$. Greater levels of drag increase occur when more transpiration takes place at the boundary plane, with turbulent transpiration being predominately coupled to the spanwise shear component for canonical near-wall turbulence. The TRM reproduces the effect of a homogeneous and structured roughness up to $k^{+}\approx 18$, encompassing the regime of smooth-wall-like turbulence described using virtual origins (Luchini, 1996 Reducing the turbulent skin friction. In Computational Methods in Applied Sciences’ 96 (Paris, 9–13 Sept. 1996), pp. 465–470. Wiley; Ibrahim et al., J. Fluid Mech., vol. 915, 2021, p. A56) and slightly beyond it. The transpiration factor is defined as the product of the slip and transpiration lengths, i.e. $(m\ell )_{x,z}$. This factor contains the compound effect of the wall-parallel velocity occurring at the boundary plane and increased permeability, both of which lead to the transport of momentum in the wall-normal direction. A linear relation between the transpiration factor and the roughness function is observed for regularly textured surfaces in the transitionally rough regime of turbulence. This shows that such effective flow quantities can be suitable measures for characterizing rough surfaces in this flow regime.