def METHOD_NAME(datasourceName, providerName, templateName, authAlias, properties):
	print("Creating Datasource using template: ", datasourceName)
	attributes = [['jndiName', 'jdbc/'+datasourceName], ['authDataAlias', authAlias], ['propertySet', [['resourceProperties', properties]]]]
	template = AdminConfig.listTemplates('DataSource', templateName)
	datasourceId = AdminJDBC.createDataSourceUsingTemplate(node, server, providerName, template, datasourceName, attributes)
	return(datasourceId)