public class HypervRefreshHostOrCluster
extends java.lang.Object
Refresh Host/Cluster
This task allows the user to refresh a Host or Cluster.
Inventory of the selected Host/Cluster is also performed.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervRefreshHostOrCluster() |
|
HypervRefreshHostOrCluster(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervRefreshHostOrClusterResponse |
execute() |
java.lang.String |
getClusterIdentity() |
CuicServer |
getCuicServer() |
java.lang.String |
getHostIdentity() |
java.lang.String |
getTarget() |
void |
setClusterIdentity(java.lang.String clusterIdentity)
Select the cluster to perform the action
Set this value only when target not equals to HostAccepts value from list type hypervClusterIdentity
|
void |
setCuicServer(CuicServer api) |
void |
setHostIdentity(java.lang.String hostIdentity)
Select the host to perform the action
Set this value only when target not equals to ClusterAccepts value from list type hvHost
|
void |
setTarget(java.lang.String target)
Host/Cluster
|
protected HypervRefreshHostOrCluster()
public HypervRefreshHostOrCluster(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getTarget()
public java.lang.String getHostIdentity()
public java.lang.String getClusterIdentity()
public void setTarget(java.lang.String target)
public void setHostIdentity(java.lang.String hostIdentity)
public void setClusterIdentity(java.lang.String clusterIdentity)
public HypervRefreshHostOrClusterResponse execute() throws java.lang.Exception
java.lang.Exception