VolumeExportPolicyRule class
Constructors
-
VolumeExportPolicyRule({Input<String?>? accessType, Input<String?>? allowedClients, Input<int?>? anonUid, Input<String?>? hasRootAccess, Input<bool?>? kerberos5ReadOnly, Input<bool?>? kerberos5ReadWrite, Input<bool?>? kerberos5iReadOnly, Input<bool?>? kerberos5iReadWrite, Input<bool?>? kerberos5pReadOnly, Input<bool?>? kerberos5pReadWrite, Input<bool?>? nfsv3, Input<bool?>? nfsv4, Input<String?>? squashMode})
-
Creates a new VolumeExportPolicyRule.
accessType Defines the access type for clients matching the allowedClients specification.
allowedClients Defines the client ingress specification (allowed clients) as a comma separated list with IPv4 CIDRs or IPv4 host addresses.
anonUid An integer representing the anonymous user ID. Range is 0 to 4294967295. Required when squashMode is ALL_SQUASH.
hasRootAccess If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash.
kerberos5ReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
kerberos5ReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled.
kerberos5iReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
kerberos5iReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled.
kerberos5pReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
kerberos5pReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled.
nfsv3 Enable to apply the export rule to NFSV3 clients.
nfsv4 Enable to apply the export rule to NFSV4.1 clients.
squashMode SquashMode defines how remote user privileges are restricted when accessing an NFS export. It controls how the user identities (like root) are mapped to anonymous users to limit access and enforce security.
const
-
VolumeExportPolicyRule.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
accessType
→ Input<String?>?
-
Defines the access type for clients matching the
allowedClients specification.
Possible values are: READ_ONLY, READ_WRITE, READ_NONE.
final
-
allowedClients
→ Input<String?>?
-
Defines the client ingress specification (allowed clients) as a comma separated list with IPv4 CIDRs or IPv4 host addresses.
final
-
anonUid
→ Input<int?>?
-
An integer representing the anonymous user ID. Range is 0 to 4294967295. Required when
squashMode is ALL_SQUASH.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasRootAccess
→ Input<String?>?
-
If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash.
Use either squashMode or has_root_access, but never both at the same time. These parameters are mutually exclusive.
final
-
kerberos5iReadOnly
→ Input<bool?>?
-
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
final
-
kerberos5iReadWrite
→ Input<bool?>?
-
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled.
final
-
kerberos5pReadOnly
→ Input<bool?>?
-
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
final
-
kerberos5pReadWrite
→ Input<bool?>?
-
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled.
final
-
kerberos5ReadOnly
→ Input<bool?>?
-
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
final
-
kerberos5ReadWrite
→ Input<bool?>?
-
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled.
final
-
nfsv3
→ Input<bool?>?
-
Enable to apply the export rule to NFSV3 clients.
final
-
nfsv4
→ Input<bool?>?
-
Enable to apply the export rule to NFSV4.1 clients.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
squashMode
→ Input<String?>?
-
SquashMode defines how remote user privileges are restricted when accessing an NFS export. It controls how the user identities (like root) are mapped to anonymous users to limit access and enforce security.
Use either squashMode or has_root_access, but never both at the same time. These parameters are mutually exclusive.
Possible values are:
SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH, ALL_SQUASH.
final