public HostConnectInfo queryConnectionInfoViaSpec ( HostConnectSpec spec ) throws GatewayConnectFault , GatewayHostNotReachable , GatewayNotFound , GatewayNotReachable , GatewayOperationRefused , GatewayToHostAuthFault , GatewayToHostTrustVerifyFault , HostConnectFault , InvalidArgument , InvalidLogin , RuntimeFault , RemoteException { return getVimService ( ) . queryConnectionInfoViaSpec ( getMOR ( ) , spec ) ; }
This method provides a way of getting basic information about a host without adding it to a datacenter . This method is similar to QueryConnectionInfo but it takes a HostConnectSpec as argument instead of list of parameters .