ProblemSummary

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

Bases: object

Summary of the Problem.

Attributes

DETECTOR_ID_IAAS_ACTIVITY_DETECTOR A constant which can be used with the detector_id property of a ProblemSummary.
DETECTOR_ID_IAAS_CONFIGURATION_DETECTOR A constant which can be used with the detector_id property of a ProblemSummary.
LIFECYCLE_DETAIL_DISMISSED A constant which can be used with the lifecycle_detail property of a ProblemSummary.
LIFECYCLE_DETAIL_OPEN A constant which can be used with the lifecycle_detail property of a ProblemSummary.
LIFECYCLE_DETAIL_RESOLVED A constant which can be used with the lifecycle_detail property of a ProblemSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ProblemSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a ProblemSummary.
RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a ProblemSummary.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a ProblemSummary.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a ProblemSummary.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a ProblemSummary.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a ProblemSummary.
compartment_id [Required] Gets the compartment_id of this ProblemSummary.
detector_id Gets the detector_id of this ProblemSummary.
detector_rule_id Gets the detector_rule_id of this ProblemSummary.
id [Required] Gets the id of this ProblemSummary.
labels Gets the labels of this ProblemSummary.
lifecycle_detail Gets the lifecycle_detail of this ProblemSummary.
lifecycle_state Gets the lifecycle_state of this ProblemSummary.
region Gets the region of this ProblemSummary.
regions Gets the regions of this ProblemSummary.
resource_id Gets the resource_id of this ProblemSummary.
resource_name Gets the resource_name of this ProblemSummary.
resource_type Gets the resource_type of this ProblemSummary.
risk_level Gets the risk_level of this ProblemSummary.
target_id Gets the target_id of this ProblemSummary.
time_first_detected Gets the time_first_detected of this ProblemSummary.
time_last_detected Gets the time_last_detected of this ProblemSummary.

Methods

__init__(**kwargs) Initializes a new ProblemSummary object with values from keyword arguments.
DETECTOR_ID_IAAS_ACTIVITY_DETECTOR = 'IAAS_ACTIVITY_DETECTOR'

A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_ACTIVITY_DETECTOR”

DETECTOR_ID_IAAS_CONFIGURATION_DETECTOR = 'IAAS_CONFIGURATION_DETECTOR'

A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_CONFIGURATION_DETECTOR”

LIFECYCLE_DETAIL_DISMISSED = 'DISMISSED'

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

LIFECYCLE_DETAIL_OPEN = 'OPEN'

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

LIFECYCLE_DETAIL_RESOLVED = 'RESOLVED'

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

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

RISK_LEVEL_CRITICAL = 'CRITICAL'

A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “CRITICAL”

RISK_LEVEL_HIGH = 'HIGH'

A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “HIGH”

RISK_LEVEL_LOW = 'LOW'

A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “LOW”

RISK_LEVEL_MEDIUM = 'MEDIUM'

A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “MEDIUM”

RISK_LEVEL_MINOR = 'MINOR'

A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “MINOR”

__init__(**kwargs)

Initializes a new ProblemSummary 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 ProblemSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ProblemSummary.
  • detector_rule_id (str) – The value to assign to the detector_rule_id property of this ProblemSummary.
  • risk_level (str) – The value to assign to the risk_level property of this ProblemSummary. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_id (str) – The value to assign to the resource_id property of this ProblemSummary.
  • resource_name (str) – The value to assign to the resource_name property of this ProblemSummary.
  • resource_type (str) – The value to assign to the resource_type property of this ProblemSummary.
  • labels (list[str]) – The value to assign to the labels property of this ProblemSummary.
  • time_first_detected (datetime) – The value to assign to the time_first_detected property of this ProblemSummary.
  • time_last_detected (datetime) – The value to assign to the time_last_detected property of this ProblemSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ProblemSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_detail (str) – The value to assign to the lifecycle_detail property of this ProblemSummary. Allowed values for this property are: “OPEN”, “RESOLVED”, “DISMISSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • detector_id (str) – The value to assign to the detector_id property of this ProblemSummary. Allowed values for this property are: “IAAS_ACTIVITY_DETECTOR”, “IAAS_CONFIGURATION_DETECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • region (str) – The value to assign to the region property of this ProblemSummary.
  • regions (list[str]) – The value to assign to the regions property of this ProblemSummary.
  • target_id (str) – The value to assign to the target_id property of this ProblemSummary.
compartment_id

[Required] Gets the compartment_id of this ProblemSummary. Compartment Identifier where the resource is created

Returns:The compartment_id of this ProblemSummary.
Return type:str
detector_id

Gets the detector_id of this ProblemSummary. Id of detector associated with the Problem.

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

Returns:The detector_id of this ProblemSummary.
Return type:str
detector_rule_id

Gets the detector_rule_id of this ProblemSummary. Identifier of the rule

Returns:The detector_rule_id of this ProblemSummary.
Return type:str
id

[Required] Gets the id of this ProblemSummary. Unique identifier that is immutable on creation

Returns:The id of this ProblemSummary.
Return type:str
labels

Gets the labels of this ProblemSummary. user defined labels on the problem

Returns:The labels of this ProblemSummary.
Return type:list[str]
lifecycle_detail

Gets the lifecycle_detail of this ProblemSummary. The lifecycleDetail will give more detail on the substate of the lifecycleState.

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

Returns:The lifecycle_detail of this ProblemSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this ProblemSummary. The current state of the Problem.

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

Returns:The lifecycle_state of this ProblemSummary.
Return type:str
region

Gets the region of this ProblemSummary. DEPRECATED

Returns:The region of this ProblemSummary.
Return type:str
regions

Gets the regions of this ProblemSummary. Regions where the problem is found

Returns:The regions of this ProblemSummary.
Return type:list[str]
resource_id

Gets the resource_id of this ProblemSummary. Identifier of the Resource

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

Gets the resource_name of this ProblemSummary. DisplayName of the Resource

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

Gets the resource_type of this ProblemSummary. Type of the Resource

Returns:The resource_type of this ProblemSummary.
Return type:str
risk_level

Gets the risk_level of this ProblemSummary. The Risk Level

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The risk_level of this ProblemSummary.
Return type:str
target_id

Gets the target_id of this ProblemSummary. targetId associated with the problem.

Returns:The target_id of this ProblemSummary.
Return type:str
time_first_detected

Gets the time_first_detected of this ProblemSummary. The date and time the problem was first detected. Format defined by RFC3339.

Returns:The time_first_detected of this ProblemSummary.
Return type:datetime
time_last_detected

Gets the time_last_detected of this ProblemSummary. The date and time the problem was last detected. Format defined by RFC3339.

Returns:The time_last_detected of this ProblemSummary.
Return type:datetime