Inbound NAT address pools - az network lb inbound-nat-pool

Manage inbound NAT address pools for a load balancer.

Commands

az network lb inbound-nat-pool create Create an inbound NAT address pool.
az network lb inbound-nat-pool delete Delete an inbound NAT address pool.
az network lb inbound-nat-pool list List inbound NAT address pools.
az network lb inbound-nat-pool show Show details of an inbound NAT address pool.
az network lb inbound-nat-pool update Update an inbound NAT address pool.

az network lb inbound-nat-pool create

Create an inbound NAT address pool.

az network lb inbound-nat-pool create --backend-port
--frontend-port-range-end
--frontend-port-range-start
--lb-name
--name
--protocol {Tcp, Udp}
--resource-group
[--frontend-ip-name]

Required Parameters

--backend-port

Port number.

--frontend-port-range-end

Port number.

--frontend-port-range-start

Port number.

--lb-name

The load balancer name.

--name -n

The name of the inbound NAT pool.

--protocol
accepted values: Tcp, Udp
--resource-group -g

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

Optional Parameters

--frontend-ip-name

The name of the frontend IP configuration.

az network lb inbound-nat-pool delete

Delete an inbound NAT address pool.

az network lb inbound-nat-pool delete --lb-name
--name
--resource-group
[--no-wait]

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the inbound NAT pool.

--resource-group -g

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

Optional Parameters

--no-wait

az network lb inbound-nat-pool list

List inbound NAT address pools.

az network lb inbound-nat-pool list --lb-name
--resource-group

Required Parameters

--lb-name

The name of the load balancer.

--resource-group -g

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

az network lb inbound-nat-pool show

Show details of an inbound NAT address pool.

az network lb inbound-nat-pool show --lb-name
--name
--resource-group

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the inbound NAT pool.

--resource-group -g

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

az network lb inbound-nat-pool update

Update an inbound NAT address pool.

az network lb inbound-nat-pool update --lb-name
--name
--resource-group
[--add]
[--backend-port]
[--frontend-ip-name]
[--frontend-port-range-end]
[--frontend-port-range-start]
[--protocol {Tcp, Udp}]
[--remove]
[--set]

Required Parameters

--lb-name

The load balancer name.

--name -n

The name of the inbound NAT pool.

--resource-group -g

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

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .

--backend-port

Port number.

--frontend-ip-name

The name of the frontend IP configuration.

--frontend-port-range-end

Port number.

--frontend-port-range-start

Port number.

--protocol
accepted values: Tcp, Udp
--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.