AccessReviewDefaultSettingsInner Class

public final class AccessReviewDefaultSettingsInner
extends ProxyResource

Access Review Default Settings.

Method Summary

Modifier and Type Method and Description
Boolean autoApplyDecisionsEnabled()

Get the autoApplyDecisionsEnabled property: Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled.

DefaultDecisionType defaultDecision()

Get the defaultDecision property: This specifies the behavior for the autoReview feature when an access review completes.

Boolean defaultDecisionEnabled()

Get the defaultDecisionEnabled property: Flag to indicate whether reviewers are required to provide a justification when reviewing access.

OffsetDateTime endDate()

Get the endDate property: The DateTime when the review is scheduled to end.

static AccessReviewDefaultSettingsInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDefaultSettingsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Integer instanceDurationInDays()

Get the instanceDurationInDays property: The duration in days for an instance.

Integer interval()

Get the interval property: The interval for recurrence.

Boolean justificationRequiredOnApproval()

Get the justificationRequiredOnApproval property: Flag to indicate whether the reviewer is required to pass justification when recording a decision.

Boolean mailNotificationsEnabled()

Get the mailNotificationsEnabled property: Flag to indicate whether sending mails to reviewers and the review creator is enabled.

String name()

Get the name property: The name of the resource.

Integer numberOfOccurrences()

Get the numberOfOccurrences property: The number of times to repeat the access review.

Duration recommendationLookBackDuration()

Get the recommendationLookBackDuration property: 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.

Boolean recommendationsEnabled()

Get the recommendationsEnabled property: Flag to indicate whether showing recommendations to reviewers is enabled.

Boolean reminderNotificationsEnabled()

Get the reminderNotificationsEnabled property: Flag to indicate whether sending reminder emails to reviewers are enabled.

OffsetDateTime startDate()

Get the startDate property: The DateTime when the review is scheduled to be start.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

AccessReviewRecurrencePatternType typePropertiesType()

Get the type property: The recurrence type : weekly, monthly, etc.

AccessReviewRecurrenceRangeType typeRangeType()

Get the typeRangeType property: The recurrence range type.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

autoApplyDecisionsEnabled

public Boolean autoApplyDecisionsEnabled()

Get the autoApplyDecisionsEnabled property: 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.

Returns:

the autoApplyDecisionsEnabled value.

defaultDecision

public DefaultDecisionType defaultDecision()

Get the defaultDecision property: This specifies the behavior for the autoReview feature when an access review completes.

Returns:

the defaultDecision value.

defaultDecisionEnabled

public Boolean defaultDecisionEnabled()

Get the defaultDecisionEnabled property: Flag to indicate whether reviewers are required to provide a justification when reviewing access.

Returns:

the defaultDecisionEnabled value.

endDate

public OffsetDateTime endDate()

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

Returns:

the endDate value.

fromJson

public static AccessReviewDefaultSettingsInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDefaultSettingsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessReviewDefaultSettingsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AccessReviewDefaultSettingsInner.id()

Returns:

the id value.

instanceDurationInDays

public Integer instanceDurationInDays()

Get the instanceDurationInDays property: The duration in days for an instance.

Returns:

the instanceDurationInDays value.

interval

public Integer interval()

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

Returns:

the interval value.

justificationRequiredOnApproval

public Boolean justificationRequiredOnApproval()

Get the justificationRequiredOnApproval property: Flag to indicate whether the reviewer is required to pass justification when recording a decision.

Returns:

the justificationRequiredOnApproval value.

mailNotificationsEnabled

public Boolean mailNotificationsEnabled()

Get the mailNotificationsEnabled property: Flag to indicate whether sending mails to reviewers and the review creator is enabled.

Returns:

the mailNotificationsEnabled value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AccessReviewDefaultSettingsInner.name()

Returns:

the name value.

numberOfOccurrences

public Integer numberOfOccurrences()

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

Returns:

the numberOfOccurrences value.

recommendationLookBackDuration

public Duration recommendationLookBackDuration()

Get the recommendationLookBackDuration property: 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)).

Returns:

the recommendationLookBackDuration value.

recommendationsEnabled

public Boolean recommendationsEnabled()

Get the recommendationsEnabled property: Flag to indicate whether showing recommendations to reviewers is enabled.

Returns:

the recommendationsEnabled value.

reminderNotificationsEnabled

public Boolean reminderNotificationsEnabled()

Get the reminderNotificationsEnabled property: Flag to indicate whether sending reminder emails to reviewers are enabled.

Returns:

the reminderNotificationsEnabled value.

startDate

public OffsetDateTime startDate()

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

Returns:

the startDate value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AccessReviewDefaultSettingsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AccessReviewDefaultSettingsInner.type()

Returns:

the type value.

typePropertiesType

public AccessReviewRecurrencePatternType typePropertiesType()

Get the type property: The recurrence type : weekly, monthly, etc.

Returns:

the type value.

typeRangeType

public AccessReviewRecurrenceRangeType typeRangeType()

Get the typeRangeType property: The recurrence range type. The possible values are: endDate, noEnd, numbered.

Returns:

the typeRangeType value.

validate

public void validate()

Validates the instance.

Applies to