I am moving into an apartment complex and had this issue as well. I asked my leasing office about potential cable providers and DirecTV was an option. My facility doesn’t allow for personal mounting of satellites but they do have shared dishes on the roof.
It might be worth asking if other tenants receive DirecTV service. My facility was very open about this, but we did ask about cable before we moved in. They might be able to tell you if the complex has a provider and share a dish, as mine does.
If there is no dish and they won’t allow you to mount one, even on the roof, then I’m not sure how you’d get DirecTV since it is satellite television. At my last residence my landlord wouldn’t allow for the dish to be mounted, so we had to go with another service provider that was cable based instead of satellite.