GetScopeAccessReviewScheduleDefinitionByIdResult

data class GetScopeAccessReviewScheduleDefinitionByIdResult(val assignmentState: String, val autoApplyDecisionsEnabled: Boolean? = null, 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 endDate: String? = null, val excludeResourceId: String? = null, val excludeRoleDefinitionId: String? = null, val expandNestedMemberships: Boolean? = null, val id: String, val inactiveDuration: String? = null, val includeAccessBelowResource: Boolean? = null, val includeInheritedAccess: Boolean? = null, 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 numberOfOccurrences: Int? = null, val principalId: String, val principalName: String, val principalType: String, val recommendationLookBackDuration: String? = null, val recommendationsEnabled: Boolean? = null, val reminderNotificationsEnabled: Boolean? = null, val resourceId: String, val reviewers: List<AccessReviewReviewerResponse>? = null, val reviewersType: String, val roleDefinitionId: String, val startDate: String? = null, val status: String, val type: String, val userPrincipalName: String)

Access Review Schedule Definition.

Constructors

constructor(assignmentState: String, autoApplyDecisionsEnabled: Boolean? = null, backupReviewers: List<AccessReviewReviewerResponse>? = null, defaultDecision: String? = null, defaultDecisionEnabled: Boolean? = null, descriptionForAdmins: String? = null, descriptionForReviewers: String? = null, displayName: String? = null, endDate: String? = null, excludeResourceId: String? = null, excludeRoleDefinitionId: String? = null, expandNestedMemberships: Boolean? = null, id: String, inactiveDuration: String? = null, includeAccessBelowResource: Boolean? = null, includeInheritedAccess: Boolean? = null, instanceDurationInDays: Int? = null, instances: List<AccessReviewInstanceResponse>? = null, interval: Int? = null, justificationRequiredOnApproval: Boolean? = null, mailNotificationsEnabled: Boolean? = null, name: String, numberOfOccurrences: Int? = null, principalId: String, principalName: String, principalType: String, recommendationLookBackDuration: String? = null, recommendationsEnabled: Boolean? = null, reminderNotificationsEnabled: Boolean? = null, resourceId: String, reviewers: List<AccessReviewReviewerResponse>? = null, reviewersType: String, roleDefinitionId: String, startDate: String? = null, status: String, type: String, userPrincipalName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The role assignment state eligible/active to review

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

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 endDate: String? = null

The DateTime when the review is scheduled to end. Required if type is endDate

Link copied to clipboard

This is used to indicate the resource id(s) to exclude

Link copied to clipboard

This is used to indicate the role definition id(s) to exclude

Link copied to clipboard

Flag to indicate whether to expand nested memberships or not.

Link copied to clipboard
val id: String

The access review schedule definition id.

Link copied to clipboard

Duration users are inactive for. 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 to expand nested memberships or not.

Link copied to clipboard

Flag to indicate whether to expand nested memberships or not.

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 number of times to repeat the access review. Required and must be positive if type is numbered.

Link copied to clipboard

The identity id

Link copied to clipboard

The identity display name

Link copied to clipboard

The identity type user/servicePrincipal to review

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

ResourceId in which this review is getting created

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 indicate the role being reviewed

Link copied to clipboard
val startDate: String? = null

The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.

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)