Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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
[--acquire-policy-token]
[--change-reference]
[--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 following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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).
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
[--acquire-policy-token]
[--change-reference]
[--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 following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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).
Feedback
Was this page helpful?
