NfsAccessPolicy(String, IEnumerable<NfsAccessRule>) Constructor
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.
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.