Thank you for reaching out.
You can check the value of the NumberOfProbes
property using the Get-AzLoadBalancerProbeConfig Azure PowerShell command or use LoadBalancerProbeList Rest API
$slb = Get-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"
Get-AzLoadBalancerProbeConfig -Name "MyProbe" -LoadBalancer $slb
Regarding the required action here:
- There is a known issue about Health probe configuration property numberOfProbes, otherwise known as "Unhealthy threshold" in Portal, isn't respected.
- So, the value defined in "numberOfProbes" does not take effect.
- If you would like to have a property to control the number of successful or failed consecutive probes necessary to mark backend instances as healthy or unhealthy, please leverage the property "probeThreshold" instead. The default value for probeThreshold is set to 1
- You should use API version 2022-05-01 or higher if you would like to adjust this property.
- Wrt "numberOfProbes" - no Action is required from the customers (as this property was never in effect).
Reference:
Hope this helps! Please let me know if you have any questions. Thank you!
I would greatly appreciate if you could Accept the answer and close this thread
Original posters help the community find answers faster by identifying the correct answer.