AccessRequestSummary

class oci.operator_access_control.models.AccessRequestSummary(**kwargs)

Bases: object

Summary of access request.

Attributes

LIFECYCLE_STATE_APPROVALWAITING A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_APPROVED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_APPROVEDFORFUTURE A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_CLOSEFAILED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_COMPLETED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_COMPLETING A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_CREATED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_DEPLOYED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_DEPLOYFAILED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_EXPIRED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_EXPIRYFAILED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_EXTENDED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_EXTENDING A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_EXTENSIONREJECTED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_INREVIEW A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_MOREINFO A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_PREAPPROVED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_REJECTED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_REVOKED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_REVOKEFAILED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_REVOKING A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_UNDEPLOYED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
LIFECYCLE_STATE_UNDEPLOYFAILED A constant which can be used with the lifecycle_state property of a AccessRequestSummary.
RESOURCE_TYPE_AUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a AccessRequestSummary.
RESOURCE_TYPE_CCCINFRASTRUCTURE A constant which can be used with the resource_type property of a AccessRequestSummary.
RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER A constant which can be used with the resource_type property of a AccessRequestSummary.
RESOURCE_TYPE_EXACC A constant which can be used with the resource_type property of a AccessRequestSummary.
RESOURCE_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the resource_type property of a AccessRequestSummary.
SEVERITY_S1 A constant which can be used with the severity property of a AccessRequestSummary.
SEVERITY_S2 A constant which can be used with the severity property of a AccessRequestSummary.
SEVERITY_S3 A constant which can be used with the severity property of a AccessRequestSummary.
SEVERITY_S4 A constant which can be used with the severity property of a AccessRequestSummary.
access_reason_summary [Required] Gets the access_reason_summary of this AccessRequestSummary.
compartment_id Gets the compartment_id of this AccessRequestSummary.
defined_tags Gets the defined_tags of this AccessRequestSummary.
duration Gets the duration of this AccessRequestSummary.
extend_duration Gets the extend_duration of this AccessRequestSummary.
freeform_tags Gets the freeform_tags of this AccessRequestSummary.
id [Required] Gets the id of this AccessRequestSummary.
is_auto_approved Gets the is_auto_approved of this AccessRequestSummary.
lifecycle_details Gets the lifecycle_details of this AccessRequestSummary.
lifecycle_state Gets the lifecycle_state of this AccessRequestSummary.
request_id Gets the request_id of this AccessRequestSummary.
resource_id [Required] Gets the resource_id of this AccessRequestSummary.
resource_name Gets the resource_name of this AccessRequestSummary.
resource_type Gets the resource_type of this AccessRequestSummary.
severity Gets the severity of this AccessRequestSummary.
sub_resource_list Gets the sub_resource_list of this AccessRequestSummary.
time_of_creation Gets the time_of_creation of this AccessRequestSummary.
time_of_modification Gets the time_of_modification of this AccessRequestSummary.
time_of_user_creation Gets the time_of_user_creation of this AccessRequestSummary.
time_requested_for_future_access Gets the time_requested_for_future_access of this AccessRequestSummary.

Methods

__init__(**kwargs) Initializes a new AccessRequestSummary object with values from keyword arguments.
LIFECYCLE_STATE_APPROVALWAITING = 'APPROVALWAITING'

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

LIFECYCLE_STATE_APPROVED = 'APPROVED'

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

LIFECYCLE_STATE_APPROVEDFORFUTURE = 'APPROVEDFORFUTURE'

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

LIFECYCLE_STATE_CLOSEFAILED = 'CLOSEFAILED'

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

LIFECYCLE_STATE_COMPLETED = 'COMPLETED'

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

LIFECYCLE_STATE_COMPLETING = 'COMPLETING'

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

LIFECYCLE_STATE_CREATED = 'CREATED'

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

LIFECYCLE_STATE_DEPLOYED = 'DEPLOYED'

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

LIFECYCLE_STATE_DEPLOYFAILED = 'DEPLOYFAILED'

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

LIFECYCLE_STATE_EXPIRED = 'EXPIRED'

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

LIFECYCLE_STATE_EXPIRYFAILED = 'EXPIRYFAILED'

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

LIFECYCLE_STATE_EXTENDED = 'EXTENDED'

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

LIFECYCLE_STATE_EXTENDING = 'EXTENDING'

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

LIFECYCLE_STATE_EXTENSIONREJECTED = 'EXTENSIONREJECTED'

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

LIFECYCLE_STATE_INREVIEW = 'INREVIEW'

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

LIFECYCLE_STATE_MOREINFO = 'MOREINFO'

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

LIFECYCLE_STATE_PREAPPROVED = 'PREAPPROVED'

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

LIFECYCLE_STATE_REJECTED = 'REJECTED'

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

LIFECYCLE_STATE_REVOKED = 'REVOKED'

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

LIFECYCLE_STATE_REVOKEFAILED = 'REVOKEFAILED'

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

LIFECYCLE_STATE_REVOKING = 'REVOKING'

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

LIFECYCLE_STATE_UNDEPLOYED = 'UNDEPLOYED'

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

LIFECYCLE_STATE_UNDEPLOYFAILED = 'UNDEPLOYFAILED'

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

RESOURCE_TYPE_AUTONOMOUSVMCLUSTER = 'AUTONOMOUSVMCLUSTER'

A constant which can be used with the resource_type property of a AccessRequestSummary. This constant has a value of “AUTONOMOUSVMCLUSTER”

RESOURCE_TYPE_CCCINFRASTRUCTURE = 'CCCINFRASTRUCTURE'

A constant which can be used with the resource_type property of a AccessRequestSummary. This constant has a value of “CCCINFRASTRUCTURE”

RESOURCE_TYPE_CLOUDAUTONOMOUSVMCLUSTER = 'CLOUDAUTONOMOUSVMCLUSTER'

A constant which can be used with the resource_type property of a AccessRequestSummary. This constant has a value of “CLOUDAUTONOMOUSVMCLUSTER”

RESOURCE_TYPE_EXACC = 'EXACC'

A constant which can be used with the resource_type property of a AccessRequestSummary. This constant has a value of “EXACC”

RESOURCE_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

A constant which can be used with the resource_type property of a AccessRequestSummary. This constant has a value of “EXADATAINFRASTRUCTURE”

SEVERITY_S1 = 'S1'

A constant which can be used with the severity property of a AccessRequestSummary. This constant has a value of “S1”

SEVERITY_S2 = 'S2'

A constant which can be used with the severity property of a AccessRequestSummary. This constant has a value of “S2”

SEVERITY_S3 = 'S3'

A constant which can be used with the severity property of a AccessRequestSummary. This constant has a value of “S3”

SEVERITY_S4 = 'S4'

A constant which can be used with the severity property of a AccessRequestSummary. This constant has a value of “S4”

__init__(**kwargs)

Initializes a new AccessRequestSummary 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 AccessRequestSummary.
  • request_id (str) – The value to assign to the request_id property of this AccessRequestSummary.
  • access_reason_summary (str) – The value to assign to the access_reason_summary property of this AccessRequestSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this AccessRequestSummary.
  • resource_id (str) – The value to assign to the resource_id property of this AccessRequestSummary.
  • resource_name (str) – The value to assign to the resource_name property of this AccessRequestSummary.
  • sub_resource_list (list[str]) – The value to assign to the sub_resource_list property of this AccessRequestSummary.
  • resource_type (str) – The value to assign to the resource_type property of this AccessRequestSummary. Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AccessRequestSummary. 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’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AccessRequestSummary.
  • time_of_creation (datetime) – The value to assign to the time_of_creation property of this AccessRequestSummary.
  • time_of_modification (datetime) – The value to assign to the time_of_modification property of this AccessRequestSummary.
  • time_of_user_creation (datetime) – The value to assign to the time_of_user_creation property of this AccessRequestSummary.
  • duration (int) – The value to assign to the duration property of this AccessRequestSummary.
  • extend_duration (int) – The value to assign to the extend_duration property of this AccessRequestSummary.
  • severity (str) – The value to assign to the severity property of this AccessRequestSummary. Allowed values for this property are: “S1”, “S2”, “S3”, “S4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_auto_approved (bool) – The value to assign to the is_auto_approved property of this AccessRequestSummary.
  • time_requested_for_future_access (datetime) – The value to assign to the time_requested_for_future_access property of this AccessRequestSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AccessRequestSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AccessRequestSummary.
access_reason_summary

[Required] Gets the access_reason_summary of this AccessRequestSummary. Comment associated with the access request.

Returns:The access_reason_summary of this AccessRequestSummary.
Return type:str
compartment_id

Gets the compartment_id of this AccessRequestSummary. The OCID of the compartment that contains the access request.

Returns:The compartment_id of this AccessRequestSummary.
Return type:str
defined_tags

Gets the defined_tags of this AccessRequestSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace.

Returns:The defined_tags of this AccessRequestSummary.
Return type:dict(str, dict(str, object))
duration

Gets the duration of this AccessRequestSummary. Duration in hours for which access is sought on the target resource.

Returns:The duration of this AccessRequestSummary.
Return type:int
extend_duration

Gets the extend_duration of this AccessRequestSummary. Duration in hours for which extension access is sought on the target resource.

Returns:The extend_duration of this AccessRequestSummary.
Return type:int
freeform_tags

Gets the freeform_tags of this AccessRequestSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.

Returns:The freeform_tags of this AccessRequestSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this AccessRequestSummary. The OCID of the access request.

Returns:The id of this AccessRequestSummary.
Return type:str
is_auto_approved

Gets the is_auto_approved of this AccessRequestSummary. Whether the access request was automatically approved.

Returns:The is_auto_approved of this AccessRequestSummary.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this AccessRequestSummary. More in detail about the lifeCycleState.

Returns:The lifecycle_details of this AccessRequestSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AccessRequestSummary. 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 AccessRequestSummary.
Return type:str
request_id

Gets the request_id of this AccessRequestSummary. This is a system-generated identifier.

Returns:The request_id of this AccessRequestSummary.
Return type:str
resource_id

[Required] Gets the resource_id of this AccessRequestSummary. The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.

Returns:The resource_id of this AccessRequestSummary.
Return type:str
resource_name

Gets the resource_name of this AccessRequestSummary. The name of the target resource.

Returns:The resource_name of this AccessRequestSummary.
Return type:str
resource_type

Gets the resource_type of this AccessRequestSummary. resourceType for which the AccessRequest is applicable

Allowed values for this property are: “EXACC”, “EXADATAINFRASTRUCTURE”, “AUTONOMOUSVMCLUSTER”, “CLOUDAUTONOMOUSVMCLUSTER”, “CCCINFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The resource_type of this AccessRequestSummary.
Return type:str
severity

Gets the severity of this AccessRequestSummary. Priority assigned to the access request by the operator

Allowed values for this property are: “S1”, “S2”, “S3”, “S4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The severity of this AccessRequestSummary.
Return type:str
sub_resource_list

Gets the sub_resource_list of this AccessRequestSummary. The subresources requested for approval.

Returns:The sub_resource_list of this AccessRequestSummary.
Return type:list[str]
time_of_creation

Gets the time_of_creation of this AccessRequestSummary. Time when the access request was created by the operator user in `RFC 3339`__ timestamp format.Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_creation of this AccessRequestSummary.
Return type:datetime
time_of_modification

Gets the time_of_modification of this AccessRequestSummary. Time when the access request was last modified in `RFC 3339`__ timestamp format.Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_modification of this AccessRequestSummary.
Return type:datetime
time_of_user_creation

Gets the time_of_user_creation of this AccessRequestSummary. The time when access request is scheduled to be approved in `RFC 3339`__ timestamp format.Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_of_user_creation of this AccessRequestSummary.
Return type:datetime
time_requested_for_future_access

Gets the time_requested_for_future_access of this AccessRequestSummary. Time in future when the user for the access request needs to be created in `RFC 3339`__timestamp format. Example: ‘2020-05-22T21:10:29.600Z’

Returns:The time_requested_for_future_access of this AccessRequestSummary.
Return type:datetime