Share via


NfsAccessPolicy(String, IEnumerable<NfsAccessRule>) Constructor

Definition

Initializes a new instance of NfsAccessPolicy.

public NfsAccessPolicy (string name, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.NfsAccessRule> accessRules);
new Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy : string * seq<Azure.ResourceManager.StorageCache.Models.NfsAccessRule> -> Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy
Public Sub New (name As String, accessRules As IEnumerable(Of NfsAccessRule))

Parameters

name
String

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

accessRules
IEnumerable<NfsAccessRule>

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

Exceptions

name or accessRules is null.

Applies to