ProblemHistorySummary

class oci.cloud_guard.models.ProblemHistorySummary(**kwargs)

Bases: object

Problem history definition.

Attributes

ACTOR_TYPE_CLOUD_GUARD_SERVICE A constant which can be used with the actor_type property of a ProblemHistorySummary.
ACTOR_TYPE_CORRELATION A constant which can be used with the actor_type property of a ProblemHistorySummary.
ACTOR_TYPE_RESPONDER A constant which can be used with the actor_type property of a ProblemHistorySummary.
ACTOR_TYPE_USER A constant which can be used with the actor_type property of a ProblemHistorySummary.
EVENT_STATUS_DELETE A constant which can be used with the event_status property of a ProblemHistorySummary.
EVENT_STATUS_DISMISS A constant which can be used with the event_status property of a ProblemHistorySummary.
EVENT_STATUS_OPEN A constant which can be used with the event_status property of a ProblemHistorySummary.
EVENT_STATUS_REOPEN A constant which can be used with the event_status property of a ProblemHistorySummary.
EVENT_STATUS_RESOLVE A constant which can be used with the event_status property of a ProblemHistorySummary.
EVENT_STATUS_UPDATE A constant which can be used with the event_status property of a ProblemHistorySummary.
LIFECYCLE_DETAIL_DELETED A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary.
LIFECYCLE_DETAIL_DISMISSED A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary.
LIFECYCLE_DETAIL_OPEN A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary.
LIFECYCLE_DETAIL_RESOLVED A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary.
actor_name [Required] Gets the actor_name of this ProblemHistorySummary.
actor_type [Required] Gets the actor_type of this ProblemHistorySummary.
comment Gets the comment of this ProblemHistorySummary.
delta [Required] Gets the delta of this ProblemHistorySummary.
event_status Gets the event_status of this ProblemHistorySummary.
explanation [Required] Gets the explanation of this ProblemHistorySummary.
id [Required] Gets the id of this ProblemHistorySummary.
lifecycle_detail [Required] Gets the lifecycle_detail of this ProblemHistorySummary.
locks Gets the locks of this ProblemHistorySummary.
problem_id [Required] Gets the problem_id of this ProblemHistorySummary.
time_created [Required] Gets the time_created of this ProblemHistorySummary.

Methods

__init__(**kwargs) Initializes a new ProblemHistorySummary object with values from keyword arguments.
ACTOR_TYPE_CLOUD_GUARD_SERVICE = 'CLOUD_GUARD_SERVICE'

A constant which can be used with the actor_type property of a ProblemHistorySummary. This constant has a value of “CLOUD_GUARD_SERVICE”

ACTOR_TYPE_CORRELATION = 'CORRELATION'

A constant which can be used with the actor_type property of a ProblemHistorySummary. This constant has a value of “CORRELATION”

ACTOR_TYPE_RESPONDER = 'RESPONDER'

A constant which can be used with the actor_type property of a ProblemHistorySummary. This constant has a value of “RESPONDER”

ACTOR_TYPE_USER = 'USER'

A constant which can be used with the actor_type property of a ProblemHistorySummary. This constant has a value of “USER”

EVENT_STATUS_DELETE = 'DELETE'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “DELETE”

EVENT_STATUS_DISMISS = 'DISMISS'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “DISMISS”

EVENT_STATUS_OPEN = 'OPEN'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “OPEN”

EVENT_STATUS_REOPEN = 'REOPEN'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “REOPEN”

EVENT_STATUS_RESOLVE = 'RESOLVE'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “RESOLVE”

EVENT_STATUS_UPDATE = 'UPDATE'

A constant which can be used with the event_status property of a ProblemHistorySummary. This constant has a value of “UPDATE”

LIFECYCLE_DETAIL_DELETED = 'DELETED'

A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. This constant has a value of “DELETED”

LIFECYCLE_DETAIL_DISMISSED = 'DISMISSED'

A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. This constant has a value of “DISMISSED”

LIFECYCLE_DETAIL_OPEN = 'OPEN'

A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. This constant has a value of “OPEN”

LIFECYCLE_DETAIL_RESOLVED = 'RESOLVED'

A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. This constant has a value of “RESOLVED”

__init__(**kwargs)

Initializes a new ProblemHistorySummary 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 ProblemHistorySummary.
  • problem_id (str) – The value to assign to the problem_id property of this ProblemHistorySummary.
  • actor_type (str) – The value to assign to the actor_type property of this ProblemHistorySummary. Allowed values for this property are: “CLOUD_GUARD_SERVICE”, “CORRELATION”, “RESPONDER”, “USER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • actor_name (str) – The value to assign to the actor_name property of this ProblemHistorySummary.
  • explanation (str) – The value to assign to the explanation property of this ProblemHistorySummary.
  • lifecycle_detail (str) – The value to assign to the lifecycle_detail property of this ProblemHistorySummary. Allowed values for this property are: “OPEN”, “RESOLVED”, “DISMISSED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • event_status (str) – The value to assign to the event_status property of this ProblemHistorySummary. Allowed values for this property are: “REOPEN”, “OPEN”, “UPDATE”, “RESOLVE”, “DISMISS”, “DELETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this ProblemHistorySummary.
  • delta (str) – The value to assign to the delta property of this ProblemHistorySummary.
  • comment (str) – The value to assign to the comment property of this ProblemHistorySummary.
  • locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this ProblemHistorySummary.
actor_name

[Required] Gets the actor_name of this ProblemHistorySummary. Resource name who performed the activity

Returns:The actor_name of this ProblemHistorySummary.
Return type:str
actor_type

[Required] Gets the actor_type of this ProblemHistorySummary. Type of actor who performed the operation

Allowed values for this property are: “CLOUD_GUARD_SERVICE”, “CORRELATION”, “RESPONDER”, “USER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The actor_type of this ProblemHistorySummary.
Return type:str
comment

Gets the comment of this ProblemHistorySummary. User-defined comments

Returns:The comment of this ProblemHistorySummary.
Return type:str
delta

[Required] Gets the delta of this ProblemHistorySummary. Impacted resource names in a comma-separated string

Returns:The delta of this ProblemHistorySummary.
Return type:str
event_status

Gets the event_status of this ProblemHistorySummary. Event status

Allowed values for this property are: “REOPEN”, “OPEN”, “UPDATE”, “RESOLVE”, “DISMISS”, “DELETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The event_status of this ProblemHistorySummary.
Return type:str
explanation

[Required] Gets the explanation of this ProblemHistorySummary. Activity explanation details

Returns:The explanation of this ProblemHistorySummary.
Return type:str
id

[Required] Gets the id of this ProblemHistorySummary. Unique identifier for the history record

Returns:The id of this ProblemHistorySummary.
Return type:str
lifecycle_detail

[Required] Gets the lifecycle_detail of this ProblemHistorySummary. Additional details on the substate of the lifecycle state

Allowed values for this property are: “OPEN”, “RESOLVED”, “DISMISSED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_detail of this ProblemHistorySummary.
Return type:str
locks

Gets the locks of this ProblemHistorySummary. Locks associated with this resource.

Returns:The locks of this ProblemHistorySummary.
Return type:list[oci.cloud_guard.models.ResourceLock]
problem_id

[Required] Gets the problem_id of this ProblemHistorySummary. Problem ID with which history is associated

Returns:The problem_id of this ProblemHistorySummary.
Return type:str
time_created

[Required] Gets the time_created of this ProblemHistorySummary. Date and time the problem was created

Returns:The time_created of this ProblemHistorySummary.
Return type:datetime