简体   繁体   中英

Azure Front Door - Origin Group's Health probe

Using the classic FD, the following Path for the Health probes was fine: /api/status?code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Updating FD to its latest iteration (Standard), for the same Function App backend, the Portal returned the following message: "The probe path must start with /"

It seems that it doesn't like the "?" and "=" symbols in the entry (see image ): portal error

Doers anyone know any way around this, and obviously the error message itself in incorrect.

This may be a new portal related bug as I'm pretty sure I haven't had issues setting query string parameters in the probe path for AFD, but I was able to overcome this with Azure CLI.

az afd origin-group update --origin-group-name "default-origin-group" --profile-name "afdprofile" --resource-group "myrg" --probe-path "/api/status?code=value"

https://learn.microsoft.com/en-us/cli/azure/afd/origin-group?view=azure-cli-latest#az-afd-origin-group-update

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM