AttentionLogCountSummary

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

Bases: object

The details for one attention log count entry.

Attributes:

CATEGORY_DEFERRABLE

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_ERROR

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_IMMEDIATE

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_INCIDENT_ERROR

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_INFO

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_NOTIFICATION

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_OTHER

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_SOON

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_TRACE

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_UNKNOWN

A constant which can be used with the category property of a AttentionLogCountSummary.

CATEGORY_WARNING

A constant which can be used with the category property of a AttentionLogCountSummary.

category

[Required] Gets the category of this AttentionLogCountSummary.

count

[Required] Gets the count of this AttentionLogCountSummary.

Methods:

__init__(**kwargs)

Initializes a new AttentionLogCountSummary object with values from keyword arguments.

CATEGORY_DEFERRABLE = 'DEFERRABLE'

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

CATEGORY_ERROR = 'ERROR'

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

CATEGORY_IMMEDIATE = 'IMMEDIATE'

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

CATEGORY_INCIDENT_ERROR = 'INCIDENT_ERROR'

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

CATEGORY_INFO = 'INFO'

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

CATEGORY_NOTIFICATION = 'NOTIFICATION'

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

CATEGORY_OTHER = 'OTHER'

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

CATEGORY_SOON = 'SOON'

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

CATEGORY_TRACE = 'TRACE'

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

CATEGORY_UNKNOWN = 'UNKNOWN'

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

CATEGORY_WARNING = 'WARNING'

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

__init__(**kwargs)

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

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

  • count (int) – The value to assign to the count property of this AttentionLogCountSummary.

property category

[Required] Gets the category of this AttentionLogCountSummary. The category of different attention logs.

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

Returns

The category of this AttentionLogCountSummary.

Return type

str

property count

[Required] Gets the count of this AttentionLogCountSummary. The count of attention logs with specific category.

Returns

The count of this AttentionLogCountSummary.

Return type

int