The reason that network cable had become wet because it had rained for days, then where the power comes from, I do not know.
Therefore, for the application is probably this Waterproof network cable the solution.
Fast and reliable internet in the garden, the better it gets, I have tested it, water makes the line nothing.