我正在構建Azure邏輯應用程序並嘗試自動創建Azure Redis緩存。沒有爲這個特定動作(創建或更新資源),我是能夠調出:Azure Logic應用程序創建Redis緩存需要x-ms-api版本
正如你可以看到我進入2016-02-01
的API版本。我正在嘗試不同的值,只是從我從Microsoft獲悉的其他api版本中猜測出來。我在互聯網上找不到任何資源。這一步驟的結果將是:
{
"error":
{
"code": "InvalidResourceType",
"message": "The resource type could not be found in the namespace 'Microsoft.Cache' for api version '2016-02-01'."
}
}
什麼是x-ms-api-version
正確的價值,我在哪裏可以找到基於資源提供這種價值的歷史?
你可以嘗試用'2016-04-01' API的版本? –
@GauravMantri同樣的錯誤。 – sprinter252
這很奇怪。我從這裏獲取了該版本:https://docs.microsoft.com/en-us/rest/api/redis/redis/create。 –