This repository contains samples of Azure Policies that can be used as reference for creating and assigning policies to your subscriptions and resource groups. For a full list of samples with descriptions, see Policy samples on docs.microsoft.com.
- Azure Policy overview
- How to assign policies using the Azure portal
- How to assign policies using Azure PowerShell
- How to assign policies using Azure CLI
- Definition structure
- Understanding Policy effects
- Programmatically create policies
- Gathering compliance data
- Azure CLI
- Azure PowerShell
- REST API
To contribute and get started, please visit our contribution guide.
To request a new alias, please follow the guidelines 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.