![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.mo.HostPowerSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vijava Show documentation
Show all versions of vijava Show documentation
Java API for accessing VMWare web services API
package com.vmware.vim25.mo;
import java.rmi.RemoteException;
import com.vmware.vim25.HostConfigFault;
import com.vmware.vim25.PowerSystemCapability;
import com.vmware.vim25.PowerSystemInfo;
import com.vmware.vim25.RuntimeFault;
public class HostPowerSystem extends ManagedObject
{
public PowerSystemCapability getCapability()
{
return (PowerSystemCapability) getCurrentProperty("capability");
}
public PowerSystemInfo getInfo()
{
return (PowerSystemInfo) getCurrentProperty("info");
}
public void configurePowerPolicy(int key) throws HostConfigFault, RuntimeFault, RemoteException
{
getVimService().configurePowerPolicy(getMOR(), key);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy