ScopeAccessReviewHistoryDefinitionById

class ScopeAccessReviewHistoryDefinitionById : KotlinCustomResource

Access Review History Definition. Uses Azure REST API version 2021-12-01-preview. In version 1.x of the Azure Native provider, it used 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/v2"
"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 /{scope}/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId}

Properties

Link copied to clipboard
val createdDateTime: Output<String>

Date time when history definition was created

Link copied to clipboard
val decisions: Output<List<String>>?

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>?

The display name for the history definition.

Link copied to clipboard
val endDate: Output<String>?

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Set of access review history instances for this history definition.

Link copied to clipboard
val interval: Output<Int>?

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

Link copied to clipboard
val name: Output<String>

The access review history definition unique id.

Link copied to clipboard
val numberOfOccurrences: Output<Int>?

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

Link copied to clipboard
val principalId: Output<String>

The identity id

Link copied to clipboard
val principalName: Output<String>

The identity display name

Link copied to clipboard
val principalType: Output<String>

The identity type : user/servicePrincipal

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.

Link copied to clipboard

Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.

Link copied to clipboard

A collection of scopes used when selecting review history data

Link copied to clipboard
val startDate: Output<String>?

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 status: Output<String>

This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error.

Link copied to clipboard
val type: Output<String>

The resource type.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The user principal name(if valid)