Microsoft.Network networkWatchers template reference

Template format

To create a Microsoft.Network/networkWatchers resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/networkWatchers",
  "apiVersion": "2018-07-01",
  "location": "string",
  "tags": {},
  "properties": {},
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/networkWatchers object

Name Type Required Value
name string Yes The name of the network watcher.
type enum Yes Microsoft.Network/networkWatchers
apiVersion enum Yes 2018-07-01
id string No Resource ID.
location string No Resource location.
tags object No Resource tags.
properties object Yes NetworkWatcherPropertiesFormat object
resources array No connectionMonitors packetCaptures

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Network Watcher

Deploy to Azure
This template creates a Network Watcher resource.