ScopeAccessReviewHistoryDefinitionByIdArgs

data class ScopeAccessReviewHistoryDefinitionByIdArgs(val decisions: Output<List<Either<String, AccessReviewResult>>>? = null, val displayName: Output<String>? = null, val endDate: Output<String>? = null, val historyDefinitionId: Output<String>? = null, val instances: Output<List<AccessReviewHistoryInstanceArgs>>? = null, val interval: Output<Int>? = null, val numberOfOccurrences: Output<Int>? = null, val scope: Output<String>? = null, val scopes: Output<List<AccessReviewScopeArgs>>? = null, val startDate: Output<String>? = null, val type: Output<Either<String, AccessReviewRecurrenceRangeType>>? = null) : ConvertibleToJava<ScopeAccessReviewHistoryDefinitionByIdArgs>

Access Review History Definition. API Version: 2021-12-01-preview.

Example Usage

PutAccessReviewHistoryDefinition

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var scopeAccessReviewHistoryDefinitionById = new AzureNative.Authorization.ScopeAccessReviewHistoryDefinitionById("scopeAccessReviewHistoryDefinitionById", new()
{
HistoryDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a",
Scope = "subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a",
});
});
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.NewScopeAccessReviewHistoryDefinitionById(ctx, "scopeAccessReviewHistoryDefinitionById", &authorization.ScopeAccessReviewHistoryDefinitionByIdArgs{
HistoryDefinitionId: pulumi.String("44724910-d7a5-4c29-b28f-db73e717165a"),
Scope: pulumi.String("subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a"),
})
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.ScopeAccessReviewHistoryDefinitionById;
import com.pulumi.azurenative.authorization.ScopeAccessReviewHistoryDefinitionByIdArgs;
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 scopeAccessReviewHistoryDefinitionById = new ScopeAccessReviewHistoryDefinitionById("scopeAccessReviewHistoryDefinitionById", ScopeAccessReviewHistoryDefinitionByIdArgs.builder()
.historyDefinitionId("44724910-d7a5-4c29-b28f-db73e717165a")
.scope("subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a")
.build());
}
}

Import

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

$ pulumi import azure-native:authorization:ScopeAccessReviewHistoryDefinitionById 44724910-d7a5-4c29-b28f-db73e717165a /subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/44724910-d7a5-4c29-b28f-db73e717165a

Constructors

constructor(decisions: Output<List<Either<String, AccessReviewResult>>>? = null, displayName: Output<String>? = null, endDate: Output<String>? = null, historyDefinitionId: Output<String>? = null, instances: Output<List<AccessReviewHistoryInstanceArgs>>? = null, interval: Output<Int>? = null, numberOfOccurrences: Output<Int>? = null, scope: Output<String>? = null, scopes: Output<List<AccessReviewScopeArgs>>? = null, startDate: Output<String>? = null, type: Output<Either<String, AccessReviewRecurrenceRangeType>>? = null)

Properties

Link copied to clipboard
val decisions: Output<List<Either<String, AccessReviewResult>>>? = null

Collection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.

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

The display name for the history 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 historyDefinitionId: Output<String>? = null

The id of the access review history definition.

Link copied to clipboard

Set of access review history instances for this history definition.

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

The scope of the resource.

Link copied to clipboard
val scopes: Output<List<AccessReviewScopeArgs>>? = null

A collection of scopes used when selecting review history data

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(): ScopeAccessReviewHistoryDefinitionByIdArgs