az network front-door backend-pool backend family of commands should provide an easy way to enable/disable backends #17270
Labels
Extensions
`az extension` commands or extension infrastructure
feature-request
need PR fix
Network
az network vnet/lb/nic/dns/etc...
OKR3.2 Candidate
Milestone
Is your feature request related to a problem? Please describe.
It's impossible to enable or disable an existing backend in the backend pool of the AFD resource. The only way to do that from the command line is to get an existing backend, create a new backend with the same parameters but desired value for the "disable" arg of the CLI, then delete the original backend.
This approach is bad for a few reasons:
Describe the solution you'd like
I'd like to have a pair of new commands ("enable", "disable") under the "az network front-door backend-pool backend" family of commands, and let az CLI (or AFD service) handle enabling or disabling of existing backends correctly.
Describe alternatives you've considered
The clone-then-delete-the-original algorithm described above is what I'm using today.
The text was updated successfully, but these errors were encountered: