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
- Understand Policy effects
- Audit VMs with Guest Configuration
- Programmatically create policies
- Get compliance data
- Remediate non-compliant resources
- Azure CLI
- Azure PowerShell
- REST API
To contribute and get started, please visit our contribution guide.
To request a new alias, please open a new issue following the instructions here
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.