Police have locked down a large area on the edge of an Australian city after a man was shot and rushed to hospital.