ExportPolicyRule Class

Volume Export Policy Rule.

Inheritance
ExportPolicyRule

Constructor

ExportPolicyRule(*, rule_index: Optional[int] = None, unix_read_only: Optional[bool] = None, unix_read_write: Optional[bool] = None, kerberos5_read_only: Optional[bool] = False, kerberos5_read_write: Optional[bool] = False, kerberos5_i_read_only: Optional[bool] = False, kerberos5_i_read_write: Optional[bool] = False, kerberos5_p_read_only: Optional[bool] = False, kerberos5_p_read_write: Optional[bool] = False, cifs: Optional[bool] = None, nfsv3: Optional[bool] = None, nfsv41: Optional[bool] = None, allowed_clients: Optional[str] = None, has_root_access: Optional[bool] = True, chown_mode: Optional[Union[str, azure.mgmt.netapp.models._net_app_management_client_enums.ChownMode]] = 'Restricted', **kwargs)

Parameters

rule_index
int
Required

Order index.

unix_read_only
bool
Required

Read only access.

unix_read_write
bool
Required

Read and write access.

kerberos5_read_only
bool
Required

Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.

kerberos5_read_write
bool
Required

Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.

kerberos5_i_read_only
bool
Required

Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.

kerberos5_i_read_write
bool
Required

Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.

kerberos5_p_read_only
bool
Required

Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.

kerberos5_p_read_write
bool
Required

Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.

cifs
bool
Required

Allows CIFS protocol.

nfsv3
bool
Required

Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

nfsv41
bool
Required

Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.

allowed_clients
str
Required

Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.

has_root_access
bool
Required

Has root access to volume.

chown_mode
str or ChownMode
Required

This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. Possible values include: "Restricted", "Unrestricted". Default value: "Restricted".