Below is VMware best practices with regard to VM naming.
Maximum length of VM names
...
Info |
---|
VM Name min 2 and max 75 characters. |
VM name maximum length
Virtual machine name minimum is 2 charactersand maximum of 75 characters. This is 80 characters supported by VMWare vSphere minus the VSS Prefix composed of 5 characters.
Restrictions of using special characters in names of entities
VMware recommends , to avoid using avoiding special characters in the names. (VMware KB Article 2046088)
...
However, the ITS Private Cloud API remove any special character included.
%, &, *, $, #, @, !, \, /, :, *, ?, “, <, >, |, ;, '
...