MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.35k forks source link

quickstart-load-balancer-standard-internal-powershell#create-load-balancer #124287

Open VGSandz opened 2 weeks ago

VGSandz commented 2 weeks ago

Hello https://learn.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-internal-powershell#create-load-balancer

The code under this section missed to add Health Probe to the Load balancer Rule. This creates a LB Rule with Missing Back-end Probe detail.

## Create the load balancer rule and place in variable. ## $lbrule = @{ Name = 'myHTTPRule' Protocol = 'tcp' FrontendPort = '80' BackendPort = '80' IdleTimeoutInMinutes = '15' FrontendIpConfiguration = $feip BackendAddressPool = $bePool } $rule = New-AzLoadBalancerRuleConfig @lbrule -EnableTcpReset

Could be...

Create the load balancer rule and place in variable.

$lbrule = @{ Name = 'myHTTPRule' Protocol = 'tcp' FrontendPort = '80' BackendPort = '80' IdleTimeoutInMinutes = '15' FrontendIpConfiguration = $feip BackendAddressPool = $bePool Probe = $healthprobe ## MISSED Value } $rule = New-AzLoadBalancerRuleConfig @lbrule -EnableTcpReset

Thankyou.

ManoharLakkoju-MSFT commented 2 weeks ago

@VGSandz Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT commented 1 week ago

@VGSandz Thank you for bringing this to our attention. I've delegated this to content author @mbender-ms, who will review it and offer their insightful opinions.