'az network nsg list' returns an incorrect result
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
Hello,
I use `az aks create ...` to create a cluster. After successful creation, I want to receive information about NSG using `az network nsg list`. But it returns the empty result. I also tried something like `az resource list --resource-type Microsoft.Network/networkSecurityGroups`- it does not help.
But I see via Portal, that NSG is successfully created.
I need to wait a while (about 10 min) to get the correct result via `az network nsg list`.
The same behavior is for `az network vnet`.
Could you please explain, what needs to be triggered for correct behavior? Or just need to call additional `wait`?
**Additional context**
I found that there is very similar issue #15303, but there is no answer for a long time.
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.