com.vmware.vim25.mo
Class ClusterComputeResource
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.ComputeResource
com.vmware.vim25.mo.ClusterComputeResource
public class ClusterComputeResource
- extends ComputeResource
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| Methods inherited from class com.vmware.vim25.mo.ManagedEntity |
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getName, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_Task |
| 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 |
ClusterComputeResource
public ClusterComputeResource(ServerConnection sc,
ManagedObjectReference mor)
getActionHistory
public ClusterActionHistory[] getActionHistory()
getConfiguration
public ClusterConfigInfo getConfiguration()
getDrsFault
public ClusterDrsFaults[] getDrsFault()
- Since:
- 4.0
getDrsRecommendation
public ClusterDrsRecommendation[] getDrsRecommendation()
getMigrationHistory
public ClusterDrsMigration[] getMigrationHistory()
getRecommendation
public ClusterRecommendation[] getRecommendation()
addHost_Task
public Task addHost_Task(HostConnectSpec spec,
boolean asConnected,
ResourcePool resourcePool)
throws InvalidLogin,
HostConnectFault,
RuntimeFault,
RemoteException
- Throws:
InvalidLogin
HostConnectFault
RuntimeFault
RemoteException
addHost_Task
public Task addHost_Task(HostConnectSpec spec,
boolean asConnected,
ResourcePool resourcePool,
String license)
throws InvalidLogin,
HostConnectFault,
RuntimeFault,
RemoteException
- Throws:
InvalidLogin
HostConnectFault
RuntimeFault
RemoteException
applyRecommendation
public void applyRecommendation(String key)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
cancelRecommendation
public void cancelRecommendation(String key)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException- Since:
- SDK4.1
clusterEnterMaintenanceMode
public ClusterEnterMaintenanceResult clusterEnterMaintenanceMode(HostSystem[] hosts,
OptionValue[] option)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException- Since:
- SDK5.0
moveHostInto_Task
public Task moveHostInto_Task(HostSystem host,
ResourcePool resourcePool)
throws TooManyHosts,
InvalidState,
RuntimeFault,
RemoteException
- Throws:
TooManyHosts
InvalidState
RuntimeFault
RemoteException
moveInto_Task
public Task moveInto_Task(HostSystem[] hosts)
throws TooManyHosts,
DuplicateName,
InvalidState,
RuntimeFault,
RemoteException
- Throws:
TooManyHosts
DuplicateName
InvalidState
RuntimeFault
RemoteException
recommendHostsForVm
public ClusterHostRecommendation[] recommendHostsForVm(VirtualMachine vm,
ResourcePool pool)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
reconfigureCluster_Task
public Task reconfigureCluster_Task(ClusterConfigSpec spec,
boolean modify)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
refreshRecommendation
public void refreshRecommendation()
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
retrieveDasAdvancedRuntimeInfo
public ClusterDasAdvancedRuntimeInfo retrieveDasAdvancedRuntimeInfo()
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException- Since:
- 4.0
Copyright © 2011-2012. All Rights Reserved.