public class NetAppResizeVMDatastoreConfig
extends java.lang.Object
Selected VM's Datastore can be resized using the VSC.
This task resizes the datastore which is associated for the selected VM in the vCenter server and is mapped the storage target either NFS Volume or VMFS LUN to the Storage system by the VSC pluggined to the vCenter Server. we can either increase or decrease the datastore of type NFS exported as volume, but the we cannot decrease the datatstore of type VMFS mapped to storage target as LUN. This task will work only for ONTAP accounts.
Modifier | Constructor and Description |
---|---|
protected |
NetAppResizeVMDatastoreConfig() |
|
NetAppResizeVMDatastoreConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppResizeVMDatastoreConfigResponse |
execute() |
java.lang.String |
getCloudName() |
CuicServer |
getCuicServer() |
java.lang.String |
getDatastoreName() |
java.lang.String |
getDatastoreSize() |
int |
getVmId() |
void |
setCloudName(java.lang.String cloudName) |
void |
setCuicServer(CuicServer api) |
void |
setDatastoreName(java.lang.String datastoreName)
Select a Datastore Name.
|
void |
setDatastoreSize(java.lang.String datastoreSize)
Enter the size of Storage.
|
void |
setVmId(int vmId)
Optionally select a VM for resizing the storage on Accepts value from
list type vm
|
protected NetAppResizeVMDatastoreConfig()
public NetAppResizeVMDatastoreConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getCloudName()
public int getVmId()
public java.lang.String getDatastoreName()
public java.lang.String getDatastoreSize()
public void setCloudName(java.lang.String cloudName)
public void setVmId(int vmId)
public void setDatastoreName(java.lang.String datastoreName)
public void setDatastoreSize(java.lang.String datastoreSize)
public NetAppResizeVMDatastoreConfigResponse execute() throws java.lang.Exception
java.lang.Exception