SimpleExportPolicyRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)An export policy rule describing various export options.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
allowed_clients |
str
Comma separated list of allowed clients IP addresses This field is a member of oneof_ _allowed_clients.
|
has_root_access |
str
Whether Unix root access will be granted. This field is a member of oneof_ _has_root_access.
|
access_type |
google.cloud.netapp_v1.types.AccessType
Access type (ReadWrite, ReadOnly, None) This field is a member of oneof_ _access_type.
|
nfsv3 |
bool
NFS V3 protocol. This field is a member of oneof_ _nfsv3.
|
nfsv4 |
bool
NFS V4 protocol. This field is a member of oneof_ _nfsv4.
|
kerberos_5_read_only |
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. This field is a member of oneof_ _kerberos_5_read_only.
|
kerberos_5_read_write |
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 be ignored if this is enabled. This field is a member of oneof_ _kerberos_5_read_write.
|
kerberos_5i_read_only |
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. This field is a member of oneof_ _kerberos_5i_read_only.
|
kerberos_5i_read_write |
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 be ignored if this is enabled. This field is a member of oneof_ _kerberos_5i_read_write.
|
kerberos_5p_read_only |
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. This field is a member of oneof_ _kerberos_5p_read_only.
|
kerberos_5p_read_write |
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 be ignored if this is enabled. This field is a member of oneof_ _kerberos_5p_read_write.
|
squash_mode |
google.cloud.netapp_v1.types.SimpleExportPolicyRule.SquashMode
Optional. Defines how user identity squashing is applied for this export rule. This field is the preferred way to configure squashing behavior and takes precedence over has_root_access if both are provided.
This field is a member of oneof_ _squash_mode.
|
anon_uid |
int
Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH. This field is a member of oneof_ _anon_uid.
|
Classes
SquashMode
SquashMode(value)SquashMode defines how remote user privileges are restricted when accessing an NFS export. It controls how user identities (like root) are mapped to anonymous users to limit access and enforce security.