/azure-policy

Repository for Azure Resource Policy samples

MIT LicenseMIT

Azure Policy samples

Abstract

This repository contains samples of Azure Policies that can be used as reference for creating and assigning policies to your subscriptions and resource groups.

Documentation

Resource Policy overview

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

Contributing

To contribute and get started, please visit our contribution guide.

Requesting Policy Aliases

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.