AttentionLogSummary

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

Bases: object

The details for one attention log entry.

Attributes:

MESSAGE_TYPE_ERROR

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_INCIDENT_ERROR

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_NOTIFICATION

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_OTHER

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_TRACE

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_UNKNOWN

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_TYPE_WARNING

A constant which can be used with the message_type property of a AttentionLogSummary.

MESSAGE_URGENCY_DEFERRABLE

A constant which can be used with the message_urgency property of a AttentionLogSummary.

MESSAGE_URGENCY_IMMEDIATE

A constant which can be used with the message_urgency property of a AttentionLogSummary.

MESSAGE_URGENCY_INFO

A constant which can be used with the message_urgency property of a AttentionLogSummary.

MESSAGE_URGENCY_OTHER

A constant which can be used with the message_urgency property of a AttentionLogSummary.

MESSAGE_URGENCY_SOON

A constant which can be used with the message_urgency property of a AttentionLogSummary.

action

Gets the action of this AttentionLogSummary.

cause

Gets the cause of this AttentionLogSummary.

file_location

Gets the file_location of this AttentionLogSummary.

message_content

Gets the message_content of this AttentionLogSummary.

message_type

[Required] Gets the message_type of this AttentionLogSummary.

message_urgency

[Required] Gets the message_urgency of this AttentionLogSummary.

scope

Gets the scope of this AttentionLogSummary.

supplemental_detail

Gets the supplemental_detail of this AttentionLogSummary.

target_user

Gets the target_user of this AttentionLogSummary.

timestamp

Gets the timestamp of this AttentionLogSummary.

Methods:

__init__(**kwargs)

Initializes a new AttentionLogSummary object with values from keyword arguments.

MESSAGE_TYPE_ERROR = 'ERROR'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “ERROR”

MESSAGE_TYPE_INCIDENT_ERROR = 'INCIDENT_ERROR'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “INCIDENT_ERROR”

MESSAGE_TYPE_NOTIFICATION = 'NOTIFICATION'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “NOTIFICATION”

MESSAGE_TYPE_OTHER = 'OTHER'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “OTHER”

MESSAGE_TYPE_TRACE = 'TRACE'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “TRACE”

MESSAGE_TYPE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the message_type property of a AttentionLogSummary. This constant has a value of “UNKNOWN”

MESSAGE_TYPE_WARNING = 'WARNING'

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

MESSAGE_URGENCY_DEFERRABLE = 'DEFERRABLE'

A constant which can be used with the message_urgency property of a AttentionLogSummary. This constant has a value of “DEFERRABLE”

MESSAGE_URGENCY_IMMEDIATE = 'IMMEDIATE'

A constant which can be used with the message_urgency property of a AttentionLogSummary. This constant has a value of “IMMEDIATE”

MESSAGE_URGENCY_INFO = 'INFO'

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

MESSAGE_URGENCY_OTHER = 'OTHER'

A constant which can be used with the message_urgency property of a AttentionLogSummary. This constant has a value of “OTHER”

MESSAGE_URGENCY_SOON = 'SOON'

A constant which can be used with the message_urgency property of a AttentionLogSummary. This constant has a value of “SOON”

__init__(**kwargs)

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

Parameters
  • message_urgency (str) – The value to assign to the message_urgency property of this AttentionLogSummary. Allowed values for this property are: “IMMEDIATE”, “SOON”, “DEFERRABLE”, “INFO”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • message_type (str) – The value to assign to the message_type property of this AttentionLogSummary. Allowed values for this property are: “UNKNOWN”, “INCIDENT_ERROR”, “ERROR”, “WARNING”, “NOTIFICATION”, “TRACE”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • message_content (str) – The value to assign to the message_content property of this AttentionLogSummary.

  • timestamp (datetime) – The value to assign to the timestamp property of this AttentionLogSummary.

  • scope (str) – The value to assign to the scope property of this AttentionLogSummary.

  • target_user (str) – The value to assign to the target_user property of this AttentionLogSummary.

  • cause (str) – The value to assign to the cause property of this AttentionLogSummary.

  • action (str) – The value to assign to the action property of this AttentionLogSummary.

  • supplemental_detail (str) – The value to assign to the supplemental_detail property of this AttentionLogSummary.

  • file_location (str) – The value to assign to the file_location property of this AttentionLogSummary.

property action

Gets the action of this AttentionLogSummary. The recommended action to handle the attention log.

Returns

The action of this AttentionLogSummary.

Return type

str

property cause

Gets the cause of this AttentionLogSummary. The cause of the attention log.

Returns

The cause of this AttentionLogSummary.

Return type

str

property file_location

Gets the file_location of this AttentionLogSummary. The attention log file location.

Returns

The file_location of this AttentionLogSummary.

Return type

str

property message_content

Gets the message_content of this AttentionLogSummary. The contents of the attention log message.

Returns

The message_content of this AttentionLogSummary.

Return type

str

property message_type

[Required] Gets the message_type of this AttentionLogSummary. The type of attention log message.

Allowed values for this property are: “UNKNOWN”, “INCIDENT_ERROR”, “ERROR”, “WARNING”, “NOTIFICATION”, “TRACE”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The message_type of this AttentionLogSummary.

Return type

str

property message_urgency

[Required] Gets the message_urgency of this AttentionLogSummary. The urgency of the attention log.

Allowed values for this property are: “IMMEDIATE”, “SOON”, “DEFERRABLE”, “INFO”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The message_urgency of this AttentionLogSummary.

Return type

str

property scope

Gets the scope of this AttentionLogSummary. The database scope for the attention log.

Returns

The scope of this AttentionLogSummary.

Return type

str

property supplemental_detail

Gets the supplemental_detail of this AttentionLogSummary. The supplemental details of the attention log.

Returns

The supplemental_detail of this AttentionLogSummary.

Return type

str

property target_user

Gets the target_user of this AttentionLogSummary. The user who must act on the attention log message.

Returns

The target_user of this AttentionLogSummary.

Return type

str

property timestamp

Gets the timestamp of this AttentionLogSummary. The date and time the attention log was created.

Returns

The timestamp of this AttentionLogSummary.

Return type

datetime