Azure Policy samples
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.
Requesting Policy Aliases
To request a new alias, please follow the guidelines and use this template