简体   繁体   English

Azure 前门 - Origin Group 的健康探测器

[英]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使用经典 FD,健康探测的以下路径很好:/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 /"将 FD 更新到其最新迭代(标准),对于相同的 Function 应用程序后端,门户返回以下消息:“探测路径必须以 / 开头”

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.这可能是一个新的门户相关错误,因为我很确定我在 AFD 的探测路径中设置查询字符串参数没有问题,但我能够使用 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 https://learn.microsoft.com/en-us/cli/azure/afd/origin-group?view=azure-cli-latest#az-afd-origin-group-update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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