Azure / azure-cli

Azure Command-Line Interface
MIT License
4.02k stars 2.99k forks source link

Documentation bug for az network application-gateway http-settings create for TCP protocol #29947

Open ChaitanyaNaykodi-MSFT opened 1 month ago

ChaitanyaNaykodi-MSFT commented 1 month ago

Describe the bug

Currently documentation for az network application-gateway http-settings create states that --protocol property can have a value Tcp which is incorrect.

image

If we set-up the --protocol property as Tcp it will end up in error as shown below

image

The correct command to use here will be az network application-gateway settings create which successfully creates a backend setting with protocol as TCP

image

image

Related command


Errors


Issue script & Debug output


Expected behavior


Environment Summary

AZ CLI Latest

Additional context


yonzhan commented 1 month ago

Thank you for opening this issue, we will look into it.