AccessReviewScheduleSettings Class

Definition

Settings of an Access Review.

public class AccessReviewScheduleSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.Models.AccessReviewScheduleSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.Models.AccessReviewScheduleSettings>
type AccessReviewScheduleSettings = class
    interface IJsonModel<AccessReviewScheduleSettings>
    interface IPersistableModel<AccessReviewScheduleSettings>
Public Class AccessReviewScheduleSettings
Implements IJsonModel(Of AccessReviewScheduleSettings), IPersistableModel(Of AccessReviewScheduleSettings)
Inheritance
AccessReviewScheduleSettings
Implements

Constructors

Name Description
AccessReviewScheduleSettings()

Initializes a new instance of AccessReviewScheduleSettings.

Properties

Name Description
DefaultDecision

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

InstanceDurationInDays

The duration in days for an instance.

IsAutoApplyDecisionsEnabled

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.

IsDefaultDecisionEnabled

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

IsJustificationRequiredOnApproval

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

IsMailNotificationsEnabled

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

IsRecommendationsEnabled

Flag to indicate whether showing recommendations to reviewers is enabled.

IsReminderNotificationsEnabled

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

Pattern

Access Review schedule definition recurrence pattern.

Range

Access Review schedule definition recurrence range.

RecommendationLookBackDuration

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)).

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AccessReviewScheduleSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AccessReviewScheduleSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AccessReviewScheduleSettings>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AccessReviewScheduleSettings>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AccessReviewScheduleSettings>.Write(ModelReaderWriterOptions)

Applies to