modify Resource interface
add VirtualMachine methods