VolumeExportPolicyRule constructor
- 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.
Implementation
const VolumeExportPolicyRule({
this.accessType,
this.allowedClients,
this.anonUid,
this.hasRootAccess,
this.kerberos5ReadOnly,
this.kerberos5ReadWrite,
this.kerberos5iReadOnly,
this.kerberos5iReadWrite,
this.kerberos5pReadOnly,
this.kerberos5pReadWrite,
this.nfsv3,
this.nfsv4,
this.squashMode,
});