public class ResizeVMDatastore
extends java.lang.Object
Resize the specified VM datastore.
This task can be used to resize the datastore associated with the VM. The underlying storage system can be anything like NetApp,EMC,etc...
Modifier | Constructor and Description |
---|---|
protected |
ResizeVMDatastore() |
|
ResizeVMDatastore(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getDatastoreName() |
java.lang.String |
getDatastoreSize() |
java.lang.String |
getFilerIp() |
int |
getVmId() |
void |
setCuicServer(CuicServer api) |
void |
setDatastoreName(java.lang.String datastoreName)
Datastore Name
Accepts value from list type ResizeVMDatastore_DatastoreList
|
void |
setDatastoreSize(java.lang.String datastoreSize)
Storage Size (GB)
Accepts value from list type dataStoreSize
|
void |
setFilerIp(java.lang.String filerIp) |
void |
setVmId(int vmId)
Optionally select a VM for resizing the storage on
Accepts value from list type vm
|
protected ResizeVMDatastore()
public ResizeVMDatastore(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public int getVmId()
public java.lang.String getDatastoreName()
public java.lang.String getDatastoreSize()
public java.lang.String getFilerIp()
public void setVmId(int vmId)
public void setDatastoreName(java.lang.String datastoreName)
public void setDatastoreSize(java.lang.String datastoreSize)
public void setFilerIp(java.lang.String filerIp)
public void execute() throws java.lang.Exception
java.lang.Exception