NfsAccessRule Constructors
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.
Overloads
NfsAccessRule() |
Initializes a new instance of the NfsAccessRule class. |
NfsAccessRule(String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String) |
Initializes a new instance of the NfsAccessRule class. |
NfsAccessRule()
Initializes a new instance of the NfsAccessRule class.
public NfsAccessRule ();
Public Sub New ()
Applies to
NfsAccessRule(String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String)
Initializes a new instance of the NfsAccessRule class.
public NfsAccessRule (string scope, string access, string filter = default, bool? suid = default, bool? submountAccess = default, bool? rootSquash = default, string anonymousUID = default, string anonymousGID = default);
new Microsoft.Azure.Management.StorageCache.Models.NfsAccessRule : string * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string -> Microsoft.Azure.Management.StorageCache.Models.NfsAccessRule
Public Sub New (scope As String, access As String, Optional filter As String = Nothing, Optional suid As Nullable(Of Boolean) = Nothing, Optional submountAccess As Nullable(Of Boolean) = Nothing, Optional rootSquash As Nullable(Of Boolean) = Nothing, Optional anonymousUID As String = Nothing, Optional anonymousGID As String = Nothing)
Parameters
- scope
- String
Scope for this rule. The scope and filter determine which clients match the rule. Possible values include: 'default', 'network', 'host'
- access
- String
Access allowed by this rule. Possible values include: 'no', 'ro', 'rw'
- filter
- String
Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied.
For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'.
- anonymousUID
- String
UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided.
- anonymousGID
- String
GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided.
Applies to
Azure SDK for .NET