AccessReviewScheduleDefinitionProperties Class

Access Review.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.authorization._serialization.Model
AccessReviewScheduleDefinitionProperties

Constructor

AccessReviewScheduleDefinitionProperties(*, display_name: str | None = None, description_for_admins: str | None = None, description_for_reviewers: str | None = None, reviewers: List[_models.AccessReviewReviewer] | None = None, instances: List[_models.AccessReviewInstance] | None = None, mail_notifications_enabled: bool | None = None, reminder_notifications_enabled: bool | None = None, default_decision_enabled: bool | None = None, justification_required_on_approval: bool | None = None, default_decision: str | _models.DefaultDecisionType | None = None, auto_apply_decisions_enabled: bool | None = None, recommendations_enabled: bool | None = None, instance_duration_in_days: int | None = None, type_settings_recurrence_range_type: str | _models.AccessReviewRecurrenceRangeType | None = None, number_of_occurrences: int | None = None, start_date: datetime | None = None, end_date: datetime | None = None, type_settings_recurrence_pattern_type: str | _models.AccessReviewRecurrencePatternType | None = None, interval: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
display_name
str

The display name for the schedule definition.

description_for_admins
str

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

description_for_reviewers
str

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

reviewers

This is the collection of reviewers.

instances

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

mail_notifications_enabled

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

reminder_notifications_enabled

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

default_decision_enabled

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

justification_required_on_approval

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

default_decision

This specifies the behavior for the autoReview feature when an access review completes. Known values are: "Approve", "Deny", and "Recommendation".

auto_apply_decisions_enabled

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.

recommendations_enabled

Flag to indicate whether showing recommendations to reviewers is enabled.

instance_duration_in_days
int

The duration in days for an instance.

type_settings_recurrence_range_type

The recurrence range type. The possible values are: endDate, noEnd, numbered. Known values are: "endDate", "noEnd", and "numbered".

number_of_occurrences
int

The number of times to repeat the access review. Required and must be positive if type is numbered.

start_date

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

end_date

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

type_settings_recurrence_pattern_type

The recurrence type : weekly, monthly, etc. Known values are: "weekly" and "absoluteMonthly".

interval
int

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

Variables

Name Description
display_name
str

The display name for the schedule definition.

status

This read-only field specifies the status of an accessReview. Known values are: "NotStarted", "InProgress", "Completed", "Applied", "Initializing", "Applying", "Completing", "Scheduled", "AutoReviewing", "AutoReviewed", and "Starting".

description_for_admins
str

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

description_for_reviewers
str

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

reviewers

This is the collection of reviewers.

reviewers_type

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. Known values are: "Assigned", "Self", and "Managers".

instances

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

resource_id
str

ResourceId in which this review is getting created.

role_definition_id
str

This is used to indicate the role being reviewed.

principal_type_scope_principal_type

The identity type user/servicePrincipal to review. Known values are: "user" and "servicePrincipal".

mail_notifications_enabled

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

reminder_notifications_enabled

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

default_decision_enabled

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

justification_required_on_approval

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

default_decision

This specifies the behavior for the autoReview feature when an access review completes. Known values are: "Approve", "Deny", and "Recommendation".

auto_apply_decisions_enabled

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.

recommendations_enabled

Flag to indicate whether showing recommendations to reviewers is enabled.

instance_duration_in_days
int

The duration in days for an instance.

type_settings_recurrence_range_type

The recurrence range type. The possible values are: endDate, noEnd, numbered. Known values are: "endDate", "noEnd", and "numbered".

number_of_occurrences
int

The number of times to repeat the access review. Required and must be positive if type is numbered.

start_date

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

end_date

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

type_settings_recurrence_pattern_type

The recurrence type : weekly, monthly, etc. Known values are: "weekly" and "absoluteMonthly".

interval
int

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

principal_id
str

The identity id.

principal_type_created_by_principal_type

The identity type : user/servicePrincipal. Known values are: "user" and "servicePrincipal".

principal_name
str

The identity display name.

user_principal_name
str

The user principal name(if valid).