azure-webpubsub icon indicating copy to clipboard operation
azure-webpubsub copied to clipboard

[BugBash][CLI]better report error if PrivateEndpoint connection specified while updating network rule

Open juniwang opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe.

better report error if PrivateEndpoint connection specified while updating network rule.

Describe the solution you'd like

Try command az webpubsub network-rule update -g jw1111 -n jw2222 --connection-name --allow ClientConnection Trace. Notify that the --connection-name is empty. So nothing gets updated. Suggest show a friendly warning message that a connection is required.

Additional context

Add any other context or screenshots about the feature request here.

juniwang avatar Oct 29 '21 07:10 juniwang

https://github.com/Azure/azure-cli-extensions/pull/4049

zackliu avatar Nov 01 '21 07:11 zackliu