|
1 | 1 | ---
|
2 |
| -title: Manage Azure Network Watcher |
3 |
| -description: Learn how to create or delete an Azure Network Watcher using the Azure portal, PowerShell, the Azure CLI or the REST API. |
| 2 | +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 | 4 | services: network-watcher
|
5 | 5 | author: halkazwini
|
6 | 6 | ms.service: network-watcher
|
7 | 7 | ms.topic: how-to
|
8 |
| -ms.date: 05/24/2023 |
| 8 | +ms.date: 05/27/2023 |
9 | 9 | ms.author: halkazwini
|
10 | 10 | ms.custom: template-how-to, devx-track-azurepowershell, devx-track-azurecli, engagement-fy23
|
11 | 11 | ---
|
12 | 12 |
|
13 | 13 | # Manage Azure Network Watcher
|
14 | 14 |
|
15 |
| -Network Watcher is a regional service that enables you to monitor and diagnose conditions at a network scenario level in, to, and from Azure. Scenario level monitoring enables you to diagnose problems at an end to end network level view. Network diagnostic and visualization tools available with Network Watcher help you understand, diagnose, and gain insights to your network in Azure. Network Watcher is enabled through the creation of a Network Watcher resource. This resource allows you to utilize Network Watcher capabilities. |
| 15 | +Azure Network Watcher is a regional service that enables you to monitor and diagnose conditions at a network scenario level in, to, and from Azure. Scenario level monitoring enables you to diagnose problems at an end to end network level view. Network diagnostic and visualization tools available with Network Watcher help you understand, diagnose, and gain insights to your network in Azure. |
| 16 | + |
| 17 | +Network Watcher is enabled in an Azure region through the creation of a Network Watcher instance in that region. This instance allows you to utilize Network Watcher capabilities in that particular region. |
| 18 | + |
| 19 | +> [!NOTE] |
| 20 | +> 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. Automatically enabling Network Watcher doesn't affect your resources or associated charge. |
16 | 21 |
|
17 | 22 | ## Prerequisites
|
18 | 23 |
|
@@ -46,10 +51,9 @@ Network Watcher is a regional service that enables you to monitor and diagnose c
|
46 | 51 |
|
47 | 52 | ## Enable Network Watcher for your region
|
48 | 53 |
|
49 |
| -You can enable Network Watcher for a region by creating a Network Watcher instance in that region. You can create a Network Watcher instance 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 Azure Resource Manager (ARM) template. |
| 54 | +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. |
| 55 | + |
50 | 56 |
|
51 |
| -> [!NOTE] |
52 |
| -> Network Watcher is automatically enabled. When you create or update a virtual network in your subscription, Network Watcher will be enabled automatically in your Virtual Network's region. Automatically enabling Network Watcher doesn't affect your resources or associated charge. |
53 | 57 |
|
54 | 58 | # [**Portal**](#tab/portal)
|
55 | 59 |
|
@@ -113,7 +117,7 @@ If you wish to customize the name of the Network Watcher instance, you can use [
|
113 | 117 | You can disable Network Watcher for a region by deleting the Network Watcher instance in that region. You can delete a Network Watcher instance using the [Azure portal](?tabs=portal#disable-network-watcher-for-your-region), [PowerShell](?tabs=powershell#disable-network-watcher-for-your-region), the [Azure CLI](?tabs=cli#disable-network-watcher-for-your-region), or [REST API](/rest/api/network-watcher/network-watchers/delete).
|
114 | 118 |
|
115 | 119 | > [!WARNING]
|
116 |
| -> Deleting a Network Watcher instance deletes all Network Watcher running operations, historical data, and alerts with no option to revert. For example, deleting `NetworkWatcher_eastus` instance deletes all Network Watcher running operations, data, and alerts in East US region. |
| 120 | +> Deleting a Network Watcher instance deletes all Network Watcher running operations, historical data, and alerts with no option to revert. For example, if you delete `NetworkWatcher_eastus` instance, all flow logs, connection monitors and packet captures in East US region will be deleted. |
117 | 121 |
|
118 | 122 | # [**Portal**](#tab/portal)
|
119 | 123 |
|
@@ -184,6 +188,9 @@ az provider register --name 'Microsoft.Network'
|
184 | 188 |
|
185 | 189 | ---
|
186 | 190 |
|
| 191 | +> [!NOTE] |
| 192 | +> After you opt out of Network Watcher automatic enablement, you must manually enable Network Watcher in each region where you want to use Network Watcher capabilities. For more information, see [Enable Network Watcher for your region](#enable-network-watcher-for-your-region). |
| 193 | +
|
187 | 194 | ## List Network Watcher instances
|
188 | 195 |
|
189 | 196 | 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.
|
|
0 commit comments