-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Type of issue
Missing information
Feedback
Could be an idea to add examples if you want to create NFSv4.1, that you need to include the New-AzNetAppFilesExportPolicyRuleObject and the New-AzNetAppFilesExportPolicyObject to the creation of the volume.
Took me loads of effort and a support ticket just to get that information.
$exportPolicyRule = New-AzNetAppFilesExportPolicyRuleObject -RuleIndex 1 -AllowedClient "0.0.0.0/0" -UnixReadWrite -Nfsv41
$exportPolicy = New-AzNetAppFilesExportPolicyObject -Rule $exportPolicyRule
New-AzNetAppFilesVolume -ResourceGroupName $resourceGroup -Location $location -AccountName $anfAccountName -PoolName $anfPoolName -Name $anfVolumeName -UsageThreshold $anfVolumeSizeBytes -SubnetId $subnetId -ServiceLevel $anfServiceLevel -creationToken $anfVolumeName -NetworkFeature $anfVolumeNetworkFeatures -ProtocolType $anfProtocolType -ExportPolicy $exportPolicy
Thanks.
Page URL
Content source URL
Author
Document Id
b8827333-98a0-2208-39f5-37d95f97df85
Platform Id
614c3440-d67a-23fc-08e3-af228e4e2301