az network lb address-pool address

Manage backend addresses of the load balance backend address pool.

Commands

az network lb address-pool address add

Add one backend address into the load balance backend address pool.

az network lb address-pool address list

List all backend addresses of the load balance backend address pool.

az network lb address-pool address remove

Remove one backend address from the load balance backend address pool.

az network lb address-pool address add

Add one backend address into the load balance backend address pool.

az network lb address-pool address add --ip-address
                                       --lb-name
                                       --name
                                       --pool-name
                                       --resource-group
                                       --vnet
                                       [--subscription]

Examples

Add one backend address into the load balance backend address pool.

az network lb address-pool address add -g MyResourceGroup --lb-name MyLb --pool-name MyAddressPool -n MyAddress --vnet MyVnet --ip-address 10.0.0.1

Required Parameters

--ip-address

Ip Address within the Virtual Network.

--lb-name

The load balancer name.

--name -n

Name of the backend address.

--pool-name

The name of the backend address pool. If only one exists, omit to use as default.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vnet

Name or Id of the virtual network.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network lb address-pool address list

List all backend addresses of the load balance backend address pool.

az network lb address-pool address list --lb-name
                                        --pool-name
                                        --resource-group
                                        [--query-examples]
                                        [--subscription]

Examples

List all backend addresses of the load balance backend address pool.

az network lb address-pool address list -g MyResourceGroup --lb-name MyLb --pool-name MyAddressPool

Required Parameters

--lb-name

The load balancer name.

--pool-name

The name of the backend address pool. If only one exists, omit to use as default.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network lb address-pool address remove

Remove one backend address from the load balance backend address pool.

az network lb address-pool address remove --lb-name
                                          --name
                                          --pool-name
                                          --resource-group
                                          [--subscription]

Examples

Remove one backend address from the load balance backend address pool.

az network lb address-pool address remove -g MyResourceGroup --lb-name MyLb --pool-name MyAddressPool -n MyAddress

Required Parameters

--lb-name

The load balancer name.

--name -n

Name of the backend address.

--pool-name

The name of the backend address pool. If only one exists, omit to use as default.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.