Condividi tramite


INfsAccessRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.NfsAccessRuleTypeConverter))]
public interface INfsAccessRule : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.NfsAccessRuleTypeConverter))>]
type INfsAccessRule = interface
    interface IJsonSerializable
Public Interface INfsAccessRule
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Access

Access allowed by this rule.

AnonymousGid

GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided.

AnonymousUid

UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided.

Filter

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.

RootSquash

Map root accesses to anonymousUID and anonymousGID.

Scope

Scope for this rule. The scope and filter determine which clients match the rule.

SubmountAccess

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'.

Suid

Allow SUID semantics.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to