Package com.vmware.general
Class Connect
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.general.Connect
-
@Sample(name="connect", description="This sample connects to an ESX server or to vCenter server.") public class Connect extends ConnectedVimServiceBaseConnect This sample simply connects to an ESX server or to vCenter server Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication Command Line: run.bat com.vmware.general.Connect --url [webserviceurl] --username [username] --password [password]
- See Also:
ConnectedVimServiceBase,BasicConnection,SsoConnection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vmware.connection.ConnectedVimServiceBase
ConnectedVimServiceBase.ConnectionException
-
-
Field Summary
-
Fields inherited from class com.vmware.connection.ConnectedVimServiceBase
PROP_ME_NAME, SVC_INST_NAME
-
-
Constructor Summary
Constructors Constructor Description Connect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction()For details on how to form different types of connections to various kinds of vSphere web service agents, see the classes under the package com.vmware.connection,-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-
-
-
Method Detail
-
action
@Action public void action()
For details on how to form different types of connections to various kinds of vSphere web service agents, see the classes under the package com.vmware.connection,- See Also:
BasicConnection,SsoConnection
-
-