Skip to content

Commit 04349bf

Browse files
authored
Merge pull request #189504 from asudbring/lb-patch
Changed health probe to tcp for internal and public load balancer - posh
2 parents a5a1cce + 6eb669b commit 04349bf

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

articles/load-balancer/quickstart-load-balancer-standard-internal-powershell.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,10 @@ $bepool = New-AzLoadBalancerBackendAddressPoolConfig -Name 'myBackEndPool'
172172
## Create the health probe and place in variable. ##
173173
$probe = @{
174174
Name = 'myHealthProbe'
175-
Protocol = 'http'
175+
Protocol = 'tcp'
176176
Port = '80'
177177
IntervalInSeconds = '360'
178178
ProbeCount = '5'
179-
RequestPath = '/'
180179
}
181180
$healthprobe = New-AzLoadBalancerProbeConfig @probe
182181
@@ -432,11 +431,10 @@ $bepool = New-AzLoadBalancerBackendAddressPoolConfig -Name 'myBackEndPool'
432431
## Create the health probe and place in variable. ##
433432
$probe = @{
434433
Name = 'myHealthProbe'
435-
Protocol = 'http'
434+
Protocol = 'tcp'
436435
Port = '80'
437436
IntervalInSeconds = '360'
438437
ProbeCount = '5'
439-
RequestPath = '/'
440438
}
441439
$healthprobe = New-AzLoadBalancerProbeConfig @probe
442440

articles/load-balancer/quickstart-load-balancer-standard-public-powershell.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,10 @@ $bepool = New-AzLoadBalancerBackendAddressPoolConfig -Name 'myBackEndPool'
107107
## Create the health probe and place in variable. ##
108108
$probe = @{
109109
Name = 'myHealthProbe'
110-
Protocol = 'http'
110+
Protocol = 'tcp'
111111
Port = '80'
112112
IntervalInSeconds = '360'
113113
ProbeCount = '5'
114-
RequestPath = '/'
115114
}
116115
$healthprobe = New-AzLoadBalancerProbeConfig @probe
117116
@@ -491,11 +490,10 @@ $bepool = New-AzLoadBalancerBackendAddressPoolConfig -Name 'myBackEndPool'
491490
## Create the health probe and place in variable. ##
492491
$probe = @{
493492
Name = 'myHealthProbe'
494-
Protocol = 'http'
493+
Protocol = 'tcp'
495494
Port = '80'
496495
IntervalInSeconds = '360'
497496
ProbeCount = '5'
498-
RequestPath = '/'
499497
}
500498
$healthprobe = New-AzLoadBalancerProbeConfig @probe
501499

0 commit comments

Comments
 (0)