Skip to content

Commit 88fb173

Browse files
authored
Merge pull request #86571 from mmacy/patch-3
[apim] add XML tag to code snippet
2 parents bdd606a + b7d6275 commit 88fb173

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

articles/api-management/set-edit-policies.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,23 @@ To set or edit a policy, follow the following steps:
3737
6. Select an operation to which you want to apply the policy. If you want to apply the policy to all operations, select **All operations**.
3838
7. Select the **</>** (code editor) icon in the **Inbound processing** or **Outbound processing** section.
3939
8. Paste the desired policy code into one of the appropriate blocks.
40-
41-
<policies>
42-
<inbound>
43-
<base />
44-
</inbound>
45-
<backend>
46-
<base />
47-
</backend>
48-
<outbound>
49-
<base />
50-
</outbound>
51-
<on-error>
52-
<base />
53-
</on-error>
54-
</policies>
40+
41+
```XML
42+
<policies>
43+
<inbound>
44+
<base />
45+
</inbound>
46+
<backend>
47+
<base />
48+
</backend>
49+
<outbound>
50+
<base />
51+
</outbound>
52+
<on-error>
53+
<base />
54+
</on-error>
55+
</policies>
56+
```
5557

5658
## Configure scope
5759

@@ -131,4 +133,4 @@ See the following related topics:
131133

132134
+ [Transform APIs](transform-api.md)
133135
+ [Policy Reference](api-management-policy-reference.md) for a full list of policy statements and their settings
134-
+ [Policy samples](policy-samples.md)
136+
+ [Policy samples](policy-samples.md)

0 commit comments

Comments
 (0)