AlertLogCountSummary

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

Bases: object

The details for one alert log count entry.

Attributes:

CATEGORY_CRITICAL

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

CATEGORY_ERROR

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

CATEGORY_IMPORTANT

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

CATEGORY_INCIDENT_ERROR

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

CATEGORY_NORMAL

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

CATEGORY_NOTIFICATION

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

CATEGORY_OTHER

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

CATEGORY_SEVERE

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

CATEGORY_TRACE

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

CATEGORY_UNKNOWN

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

CATEGORY_WARNING

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

category

[Required] Gets the category of this AlertLogCountSummary.

count

[Required] Gets the count of this AlertLogCountSummary.

Methods:

__init__(**kwargs)

Initializes a new AlertLogCountSummary object with values from keyword arguments.

CATEGORY_CRITICAL = 'CRITICAL'

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

CATEGORY_ERROR = 'ERROR'

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

CATEGORY_IMPORTANT = 'IMPORTANT'

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

CATEGORY_INCIDENT_ERROR = 'INCIDENT_ERROR'

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

CATEGORY_NORMAL = 'NORMAL'

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

CATEGORY_NOTIFICATION = 'NOTIFICATION'

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

CATEGORY_OTHER = 'OTHER'

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

CATEGORY_SEVERE = 'SEVERE'

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

CATEGORY_TRACE = 'TRACE'

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

CATEGORY_UNKNOWN = 'UNKNOWN'

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

CATEGORY_WARNING = 'WARNING'

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

__init__(**kwargs)

Initializes a new AlertLogCountSummary 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 AlertLogCountSummary. Allowed values for this property are: “UNKNOWN”, “INCIDENT_ERROR”, “ERROR”, “WARNING”, “NOTIFICATION”, “TRACE”, “CRITICAL”, “SEVERE”, “IMPORTANT”, “NORMAL”, “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 AlertLogCountSummary.

property category

[Required] Gets the category of this AlertLogCountSummary. The category of different alert logs.

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

Returns

The category of this AlertLogCountSummary.

Return type

str

property count

[Required] Gets the count of this AlertLogCountSummary. The count of alert logs with specific category.

Returns

The count of this AlertLogCountSummary.

Return type

int