NfsAccessPolicy Class

Definition

A set of rules describing access policies applied to NFSv3 clients of the cache.

public class NfsAccessPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy>
type NfsAccessPolicy = class
    interface IJsonModel<NfsAccessPolicy>
    interface IPersistableModel<NfsAccessPolicy>
Public Class NfsAccessPolicy
Implements IJsonModel(Of NfsAccessPolicy), IPersistableModel(Of NfsAccessPolicy)
Inheritance
NfsAccessPolicy
Implements

Constructors

NfsAccessPolicy(String, IEnumerable<NfsAccessRule>)

Initializes a new instance of NfsAccessPolicy.

Properties

AccessRules

The set of rules describing client accesses allowed under this policy.

Name

Name identifying this policy. Access Policy names are not case sensitive.

Explicit Interface Implementations

IJsonModel<NfsAccessPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NfsAccessPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NfsAccessPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NfsAccessPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NfsAccessPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to