代码之家  ›  专栏  ›  技术社区  ›  jschmitter

如何使用ARM模板禁用Azure函数应用程序中的ftps/ftp

  •  1
  • jschmitter  · 技术社区  · 6 年前

    我正在使用ARM模板部署一个Azure函数应用程序,希望禁用ftp/ftps访问。

    该设置很容易在门户中找到:

    如何找到此的属性或应用程序设置,以便在JSON ARM模板中配置它?

    我已经试过了

    • 查看Microsoft文档
    • 运行powershell命令 get azurermresource and get azurermwebapp to explore the returned site objects
    • azure资源浏览器中搜索属性
    • 猜测属性名和测试部署——试错法
      • 我希望该设置与SiteConfig中的类似设置一起存在:

        . enter image description here

        如何找到此的属性或应用程序设置,以便在JSON ARM模板中配置它?

        我已经试过了

        我希望该设置与SiteConfig中的类似设置一起存在:

    1 回复  |  直到 6 年前
        1
  •  3
  •   David Ebbo    6 年前

    你要找的房产是 ftpsState

    • AllAllowed (这是默认值)
    • FtpsOnly
    • Disabled
    推荐文章