@Sample(name="connect",
description="This sample connects to an ESX server or to vCenter server.")
public class Connect
extends ConnectedVimServiceBase
Connect 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]
ConnectedVimServiceBase,
BasicConnection,
SsoConnectionConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
Connect() |
| Modifier and Type | Method and Description |
|---|---|
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,
|
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Action public void action()
BasicConnection,
SsoConnection