Feature #1772: Change the one.vm.resize method to accept a template, instead of individual parameters