/api-management-policy-snippets

Re-usable examples of Azure API Management policies

MIT LicenseMIT

Azure API Management Policy Snippets

Examples

The examples/ folder contains policy examples contributed by the product team and the user community. The samples are meant to be re-used verbatim, provide inspiration or serve as learning aids. Some of them are parameterized using Named Values (formerly known as Properties), which look like this: {{some-value}}. When using parametrized samples, you will have to either define relevant Named Values or replace them with values in place.

Policy expressions cheat-sheet

The policy-expressions folder contains a cheat-sheet with common policy expressions that are often used when authoring Azure API Management policies.

Visual Studio Code snippets

The vscode-snippets/ folder contains user snippets for Visual Studio Code. User snippets are helpful for streamlining workflow and simplifying document editing with autocomplete and easy navigation. Please, refer to the Visual Studio Code documentation on how to use them.

Azure API Management VS Code User Snippet 1

Azure API Management VS Code User Snippet 2

Azure API Management VS Code User Snippet 3

Helpful Links

To learn about Azure API Management go here.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.