public class NetAppCreateNFSExportConfig
extends java.lang.Object
Mount NFS storage.
This task enables pathnames for mounting according to the rules specified. New rules for the pathnames take effect immediately, ignoring previous rules for specified pathnames. This task will work for both ONTAP and OnCommand accounts.
Modifier | Constructor and Description |
---|---|
protected |
NetAppCreateNFSExportConfig() |
|
NetAppCreateNFSExportConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppCreateNFSExportConfigResponse |
execute() |
java.lang.String |
getActualPath() |
CuicServer |
getCuicServer() |
java.lang.String |
getPath() |
java.lang.String |
getRoot() |
java.lang.String |
getRwHosts() |
boolean |
isAllHosts() |
boolean |
isHideFields() |
boolean |
isPersistent() |
void |
setActualPath(java.lang.String actualPath)
Enter the actual path mounted when the NFS client mounts the exported
path.
|
void |
setAllHosts(boolean allHosts)
Permissions to all hosts?
|
void |
setCuicServer(CuicServer api) |
void |
setHideFields(boolean hideFields) |
void |
setPath(java.lang.String path)
Enter the path that will be exported to NFS clients.
|
void |
setPersistent(boolean persistent)
Check this option to persist NFS Export rule.
|
void |
setRoot(java.lang.String root)
Enter comma-separated list of hosts that should have root access.
|
void |
setRwHosts(java.lang.String rwHosts)
Enter comma-separated list of hosts that should have read-write access.
|
protected NetAppCreateNFSExportConfig()
public NetAppCreateNFSExportConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public boolean isHideFields()
public java.lang.String getPath()
public java.lang.String getActualPath()
public java.lang.String getRwHosts()
public java.lang.String getRoot()
public boolean isAllHosts()
public boolean isPersistent()
public void setHideFields(boolean hideFields)
public void setPath(java.lang.String path)
public void setActualPath(java.lang.String actualPath)
public void setRwHosts(java.lang.String rwHosts)
public void setRoot(java.lang.String root)
public void setAllHosts(boolean allHosts)
public void setPersistent(boolean persistent)
public NetAppCreateNFSExportConfigResponse execute() throws java.lang.Exception
java.lang.Exception