From 32cd96a7ac6867ffb59a65992aeab7f951898e9e Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Mon, 12 Apr 2021 16:49:53 +0800 Subject: [PATCH] example --- src/azure-cli/azure/cli/command_modules/network/_help.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/_help.py b/src/azure-cli/azure/cli/command_modules/network/_help.py index 73b44450de1..dc9e6b30409 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -66,7 +66,11 @@ - name: Add to the backend address pool by using backend server IP address. text: | az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool \\ - --add backendAddresses "{ \"ip_address\": \"{10.0.0.13}\" }" + --add backendAddresses ipAddress=10.0.0.4 + - name: Remove an existing ip of the backend address pool("0" is the index). + text: | + az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool \\ + --remove backendAddresses 0 """ helps['network application-gateway auth-cert'] = """