GetAccessReviewScheduleDefinitionByIdResult

data class GetAccessReviewScheduleDefinitionByIdResult(val autoApplyDecisionsEnabled: Boolean? = null, val azureApiVersion: String, val backupReviewers: List<AccessReviewReviewerResponse>? = null, val defaultDecision: String? = null, val defaultDecisionEnabled: Boolean? = null, val descriptionForAdmins: String? = null, val descriptionForReviewers: String? = null, val displayName: String? = null, val id: String, val instanceDurationInDays: Int? = null, val instances: List<AccessReviewInstanceResponse>? = null, val interval: Int? = null, val justificationRequiredOnApproval: Boolean? = null, val mailNotificationsEnabled: Boolean? = null, val name: String, val principalId: String, val principalName: String, val principalType: String, val range: AccessReviewRecurrenceRangeResponse? = null, val recommendationLookBackDuration: String? = null, val recommendationsEnabled: Boolean? = null, val reminderNotificationsEnabled: Boolean? = null, val reviewers: List<AccessReviewReviewerResponse>? = null, val reviewersType: String, val scope: AccessReviewScopeResponse, val status: String, val type: String, val userPrincipalName: String)

Access Review Schedule Definition.

Constructors

constructor(autoApplyDecisionsEnabled: Boolean? = null, azureApiVersion: String, backupReviewers: List<AccessReviewReviewerResponse>? = null, defaultDecision: String? = null, defaultDecisionEnabled: Boolean? = null, descriptionForAdmins: String? = null, descriptionForReviewers: String? = null, displayName: String? = null, id: String, instanceDurationInDays: Int? = null, instances: List<AccessReviewInstanceResponse>? = null, interval: Int? = null, justificationRequiredOnApproval: Boolean? = null, mailNotificationsEnabled: Boolean? = null, name: String, principalId: String, principalName: String, principalType: String, range: AccessReviewRecurrenceRangeResponse? = null, recommendationLookBackDuration: String? = null, recommendationsEnabled: Boolean? = null, reminderNotificationsEnabled: Boolean? = null, reviewers: List<AccessReviewReviewerResponse>? = null, reviewersType: String, scope: AccessReviewScopeResponse, status: String, type: String, userPrincipalName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

This is the collection of backup reviewers.

Link copied to clipboard
val defaultDecision: String? = null

This specifies the behavior for the autoReview feature when an access review completes.

Link copied to clipboard

Flag to indicate whether reviewers are required to provide a justification when reviewing access.

Link copied to clipboard

The description provided by the access review creator and visible to admins.

Link copied to clipboard

The description provided by the access review creator to be shown to reviewers.

Link copied to clipboard
val displayName: String? = null

The display name for the schedule definition.

Link copied to clipboard
val id: String

The access review schedule definition id.

Link copied to clipboard

The duration in days for an instance.

Link copied to clipboard

This is the collection of instances returned when one does an expand on it.

Link copied to clipboard
val interval: Int? = null

The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.

Link copied to clipboard

Flag to indicate whether the reviewer is required to pass justification when recording a decision.

Link copied to clipboard

Flag to indicate whether sending mails to reviewers and the review creator is enabled.

Link copied to clipboard

The access review schedule definition unique id.

Link copied to clipboard

The identity id

Link copied to clipboard

The identity display name

Link copied to clipboard

The identity type : user/servicePrincipal

Link copied to clipboard

Access Review schedule definition recurrence range.

Link copied to clipboard

Recommendations for access reviews are calculated by looking back at 30 days of data(w.r.t the start date of the review) by default. However, in some scenarios, customers want to change how far back to look at and want to configure 60 days, 90 days, etc. instead. This setting allows customers to configure this duration. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))

Link copied to clipboard

Flag to indicate whether showing recommendations to reviewers is enabled.

Link copied to clipboard

Flag to indicate whether sending reminder emails to reviewers are enabled.

Link copied to clipboard

This is the collection of reviewers.

Link copied to clipboard

This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.

Link copied to clipboard

This is used to define what to include in scope of the review. The scope definition includes the resourceId and roleDefinitionId.

Link copied to clipboard

This read-only field specifies the status of an accessReview.

Link copied to clipboard

The resource type.

Link copied to clipboard

The user principal name(if valid)