You have to find out what kind of statistical ensemble you are dealing with.
As soon as you know that, you can get the corresponding thermodynamical potential from the knowledge of the partition function.
When you know the potential, you know everything!
EDIT: Since you don't know to which ensemble this partition function $\mathcal{Z}$ belongs to you can make a guess. The exponent does not depend on $N$, nor does it depend on $\mu$. All thermodynamical potentials are connected via Legendre transformations. You have
$$F(T,V,N)= U - TS $$
$$\Omega(T,V,\mu) = U - TS - \mu N = F - \mu N $$
You get $F$ from the canonical ensemble and $\Omega$ from the grand canonical ensemble via
$$F = - k T \ln\mathcal{Z}_c $$
$$\Omega = - k T \ln\mathcal{Z}_{gc} $$
Depending on which ensemble you have the ignorance of $\mathcal Z$ with respect to $\mu$ and $N$ leads to either $N=0$ or $\mu = 0$. This is a direct consequence from the first law of thermodynamics that gives you expressions for partial derivatives
$$ \left(\frac{\partial F} {\partial N} \right)_{T,V} = \mu $$
$$ \left(\frac{\partial \Omega} {\partial \mu} \right)_{T,V} = -N $$
And no matter which one you choose now you will get $F=\Omega$ from the above relations.