az network lb inbound-nat-pool
Manage inbound NAT address pools of 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 |
Get the 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 {All, Tcp, Udp}
--resource-group
[--enable-tcp-reset {false, true}]
[--floating-ip {false, true}]
[--frontend-ip-name]
[--idle-timeout]
Examples
Create an inbound NAT address pool.
az network lb inbound-nat-pool create -g MyResourceGroup --lb-name MyLb \
-n MyNatPool --protocol Tcp --frontend-port-range-start 80 --frontend-port-range-end 89 \
--backend-port 80 --frontend-ip-name MyFrontendIp
Required Parameters
Port number.
Port number.
Port number.
The load balancer name.
The name of the inbound NAT pool.
Network transport protocol.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Receive bidirectional TCP reset on TCP flow idle timeout or unexpected connection termination. Only used when protocol is set to TCP.
Enable floating IP.
The name of the frontend IP configuration. If only one exists, omit to use as default.
Idle timeout in minutes.
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 inbound-nat-pool delete
Delete an inbound NAT address pool.
az network lb inbound-nat-pool delete --lb-name
--name
--resource-group
Examples
Delete an inbound NAT address pool.
az network lb inbound-nat-pool delete -g MyResourceGroup --lb-name MyLb -n MyNatPool
Required Parameters
The name of the load balancer.
The name of the inbound NAT pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 inbound-nat-pool list
List inbound NAT address pools.
az network lb inbound-nat-pool list --lb-name
--resource-group
Examples
List inbound NAT address pools.
az network lb inbound-nat-pool list -g MyResourceGroup --lb-name MyLb -o table
Required Parameters
The name of the load balancer.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 inbound-nat-pool show
Get the details of an inbound NAT address pool.
az network lb inbound-nat-pool show --lb-name
--name
--resource-group
Examples
Get the details of an inbound NAT address pool.
az network lb inbound-nat-pool show -g MyResourceGroup --lb-name MyLb -n MyNatPool
Required Parameters
The name of the load balancer.
The name of the inbound NAT pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 inbound-nat-pool update
Update an inbound NAT address pool.
az network lb inbound-nat-pool update [--add]
[--backend-port]
[--enable-tcp-reset {false, true}]
[--floating-ip {false, true}]
[--force-string]
[--frontend-ip-name]
[--frontend-port-range-end]
[--frontend-port-range-start]
[--idle-timeout]
[--ids]
[--lb-name]
[--name]
[--protocol {All, Tcp, Udp}]
[--remove]
[--resource-group]
[--set]
Examples
Update an inbound NAT address pool to a different backend port.
az network lb inbound-nat-pool update -g MyResourceGroup --lb-name MyLb -n MyNatPool \
--protocol Tcp --backend-port 8080
Update an inbound NAT address pool. (autogenerated)
az network lb inbound-nat-pool update --backend-port 8080 --enable-tcp-reset true --frontend-port-range-end 89 --frontend-port-range-start 80 --lb-name MyLb --name MyNatPool --resource-group MyResourceGroup
Update an inbound NAT address pool. (autogenerated)
az network lb inbound-nat-pool update --enable-tcp-reset true --lb-name MyLb --name MyNatPool --protocol Udp --resource-group MyResourceGroup
Update an inbound NAT address pool. (autogenerated)
az network lb inbound-nat-pool update --backend-port 8080 --floating-ip true --frontend-port-range-end 89 --frontend-port-range-start 80 --lb-name MyLb --name MyNatPool --protocol Udp --resource-group MyResourceGroup
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
Port number.
Receive bidirectional TCP reset on TCP flow idle timeout or unexpected connection termination. Only used when protocol is set to TCP.
Enable floating IP.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
The name of the frontend IP configuration.
Port number.
Port number.
Idle timeout in minutes.
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.
The load balancer name.
The name of the inbound NAT pool.
Network transport protocol.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ