ArmNetAppModelFactory.NetAppVolumeExportPolicyRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule NetAppVolumeExportPolicyRule(int? ruleIndex = default, bool? isUnixReadOnly = default, bool? isUnixReadWrite = default, bool? isKerberos5ReadOnly = default, bool? isKerberos5ReadWrite = default, bool? isKerberos5iReadOnly = default, bool? isKerberos5iReadWrite = default, bool? isKerberos5pReadOnly = default, bool? isKerberos5pReadWrite = default, bool? allowCifsProtocol = default, bool? allowNfsV3Protocol = default, bool? allowNfsV41Protocol = default, string allowedClients = default, bool? hasRootAccess = default, Azure.ResourceManager.NetApp.Models.NetAppChownMode? chownMode = default);
static member NetAppVolumeExportPolicyRule : Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppChownMode> -> Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule
Public Shared Function NetAppVolumeExportPolicyRule (Optional ruleIndex As Nullable(Of Integer) = Nothing, Optional isUnixReadOnly As Nullable(Of Boolean) = Nothing, Optional isUnixReadWrite As Nullable(Of Boolean) = Nothing, Optional isKerberos5ReadOnly As Nullable(Of Boolean) = Nothing, Optional isKerberos5ReadWrite As Nullable(Of Boolean) = Nothing, Optional isKerberos5iReadOnly As Nullable(Of Boolean) = Nothing, Optional isKerberos5iReadWrite As Nullable(Of Boolean) = Nothing, Optional isKerberos5pReadOnly As Nullable(Of Boolean) = Nothing, Optional isKerberos5pReadWrite As Nullable(Of Boolean) = Nothing, Optional allowCifsProtocol As Nullable(Of Boolean) = Nothing, Optional allowNfsV3Protocol As Nullable(Of Boolean) = Nothing, Optional allowNfsV41Protocol As Nullable(Of Boolean) = Nothing, Optional allowedClients As String = Nothing, Optional hasRootAccess As Nullable(Of Boolean) = Nothing, Optional chownMode As Nullable(Of NetAppChownMode) = Nothing) As NetAppVolumeExportPolicyRule
Parameters
Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.
Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.
Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.
Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.
Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.
Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.
Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.
- allowedClients
- String
Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.
- chownMode
- Nullable<NetAppChownMode>
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.
Returns
A new NetAppVolumeExportPolicyRule instance for mocking.