Skip to content

Commit fdd053a

Browse files
authored
Merge pull request #295906 from dlepow/cop
[APIM] Copilot features
2 parents 85b73d7 + 945cf2b commit fdd053a

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: how-to
9-
ms.date: 10/18/2023
9+
ms.date: 03/06/2025
1010
ms.author: danlep
1111
---
1212

articles/api-management/transform-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ The rest of this section tests policy transformations that you set in this artic
155155

156156
1. Wait for 15 seconds or more and then select **Send** again. This time you should get a **200 OK** response.
157157

158+
[!INCLUDE [api-management-policies-azure-copilot](../../includes/api-management-policies-azure-copilot.md)]
159+
158160
## Summary
159161

160162
In this tutorial, you learned how to:

includes/api-management-policies-azure-copilot.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@
22
author: dlepow
33
ms.service: azure-api-management
44
ms.topic: include
5-
ms.date: 05/20/2024
5+
ms.date: 03/06/2025
66
ms.author: danlep
77
---
8-
## Get assistance creating policies using Microsoft Copilot in Azure (preview)
8+
## Get Copilot assistance
99

10+
Get AI assistance from Copilot to create and edit your API Management policy definitions. With Copilot, create and update policies that match your specific requirements without needing to know the XML syntax, and get explanations of existing policies. Copilot can also help you translate policies you might have configured in other API management solutions.
1011

11-
[Microsoft Copilot in Azure](/azure/copilot/overview) (preview) provides policy authoring capabilities for Azure API Management. Use Copilot in Azure in the context of API Management's policy editor to create policies that match your specific requirements without knowing the syntax, or have already configured policies explained to you.
12+
* [Microsoft Copilot in Azure](/azure/copilot/author-api-management-policies?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json) (preview) - Offers policy authoring assistance with natural language prompts in the Azure portal. Author policies in API Management's policy editor, and ask Copilot to explain policy sections.
13+
* [GitHub Copilot in VS Code](https://code.visualstudio.com/docs/copilot/overview) - Provides policy authoring assistance in Visual Studio Code, accelerating policy configuration when you use the [Azure API Management Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-apimanagement&ssr=false#overview). Prompt Copilot Chat or Copilot Edits (preview) with natural language to create and refine policy definitions in place.
1214

13-
You can prompt Copilot in Azure to generate policy definitions, then copy the results into the policy editor and make any necessary adjustments. Ask questions to gain insights into different options, modify the provided policy, or clarify the policy you already have. [Learn more](/azure/copilot/author-api-management-policies?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=%2Fazure%2Fapi-management%2Fbreadcrumb%2Ftoc.json)
15+
Example prompt:
16+
17+
```copilot-prompt
18+
Generate a policy that adds an Authorization header to the request with a Bearer token.
19+
```
20+
21+
Copilot is powered by AI, so surprises and mistakes are possible. For more information, see [Copilot general use FAQs](https://aka.ms/copilot-general-use-faqs).

0 commit comments

Comments
 (0)