Unifying sample resource configuration