OpenAlertSummary

class oci.database_management.models.OpenAlertSummary(**kwargs)

Bases: object

An alert from the Exadata storage server.

Attributes

SEVERITY_CLEAR A constant which can be used with the severity property of a OpenAlertSummary.
SEVERITY_CRITICAL A constant which can be used with the severity property of a OpenAlertSummary.
SEVERITY_INFO A constant which can be used with the severity property of a OpenAlertSummary.
SEVERITY_WARNING A constant which can be used with the severity property of a OpenAlertSummary.
TYPE_STATEFUL A constant which can be used with the type property of a OpenAlertSummary.
TYPE_STATELESS A constant which can be used with the type property of a OpenAlertSummary.
message Gets the message of this OpenAlertSummary.
severity Gets the severity of this OpenAlertSummary.
time_start_at Gets the time_start_at of this OpenAlertSummary.
type Gets the type of this OpenAlertSummary.

Methods

__init__(**kwargs) Initializes a new OpenAlertSummary object with values from keyword arguments.
SEVERITY_CLEAR = 'CLEAR'

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

SEVERITY_CRITICAL = 'CRITICAL'

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

SEVERITY_INFO = 'INFO'

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

SEVERITY_WARNING = 'WARNING'

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

TYPE_STATEFUL = 'STATEFUL'

A constant which can be used with the type property of a OpenAlertSummary. This constant has a value of “STATEFUL”

TYPE_STATELESS = 'STATELESS'

A constant which can be used with the type property of a OpenAlertSummary. This constant has a value of “STATELESS”

__init__(**kwargs)

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

Parameters:
  • severity (str) – The value to assign to the severity property of this OpenAlertSummary. Allowed values for this property are: “CLEAR”, “INFO”, “WARNING”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • type (str) – The value to assign to the type property of this OpenAlertSummary. Allowed values for this property are: “STATEFUL”, “STATELESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_start_at (datetime) – The value to assign to the time_start_at property of this OpenAlertSummary.
  • message (str) – The value to assign to the message property of this OpenAlertSummary.
message

Gets the message of this OpenAlertSummary. The alert message.

Returns:The message of this OpenAlertSummary.
Return type:str
severity

Gets the severity of this OpenAlertSummary. The severity of the alert.

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

Returns:The severity of this OpenAlertSummary.
Return type:str
time_start_at

Gets the time_start_at of this OpenAlertSummary. The start time of the alert.

Returns:The time_start_at of this OpenAlertSummary.
Return type:datetime
type

Gets the type of this OpenAlertSummary. The type of alert.

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

Returns:The type of this OpenAlertSummary.
Return type:str