page_type | languages | products | extensions | ||||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
|
Azure Network sample for managing network watcher -
- Create Network Watcher
- Manage packet capture – track traffic to and from a virtual machine Create a VM Start a packet capture Stop a packet capture Get a packet capture Delete a packet capture
- Verify IP flow – verify if traffic is allowed to or from a virtual machine Get the IP address of a NIC on a virtual machine Test IP flow on the NIC
- Analyze next hop – get the next hop type and IP address for a virtual machine
- Retrieve network topology for a resource group
- Analyze Virtual Machine Security by examining effective network security rules applied to a VM Get security group view for the VM
- Configure Network Security Group Flow Logs Get flow log settings Enable NSG flow log Disable NSG flow log
- Delete network watcher
To run this sample:
Set the environment variable AZURE_AUTH_LOCATION
with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/network-dotnet-use-new-watcher.git
cd network-dotnet-use-new-watcher
dotnet build
bin\Debug\net452\ManageNetworkWatcher.exe
Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.