Skip to content

Commit 021047e

Browse files
Merge pull request #299589 from mbender-ms/lb-cross-sub-lb
load balancer | Maintenance | update load-balancer-cross-subscription-add-nic.md
2 parents bd21639 + 9779cc0 commit 021047e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

articles/load-balancer/cross-subscription-how-to-internal-load-balancer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: load-balancer
55
author: mbender-ms
66
ms.service: azure-load-balancer
77
ms.topic: how-to
8-
ms.date: 10/17/2024
8+
ms.date: 05/12/2025
99
ms.author: mbender
1010
ms.custom: devx-track-azurepowershell
1111
#CustomerIntent: As a < type of user >, I want < what? > so that < why? > .
@@ -38,7 +38,7 @@ With Azure PowerShell, you'll:
3838
```azurepowershell
3939
# Create a load balancer
4040
41-
$tags = @{
41+
$tag = @{
4242
'IsRemoteFrontend'= 'true'
4343
}
4444
@@ -47,7 +47,7 @@ $loadbalancer = @{
4747
Name = 'myLoadBalancer'
4848
Location = 'westus'
4949
Sku = 'Standard'
50-
Tags = $tags
50+
Tag = $tag
5151
}
5252
5353
$LB = New-AzLoadBalancer @loadbalancer

includes/load-balancer-cross-subscription-add-nic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ $nic = @{
3636
ResourceGroupName = '<Resource Group Subscription A>'
3737
Location = 'eastus'
3838
IpConfiguration = $IP1Config
39+
LoadBalancerBackendAddressPool = "/subscriptions/<Subscription B ID>/resourceGroups/myResourceGroupLB/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/BackendPool1"
3940
}
4041
New-AzNetworkInterface @nic
4142
```

includes/load-balancer-cross-subscription-azure-sign-in.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Set-AzContext -Subscription '<Azure Subscription A>'
2727
2828
# Get the Virtual Network information with Get-AzVirtualNetwork
2929
$net = @{
30-
Name = '<vnet name>'
31-
ResourceGroupName = '<Resource Group Subscription A>'
30+
Name = 'virtual-network-subA'
31+
ResourceGroupName = 'resource-group-v2'
3232
}
3333
$vnet = Get-AzVirtualNetwork @net
3434
```

0 commit comments

Comments
 (0)