AccessRequestExt

class oci.lockbox.models.AccessRequestExt(**kwargs)

Bases: object

An access request to a customer’s resource that includes additional requestor metadata. 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 AccessRequestExt.

LIFECYCLE_STATE_CANCELING

A constant which can be used with the lifecycle_state property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_APPROVED

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_AUTO_APPROVED

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_CANCELLING_ACCESS

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_DENIED

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_ERROR

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_EXPIRED

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_PROCESSING

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_REVOKED

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_DETAILS_WAITING_FOR_APPROVALS

A constant which can be used with the lifecycle_state_details property of a AccessRequestExt.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a AccessRequestExt.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a AccessRequestExt.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a AccessRequestExt.

LIFECYCLE_STATE_WAITING

A constant which can be used with the lifecycle_state property of a AccessRequestExt.

access_duration

[Required] Gets the access_duration of this AccessRequestExt.

activity_logs

[Required] Gets the activity_logs of this AccessRequestExt.

context

Gets the context of this AccessRequestExt.

description

[Required] Gets the description of this AccessRequestExt.

display_name

[Required] Gets the display_name of this AccessRequestExt.

id

[Required] Gets the id of this AccessRequestExt.

lifecycle_state

[Required] Gets the lifecycle_state of this AccessRequestExt.

lifecycle_state_details

[Required] Gets the lifecycle_state_details of this AccessRequestExt.

lockbox_id

[Required] Gets the lockbox_id of this AccessRequestExt.

reminder_count

[Required] Gets the reminder_count of this AccessRequestExt.

requestor_id

[Required] Gets the requestor_id of this AccessRequestExt.

requestor_location

[Required] Gets the requestor_location of this AccessRequestExt.

requestor_user_name

[Required] Gets the requestor_user_name of this AccessRequestExt.

ticket_number

Gets the ticket_number of this AccessRequestExt.

time_created

[Required] Gets the time_created of this AccessRequestExt.

time_expired

[Required] Gets the time_expired of this AccessRequestExt.

time_reminded

[Required] Gets the time_reminded of this AccessRequestExt.

time_updated

[Required] Gets the time_updated of this AccessRequestExt.

Methods:

__init__(**kwargs)

Initializes a new AccessRequestExt object with values from keyword arguments.

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a AccessRequestExt. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a AccessRequestExt. This constant has a value of “WAITING”

__init__(**kwargs)

Initializes a new AccessRequestExt object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • requestor_user_name (str) – The value to assign to the requestor_user_name property of this AccessRequestExt.

  • id (str) – The value to assign to the id property of this AccessRequestExt.

  • lockbox_id (str) – The value to assign to the lockbox_id property of this AccessRequestExt.

  • display_name (str) – The value to assign to the display_name property of this AccessRequestExt.

  • description (str) – The value to assign to the description property of this AccessRequestExt.

  • requestor_id (str) – The value to assign to the requestor_id property of this AccessRequestExt.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AccessRequestExt. 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 AccessRequestExt. 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 AccessRequestExt.

  • context (dict(str, str)) – The value to assign to the context property of this AccessRequestExt.

  • activity_logs (list[oci.lockbox.models.ActivityLog]) – The value to assign to the activity_logs property of this AccessRequestExt.

  • time_created (datetime) – The value to assign to the time_created property of this AccessRequestExt.

  • time_updated (datetime) – The value to assign to the time_updated property of this AccessRequestExt.

  • time_expired (datetime) – The value to assign to the time_expired property of this AccessRequestExt.

  • time_reminded (datetime) – The value to assign to the time_reminded property of this AccessRequestExt.

  • reminder_count (int) – The value to assign to the reminder_count property of this AccessRequestExt.

  • requestor_location (str) – The value to assign to the requestor_location property of this AccessRequestExt.

  • ticket_number (str) – The value to assign to the ticket_number property of this AccessRequestExt.

property access_duration

[Required] Gets the access_duration of this AccessRequestExt. The maximum amount of time operator has access to associated resources.

Returns

The access_duration of this AccessRequestExt.

Return type

str

property activity_logs

[Required] Gets the activity_logs of this AccessRequestExt. The actions taken by different persona on the access request, e.g. approve/deny/revoke

Returns

The activity_logs of this AccessRequestExt.

Return type

list[oci.lockbox.models.ActivityLog]

property context

Gets the context of this AccessRequestExt. The context object containing the access request specific details.

Returns

The context of this AccessRequestExt.

Return type

dict(str, str)

property description

[Required] Gets the description of this AccessRequestExt. The rationale for requesting the access request and any other related details..

Returns

The description of this AccessRequestExt.

Return type

str

property display_name

[Required] Gets the display_name of this AccessRequestExt. The name of the access request.

Returns

The display_name of this AccessRequestExt.

Return type

str

property id

[Required] Gets the id of this AccessRequestExt. The unique identifier (OCID) of the access request, which can’t be changed after creation.

Returns

The id of this AccessRequestExt.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this AccessRequestExt. 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 AccessRequestExt.

Return type

str

property lifecycle_state_details

[Required] Gets the lifecycle_state_details of this AccessRequestExt. 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 AccessRequestExt.

Return type

str

property lockbox_id

[Required] Gets the lockbox_id of this AccessRequestExt. 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 AccessRequestExt.

Return type

str

property reminder_count

[Required] Gets the reminder_count of this AccessRequestExt. The count of times the access request was reminded.

Returns

The reminder_count of this AccessRequestExt.

Return type

int

property requestor_id

[Required] Gets the requestor_id of this AccessRequestExt. The unique identifier of the requestor.

Returns

The requestor_id of this AccessRequestExt.

Return type

str

property requestor_location

[Required] Gets the requestor_location of this AccessRequestExt. 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 AccessRequestExt.

Return type

str

property requestor_user_name

[Required] Gets the requestor_user_name of this AccessRequestExt. The user name i.e. userId of the requestor.

Returns

The requestor_user_name of this AccessRequestExt.

Return type

str

property ticket_number

Gets the ticket_number of this AccessRequestExt. The ticket number raised by external customers Example: 3-37509643121

Returns

The ticket_number of this AccessRequestExt.

Return type

str

property time_created

[Required] Gets the time_created of this AccessRequestExt. 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 AccessRequestExt.

Return type

datetime

property time_expired

[Required] Gets the time_expired of this AccessRequestExt. The time the access request expired. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Returns

The time_expired of this AccessRequestExt.

Return type

datetime

property time_reminded

[Required] Gets the time_reminded of this AccessRequestExt. The time the access request was last reminded. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Returns

The time_reminded of this AccessRequestExt.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this AccessRequestExt. The time the access request was last updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Returns

The time_updated of this AccessRequestExt.

Return type

datetime