There is no standard mechanism by which cloud vendors inject identification into running virtual machines. If your goal is to detect whether or not your are running in a virtual environment you could use the virt-what command, but there is no good way to differentiate one cloud vendor from another.