[Enter feedback here]
The example provided for :
c:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --add backendAddresses "{ "ip_address": "{10.0.0.13}" }"
AND
C:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --add backendAddresses "{ "ip_address": "{10.0.0.13}" }"
DO NOT WORK !!!!! You get the following error :
az network application-gateway address-pool update: 'utputformat' is not a valid value for '--output'.
TRY THIS:
az network application-gateway address-pool update --resource-group MyResourceGroup --gateway-name MyAppGateway --name MyAddressPool --servers 10.0.0.4 10.0.0.5 10.0.0.6
--output json
Update backend address pool.
https://docs.microsoft.com/en-US/cli/azure/network/application-gateway/address-pool#az_network_application_gateway_address_pool_update
Read more about the command in reference docs
Please provide a working example.
----- AND if you try to pass "--servers" a string which is a list of the address ----
and trying to pass --servers $(list) ... where list is something like this
echo $list
172.16.192.26 1.1.1.1
fails as well.
C:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --servers $ipl
The address must contain only digits, letters, hyphens and dots for separation. Moreover, it cannot have hyphens at the start, end or next to a dot.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
[Enter feedback here]
The example provided for :
c:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --add backendAddresses "{ "ip_address": "{10.0.0.13}" }"
AND
C:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --add backendAddresses "{ "ip_address": "{10.0.0.13}" }"
DO NOT WORK !!!!! You get the following error :
Please provide a working example.
----- AND if you try to pass "--servers" a string which is a list of the address ----
and trying to pass --servers $(list) ... where list is something like this
echo $list
172.16.192.26 1.1.1.1
fails as well.
C:> az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool --servers $ipl
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.