Access Review Schedule Definition By Id Args
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
Properties
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.
This is the collection of backup reviewers.
This specifies the behavior for the autoReview feature when an access review completes.
Flag to indicate whether reviewers are required to provide a justification when reviewing access.
The description provided by the access review creator and visible to admins.
The description provided by the access review creator to be shown to reviewers.
The display name for the schedule definition.
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))
The duration in days for an instance.
This is the collection of instances returned when one does an expand on it.
Flag to indicate whether the reviewer is required to pass justification when recording a decision.
Flag to indicate whether sending mails to reviewers and the review creator is enabled.
The number of times to repeat the access review. Required and must be positive if type is numbered.
Flag to indicate whether showing recommendations to reviewers is enabled.
Flag to indicate whether sending reminder emails to reviewers are enabled.
This is the collection of reviewers.
The id of the access review schedule definition.
The recurrence range type. The possible values are: endDate, noEnd, numbered.