Skip to content
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

az network front-door backend-pool backend family of commands should provide an easy way to enable/disable backends #17270

Closed
wasker opened this issue Mar 10, 2021 · 3 comments · Fixed by Azure/azure-cli-extensions#3394
Assignees
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

Comments

@wasker
Copy link

wasker commented Mar 10, 2021

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.

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 10, 2021
@yonzhan yonzhan added the Network az network vnet/lb/nic/dns/etc... label Mar 10, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Mar 10, 2021
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Mar 10, 2021
@yonzhan yonzhan added this to the S184 milestone Mar 10, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 10, 2021

network

@msyyc
Copy link
Member

msyyc commented Mar 15, 2021

thank you for your feedback and we will think about it seriously.

@yonzhan yonzhan modified the milestones: S184, S185 Mar 15, 2021
@msyyc
Copy link
Member

msyyc commented Mar 24, 2021

FYI. Customer wants ''az network front-door backend-pool backend update" to update parameters of an existing backend in a backend-pool. (front-door is in 'extension' repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extensions `az extension` commands or extension infrastructure feature-request need PR fix Network az network vnet/lb/nic/dns/etc... OKR3.2 Candidate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants