Microsoft.Authorization policySetDefinitions 2017-06-01-preview

Template format

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

  "name": "string",
  "type": "Microsoft.Authorization/policySetDefinitions",
  "apiVersion": "2017-06-01-preview",
  "scope": "string",
  "properties": {
    "policyType": "string",
    "displayName": "string",
    "description": "string",
    "metadata": {},
    "parameters": {},
    "policyDefinitions": [
        "policyDefinitionId": "string",
        "parameters": {}

Property values

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

Microsoft.Authorization/policySetDefinitions object

Name Type Required Value
name string Yes
type enum Yes Microsoft.Authorization/policySetDefinitions
apiVersion enum Yes 2017-06-01-preview
scope string No Use when specifying a scope that is different than the deployment scope. See Setting scope for extension resources in ARM templates.
properties object Yes The policy definition properties. - PolicySetDefinitionProperties object

PolicySetDefinitionProperties 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 set definition.
description string No The policy set definition description.
metadata object No The policy set definition metadata.
parameters object No The policy set definition parameters that can be used in policy definition references.
policyDefinitions array Yes An array of policy definition references. - PolicyDefinitionReference object

PolicyDefinitionReference object

Name Type Required Value
policyDefinitionId string No The ID of the policy definition or policy set definition.
parameters object No Required if a parameter is used in policy rule.