New-AzStorageCacheNfsAccessPolicyObject
Create an in-memory object for NfsAccessPolicy.
Syntax
New-AzStorageCacheNfsAccessPolicyObject
-AccessRule <INfsAccessRule[]>
-Name <String>
[<CommonParameters>]
Description
Create an in-memory object for NfsAccessPolicy.
Examples
Example 1: Create an in-memory object for NfsAccessPolicy.
$objcet = New-AzStorageCacheNfsAccessRuleObject -Access 'rw' -Scope 'network' -AnonymousUid "65534" -AnonymousGid "65534" -SubmountAccess:$True -RootSquash:$True -Suid:$False -Filter "10.99.1.0/24"
New-AzStorageCacheNfsAccessPolicyObject -AccessRule $object -Name azps-nfsaccesspolicy
Name
----
azps-nfsaccesspolicy
Create an in-memory object for NfsAccessPolicy.
Parameters
-AccessRule
The set of rules describing client accesses allowed under this policy. To construct, see NOTES section for ACCESSRULE properties and create a hash table.
Type: | INfsAccessRule[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name identifying this policy. Access Policy names are not case sensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.