Skip to content

Commit 298c6de

Browse files
authored
Merge pull request #278024 from halkazwini/nw-nw
Tweaks
2 parents 1c896c0 + 0abbff3 commit 298c6de

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed
-2.75 KB
Loading
-4.89 KB
Loading

articles/network-watcher/network-watcher-create.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
title: Enable or disable Azure Network Watcher
3-
description: Learn how to enable or disable Azure Network Watcher in your region by creating a Network Watcher instance using the Azure portal, PowerShell, the Azure CLI or REST API.
4-
services: network-watcher
3+
description: Learn how to enable or disable Azure Network Watcher in your region by creating a Network Watcher instance using the Azure portal, PowerShell, the Azure CLI, REST API, or ARM template.
54
author: halkazwini
5+
ms.author: halkazwini
66
ms.service: network-watcher
77
ms.topic: how-to
8-
ms.date: 06/02/2023
9-
ms.author: halkazwini
10-
ms.custom: template-how-to, devx-track-azurepowershell, devx-track-azurecli, engagement-fy23
8+
ms.date: 06/12/2024
9+
ms.custom: devx-track-azurepowershell, devx-track-azurecli
10+
11+
#CustomerIntent: As an Azure administrator, I want to manage Network Watcher instance in Azure regions based on my team's needs to Network Watcher capabilities in those regions.
1112
---
1213

1314
# Enable or disable Azure Network Watcher
@@ -19,6 +20,7 @@ Network Watcher is enabled in an Azure region through the creation of a Network
1920
> [!NOTE]
2021
> - By default, Network Watcher is automatically enabled. When you create or update a virtual network in your subscription, Network Watcher will be automatically enabled in your Virtual Network's region.
2122
> - Automatically enabling Network Watcher doesn't affect your resources or associated charge.
23+
> - If you previously chose to [opt out of Network Watcher automatic enablement](#opt-out-of-network-watcher-automatic-enablement), you must manually [enable Network Watcher](#enable-network-watcher-for-your-region) in each region where you want to use Network Watcher capabilities.
2224
> - Network Watcher can be enabled for these [Azure regions](https://azure.microsoft.com/explore/global-infrastructure/products-by-region/?products=network-watcher&regions=all).
2325
2426
## Prerequisites
@@ -37,7 +39,7 @@ Network Watcher is enabled in an Azure region through the creation of a Network
3739

3840
The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
3941

40-
You can also install Azure PowerShell locally to run the cmdlets. This article requires the Az PowerShell module. For more information, see [How to install Azure PowerShell](/powershell/azure/install-azure-powershell). To find the installed version, run `Get-InstalledModule -Name Az`. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
42+
You can also [install PowerShell locally](/powershell/scripting/install/installing-powershell) to run the cmdlets. This article requires the Az PowerShell module. For more information, see [How to install Azure PowerShell](/powershell/azure/install-azure-powershell). To find the installed version, run [Get-Module -ListAvailable Az](/powershell/module/microsoft.powershell.core/get-module) cmdlet. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
4143

4244
# [**Azure CLI**](#tab/cli)
4345

@@ -47,25 +49,24 @@ Network Watcher is enabled in an Azure region through the creation of a Network
4749

4850
The steps in this article run the Azure CLI commands interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code, and paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
4951

50-
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
52+
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. To find the installed version, run [az version](/cli/azure/reference-index#az-version) command. If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
5153

5254
---
5355

5456
## Enable Network Watcher for your region
5557

56-
If you choose to [opt out of Network Watcher automatic enablement](#opt-out-of-network-watcher-automatic-enablement), you must manually enable Network Watcher in each region where you want to use Network Watcher capabilities. To enable Network Watcher in a region, create a Network Watcher instance in that region using the [Azure portal](?tabs=portal#enable-network-watcher-for-your-region), [PowerShell](?tabs=powershell#enable-network-watcher-for-your-region), the [Azure CLI](?tabs=cli#enable-network-watcher-for-your-region), [REST API](/rest/api/network-watcher/network-watchers/create-or-update), or an Azure Resource Manager (ARM) template.
57-
58+
If you choose to [opt out of Network Watcher automatic enablement](#opt-out-of-network-watcher-automatic-enablement), you must manually enable Network Watcher in each region where you want to use Network Watcher capabilities. To enable Network Watcher in a region, create a Network Watcher instance in that region using the [Azure portal](?tabs=portal#enable-network-watcher-for-your-region), [PowerShell](?tabs=powershell#enable-network-watcher-for-your-region), the [Azure CLI](?tabs=cli#enable-network-watcher-for-your-region), [REST API](/rest/api/network-watcher/network-watchers/create-or-update), or an [Azure Resource Manager template (ARM template)](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/networkwatcher-create).
5859

5960

6061
# [**Portal**](#tab/portal)
6162

62-
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** in the search results.
63+
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** from the search results.
6364

6465
:::image type="content" source="./media/network-watcher-create/portal-search.png" alt-text="Screenshot shows how to search for Network Watcher in the Azure portal." lightbox="./media/network-watcher-create/portal-search.png":::
6566

66-
1. In the **Overview** page, select **+ Add**.
67+
1. On the **Overview** page, select **+ Create**.
6768

68-
1. In **Add network watcher**, select your Azure subscription, then select the region that you want to enable Azure Network Watcher for.
69+
1. On **Add network watcher**, select your Azure subscription, then select the region that you want to enable Azure Network Watcher for.
6970

7071
1. Select **Add**.
7172

@@ -123,9 +124,9 @@ You can disable Network Watcher for a region by deleting the Network Watcher ins
123124
124125
# [**Portal**](#tab/portal)
125126

126-
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** in the search results.
127+
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** from the search results.
127128

128-
1. In the **Overview** page, select the Network Watcher instances that you want to delete, then select **Disable**.
129+
1. On the **Overview** page, select the Network Watcher instances that you want to delete, then select **Disable**.
129130

130131
:::image type="content" source="./media/network-watcher-create/delete-network-watcher.png" alt-text="Screenshot shows how to delete a Network Watcher instance in the Azure portal." lightbox="./media/network-watcher-create/delete-network-watcher.png":::
131132

@@ -195,13 +196,13 @@ az provider register --name 'Microsoft.Network'
195196
196197
## List Network Watcher instances
197198

198-
You can view all regions where Network Watcher is enabled in your subscription by listing available Network Watcher instances in your subscription. Use the [Azure portal](?tabs=portal#list-network-watcher-instances), [PowerShell](?tabs=powershell#list-network-watcher-instances), the [Azure CLI](?tabs=cli#list-network-watcher-instances) or [REST API](/rest/api/network-watcher/network-watchers/list-all) to list Network Watcher instances in your subscription.
199+
You can view all regions where Network Watcher is enabled in your subscription by listing available Network Watcher instances in your subscription. Use the [Azure portal](?tabs=portal#list-network-watcher-instances), [PowerShell](?tabs=powershell#list-network-watcher-instances), the [Azure CLI](?tabs=cli#list-network-watcher-instances), or [REST API](/rest/api/network-watcher/network-watchers/list-all) to list Network Watcher instances in your subscription.
199200

200201
# [**Portal**](#tab/portal)
201202

202-
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** in the search results.
203+
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** from the search results.
203204

204-
1. In the **Overview** page, you can see all Network Watcher instances in your subscription.
205+
1. On the **Overview** page, you can see all Network Watcher instances in your subscription.
205206

206207
:::image type="content" source="./media/network-watcher-create/list-network-watcher.png" alt-text="Screenshot shows how to list all Network Watcher instances in your subscription in the Azure portal." lightbox="./media/network-watcher-create/list-network-watcher.png":::
207208

@@ -225,10 +226,10 @@ az network watcher list --out table
225226

226227
---
227228

228-
## Next steps
229+
## Related content
229230

230-
To learn more about Network Watcher features, see:
231+
To get started with Network Watcher, see:
231232

232-
- [NSG flow logs](nsg-flow-logs-overview.md)
233+
- [Virtual network flow logs](vnet-flow-logs-overview.md)
233234
- [Connection monitor](connection-monitor-overview.md)
234235
- [Connection troubleshoot](connection-troubleshoot-overview.md)

0 commit comments

Comments
 (0)