-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network watcher automatically created when I create a VM #8222
Comments
Interesting. I can reproduce this. It looks like it is enabling Network Watcher for the region you create your VM in. When I run with |
It isn't just the resource group that is created. The Network Watcher resource itself is created for that region. However, this is not done by the CLI. |
Hi @alexeyshishkin01 this is a service-side behavior that is by design. Please see: The resource is free, but if you wanted, you could delete the resource group (which would delete the resources as well). Since this is by-design service behavior, I will close this issue. |
Also, if you would like to opt-out of this behavior (which is not recommended) please see: |
In my case is see the resource group is created as Network watcherRG but inside this i do not see the resource which is network-watcher. |
i thought i might get some reply. Thanks |
Is it possible to set the name of the |
Describe the bug
When I create my VM new group 'NetworkWatcherRG' is automatically created.
To Reproduce
root@Alexey-HP:
# az group list | grep -i NetworkWatcherRG#root@Alexey-HP:
root@Alexey-HP:~# az group create \
northeurope centosresourcegroup
root@Alexey-HP:~# az vm create \
centosresourcegroup VM running 40.127.199.114 centos-ent10-prepare-dnsname.northeurope.cloudapp.azure.com 10.0.0.4 00-0D-3A-B1-69-B6 northeurope
root@Alexey-HP:~#
root@Alexey-HP:
# az group list | grep -i NetworkWatcherRG#NetworkWatcherRG northeurope Succeeded
root@Alexey-HP:
Expected behavior
New group 'NetworkWatcherRG' should not be created.
Environment summary
Bash on Windows 10
root@Alexey-HP:~# az --version | head -1
azure-cli (2.0.54)
Microsoft Windows [Version 10.0.18309.1000]
(c) 2018 Microsoft Corporation. All rights reserved.
Additional context
I didn't happen earlier.
The text was updated successfully, but these errors were encountered: