com.vmware.vim25.mo
Class HostFirewallSystem

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ExtensibleManagedObject
          extended by com.vmware.vim25.mo.HostFirewallSystem

public class HostFirewallSystem
extends ExtensibleManagedObject

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
HostFirewallSystem(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 void disableRuleset(String id)
           
 void enableRuleset(String id)
           
 HostFirewallInfo getFirewallInfo()
           
 void refreshFirewall()
           
 void updateDefaultPolicy(HostFirewallDefaultPolicy defaultPolicy)
           
 void updateRuleset(String id, HostFirewallRulesetRulesetSpec spec)
           
 
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

HostFirewallSystem

public HostFirewallSystem(ServerConnection serverConnection,
                          ManagedObjectReference mor)
Method Detail

getFirewallInfo

public HostFirewallInfo getFirewallInfo()

disableRuleset

public void disableRuleset(String id)
                    throws HostConfigFault,
                           NotFound,
                           RuntimeFault,
                           RemoteException
Throws:
HostConfigFault
NotFound
RuntimeFault
RemoteException

enableRuleset

public void enableRuleset(String id)
                   throws HostConfigFault,
                          NotFound,
                          RuntimeFault,
                          RemoteException
Throws:
HostConfigFault
NotFound
RuntimeFault
RemoteException

refreshFirewall

public void refreshFirewall()
                     throws RuntimeFault,
                            RemoteException
Throws:
RuntimeFault
RemoteException

updateDefaultPolicy

public void updateDefaultPolicy(HostFirewallDefaultPolicy defaultPolicy)
                         throws RuntimeFault,
                                RemoteException
Throws:
RuntimeFault
RemoteException

updateRuleset

public void updateRuleset(String id,
                          HostFirewallRulesetRulesetSpec spec)
                   throws NotFound,
                          HostConfigFault,
                          RuntimeFault,
                          RemoteException
Throws:
NotFound
HostConfigFault
RuntimeFault
RemoteException
Since:
SDK5.0


Copyright © 2011-2012. All Rights Reserved.