public class HypervHostPowerAction
extends java.lang.Object
Perform Hyperv Power Actions
This task allows the user to perform Power Actions on a Host.
Modifier | Constructor and Description |
---|---|
protected |
HypervHostPowerAction() |
|
HypervHostPowerAction(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervHostPowerActionResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getHostIdentity() |
java.lang.String |
getPowerAction() |
boolean |
isRefreshOutOfBandProperties() |
boolean |
isUseOutOfBandChannel() |
void |
setCuicServer(CuicServer api) |
void |
setHostIdentity(java.lang.String hostIdentity)
Select the host to perform the action
Accepts value from list type hvHost
|
void |
setPowerAction(java.lang.String powerAction)
Select the power action to be executed
|
void |
setRefreshOutOfBandProperties(boolean refreshOutOfBandProperties)
Specify whether Out Of Band properties are to be refreshed
|
void |
setUseOutOfBandChannel(boolean useOutOfBandChannel)
Specify whether Out Of Band channel is to be used to perform the action
|
protected HypervHostPowerAction()
public HypervHostPowerAction(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getHostIdentity()
public java.lang.String getPowerAction()
public boolean isUseOutOfBandChannel()
public boolean isRefreshOutOfBandProperties()
public void setHostIdentity(java.lang.String hostIdentity)
public void setPowerAction(java.lang.String powerAction)
public void setUseOutOfBandChannel(boolean useOutOfBandChannel)
public void setRefreshOutOfBandProperties(boolean refreshOutOfBandProperties)
public HypervHostPowerActionResponse execute() throws java.lang.Exception
java.lang.Exception