相关疑难解决方法(0)

通过ARM创建与Azure表存储的API连接

我正在尝试通过ARM模板将API连接部署到表存储,但下面的模板返回错误 -

输入参数无效.详细信息请参见详细信息.详细信息:errorCode:ParameterNotDefined.消息:连接上不允许参数'accountKey',因为在注册API时未将其定义为连接参数.

我找不到任何专门用于通过ARM部署此类API连接的文档,只提供通用ARM模板文档,这些文档没有提供任何使用的示例parameterValues,以及似乎针对REST API的Table Store连接文档,而不是指定parameterVaulesARM部署所需的内容.

有人能告诉我parameterValues使用哪个?

{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "connectionName": {
            "type": "string",
            "defaultValue": "azuretablestest",
            "metadata": {
                "description": "The name of the connection to the Table Store that the Logic App will use."
            }
        },
        "connectionDisplayName": {
            "type": "string",
            "defaultValue": "AzureTablesTest",
            "metadata": {
                "description": "The display name of the connection to the Table Store that the Logic App will use."
            } …
Run Code Online (Sandbox Code Playgroud)

azure-table-storage azure-rm-template

2
推荐指数
1
解决办法
1193
查看次数