NFS export options specifications.
JSON representation |
---|
{ "ipRanges": [ string ], "accessMode": enum ( |
Fields | |
---|---|
ipRanges[] |
List of either an IPv4 addresses in the format |
accessMode |
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. |
squashMode |
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. |
anonUid |
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings. |
anonGid |
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings. |
AccessMode
The access mode.
Enums | |
---|---|
ACCESS_MODE_UNSPECIFIED |
AccessMode not set. |
READ_ONLY |
The client can only read the file share. |
READ_WRITE |
The client can read and write the file share (default). |
SquashMode
The squash mode.
Enums | |
---|---|
SQUASH_MODE_UNSPECIFIED |
SquashMode not set. |
NO_ROOT_SQUASH |
The Root user has root access to the file share (default). |
ROOT_SQUASH |
The Root user has squashed access to the anonymous uid/gid. |