Package com.vmware.general
Class Browser
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.connection.VCenterSampleBase
-
- com.vmware.general.Browser
-
@Sample(name="browser", description="This sample prints managed entity, its type, reference value, property name, Property Value, Inner Object Type, its Inner Reference Value and inner property value") public class Browser extends VCenterSampleBaseBrowser This sample prints managed entity, its type, reference value, property name, Property Value, Inner Object Type, its Inner Reference Value and inner property value 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.Browser --url [webserviceurl] --username [username] --password [password]
- See Also:
ConnectedVimServiceBase
-
-
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 Browser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,com.vmware.vim25.ManagedObjectReference>inventory()voidprintInventory()The main action for this sample.-
Methods inherited from class com.vmware.connection.VCenterSampleBase
connect
-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-
-
-
Method Detail
-
printInventory
@Action public void printInventory() throws com.vmware.vim25.InvalidPropertyFaultMsg, com.vmware.vim25.RuntimeFaultFaultMsgThe main action for this sample.- Throws:
com.vmware.vim25.InvalidPropertyFaultMsgcom.vmware.vim25.RuntimeFaultFaultMsg
-
inventory
public java.util.Map<java.lang.String,com.vmware.vim25.ManagedObjectReference> inventory() throws com.vmware.vim25.InvalidPropertyFaultMsg, com.vmware.vim25.RuntimeFaultFaultMsg- Throws:
com.vmware.vim25.InvalidPropertyFaultMsgcom.vmware.vim25.RuntimeFaultFaultMsg
-
-