ArmNetAppModelFactory.NetAppVolumeExportPolicyRule Method

Definition

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

ruleIndex
Nullable<Int32>

Order index.

isUnixReadOnly
Nullable<Boolean>

Read only access.

isUnixReadWrite
Nullable<Boolean>

Read and write access.

isKerberos5ReadOnly
Nullable<Boolean>

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

isKerberos5ReadWrite
Nullable<Boolean>

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

isKerberos5iReadOnly
Nullable<Boolean>

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

isKerberos5iReadWrite
Nullable<Boolean>

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

isKerberos5pReadOnly
Nullable<Boolean>

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

isKerberos5pReadWrite
Nullable<Boolean>

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

allowCifsProtocol
Nullable<Boolean>

Allows CIFS protocol.

allowNfsV3Protocol
Nullable<Boolean>

Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

allowNfsV41Protocol
Nullable<Boolean>

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.

hasRootAccess
Nullable<Boolean>

Has root access to volume.

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.

Applies to