The recently proposed magnetoimpedance tomography method is based on the analysis of the frequency dependences of the impedance measured at different external magnetic fields. The method allows one to analyze the distribution of magnetic properties over the cross-section of the ferromagnetic conductor. Here, we describe the example of theoretical study of the magnetoimpedance effect in an amorphous microwire with inhomogeneous magnetic structure. In the framework of the proposed model, it is assumed that the microwire cross-section consists of several regions with different features of the effective anisotropy. The distribution of the electromagnetic fields and the microwire impedance are found by an analytical solution of Maxwell equations in the particular regions. The field and frequency dependences of the microwire impedance are analyzed taking into account the frequency dependence of the permeability values in the considered regions. Although the calculations are given for the case of amorphous microwires, the obtained results can be useful for the development of the magnetoimpedance tomography method adaptation for different types of ferromagnetic conductors.