Inbound NAT rules - az network nic ip-config inbound-nat-rule

Manage inbound NAT rules for an IP configuration.

Commands

az network nic ip-config inbound-nat-rule add Add an inbound NAT rule.
az network nic ip-config inbound-nat-rule remove Remove an inbound NAT rule.

az network nic ip-config inbound-nat-rule add

Add an inbound NAT rule.

az network nic ip-config inbound-nat-rule add --inbound-nat-rule
--ip-config-name
--nic-name
--resource-group
[--lb-name]

Required Parameters

--inbound-nat-rule

The name or ID of an existing inbound NAT rule.

--ip-config-name -n

The name of the IP configuration.

--nic-name

The network interface (NIC).

--resource-group -g

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

Optional Parameters

--lb-name

The name of the load balancer associated with the NAT rule (Omit if suppying a NAT rule ID).

az network nic ip-config inbound-nat-rule remove

Remove an inbound NAT rule.

az network nic ip-config inbound-nat-rule remove --inbound-nat-rule
--ip-config-name
--nic-name
--resource-group
[--lb-name]

Required Parameters

--inbound-nat-rule

The name or ID of an existing inbound NAT rule.

--ip-config-name -n

The name of the IP configuration.

--nic-name

The network interface (NIC).

--resource-group -g

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

Optional Parameters

--lb-name

The name of the load balancer associated with the NAT rule (Omit if suppying a NAT rule ID).