AccessReviewDecision Class

Access Review.

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

Inheritance
AccessReviewDecision

Constructor

AccessReviewDecision(*, 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_properties_resource_type
str or DecisionResourceType
Required

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

type_properties_principal_type
str or DecisionTargetType
Required

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

Variables

id
str

The access review decision id.

name
str

The access review decision name.

type
str

The resource type.

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_properties_applied_by_principal_id
str

The identity id.

principal_type_properties_applied_by_principal_type
str or AccessReviewActorIdentityType

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

principal_name_properties_applied_by_principal_name
str

The identity display name.

user_principal_name_properties_applied_by_user_principal_name
str

The user principal name(if valid).

principal_id_properties_reviewed_by_principal_id
str

The identity id.

principal_type_properties_reviewed_by_principal_type
str or AccessReviewActorIdentityType

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

principal_name_properties_reviewed_by_principal_name
str

The identity display name.

user_principal_name_properties_reviewed_by_user_principal_name
str

The user principal name(if valid).

id_properties_resource_id
str

The id of resource associated with a decision record.

display_name_properties_resource_display_name
str

The display name of resource associated with a decision record.

id_properties_principal_id
str

The id of principal whose access was reviewed.

display_name_properties_principal_display_name
str

The display name of the user whose access was reviewed.