Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creating AG's probes.
# 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