Create a new source

Creates a new data input source with the specified type and configuration. The source type determines which configuration properties are required.