Microsoft.Authorization policySetDefinitions 2017-06-01-preview

The policySetDefinitions resource type can be deployed to: Management groups,.

To learn about management group deployments, see Bicep or ARM template

Template format

To create a Microsoft.Authorization/policySetDefinitions resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Authorization/policySetDefinitions@2017-06-01-preview' = {
  name: 'string'
  properties: {
    description: 'string'
    displayName: 'string'
    metadata: any()
    parameters: any()
    policyDefinitions: [
      {
        parameters: any()
        policyDefinitionId: 'string'
      }
    ]
    policyType: 'string'
  }
}

Property values

policySetDefinitions

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Authorization/policySetDefinitions'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2017-06-01-preview'
name The resource name string (required)
properties The policy set definition properties. PolicySetDefinitionProperties

PolicySetDefinitionProperties

Name Description Value
description The policy set definition description. string
displayName The display name of the policy set definition. string
metadata Any object For Bicep, you can use the any() function.
parameters Any object For Bicep, you can use the any() function.
policyDefinitions An array of policy definition references. PolicyDefinitionReference[] (required)
policyType The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom. 'BuiltIn'
'Custom'
'NotSpecified'

PolicyDefinitionReference

Name Description Value
parameters Any object For Bicep, you can use the any() function.
policyDefinitionId The ID of the policy definition or policy set definition. string