az network lb address-pool
Manage address pools of a load balancer.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network lb address-pool create |
Create an address pool. |
Core | GA |
az network lb address-pool delete |
Delete an address pool. |
Core | GA |
az network lb address-pool list |
List address pools. |
Core | GA |
az network lb address-pool show |
Get the details of an address pool. |
Core | GA |
az network lb address-pool wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network lb address-pool create
Create an address pool.
az network lb address-pool create --address-pool-name
--lb-name
--resource-group
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
Create an address pool.
az network lb address-pool create -g MyResourceGroup --lb-name MyLb -n MyAddressPool
Required Parameters
The name of the backend address pool.
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
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 lb address-pool delete
Delete an address pool.
az network lb address-pool delete --address-pool-name
--lb-name
--resource-group
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
Delete an address pool.
az network lb address-pool delete -g MyResourceGroup --lb-name MyLb -n MyAddressPool
Required Parameters
The name of the backend address pool.
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
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 lb address-pool list
List address pools.
az network lb address-pool list --lb-name
--resource-group
Examples
List address pools.
az network lb address-pool list -g MyResourceGroup --lb-name MyLb
Required Parameters
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 lb address-pool show
Get the details of an address pool.
az network lb address-pool show --address-pool-name
--lb-name
--resource-group
Examples
Get the details of an address pool.
az network lb address-pool show -g MyResourceGroup --lb-name MyLb -n MyAddressPool
Required Parameters
The name of the backend address pool.
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 lb address-pool wait
Place the CLI in a waiting state until a condition is met.
az network lb address-pool wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--lb-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for