AccessRequestHistorySummary¶
-
class
oci.operator_access_control.models.AccessRequestHistorySummary(**kwargs)¶ Bases:
objectSummary of access request status.
Attributes
LIFECYCLE_STATE_APPROVALWAITINGA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_APPROVEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_APPROVEDFORFUTUREA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_CLOSEFAILEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_COMPLETEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_COMPLETINGA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_CREATEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_DEPLOYEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_DEPLOYFAILEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_EXPIREDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_EXPIRYFAILEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_EXTENDEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_EXTENDINGA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_EXTENSIONREJECTEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_INREVIEWA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_MOREINFOA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_PREAPPROVEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_REJECTEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_REVOKEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_REVOKEFAILEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_REVOKINGA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_UNDEPLOYEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. LIFECYCLE_STATE_UNDEPLOYFAILEDA constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. actions_listGets the actions_list of this AccessRequestHistorySummary. descriptionGets the description of this AccessRequestHistorySummary. durationGets the duration of this AccessRequestHistorySummary. is_auto_approvedGets the is_auto_approved of this AccessRequestHistorySummary. lifecycle_stateGets the lifecycle_state of this AccessRequestHistorySummary. time_of_actionGets the time_of_action of this AccessRequestHistorySummary. user_idGets the user_id of this AccessRequestHistorySummary. Methods
__init__(**kwargs)Initializes a new AccessRequestHistorySummary object with values from keyword arguments. -
LIFECYCLE_STATE_APPROVALWAITING= 'APPROVALWAITING'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “APPROVALWAITING”
-
LIFECYCLE_STATE_APPROVED= 'APPROVED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “APPROVED”
-
LIFECYCLE_STATE_APPROVEDFORFUTURE= 'APPROVEDFORFUTURE'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “APPROVEDFORFUTURE”
-
LIFECYCLE_STATE_CLOSEFAILED= 'CLOSEFAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “CLOSEFAILED”
-
LIFECYCLE_STATE_COMPLETED= 'COMPLETED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “COMPLETED”
-
LIFECYCLE_STATE_COMPLETING= 'COMPLETING'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “COMPLETING”
-
LIFECYCLE_STATE_CREATED= 'CREATED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “CREATED”
-
LIFECYCLE_STATE_DEPLOYED= 'DEPLOYED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “DEPLOYED”
-
LIFECYCLE_STATE_DEPLOYFAILED= 'DEPLOYFAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “DEPLOYFAILED”
-
LIFECYCLE_STATE_EXPIRED= 'EXPIRED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “EXPIRED”
-
LIFECYCLE_STATE_EXPIRYFAILED= 'EXPIRYFAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “EXPIRYFAILED”
-
LIFECYCLE_STATE_EXTENDED= 'EXTENDED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “EXTENDED”
-
LIFECYCLE_STATE_EXTENDING= 'EXTENDING'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “EXTENDING”
-
LIFECYCLE_STATE_EXTENSIONREJECTED= 'EXTENSIONREJECTED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “EXTENSIONREJECTED”
-
LIFECYCLE_STATE_INREVIEW= 'INREVIEW'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “INREVIEW”
-
LIFECYCLE_STATE_MOREINFO= 'MOREINFO'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “MOREINFO”
-
LIFECYCLE_STATE_PREAPPROVED= 'PREAPPROVED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “PREAPPROVED”
-
LIFECYCLE_STATE_REJECTED= 'REJECTED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “REJECTED”
-
LIFECYCLE_STATE_REVOKED= 'REVOKED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “REVOKED”
-
LIFECYCLE_STATE_REVOKEFAILED= 'REVOKEFAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “REVOKEFAILED”
-
LIFECYCLE_STATE_REVOKING= 'REVOKING'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “REVOKING”
-
LIFECYCLE_STATE_UNDEPLOYED= 'UNDEPLOYED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “UNDEPLOYED”
-
LIFECYCLE_STATE_UNDEPLOYFAILED= 'UNDEPLOYFAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequestHistorySummary. This constant has a value of “UNDEPLOYFAILED”
-
__init__(**kwargs)¶ Initializes a new AccessRequestHistorySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - lifecycle_state (str) – The value to assign to the lifecycle_state property of this AccessRequestHistorySummary. Allowed values for this property are: “CREATED”, “APPROVALWAITING”, “PREAPPROVED”, “APPROVED”, “MOREINFO”, “REJECTED”, “DEPLOYED”, “DEPLOYFAILED”, “UNDEPLOYED”, “UNDEPLOYFAILED”, “CLOSEFAILED”, “REVOKEFAILED”, “EXPIRYFAILED”, “REVOKING”, “REVOKED”, “EXTENDING”, “EXTENDED”, “EXTENSIONREJECTED”, “COMPLETING”, “COMPLETED”, “EXPIRED”, “APPROVEDFORFUTURE”, “INREVIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- user_id (str) – The value to assign to the user_id property of this AccessRequestHistorySummary.
- description (str) – The value to assign to the description property of this AccessRequestHistorySummary.
- duration (int) – The value to assign to the duration property of this AccessRequestHistorySummary.
- is_auto_approved (bool) – The value to assign to the is_auto_approved property of this AccessRequestHistorySummary.
- actions_list (list[str]) – The value to assign to the actions_list property of this AccessRequestHistorySummary.
- time_of_action (datetime) – The value to assign to the time_of_action property of this AccessRequestHistorySummary.
-
actions_list¶ Gets the actions_list of this AccessRequestHistorySummary. List of operator actions for which approvals were requested by the operator.
Returns: The actions_list of this AccessRequestHistorySummary. Return type: list[str]
-
description¶ Gets the description of this AccessRequestHistorySummary. Reason or description about the cause of change.
Returns: The description of this AccessRequestHistorySummary. Return type: str
-
duration¶ Gets the duration of this AccessRequestHistorySummary. Duration for approval of request or extension depending on the type of action.
Returns: The duration of this AccessRequestHistorySummary. Return type: int
-
is_auto_approved¶ Gets the is_auto_approved of this AccessRequestHistorySummary. Whether the access request was automatically approved.
Returns: The is_auto_approved of this AccessRequestHistorySummary. Return type: bool
-
lifecycle_state¶ Gets the lifecycle_state of this AccessRequestHistorySummary. The current state of the AccessRequest.
Allowed values for this property are: “CREATED”, “APPROVALWAITING”, “PREAPPROVED”, “APPROVED”, “MOREINFO”, “REJECTED”, “DEPLOYED”, “DEPLOYFAILED”, “UNDEPLOYED”, “UNDEPLOYFAILED”, “CLOSEFAILED”, “REVOKEFAILED”, “EXPIRYFAILED”, “REVOKING”, “REVOKED”, “EXTENDING”, “EXTENDED”, “EXTENSIONREJECTED”, “COMPLETING”, “COMPLETED”, “EXPIRED”, “APPROVEDFORFUTURE”, “INREVIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this AccessRequestHistorySummary. Return type: str
-
time_of_action¶ Gets the time_of_action of this AccessRequestHistorySummary. Time when the respective action happened in `RFC 3339`__timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
Returns: The time_of_action of this AccessRequestHistorySummary. Return type: datetime
-
user_id¶ Gets the user_id of this AccessRequestHistorySummary. Approver who modified the access request.
Returns: The user_id of this AccessRequestHistorySummary. Return type: str
-