public class HyperVRevertVMSnapshot
extends java.lang.Object
Reverts VM Snapshot
This task reverts Snapshot for the VM.
Modifier | Constructor and Description |
---|---|
protected |
HyperVRevertVMSnapshot() |
|
HyperVRevertVMSnapshot(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HyperVRevertVMSnapshotResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getSnapshotName() |
int |
getVmId() |
void |
setCuicServer(CuicServer api) |
void |
setSnapshotName(java.lang.String snapshotName)
List of snapshots
Accepts value from list type snapshot
|
void |
setVmId(int vmId)
Select the VM for which snapshot need to be reverted
Accepts value from list type vm
|
protected HyperVRevertVMSnapshot()
public HyperVRevertVMSnapshot(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public int getVmId()
public java.lang.String getSnapshotName()
public void setVmId(int vmId)
public void setSnapshotName(java.lang.String snapshotName)
public HyperVRevertVMSnapshotResponse execute() throws java.lang.Exception
java.lang.Exception