Skip to content

Commit b0fabea

Browse files
committed
Creation of article on outbound rules using Azure PowerShell
1 parent 9fa0ed0 commit b0fabea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/load-balancer/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
href: load-balancer-standard-public-zonal-cli.md
8686
- name: Configure outbound rules
8787
items:
88-
- name: Configure outbound rules - Cli
88+
- name: Configure outbound rules - CLI
8989
href: configure-load-balancer-outbound-cli.md
9090
- name: Configure outbound rules - PowerShell
9191
href: configure-load-balancer-outbound-powershell.md

articles/load-balancer/configure-load-balancer-outbound-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ If you do not want to use a separate outbound pool, you can change the address p
128128
Create a Load Balancer with the inbound IP address using [New-AzLoadBalancer](https://docs.microsoft.com/powershell/module/az.network/new-azloadbalancer?view=azps-2.6.0) named *lb* that includes an inbound frontend IP configuration and a backend pool *bepoolinbound* that is associated with the public IP address *mypublicipinbound* that you created in the preceding step.
129129

130130
```azurepowershell-interactive
131-
New-AzLoadBalancer -Name lb -ResourceGroupName myresourcegroupoutbound -Location eastus -FrontendIpConfiguration $frontendIPin,$frontendIPout -BackendAddressPool $bepoolin,$bepoolout -Probe $probe -LoadBalancingRule $inboundrule -OutboundRule $outboundrule
131+
New-AzLoadBalancer -Name lb -Sku Standard -ResourceGroupName myresourcegroupoutbound -Location eastus -FrontendIpConfiguration $frontendIPin,$frontendIPout -BackendAddressPool $bepoolin,$bepoolout -Probe $probe -LoadBalancingRule $inboundrule -OutboundRule $outboundrule
132132
```
133133

134134
At this point, you can proceed with adding your VM's to the backend pool *bepoolinbound* __and__ *bepooloutbound* by updating the IP configuration of the respective NIC resources using [Add-AzNetworkInterfaceIpConfig](https://docs.microsoft.com/cli/azure/network/lb/rule?view=azure-cli-latest).

0 commit comments

Comments
 (0)