問題描述
在執(zhí)行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](https://aka.ms/apim-migrate-stv2) to see other migration options.", "details": null, "innerError": null }
}
錯誤截圖:
image.png
問題解答
雖然在升級的頁面中曼玩,推薦使用的是 “Keep the same subnet(Recommended)”丢氢。但是很遺憾的是据忘,在中國區(qū)APIM服務近迁,并不支持與升級前的子網(wǎng)保持一樣嚎卫。所以這里必須選擇第二項 ”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
當在復雜的環(huán)境中面臨問題字管,格物之道需:濁而靜之徐清啰挪,安以動之徐生信不。 云中,恰是如此!