UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

112 lines (111 loc) 3.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get access review history definition by definition Id * * Uses Azure REST API version 2021-12-01-preview. */ export declare function getScopeAccessReviewHistoryDefinitionById(args: GetScopeAccessReviewHistoryDefinitionByIdArgs, opts?: pulumi.InvokeOptions): Promise<GetScopeAccessReviewHistoryDefinitionByIdResult>; export interface GetScopeAccessReviewHistoryDefinitionByIdArgs { /** * The id of the access review history definition. */ historyDefinitionId: string; /** * The scope of the resource. */ scope: string; } /** * Access Review History Definition. */ export interface GetScopeAccessReviewHistoryDefinitionByIdResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Date time when history definition was created */ readonly createdDateTime: 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. */ readonly decisions?: string[]; /** * The display name for the history definition. */ readonly displayName?: string; /** * The access review history definition id. */ readonly id: string; /** * Set of access review history instances for this history definition. */ readonly instances?: outputs.authorization.AccessReviewHistoryInstanceResponse[]; /** * The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly. */ readonly interval?: number; /** * The access review history definition unique id. */ readonly name: string; /** * The identity id */ readonly principalId: string; /** * The identity display name */ readonly principalName: string; /** * The identity type : user/servicePrincipal */ readonly principalType: string; /** * Access Review History Definition recurrence settings. */ readonly range?: outputs.authorization.AccessReviewRecurrenceRangeResponse; /** * 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. */ readonly reviewHistoryPeriodEndDateTime: string; /** * 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. */ readonly reviewHistoryPeriodStartDateTime: string; /** * A collection of scopes used when selecting review history data */ readonly scopes?: outputs.authorization.AccessReviewScopeResponse[]; /** * This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error. */ readonly status: string; /** * The resource type. */ readonly type: string; /** * The user principal name(if valid) */ readonly userPrincipalName: string; } /** * Get access review history definition by definition Id * * Uses Azure REST API version 2021-12-01-preview. */ export declare function getScopeAccessReviewHistoryDefinitionByIdOutput(args: GetScopeAccessReviewHistoryDefinitionByIdOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScopeAccessReviewHistoryDefinitionByIdResult>; export interface GetScopeAccessReviewHistoryDefinitionByIdOutputArgs { /** * The id of the access review history definition. */ historyDefinitionId: pulumi.Input<string>; /** * The scope of the resource. */ scope: pulumi.Input<string>; }