public class UcsServerPowerOff
extends java.lang.Object
This task allows user to Power Off UCS Server
This task lets user Power Off UCS Server. This task can be used only when there is a Service Profile associated with the Server since this task uses Service Profile to turn the power off for the Server.
Output for this task is the Service Profile Dn for the Server.
Modifier | Constructor and Description |
---|---|
protected |
UcsServerPowerOff() |
|
UcsServerPowerOff(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
UcsServerPowerOffResponse |
execute() |
java.lang.String |
getAccountName() |
CuicServer |
getCuicServer() |
java.lang.String |
getServerIdentity() |
java.lang.String |
getUcsBlade() |
void |
setAccountName(java.lang.String accountName) |
void |
setCuicServer(CuicServer api) |
void |
setServerIdentity(java.lang.String serverIdentity)
Select UCSM server to Power OFF
Accepts value from list type ucsServerIdentity
|
void |
setUcsBlade(java.lang.String ucsBlade) |
protected UcsServerPowerOff()
public UcsServerPowerOff(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getServerIdentity()
public java.lang.String getAccountName()
public java.lang.String getUcsBlade()
public void setServerIdentity(java.lang.String serverIdentity)
public void setAccountName(java.lang.String accountName)
public void setUcsBlade(java.lang.String ucsBlade)
public UcsServerPowerOffResponse execute() throws java.lang.Exception
java.lang.Exception