What is the name for a network that only admits two different values for the degrees of its nodes?
For example you might have a graph with degree sequence, $D=(12^4,4^{100}).$ The notation means there are four nodes of degree $12$ and $100$ nodes of degree $4.$ I plotted the degree distribution and got two points, so does that mean there is a linear relationship? Are these networks studied?
The degree distribution for a random network looks like a bell-curve, and for a scale-free network it looks like a power law distribution, but I have not heard of a degree distribution that has an indirect linear relationship.
Thanks.


I wouldn't describe the degree sequence you have by the words "linear relationship". If you told me that the degree distribution is linear, I'd expect that in some range (such as $[4,12]$) all possible degrees are possible, and the frequency with which we get any particular degree changes linearly. This should be a special case of a power-law distribution.
If we just have a bunch of vertices of degrees $4$ and $12$, that's not what you'd expect to be an emergent property of any random graph law: you expect that the graph was deliberately chosen to have this degree sequence.
It's possible to choose a uniformly random graph with a given degree sequence via the configuration model. (Not that your graph necessarily looks like a typical random graph of that degree sequence.)