Skip to content

Commit

Permalink
adding missing Name flag - line 29 (Azure#25835)
Browse files Browse the repository at this point in the history
  • Loading branch information
duongau authored Aug 16, 2024
1 parent 67fdff6 commit 0891055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Network/help/Set-AzPrivateLinkService.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The **Set-AzPrivateLinkService** cmdlet updates a private link service.
```powershell
$vnet = Get-AzVirtualNetwork -ResourceName "myvnet" -ResourceGroupName "myresourcegroup"
$IPConfig = New-AzPrivateLinkServiceIpConfig -Name "IP-Config" -Subnet $vnet.subnets[1] -PrivateIpAddress "10.0.0.5"
$publicip = Get-AzPublicIpAddress -ResourceGroupName "myresourcegroup"
$publicip = Get-AzPublicIpAddress -Name "myPublicIp1" -ResourceGroupName "myresourcegroup"
$frontend = New-AzLoadBalancerFrontendIpConfig -Name "FrontendIpConfig01" -PublicIpAddress $publicip
$lb = New-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "myresourcegroup" -Location "West US" -FrontendIpConfiguration $frontend
$privateLinkService = New-AzPrivateLinkService -ServiceName "mypls" -ResourceGroupName myresourcegroup -Location "West US" -LoadBalancerFrontendIpConfiguration $frontend -IpConfiguration $IPConfig
Expand Down

0 comments on commit 0891055

Please sign in to comment.