Created
April 10, 2020 20:13
-
-
Save fabriciosanchez/3b98d46e9fd15a2363b213ec733b2e54 to your computer and use it in GitHub Desktop.
Creating AG's probes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# step 6 - create custom probes for API-M endpoints | |
$apimprobe = New-AzApplicationGatewayProbeConfig ` | |
-Name "apim-api-probe" ` | |
-Protocol "Https" ` | |
-HostName $gatewayHostname ` | |
-Path "/status-0123456789abcdef" ` | |
-Interval 30 ` | |
-Timeout 120 ` | |
-UnhealthyThreshold 8 | |
$apimPortalProbe = New-AzApplicationGatewayProbeConfig ` | |
-Name "apim-portal-probe" ` | |
-Protocol "Https" ` | |
-HostName $portalHostname ` | |
-Path "/signin" ` | |
-Interval 60 ` | |
-Timeout 300 ` | |
-UnhealthyThreshold 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment