az network nic ip-config address-pool
Manage address pools in an IP configuration.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network nic ip-config address-pool add |
Add an address pool to an IP configuration. |
Core | GA |
az network nic ip-config address-pool remove |
Remove an address pool of an IP configuration. |
Core | GA |
az network nic ip-config address-pool add
Add an address pool to an IP configuration.
az network nic ip-config address-pool add --address-pool
--ip-config-name
--nic-name
--resource-group
[--gateway-name]
[--lb-name]
Examples
Add an address pool to an IP configuration. Specify the full backend pool ID of a load balancer when in a different resource group than the specified NIC.
az network nic ip-config address-pool add -g MyResourceGroup --nic-name MyNic \
-n MyIpConfig --address-pool MyAddressPool
Add an address pool to an IP configuration. (autogenerated)
az network nic ip-config address-pool add --address-pool MyAddressPool --ip-config-name MyIpConfig --lb-name MyLb --nic-name MyNic --resource-group MyResourceGroup
Required Parameters
The name or ID of an existing backend address pool.
The name of the IP configuration.
The network interface (NIC).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name of an application gateway containing the address pool (Omit if supplying an address pool ID).
The name of the load balancer containing the address pool (Omit if supplying an address pool ID).
Global Parameters
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 nic ip-config address-pool remove
Remove an address pool of an IP configuration.
az network nic ip-config address-pool remove --address-pool
--ip-config-name
--nic-name
--resource-group
[--gateway-name]
[--lb-name]
Examples
Remove an address pool of an IP configuration.
az network nic ip-config address-pool remove -g MyResourceGroup --nic-name MyNic \
-n MyIpConfig --address-pool MyAddressPool
Remove an address pool of an IP configuration. (autogenerated)
az network nic ip-config address-pool remove --address-pool MyAddressPool --ip-config-name MyIpConfig --lb-name MyLb --nic-name MyNic --resource-group MyResourceGroup
Required Parameters
The name or ID of an existing backend address pool.
The name of the IP configuration.
The network interface (NIC).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name of an application gateway containing the address pool (Omit if supplying an address pool ID).
The name of the load balancer containing the address pool (Omit if supplying an address pool ID).
Global Parameters
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.
Azure CLI