NfsExportOptionsArgs

data class NfsExportOptionsArgs(val accessMode: Output<NfsExportOptionsAccessMode>? = null, val anonGid: Output<String>? = null, val anonUid: Output<String>? = null, val ipRanges: Output<List<String>>? = null, val securityFlavors: Output<List<NfsExportOptionsSecurityFlavorsItem>>? = null, val squashMode: Output<NfsExportOptionsSquashMode>? = null) : ConvertibleToJava<NfsExportOptionsArgs>

NFS export options specifications.

Constructors

Link copied to clipboard
fun NfsExportOptionsArgs(accessMode: Output<NfsExportOptionsAccessMode>? = null, anonGid: Output<String>? = null, anonUid: Output<String>? = null, ipRanges: Output<List<String>>? = null, securityFlavors: Output<List<NfsExportOptionsSecurityFlavorsItem>>? = null, squashMode: Output<NfsExportOptionsSquashMode>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NfsExportOptionsArgs

Properties

Link copied to clipboard

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.

Link copied to clipboard
val anonGid: Output<String>? = null

An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.

Link copied to clipboard
val anonUid: Output<String>? = null

An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.

Link copied to clipboard
val ipRanges: Output<List<String>>? = null

List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.

Link copied to clipboard

The security flavors allowed for mount operations. The default is AUTH_SYS.

Link copied to clipboard

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.