Azure / Azure/azure-cli

add VMSS in backend pool

Open
#26,621 3 comments 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign Azure CLI Team customer-reported feature-request Network non-security
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

# Update azure application gateway backend pool with VM scale set option (CLI)

**This will update the backend pool with new server using the server's IP**
az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --servers 10.0.0.4

**Is your feature request related to a problem? Please describe.**
I'm afraid there's no option to point the VMSS name
az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool **--scaleset VMSS_SCALE_SET_NAME** <-- example

In azure dashboard, you can update the backend and select the VMSS.
![image](https://github.com/Azure/azure-cli/assets/98929762/2664f81b-4269-43d4-b0d7-ea64e01ebb49)

**Describe the solution you'd like**
I'd like to update the backend pool via script for automation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.