我正在构建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。 –