az network cross-region-lb address-pool
Manage address pools of a cross-region load balancer.
Commands
| az network cross-region-lb address-pool address |
Manage backend addresses of the cross-region load balance backend address pool. |
| az network cross-region-lb address-pool address add |
Add one backend address into the load balance backend address pool. |
| az network cross-region-lb address-pool address list |
List all backend addresses of the load balance backend address pool. |
| az network cross-region-lb address-pool address remove |
Remove one backend address from the load balance backend address pool. |
| az network cross-region-lb address-pool create |
Create an address pool. |
| az network cross-region-lb address-pool delete |
Delete an address pool. |
| az network cross-region-lb address-pool list |
Gets all the load balancer backed address pools. |
| az network cross-region-lb address-pool show |
Gets load balancer backend address pool. |
az network cross-region-lb address-pool create
Create an address pool.
az network cross-region-lb address-pool create --lb-name
--name
--resource-group
[--backend-address]
[--backend-addresses-config-file]
Examples
Create an address pool.
az network cross-region-lb address-pool create -g MyResourceGroup --lb-name MyLb -n MyAddressPool
Create an address pool with several backend addresses using key-value arguments.
az network cross-region-lb address-pool create -g MyResourceGroup --lb-name MyLb -n MyAddressPool --backend-address name=addr1 frontend-ip-address=/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_lb_address_pool_addresses000001/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb1 --backend-address name=addr2 frontend-ip-address=/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_lb_address_pool_addresses000001/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb2
Create an address pool with several backend addresses using config file
az network cross-region-lb address-pool create -g MyResourceGroup --lb-name MyLb -n MyAddressPool --backend-addresses-config-file @config_file.json
Required Parameters
The load balancer name.
The name of the backend address pool. If only one exists, omit to use as default.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Backend addresses information for backend address pool.
A config file used to set backend addresses. This argument is for experienced users. You may encounter parse errors if the json file is invalid.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network cross-region-lb address-pool delete
Delete an address pool.
az network cross-region-lb address-pool delete --lb-name
--name
--resource-group
Examples
Delete an address pool.
az network cross-region-lb address-pool delete -g MyResourceGroup --lb-name MyLb -n MyAddressPool
Required Parameters
The load balancer name.
The name of the backend address pool. If only one exists, omit to use as default.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network cross-region-lb address-pool list
Gets all the load balancer backed address pools.
az network cross-region-lb address-pool list --lb-name
--resource-group
Required Parameters
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network cross-region-lb address-pool show
Gets load balancer backend address pool.
az network cross-region-lb address-pool show --lb-name
--name
--resource-group
Required Parameters
The load balancer name.
The name of the backend address pool. If only one exists, omit to use as default.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ