Data Object - HostConnectSpec

Parameter to
AddHost_Task, AddStandaloneHost_Task, ReconnectHost_Task
See also

Data Object Description

Specifies the parameters needed to add a single host. This includes a small set of optional information about the host configuration. This allows the network and datastore configuration of the host to be synchronized with the naming conventions of the datacenter, as well as the configuration of a vim account (the username/password for the virtual machine files that is created on disk).


Name Type Description
forcexsd:boolean If this flag is set to "true", then the connection succeeds even if the host is already being managed by another VirtualCenter server. The original VirtualCenter server loses connection to the host.
hostName*xsd:string The DNS name or IP address of the host. (Required for adding a host.)
password*xsd:string The password for the administration account. (Required for adding a host.)
port*xsd:int The port number for the connection. If this is not specified, the default port number (port 902) is used. If this is a reconnect, the port number is unchanged.
userName*xsd:string The administration account on the host. (Required for adding a host.)
vimAccountName*xsd:string The username to be used for accessing the virtual machine files on the disk.
vimAccountPassword*xsd:string The password to be used with the vimAccountName property for accessing the virtual machine files on the disk.
to a Folder
The folder in which to store the existing virtual machines on the host. If this folder is not specified, a default folder is chosen (and possibly created) by the VirtualCenter. This folder exists (or is possibly created) on the VirtualCenter server and is called "Discovered VM".
Properties inherited from DynamicData
dynamicProperty, dynamicType
*Need not be set
Show WSDL type definition