Name and Location

You can specify the display name for the virtual machine by setting the VirtualMachineConfigSpec.name property. Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients can also escape any other characters in this name parameter.

Use the annotation field to provide a description of the virtual machine. To remove an existing description, specify the empty string as the value of annotation.

The location of the virtual machine is determined implicitly during creation because you call a Folder.CreateVM_Task method and specify resource pool and optional target host the virtual machine should belong to. See GUID-9CDFAC36-694A-4344-B5C1-767B332C780B.html#GUID-9CDFAC36-694A-4344-B5C1-767B332C780B for a discussion of resource pools and virtual machine location.