Goes over the structure of Azure Policy definition objects, and how to create custom policies. This topic can get complicated quickly, let me know if there's any information missing or that I could clarify.
Enterprise Policy as Code:
https://azure.github.io/enterprise-azure-policy-as-code/