File tree 1 file changed +2
-2
lines changed
articles/application-gateway
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $probe = Get-AzureRmApplicationGatewayProbeConfig -name webappprobe2 -Applicatio
45
45
Set-AzureRmApplicationGatewayBackendHttpSettings -Name appGatewayBackendHttpSettings -ApplicationGateway $gw -PickHostNameFromBackendAddress -Port 80 -Protocol http -CookieBasedAffinity Disabled -RequestTimeout 30 -Probe $probe
46
46
47
47
# Add the web app to the backend pool
48
- Set-AzureRmApplicationGatewayBackendAddressPool -Name appGatewayBackendPool -ApplicationGateway $gw -BackendIPAddresses $webappFQDN
48
+ Set-AzureRmApplicationGatewayBackendAddressPool -Name appGatewayBackendPool -ApplicationGateway $gw -BackendFqdns $webappFQDN
49
49
50
50
# Update the application gateway
51
51
Set-AzureRmApplicationGateway -ApplicationGateway $gw
@@ -95,7 +95,7 @@ $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rg.ResourceGroupName
95
95
$gipconfig = New-AzureRmApplicationGatewayIPConfiguration -Name gatewayIP01 -Subnet $subnet
96
96
97
97
# Create a backend pool with the hostname of the web app
98
- $pool = New-AzureRmApplicationGatewayBackendAddressPool -Name appGatewayBackendPool -BackendIPAddresses $webapp.HostNames
98
+ $pool = New-AzureRmApplicationGatewayBackendAddressPool -Name appGatewayBackendPool -BackendFqdns $webapp.HostNames
99
99
100
100
# Define the status codes to match for the probe
101
101
$match = New-AzureRmApplicationGatewayProbeHealthResponseMatch -StatusCode 200-399
You can’t perform that action at this time.
0 commit comments