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 endDate: Output<String>? = null, val inactiveDuration: Output<String>? = 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 numberOfOccurrences: Output<Int>? = null, val recommendationsEnabled: Output<Boolean>? = null, val reminderNotificationsEnabled: Output<Boolean>? = null, val reviewers: Output<List<AccessReviewReviewerArgs>>? = null, val scheduleDefinitionId: Output<String>? = null, val startDate: Output<String>? = null, val type: Output<Either<String, AccessReviewRecurrenceRangeType>>? = null) : ConvertibleToJava<AccessReviewScheduleDefinitionByIdArgs>

Access Review Schedule Definition. API Version: 2021-03-01-preview.

Example Usage

PutAccessReview

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var accessReviewScheduleDefinitionById = new AzureNative.Authorization.AccessReviewScheduleDefinitionById("accessReviewScheduleDefinitionById", new()
{
ScheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d",
});
});
package main
import (
authorization "github.com/pulumi/pulumi-azure-native-sdk/authorization"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authorization.NewAccessReviewScheduleDefinitionById(ctx, "accessReviewScheduleDefinitionById", &authorization.AccessReviewScheduleDefinitionByIdArgs{
ScheduleDefinitionId: pulumi.String("fa73e90b-5bf1-45fd-a182-35ce5fc0674d"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.authorization.AccessReviewScheduleDefinitionById;
import com.pulumi.azurenative.authorization.AccessReviewScheduleDefinitionByIdArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var accessReviewScheduleDefinitionById = new AccessReviewScheduleDefinitionById("accessReviewScheduleDefinitionById", AccessReviewScheduleDefinitionByIdArgs.builder()
.scheduleDefinitionId("fa73e90b-5bf1-45fd-a182-35ce5fc0674d")
.build());
}
}

Import

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

$ pulumi import azure-native:authorization:AccessReviewScheduleDefinitionById fa73e90b-5bf1-45fd-a182-35ce5fc0674d /subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d

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, endDate: Output<String>? = null, inactiveDuration: Output<String>? = null, instanceDurationInDays: Output<Int>? = null, instances: Output<List<AccessReviewInstanceArgs>>? = null, interval: Output<Int>? = null, justificationRequiredOnApproval: Output<Boolean>? = null, mailNotificationsEnabled: Output<Boolean>? = null, numberOfOccurrences: Output<Int>? = null, recommendationsEnabled: Output<Boolean>? = null, reminderNotificationsEnabled: Output<Boolean>? = null, reviewers: Output<List<AccessReviewReviewerArgs>>? = null, scheduleDefinitionId: Output<String>? = null, startDate: Output<String>? = null, type: Output<Either<String, AccessReviewRecurrenceRangeType>>? = 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 endDate: Output<String>? = null

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

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 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
val numberOfOccurrences: Output<Int>? = null

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

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 startDate: Output<String>? = null

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

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

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

Functions

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