CacheDefaultAccessPolicyAccessRule

data class CacheDefaultAccessPolicyAccessRule(val access: String, val anonymousGid: Int? = null, val anonymousUid: Int? = null, val filter: String? = null, val rootSquashEnabled: Boolean? = null, val scope: String, val submountAccessEnabled: Boolean? = null, val suidEnabled: Boolean? = null)

Constructors

Link copied to clipboard
constructor(access: String, anonymousGid: Int? = null, anonymousUid: Int? = null, filter: String? = null, rootSquashEnabled: Boolean? = null, scope: String, submountAccessEnabled: Boolean? = null, suidEnabled: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The access level for this rule. Possible values are: rw, ro, no.

Link copied to clipboard
val anonymousGid: Int? = null

The anonymous GID used when root_squash_enabled is true.

Link copied to clipboard
val anonymousUid: Int? = null

The anonymous UID used when root_squash_enabled is true.

Link copied to clipboard
val filter: String? = null

The filter applied to the scope for this rule. The filter's format depends on its scope: default scope matches all clients and has no filter value; network scope takes a CIDR format; host takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.

Link copied to clipboard

Whether to enable root squash?

Link copied to clipboard

The scope of this rule. The scope and (potentially) the filter determine which clients match the rule. Possible values are: default, network, host.

Link copied to clipboard

Whether allow access to subdirectories under the root export?

Link copied to clipboard
val suidEnabled: Boolean? = null

Whether SUID is allowed?