OpenAlertSummary¶
- class oci.database_management.models.OpenAlertSummary(**kwargs)¶
Bases:
objectAn alert from the Exadata storage server.
Attributes:
A constant which can be used with the severity property of a OpenAlertSummary.
A constant which can be used with the severity property of a OpenAlertSummary.
A constant which can be used with the severity property of a OpenAlertSummary.
A constant which can be used with the severity property of a OpenAlertSummary.
A constant which can be used with the type property of a OpenAlertSummary.
A constant which can be used with the type property of a OpenAlertSummary.
Gets the message of this OpenAlertSummary.
Gets the severity of this OpenAlertSummary.
Gets the time_start_at of this OpenAlertSummary.
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.
- property message¶
Gets the message of this OpenAlertSummary. The alert message.
- Returns
The message of this OpenAlertSummary.
- Return type
str
- property 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
- property 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
- property 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