RoleAssignmentApprovalStep Class

Role assignment approval stage properties.

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

Inheritance
RoleAssignmentApprovalStep

Constructor

RoleAssignmentApprovalStep(*, display_name: Optional[str] = None, review_result: Optional[Union[str, azure.mgmt.authorization.v2021_01_01_preview.models._authorization_management_client_enums.RoleAssignmentApprovalStepReviewResult]] = None, justification: Optional[str] = None, **kwargs)

Parameters

display_name
str
Required

The display name for the approval stage.

review_result
str or RoleAssignmentApprovalStepReviewResult
Required

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

justification
str
Required

Justification provided by approvers for their action.

Variables

id
str

The role assignment approval stage id.

name
str

The role assignment approval stage name.

type
str

The resource type.

status
str or RoleAssignmentApprovalStepStatus

This read-only field specifies the status of an approval. Possible values include: "NotStarted", "InProgress", "Completed", "Expired", "Initializing", "Escalating", "Completing", "Escalated".

assigned_to_me
bool

Indicates whether the stage is assigned to me for review.

reviewed_date_time
datetime

Date Time when a decision was taken.

principal_id
str

The identity id.

principal_type
str or RoleAssignmentApprovalActorIdentityType

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

principal_name
str

The identity display name.

user_principal_name
str

The user principal name(if valid).