AccessReviewScheduleDefinitionByIdArgs

data class AccessReviewScheduleDefinitionByIdArgs(val autoApplyDecisionsEnabled: Output<Boolean>? = null, val backupReviewers: Output<List<AccessReviewReviewerArgs>>? = null, val defaultDecision: Output<Either<String, DefaultDecisionType>>? = null, val defaultDecisionEnabled: Output<Boolean>? = null, val descriptionForAdmins: Output<String>? = null, val descriptionForReviewers: Output<String>? = null, val displayName: Output<String>? = null, val excludeResourceId: Output<String>? = null, val excludeRoleDefinitionId: Output<String>? = null, val expandNestedMemberships: Output<Boolean>? = null, val inactiveDuration: Output<String>? = null, val includeAccessBelowResource: Output<Boolean>? = null, val includeInheritedAccess: Output<Boolean>? = null, val instanceDurationInDays: Output<Int>? = null, val instances: Output<List<AccessReviewInstanceArgs>>? = null, val interval: Output<Int>? = null, val justificationRequiredOnApproval: Output<Boolean>? = null, val mailNotificationsEnabled: Output<Boolean>? = null, val range: Output<AccessReviewRecurrenceRangeArgs>? = null, val recommendationLookBackDuration: Output<String>? = null, val recommendationsEnabled: Output<Boolean>? = null, val reminderNotificationsEnabled: Output<Boolean>? = null, val reviewers: Output<List<AccessReviewReviewerArgs>>? = null, val scheduleDefinitionId: Output<String>? = null, val type: Output<Either<String, AccessReviewRecurrencePatternType>>? = null) : ConvertibleToJava<AccessReviewScheduleDefinitionByIdArgs>

Access Review Schedule Definition. Uses Azure REST API version 2021-12-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-12-01-preview. Other available API versions: 2021-03-01-preview, 2021-07-01-preview, 2021-11-16-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:authorization:AccessReviewScheduleDefinitionById myresource1 /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}

Constructors

Link copied to clipboard
constructor(autoApplyDecisionsEnabled: Output<Boolean>? = null, backupReviewers: Output<List<AccessReviewReviewerArgs>>? = null, defaultDecision: Output<Either<String, DefaultDecisionType>>? = null, defaultDecisionEnabled: Output<Boolean>? = null, descriptionForAdmins: Output<String>? = null, descriptionForReviewers: Output<String>? = null, displayName: Output<String>? = null, excludeResourceId: Output<String>? = null, excludeRoleDefinitionId: Output<String>? = null, expandNestedMemberships: Output<Boolean>? = null, inactiveDuration: Output<String>? = null, includeAccessBelowResource: Output<Boolean>? = null, includeInheritedAccess: Output<Boolean>? = null, instanceDurationInDays: Output<Int>? = null, instances: Output<List<AccessReviewInstanceArgs>>? = null, interval: Output<Int>? = null, justificationRequiredOnApproval: Output<Boolean>? = null, mailNotificationsEnabled: Output<Boolean>? = null, range: Output<AccessReviewRecurrenceRangeArgs>? = null, recommendationLookBackDuration: Output<String>? = null, recommendationsEnabled: Output<Boolean>? = null, reminderNotificationsEnabled: Output<Boolean>? = null, reviewers: Output<List<AccessReviewReviewerArgs>>? = null, scheduleDefinitionId: Output<String>? = null, type: Output<Either<String, AccessReviewRecurrencePatternType>>? = null)

Properties

Link copied to clipboard
val autoApplyDecisionsEnabled: Output<Boolean>? = null

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: Output<Either<String, DefaultDecisionType>>? = null

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

Link copied to clipboard
val defaultDecisionEnabled: Output<Boolean>? = null

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

Link copied to clipboard
val descriptionForAdmins: Output<String>? = null

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

Link copied to clipboard
val descriptionForReviewers: Output<String>? = null

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

Link copied to clipboard
val displayName: Output<String>? = null

The display name for the schedule definition.

Link copied to clipboard
val excludeResourceId: Output<String>? = null

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

Link copied to clipboard
val excludeRoleDefinitionId: Output<String>? = null

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

Link copied to clipboard
val expandNestedMemberships: Output<Boolean>? = null

Flag to indicate whether to expand nested memberships or not.

Link copied to clipboard
val inactiveDuration: Output<String>? = null

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
val includeAccessBelowResource: Output<Boolean>? = null

Flag to indicate whether to expand nested memberships or not.

Link copied to clipboard
val includeInheritedAccess: Output<Boolean>? = null

Flag to indicate whether to expand nested memberships or not.

Link copied to clipboard
val instanceDurationInDays: Output<Int>? = null

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: Output<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
val mailNotificationsEnabled: Output<Boolean>? = null

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

Link copied to clipboard

Access Review schedule definition recurrence range.

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
val recommendationsEnabled: Output<Boolean>? = null

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

This is the collection of reviewers.

Link copied to clipboard
val scheduleDefinitionId: Output<String>? = null

The id of the access review schedule definition.

Link copied to clipboard
val type: Output<Either<String, AccessReviewRecurrencePatternType>>? = null

The recurrence type : weekly, monthly, etc.

Functions

Link copied to clipboard
open override fun toJava(): AccessReviewScheduleDefinitionByIdArgs