简体   繁体   English

在逻辑应用 ARM 模板中筛选 IP 范围

[英]Filter IP ranges in Logic Apps ARM templates

How can I add "Only other logic apps" filter on Json instead of IP ranges for Restrict inbound IP ranges in Azure Resource Manager template?如何在 Json 上添加“仅其他逻辑应用”过滤器而不是 IP 范围以限制 Azure 资源管理器模板中的入站 IP 范围?

I saw in the documentation how to add it from the Azure portal setting "Only other logic apps" in the Allowed inbound IP addresses, but I need to add it from the ARM template for automate the deployment.我在文档中看到如何从允许入站 IP 地址中的 Azure 门户设置“仅其他逻辑应用程序”添加它,但我需要从 ARM 模板添加它以自动部署。

I found only the IP ranges option:我只找到了 IP 范围选项:

"accessControl": {
           "triggers": {
              "allowedCallerIpAddresses": [
                 {
                    "addressRange": "192.168.12.0/23"
                 }
              ]
           },
           "actions": {
              "allowedCallerIpAddresses": []
           }
        },

I set the allowedCallerIpAddresses array to empty for the option to allow "Only other logic apps".我将allowedCallerIpAddresses数组设置为空,以便选择允许“仅其他逻辑应用程序”。

eg例如

    "accessControl": {
      "triggers": {
        "allowedCallerIpAddresses": []
      },
      "actions": {
        "allowedCallerIpAddresses": []
      }
    },

At the time I learned about this, I used the Azure Resource Explorer to view the JSON.当我了解到这一点时,我使用 Azure 资源浏览器来查看 JSON。 Seems like exporting from the Portal doesn't show the setting and I couldn't find any documentation.似乎从门户导出不显示设置,我找不到任何文档。 https://resources.azure.com/ https://resources.azure.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM