1

通过 ARM 模板创建 MYSQL 时出现错误“FeatureSwitchNotEnabled” 大家好,

当我通过 ARM 模板创建 MySQL 时,有 2 个任务获得了 FeatureSwitchNotEnabled。

1 - Microsoft.DBforMySQL/servers/firewallRules 2 - Microsoft.DBforMySQL/servers/virtualNetworkRules

我们是否需要启用任何设置才能通过 ARM 模板配置这些设置。MYSql 上的其他 20-30 次操作都成功完成,除了上面的 2。

任何帮助,将不胜感激。

这是一个片段:

    {
        "type": "Microsoft.DBforMySQL/servers/firewallRules",
        "apiVersion": "2017-12-01",
        "name": "[concat(parameters('DEV-SIT_mysql_name'), '/AllowAllWindowsAzureIps')]",
        "dependsOn": [
            "[resourceId('Microsoft.DBforMySQL/servers', parameters('DEV-SIT_mysql_name'))]"
        ],
        "properties": {
            "startIpAddress": "0.0.0.0",
            "endIpAddress": "0.0.0.0"
        }
    },
4

0 回答 0