Skip to content

Commit 8419db1

Browse files
authored
Merge pull request #249834 from halkazwini/nw-security-rest
Delete REST API article
2 parents 1d4e92b + d8299f7 commit 8419db1

5 files changed

+6
-194
lines changed

articles/network-watcher/.openpublishing.redirection.network-watcher.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"source_path_from_root": "/articles/network-watcher/connection-monitor.md",
1010
"redirect_url": "/azure/network-watcher/monitor-vm-communication",
1111
"redirect_document_id": true
12+
},
13+
{
14+
"source_path_from_root": "/articles/network-watcher/network-watcher-security-group-view-rest.md",
15+
"redirect_url": "/rest/api/network-watcher/network-watchers/get-vm-security-rules",
16+
"redirect_document_id": false
1217
}
1318
]
1419
}

articles/network-watcher/network-watcher-security-group-view-cli.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ ms.custom: engagement-fy23, devx-track-azurecli
1414

1515
# Analyze your Virtual Machine security with Security Group View using Azure CLI
1616

17-
> [!div class="op_single_selector"]
18-
> - [PowerShell](network-watcher-security-group-view-powershell.md)
19-
> - [Azure CLI](network-watcher-security-group-view-cli.md)
20-
> - [REST API](network-watcher-security-group-view-rest.md)
21-
2217
> [!NOTE]
2318
> The Security Group View API is no longer being maintained and will be deprecated soon. Please use the [Effective Security Rules feature](./network-watcher-security-group-view-overview.md) which provides the same functionality.
2419
@@ -43,7 +38,7 @@ A virtual machine is required to run the `vm list` cmdlet. The following command
4338
az vm list -resource-group resourceGroupName
4439
```
4540

46-
Once you know the virtual machine, you can use the `vm show` cmdlet to get its resource Id:
41+
Once you know the virtual machine, you can use the `vm show` cmdlet to get its resource ID:
4742

4843
```azurecli
4944
az vm show -resource-group resourceGroupName -name virtualMachineName

articles/network-watcher/network-watcher-security-group-view-powershell.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ ms.custom: devx-track-azurepowershell, engagement-fy23
1414

1515
# Analyze your Virtual Machine security with Security Group View using PowerShell
1616

17-
> [!div class="op_single_selector"]
18-
> - [PowerShell](network-watcher-security-group-view-powershell.md)
19-
> - [Azure CLI](network-watcher-security-group-view-cli.md)
20-
> - [REST API](network-watcher-security-group-view-rest.md)
21-
2217
> [!NOTE]
2318
> The Security Group View API is no longer being maintained and will be deprecated soon. Please use the [Effective Security Rules feature](./network-watcher-security-group-view-overview.md) which provides the same functionality.
2419

articles/network-watcher/network-watcher-security-group-view-rest.md

Lines changed: 0 additions & 181 deletions
This file was deleted.

articles/network-watcher/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@
221221
href: network-watcher-security-group-view-powershell.md
222222
- name: Azure CLI
223223
href: network-watcher-security-group-view-cli.md
224-
- name: REST
225-
href: network-watcher-security-group-view-rest.md
226224
- name: Perform compliance and audit your network
227225
href: network-watcher-nsg-auditing-powershell.md
228226
- name: View network topology

0 commit comments

Comments
 (0)