AccessReviewDecisionProperties Class

Approval Step.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
AccessReviewDecisionProperties

Constructor

AccessReviewDecisionProperties(*, decision: Optional[Union[str, azure.mgmt.authorization.v2021_03_01_preview.models._authorization_management_client_enums.AccessReviewResult]] = None, justification: Optional[str] = None, **kwargs)

Parameters

decision
str or AccessReviewResult
Required

The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny. Possible values include: "Approve", "Deny", "NotReviewed", "DontKnow", "NotNotified".

justification
str
Required

Justification provided by approvers for their action.

type_resource_type
str or DecisionResourceType
Required

The type of resource.Constant filled by server. Possible values include: "azureRole".

type_principal_type
str or DecisionTargetType
Required

The type of decision target : User/ServicePrincipal.Constant filled by server. Possible values include: "user", "servicePrincipal".

Variables

recommendation
str or AccessRecommendationType

The feature- generated recommendation shown to the reviewer. Possible values include: "Approve", "Deny", "NoInfoAvailable".

reviewed_date_time
datetime

Date Time when a decision was taken.

apply_result
str or AccessReviewApplyResult

The outcome of applying the decision. Possible values include: "New", "Applying", "AppliedSuccessfully", "AppliedWithUnknownFailure", "AppliedSuccessfullyButObjectNotFound", "ApplyNotSupported".

applied_date_time
datetime

The date and time when the review decision was applied.

principal_id_applied_by_principal_id
str

The identity id.

principal_type_applied_by_principal_type
str or AccessReviewActorIdentityType

The identity type : user/servicePrincipal. Possible values include: "user", "servicePrincipal".

principal_name_applied_by_principal_name
str

The identity display name.

user_principal_name_applied_by_user_principal_name
str

The user principal name(if valid).

principal_id_reviewed_by_principal_id
str

The identity id.

principal_type_reviewed_by_principal_type
str or AccessReviewActorIdentityType

The identity type : user/servicePrincipal. Possible values include: "user", "servicePrincipal".

principal_name_reviewed_by_principal_name
str

The identity display name.

user_principal_name_reviewed_by_user_principal_name
str

The user principal name(if valid).

id_resource_id
str

The id of resource associated with a decision record.

display_name_resource_display_name
str

The display name of resource associated with a decision record.

id_principal_id
str

The id of principal whose access was reviewed.

display_name_principal_display_name
str

The display name of the user whose access was reviewed.