It is well known that a finite abelian group $G$ (written additively) can be written as $$ G \simeq \mathbf{Z}_{p_1^{\alpha_1}} \oplus \cdots \oplus \mathbf{Z}_{p_k^{\alpha_k}}, $$ for some not necessarily distinct primes $p_1,\ldots,p_k$. Now, given nonnegative integers $\beta_1,\ldots,\beta_k$ such that $\beta_i\le \alpha_i$ for each $i$, then $$ \mathbf{Z}_{p_1^{\beta_1}} \oplus \cdots \oplus \mathbf{Z}_{p_k^{\beta_k}} $$ is (isomophic to) a subgroup of $G$.
Question: Is there a name for the finite abelian groups $G$ such that all and only subgroups of $G$ are the direct sums above?
Edit: I just noticed it is related related to this question and this other one..