Microsoft.Authorization policydefinitions template reference

Template format

To create a Microsoft.Authorization/policydefinitions resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Authorization/policydefinitions",
  "apiVersion": "2015-10-01-preview",
  "properties": {
    "policyType": "string",
    "displayName": "string",
    "description": "string",
    "policyRule": {}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Authorization/policydefinitions object

Name Type Required Value
name string Yes
type enum Yes Microsoft.Authorization/policydefinitions
apiVersion enum Yes 2015-10-01-preview
properties object Yes The policy definition properties. - PolicyDefinitionProperties object

PolicyDefinitionProperties object

Name Type Required Value
policyType enum No The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom. - NotSpecified, BuiltIn, Custom
displayName string No The display name of the policy definition.
description string No The policy definition description.
policyRule object No The policy rule.