added genereting the vm name and key pair name if it is empty in request