public class NetAppCreateVolumeConfig
extends java.lang.Object
Create a flexible volume.
A traditional volume can be resized to a bigger size but cannot be reduced in size. A flexible volume on the other hand can be resized to either a bigger or smaller size. A traditional volume is tightly coupled with its containing aggregate. In order to increase the size of the traditional volume additional disk can be added. A flexible volume is loosely coupled with its containing aggregate and hence size can be increased or decreased. Security style NTFS option can be choosed to create a volume having the security style as NTFS otherwise volume will be created with style as UNIX. This task will work for both ONTAP and OnCommand accounts.
Modifier | Constructor and Description |
---|---|
protected |
NetAppCreateVolumeConfig() |
|
NetAppCreateVolumeConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppCreateVolumeConfigResponse |
execute() |
java.lang.String |
getAccountName() |
java.lang.String |
getAggregate() |
CuicServer |
getCuicServer() |
java.lang.String |
getDcName() |
java.lang.String |
getFilerName() |
java.lang.String |
getSizeUnit() |
java.lang.String |
getSnapshotPercent() |
java.lang.String |
getSpaceGuarantee() |
java.lang.String |
getVolName() |
java.lang.String |
getVolumeSize() |
boolean |
isNfsExport() |
boolean |
isNtfsStyle() |
void |
setAccountName(java.lang.String accountName) |
void |
setAggregate(java.lang.String aggregate)
Select an aggregate in which Volume needs to be created.
|
void |
setCuicServer(CuicServer api) |
void |
setDcName(java.lang.String dcName) |
void |
setFilerName(java.lang.String filerName) |
void |
setNfsExport(boolean nfsExport)
Do you want to create NFS export path automatically?
|
void |
setNtfsStyle(boolean ntfsStyle)
Do you want to set security style as NTFS?
|
void |
setSizeUnit(java.lang.String sizeUnit)
Select the Volume Size Units.
|
void |
setSnapshotPercent(java.lang.String snapshotPercent)
Enter the percentage of the volume snapshot.
|
void |
setSpaceGuarantee(java.lang.String spaceGuarantee)
Select the Space Guarantee.
|
void |
setVolName(java.lang.String volName)
Enter the Name of the Volume to be created.
|
void |
setVolumeSize(java.lang.String volumeSize)
Enter the size of Volume.
|
protected NetAppCreateVolumeConfig()
public NetAppCreateVolumeConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getDcName()
public java.lang.String getAccountName()
public java.lang.String getFilerName()
public java.lang.String getAggregate()
public java.lang.String getVolName()
public java.lang.String getVolumeSize()
public java.lang.String getSizeUnit()
public java.lang.String getSpaceGuarantee()
public java.lang.String getSnapshotPercent()
public boolean isNtfsStyle()
public boolean isNfsExport()
public void setDcName(java.lang.String dcName)
public void setAccountName(java.lang.String accountName)
public void setFilerName(java.lang.String filerName)
public void setAggregate(java.lang.String aggregate)
public void setVolName(java.lang.String volName)
public void setVolumeSize(java.lang.String volumeSize)
public void setSizeUnit(java.lang.String sizeUnit)
public void setSpaceGuarantee(java.lang.String spaceGuarantee)
public void setSnapshotPercent(java.lang.String snapshotPercent)
public void setNtfsStyle(boolean ntfsStyle)
public void setNfsExport(boolean nfsExport)
public NetAppCreateVolumeConfigResponse execute() throws java.lang.Exception
java.lang.Exception