You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/policy-fragments.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ Although it's not required, you might want to [configure](set-edit-policies.md)
45
45
46
46
## Create a policy fragment
47
47
48
-
1. In the left pane of your API Management instance, under **APIs**, select **Policy fragments** >**+ Create**.
49
-
1. In the **Create a new policy fragment** window, enter a **Name** and an optional**Description** of the policy fragment. The name must be unique within your API Management instance.
48
+
1. In the left pane of your API Management instance, under **APIs**, select **Policy fragments**. In the **Policy fragments** pane,**+ Create**.
49
+
1. In the **Create a new policy fragment** window, enter a **Name** and, optionally, a**Description** of the policy fragment. The name must be unique within your API Management instance.
50
50
51
51
Example name: *ForwardContext*
52
52
@@ -69,7 +69,7 @@ Although it's not required, you might want to [configure](set-edit-policies.md)
69
69
70
70
## Include a fragment in a policy definition
71
71
72
-
Configure the [`include-fragment`](include-fragment-policy.md) policy to insert a policy fragment in a policy definition. For more information about policy definitions, see [Set or edit policies](set-edit-policies.md).
72
+
Use the [`include-fragment`](include-fragment-policy.md) policy to insert a policy fragment in a policy definition. For more information about policy definitions, see [Set or edit policies](set-edit-policies.md).
73
73
74
74
* You can include a fragment at any scope and in any policy section, as long as the underlying policy or policies in the fragment support the usage.
75
75
* You can include multiple policy fragments in a policy definition.
@@ -96,12 +96,12 @@ After you create a policy fragment, you can view and update its properties or de
96
96
97
97
1. In the left pane of your API Management instance, under **APIs**, select **Policy fragments**. Select the name of your fragment.
98
98
1. On the **Overview** page, review the **Policy document references** to see the policy definitions that include the fragment.
99
-
1. On the **Properties** page, review the name and description of the policy fragment. The name can't be changed.
99
+
1. On the **Properties** page, under **Settings**, review the name and description of the policy fragment. The name can't be changed.
100
100
101
101
**To edit a policy fragment:**
102
102
103
103
1. In the left pane of your API Management instance, under **APIs**, select **Policy fragments**. Select the name of your fragment.
104
-
1.Select**Policy editor**.
104
+
1.Under **Settings**, select**Policy editor**.
105
105
1. Update the statements in the fragment, and then select **Apply**.
0 commit comments