Microsoft.Authorization accessReviewScheduleDefinitions 2021-07-01-preview

The accessReviewScheduleDefinitions resource type can be deployed to: Subscriptions.

To learn about subscription deployments, see Bicep or ARM template

Template format

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

resource symbolicname 'Microsoft.Authorization/accessReviewScheduleDefinitions@2021-07-01-preview' = {
  name: 'string'
  backupReviewers: [
    {
      principalId: 'string'
    }
  ]
  descriptionForAdmins: 'string'
  descriptionForReviewers: 'string'
  displayName: 'string'
  instances: [
    {
      properties: {
        backupReviewers: [
          {
            principalId: 'string'
          }
        ]
        endDateTime: 'string'
        reviewers: [
          {
            principalId: 'string'
          }
        ]
        startDateTime: 'string'
      }
    }
  ]
  reviewers: [
    {
      principalId: 'string'
    }
  ]
  settings: {
    autoApplyDecisionsEnabled: bool
    defaultDecision: 'string'
    defaultDecisionEnabled: bool
    instanceDurationInDays: int
    justificationRequiredOnApproval: bool
    mailNotificationsEnabled: bool
    recommendationLookBackDuration: 'string'
    recommendationsEnabled: bool
    recurrence: {
      pattern: {
        interval: int
        type: 'string'
      }
      range: {
        endDate: 'string'
        numberOfOccurrences: int
        startDate: 'string'
        type: 'string'
      }
    }
    reminderNotificationsEnabled: bool
  }
}

Property values

accessReviewScheduleDefinitions

Name Description Value
type The resource type

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

For Bicep, set this value in the resource declaration.
'2021-07-01-preview'
name The resource name string (required)
backupReviewers AccessReviewReviewer[]
descriptionForAdmins string
descriptionForReviewers string
displayName string
instances AccessReviewInstance[]
reviewers AccessReviewReviewer[]
settings AccessReviewScheduleSettings

AccessReviewReviewer

Name Description Value
principalId string

AccessReviewInstance

Name Description Value
properties AccessReviewInstanceProperties

AccessReviewInstanceProperties

Name Description Value
backupReviewers AccessReviewReviewer[]
endDateTime string
reviewers AccessReviewReviewer[]
startDateTime string

AccessReviewScheduleSettings

Name Description Value
autoApplyDecisionsEnabled bool
defaultDecision 'Approve'
'Deny'
'Recommendation'
defaultDecisionEnabled bool
instanceDurationInDays int
justificationRequiredOnApproval bool
mailNotificationsEnabled bool
recommendationLookBackDuration string
recommendationsEnabled bool
recurrence AccessReviewRecurrenceSettings
reminderNotificationsEnabled bool

AccessReviewRecurrenceSettings

Name Description Value
pattern AccessReviewRecurrencePattern
range AccessReviewRecurrenceRange

AccessReviewRecurrencePattern

Name Description Value
interval int
type 'absoluteMonthly'
'weekly'

AccessReviewRecurrenceRange

Name Description Value
endDate string
numberOfOccurrences int
startDate string
type 'endDate'
'noEnd'
'numbered'