问题描述
在执行Azure API Management服务升级的操作中 (从 stv1 升级到 stv2), 遇上 Invalid parameter 错误:
{
"error": {
"code": "InvalidParameters",
"message": "Invalid parameter: This Migration API option is not supported or is temporarily disabled due to internal issues. Please visit https://aka.ms/apim-migrate-stv2 to see other migration options.",
"details": null,
"innerError": null
}
}
错误截图:
问题解答
虽然在升级的页面中,推荐使用的是 “Keep the same subnet(Recommended)”。但是很遗憾的是,在中国区APIM服务,并不支持与升级前的子网保持一样。所以这里必须选择第二项 ”Change to a new subnet “后,才能成功。
参考资料
What happens during migration? https://learn.microsoft.com/en-us/azure/api-management/migrate-stv1-to-stv2-vnet?tabs=portal#what-happens-during-migration
当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!