You can configure the vSAN cluster (shared storage pool) to be either hybrid or all-flash (see details)
Details
You can configure the vSAN cluster (shared storage pool) to be either hybrid where magnetic disks are used for capacity or all-flash where flash disks are used for capacity and then specify clusters from which hosts can use storage