com.vmware.vim25.mo
Class Network

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ExtensibleManagedObject
          extended by com.vmware.vim25.mo.ManagedEntity
              extended by com.vmware.vim25.mo.Network
Direct Known Subclasses:
DistributedVirtualPortgroup

public class Network
extends ManagedEntity

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
Network(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 void destroyNetwork()
           
 HostSystem[] getHosts()
           
 String getName()
           
 NetworkSummary getSummary()
           
 VirtualMachine[] getVms()
           
 
Methods inherited from class com.vmware.vim25.mo.ManagedEntity
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_Task
 
Methods inherited from class com.vmware.vim25.mo.ExtensibleManagedObject
getAvailableField, getValues, setCustomValue
 
Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Network

public Network(ServerConnection serverConnection,
               ManagedObjectReference mor)
Method Detail

getHosts

public HostSystem[] getHosts()

getName

public String getName()
Overrides:
getName in class ManagedEntity

getSummary

public NetworkSummary getSummary()

getVms

public VirtualMachine[] getVms()

destroyNetwork

public void destroyNetwork()
                    throws ResourceInUse,
                           RuntimeFault,
                           RemoteException
Throws:
ResourceInUse
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.