@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 VCenterSampleBase
Browser 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]
ConnectedVimServiceBaseConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
Browser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,com.vmware.vim25.ManagedObjectReference> |
inventory() |
void |
printInventory()
The main action for this sample.
|
connectbasicConnectionFromConnection, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Action
public void printInventory()
throws com.vmware.vim25.InvalidPropertyFaultMsg,
com.vmware.vim25.RuntimeFaultFaultMsg
com.vmware.vim25.InvalidPropertyFaultMsgcom.vmware.vim25.RuntimeFaultFaultMsgpublic java.util.Map<java.lang.String,com.vmware.vim25.ManagedObjectReference> inventory()
throws com.vmware.vim25.InvalidPropertyFaultMsg,
com.vmware.vim25.RuntimeFaultFaultMsg
com.vmware.vim25.InvalidPropertyFaultMsgcom.vmware.vim25.RuntimeFaultFaultMsg