This repository contains samples of Azure Policies that can be used as reference for creating and assigning policies to your subscriptions and resource groups.
How to assign policies using the Azure portal
How to assign policies using REST API, Azure CLI and PowerShell
REST API documentation for policyDefinitions
REST API documentation for policyAssignments
To contribute and get started, please visit our contribution guide.
To request a new alias, please follow the guidlines and use this template
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.