UserInfo is a representation of a user grid object. This class provides accessors and setters for User facts.
UserInfo Construct an instance of UserInfo
Construct an instance of UserInfo
VmSpec here is used for creating a clone on a named host from a template resource:
resource = getMatrix().getGridObject(TYPE_RESOURCE,"myTemplate") spec = VmSpec() spec.setNewName("newvm") spec.setHost('vmhost-qa') resource.clone(spec)
Javadoc: UserInfo