My yorkie Peanut is 10 months old, I live in an apartment and Peanut does not want any part of the rain. What I do is hold the leash tight so he can't roam anywhere and I usually walk over top of him with my big golf umbrella

while he does his business then we walk back inside together!
Hope this helps!
YrkeLuvr!