public class HypervCreateVMSnapshot
extends java.lang.Object
Creates VM Snapshot
This task creates Snapshot for the VM.
Modifier | Constructor and Description |
---|---|
protected |
HypervCreateVMSnapshot() |
|
HypervCreateVMSnapshot(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervCreateVMSnapshotResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getDescription() |
java.lang.String |
getSnapshotName() |
int |
getVmId() |
void |
setCuicServer(CuicServer api) |
void |
setDescription(java.lang.String description)
Description
|
void |
setSnapshotName(java.lang.String snapshotName)
Name of the snapshot
|
void |
setVmId(int vmId)
Select the VM for which snapshot need to be created
Accepts value from list type vm
|
protected HypervCreateVMSnapshot()
public HypervCreateVMSnapshot(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public int getVmId()
public java.lang.String getSnapshotName()
public java.lang.String getDescription()
public void setVmId(int vmId)
public void setSnapshotName(java.lang.String snapshotName)
public void setDescription(java.lang.String description)
public HypervCreateVMSnapshotResponse execute() throws java.lang.Exception
java.lang.Exception