AccessRequest¶
-
class
oci.lockbox.models.
AccessRequest
(**kwargs)¶ Bases:
object
An access request to a customer’s resource. An access request is a subsidiary resource of the Lockbox entity.
Attributes
LIFECYCLE_STATE_CANCELED
A constant which can be used with the lifecycle_state property of a AccessRequest. LIFECYCLE_STATE_CANCELING
A constant which can be used with the lifecycle_state property of a AccessRequest. LIFECYCLE_STATE_DETAILS_APPROVED
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_AUTO_APPROVED
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_CANCELLING_ACCESS
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_DENIED
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_ERROR
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_EXPIRED
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_PROCESSING
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_REVOKED
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_DETAILS_WAITING_FOR_APPROVALS
A constant which can be used with the lifecycle_state_details property of a AccessRequest. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a AccessRequest. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a AccessRequest. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a AccessRequest. LIFECYCLE_STATE_WAITING
A constant which can be used with the lifecycle_state property of a AccessRequest. access_duration
[Required] Gets the access_duration of this AccessRequest. activity_logs
[Required] Gets the activity_logs of this AccessRequest. context
Gets the context of this AccessRequest. description
[Required] Gets the description of this AccessRequest. display_name
[Required] Gets the display_name of this AccessRequest. id
[Required] Gets the id of this AccessRequest. lifecycle_state
[Required] Gets the lifecycle_state of this AccessRequest. lifecycle_state_details
[Required] Gets the lifecycle_state_details of this AccessRequest. lockbox_id
[Required] Gets the lockbox_id of this AccessRequest. reminder_count
[Required] Gets the reminder_count of this AccessRequest. requestor_id
[Required] Gets the requestor_id of this AccessRequest. requestor_location
[Required] Gets the requestor_location of this AccessRequest. ticket_number
Gets the ticket_number of this AccessRequest. time_created
[Required] Gets the time_created of this AccessRequest. time_expired
[Required] Gets the time_expired of this AccessRequest. time_reminded
[Required] Gets the time_reminded of this AccessRequest. time_updated
[Required] Gets the time_updated of this AccessRequest. Methods
__init__
(**kwargs)Initializes a new AccessRequest object with values from keyword arguments. -
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CANCELING
= 'CANCELING'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “CANCELING”
-
LIFECYCLE_STATE_DETAILS_APPROVED
= 'APPROVED'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “APPROVED”
-
LIFECYCLE_STATE_DETAILS_AUTO_APPROVED
= 'AUTO_APPROVED'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “AUTO_APPROVED”
-
LIFECYCLE_STATE_DETAILS_CANCELLING_ACCESS
= 'CANCELLING_ACCESS'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “CANCELLING_ACCESS”
-
LIFECYCLE_STATE_DETAILS_DENIED
= 'DENIED'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “DENIED”
-
LIFECYCLE_STATE_DETAILS_ERROR
= 'ERROR'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “ERROR”
-
LIFECYCLE_STATE_DETAILS_EXPIRED
= 'EXPIRED'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “EXPIRED”
-
LIFECYCLE_STATE_DETAILS_PROCESSING
= 'PROCESSING'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “PROCESSING”
-
LIFECYCLE_STATE_DETAILS_REVOKED
= 'REVOKED'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “REVOKED”
-
LIFECYCLE_STATE_DETAILS_WAITING_FOR_APPROVALS
= 'WAITING_FOR_APPROVALS'¶ A constant which can be used with the lifecycle_state_details property of a AccessRequest. This constant has a value of “WAITING_FOR_APPROVALS”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_WAITING
= 'WAITING'¶ A constant which can be used with the lifecycle_state property of a AccessRequest. This constant has a value of “WAITING”
-
__init__
(**kwargs)¶ Initializes a new AccessRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this AccessRequest.
- lockbox_id (str) – The value to assign to the lockbox_id property of this AccessRequest.
- display_name (str) – The value to assign to the display_name property of this AccessRequest.
- description (str) – The value to assign to the description property of this AccessRequest.
- requestor_id (str) – The value to assign to the requestor_id property of this AccessRequest.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AccessRequest. Allowed values for this property are: “IN_PROGRESS”, “WAITING”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this AccessRequest. Allowed values for this property are: “PROCESSING”, “WAITING_FOR_APPROVALS”, “APPROVED”, “AUTO_APPROVED”, “CANCELLING_ACCESS”, “EXPIRED”, “REVOKED”, “DENIED”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- access_duration (str) – The value to assign to the access_duration property of this AccessRequest.
- context (dict(str, str)) – The value to assign to the context property of this AccessRequest.
- activity_logs (list[oci.lockbox.models.ActivityLog]) – The value to assign to the activity_logs property of this AccessRequest.
- time_created (datetime) – The value to assign to the time_created property of this AccessRequest.
- time_updated (datetime) – The value to assign to the time_updated property of this AccessRequest.
- time_expired (datetime) – The value to assign to the time_expired property of this AccessRequest.
- time_reminded (datetime) – The value to assign to the time_reminded property of this AccessRequest.
- reminder_count (int) – The value to assign to the reminder_count property of this AccessRequest.
- requestor_location (str) – The value to assign to the requestor_location property of this AccessRequest.
- ticket_number (str) – The value to assign to the ticket_number property of this AccessRequest.
-
access_duration
¶ [Required] Gets the access_duration of this AccessRequest. The maximum amount of time operator has access to associated resources.
Returns: The access_duration of this AccessRequest. Return type: str
-
activity_logs
¶ [Required] Gets the activity_logs of this AccessRequest. The actions taken by different persona on the access request, e.g. approve/deny/revoke
Returns: The activity_logs of this AccessRequest. Return type: list[oci.lockbox.models.ActivityLog]
-
context
¶ Gets the context of this AccessRequest. The context object containing the access request specific details.
Returns: The context of this AccessRequest. Return type: dict(str, str)
-
description
¶ [Required] Gets the description of this AccessRequest. The rationale for requesting the access request and any other related details..
Returns: The description of this AccessRequest. Return type: str
-
display_name
¶ [Required] Gets the display_name of this AccessRequest. The name of the access request.
Returns: The display_name of this AccessRequest. Return type: str
-
id
¶ [Required] Gets the id of this AccessRequest. The unique identifier (OCID) of the access request, which can’t be changed after creation.
Returns: The id of this AccessRequest. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this AccessRequest. Possible access request lifecycle states.
Allowed values for this property are: “IN_PROGRESS”, “WAITING”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this AccessRequest. Return type: str
-
lifecycle_state_details
¶ [Required] Gets the lifecycle_state_details of this AccessRequest. Details of access request lifecycle state.
Allowed values for this property are: “PROCESSING”, “WAITING_FOR_APPROVALS”, “APPROVED”, “AUTO_APPROVED”, “CANCELLING_ACCESS”, “EXPIRED”, “REVOKED”, “DENIED”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state_details of this AccessRequest. Return type: str
-
lockbox_id
¶ [Required] Gets the lockbox_id of this AccessRequest. The unique identifier (OCID) of the lockbox box that the access request is associated with, which can’t be changed after creation.
Returns: The lockbox_id of this AccessRequest. Return type: str
-
reminder_count
¶ [Required] Gets the reminder_count of this AccessRequest. The count of times the access request was reminded.
Returns: The reminder_count of this AccessRequest. Return type: int
-
requestor_id
¶ [Required] Gets the requestor_id of this AccessRequest. The unique identifier of the requestor.
Returns: The requestor_id of this AccessRequest. Return type: str
-
requestor_location
¶ [Required] Gets the requestor_location of this AccessRequest. The location of the requestor. Format with be two letters indicatiog operator’s country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880 Example: US
Returns: The requestor_location of this AccessRequest. Return type: str
-
ticket_number
¶ Gets the ticket_number of this AccessRequest. The ticket number raised by external customers Example: 3-37509643121
Returns: The ticket_number of this AccessRequest. Return type: str
-
time_created
¶ [Required] Gets the time_created of this AccessRequest. The time the access request was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
Returns: The time_created of this AccessRequest. Return type: datetime
-
time_expired
¶ [Required] Gets the time_expired of this AccessRequest. The time the access request expired. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
Returns: The time_expired of this AccessRequest. Return type: datetime
-