M12 Molded Cable Male Female Waterproof Plug Connector 2 PIN
This is over mold connector coming with cable. The connectors carries up to 5A/300V power.
And the connector is M12 thread with 2 position, the cable length is customized as requirement in usaul.
About this 2 pin connector, there is routine version and UL version.