If this pump is running 24/7 (I'm assuming a permenant installation) wouldn't a cable gland with the flex entering into an isolating switch be a better solution than a plug & socket?
The NEC is pretty restrictive about using cables or cords without plugs.
In this case another option might be to use a flexible conduit but then a disconnecting switch would likely be required.
Bob,
To a degree, I think that that was what Darren (32VAC) was talking about, as long as the isolator/disconnect can be locked open (OFF), I can't really see what the issue is.
Personally, I hate the idea of plugs and sockets being used outdoors, no matter how well they are "weather-protected" or even if they have GFCI protection on them, after all, how often are these devices tested?.
Just my $0.02 worth.