Skip to content

Commit f6e0d39

Browse files
committed
revert net features change
1 parent 8903af2 commit f6e0d39

File tree

1 file changed

+2
-69
lines changed

1 file changed

+2
-69
lines changed

articles/azure-netapp-files/configure-network-features.md

Lines changed: 2 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-netapp-files
55
author: b-hchen
66
ms.service: azure-netapp-files
77
ms.topic: how-to
8-
ms.date: 07/18/2025
8+
ms.date: 03/04/2025
99
ms.custom: references_regions
1010
ms.author: anfdocs
1111
# Customer intent: As an Azure NetApp Files administrator, I want to configure network features for my volumes, so that I can optimize resource allocation and leverage VNet capabilities based on my workload requirements.
@@ -100,76 +100,9 @@ You can edit the network features option of existing volumes from *Basic* to *St
100100
101101
### Edit network features
102102
103-
# [Portal](#tab/portal)
104-
105103
1. Navigate to the volume for which you want to change the network features option.
106104
1. Select **Change network features**.
107-
1. The **Edit network features** window displays the volumes that are in the same network sibling set. Confirm you want to modify the network features option.
108-
109-
# [Azure CLI](#tab/cli)
110-
111-
You must be running version 2.75.0 or later of the Azure CLI. Confirm the version with the `az version` command. If necessary, see [How to update the Azure CLI](/cli/azure/update-azure-cli).
112-
113-
1. Run the following command to update the network features on a volume:
114-
115-
```azurecli
116-
az netappfiles volume update --resource-group <resourceGroupName> --account-name <accountName> --pool-name <capacityPoolName> --name <volumeName> --network-features Basic|Standard
117-
```
118-
119-
# [PowerShell](#tab/powershell)
120-
121-
1. Copy the following script:
122-
```
123-
# Import CSV
124-
125-
$volumes = Import-Csv -Path "anf_volumes.csv"
126-
foreach ($vol in $volumes) {
127-
Write-Host "Processing volume: $($vol.VolumeName) in $($vol.ResourceGroup)..."
128-
# Get the volume
129-
130-
$volume = Get-AzNetAppFilesVolume -ResourceGroupName $vol.ResourceGroup `
131-
-AccountName $vol.AccountName `
132-
-PoolName $vol.PoolName `
133-
-Name $vol.VolumeName
134-
if ($volume -ne $null) {
135-
# Update network feature to Standard
136-
137-
Update-AzNetAppFilesNetworkSiblingSet -Location $vol.Location `
138-
-NetworkSiblingSetId $volume.NetworkSiblingSetId `
139-
-SubnetId $vol.SubnetId `
140-
-NetworkSiblingSetStateId $volume.NetworkSiblingSetStateId `
141-
-NetworkFeature "Standard"
142-
Write-Host "Updated volume $($vol.VolumeName) to Standard."
143-
} else {
144-
Write-Warning "Volume $($vol.VolumeName) not found."
145-
}
146-
147-
}
148-
```
149-
150-
# [REST API](#tab/rest-api)
151-
152-
You must be using API version 2025-01-01 or later.
153-
154-
1. Send a PATCH request to update the network features. Set the "networkFeatures" property to Basic or Standard. :
155-
156-
```json
157-
{
158-
"id": "/subscriptions/subscriptionId/resourceGroups/<resourceGroup>/providers/Microsoft.NetApp/netAppAccounts/<account>/capacityPools/<capacityPoolName>/volumes/<volumeName>",
159-
"name": "<account>/<capacityPool>/<volume>",
160-
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
161-
"location": "<location>",
162-
"properties": {
163-
"networkFeatures": "Basic|Standard"
164-
}
165-
}
166-
}
167-
```
168-
169-
1. When you receive a 200 status code, the operation has undertaken. You can confirm a successful update with a GET request on the volume.
170-
171-
172-
---
105+
1. The **Edit network features** window displays the volumes that are in the same network sibling set. Confirm whether you want to modify the network features option.
173106
174107
### Update Terraform-managed Azure NetApp Files volume from Basic to Standard
175108

0 commit comments

Comments
 (0)