Compartilhar via


AccessReviewScheduleSettings Class

Settings of an Access Review.

Inheritance
azure.mgmt.authorization._serialization.Model
AccessReviewScheduleSettings

Constructor

AccessReviewScheduleSettings(*, 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, recommendation_look_back_duration: timedelta | None = None, instance_duration_in_days: int | None = None, type_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_recurrence_pattern_type: str | _models.AccessReviewRecurrencePatternType | None = None, interval: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
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.

recommendation_look_back_duration

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.This) code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).

instance_duration_in_days
int

The duration in days for an instance.

type_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_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
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.

recommendation_look_back_duration

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.This) code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).

instance_duration_in_days
int

The duration in days for an instance.

type_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_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.