I am getting ready to run a 220 circuit to my garage. My question is what do I need in the garage in order to wire my compressor. It is a 60 gal Kobalt and uses a 15 amp circuit. I have to run a new line to the garage and it is about 50 feet from the panel, so I was planning on burying a 10-2 UF cable. Now, once in the garage is where I am stumped, do I use a standard 220 plug and a box with a receptacle or something else.
The compressor does not have a plug so that needs to be added. I looked at the connectors and it has two bayonet type connectors. Can this be wired directly to a shutoff?

Thanks for the help!
George