Skip to content

Commit dbb81f9

Browse files
authored
Merge pull request #114855 from ecfan/patch-1
Update accessControl example per customer feedback
2 parents 869dd00 + cda4ee2 commit dbb81f9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

articles/logic-apps/logic-apps-securing-a-logic-app.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ If you want your logic app to trigger only as a nested logic app, from the **All
207207
208208
#### Restrict inbound IP ranges in Azure Resource Manager template
209209

210-
If you [automate deployment for logic apps by using Resource Manager templates](../logic-apps/logic-apps-azure-resource-manager-templates-overview.md), you can specify the IP ranges by using the `accessControl` section with the `triggers` section in your logic app's resource definition, for example:
210+
If you [automate deployment for logic apps by using Resource Manager templates](../logic-apps/logic-apps-azure-resource-manager-templates-overview.md), you can specify the IP ranges in *x.x.x.x/x* or *x.x.x.x-x.x.x.x* format by using the `accessControl` section and by including the `triggers` and `actions` sections in your logic app's resource definition, for example:
211211

212212
```json
213213
{
@@ -225,20 +225,24 @@ If you [automate deployment for logic apps by using Resource Manager templates](
225225
},
226226
"apiVersion": "2016-06-01",
227227
"properties": {
228-
"definition": {<workflow-definition>},
229-
"parameters": {},
228+
"definition": {
229+
<workflow-definition>
230+
},
231+
"parameters": {
232+
},
230233
"accessControl": {
231234
"triggers": {
232235
"allowedCallerIpAddresses": [
233236
{
234237
"addressRange": "192.168.12.0/23"
235-
},
236-
{
237-
"addressRange": "2001:0db8::/64"
238238
}
239239
]
240+
},
241+
"actions": {
242+
"allowedCallerIpAddresses:" : []
240243
}
241-
}
244+
},
245+
"endpointsConfiguration": {}
242246
}
243247
}
244248
],

0 commit comments

Comments
 (0)