LoggingEventInfo

class oci.cloud_guard.models.LoggingEventInfo(**kwargs)

Bases: oci.cloud_guard.models.data_source_event_info.DataSourceEventInfo

Information for a logging event for a data source.

Attributes

DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY str(object=’’) -> str
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY str(object=’’) -> str
data_source_feed_provider [Required] Gets the data_source_feed_provider of this DataSourceEventInfo.
log_result Gets the log_result of this LoggingEventInfo.
observed_value Gets the observed_value of this LoggingEventInfo.
operator Gets the operator of this LoggingEventInfo.
trigger_value Gets the trigger_value of this LoggingEventInfo.

Methods

__init__(**kwargs) Initializes a new LoggingEventInfo object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY = 'LOGGINGQUERY'
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY = 'SCHEDULEDQUERY'
__init__(**kwargs)

Initializes a new LoggingEventInfo object with values from keyword arguments. The default value of the data_source_feed_provider attribute of this class is LOGGINGQUERY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • data_source_feed_provider (str) – The value to assign to the data_source_feed_provider property of this LoggingEventInfo. Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”
  • observed_value (str) – The value to assign to the observed_value property of this LoggingEventInfo.
  • trigger_value (str) – The value to assign to the trigger_value property of this LoggingEventInfo.
  • operator (str) – The value to assign to the operator property of this LoggingEventInfo.
  • log_result (str) – The value to assign to the log_result property of this LoggingEventInfo.
data_source_feed_provider

[Required] Gets the data_source_feed_provider of this DataSourceEventInfo. Possible type of dataSourceFeed Provider (LoggingQuery)

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

Returns:The data_source_feed_provider of this DataSourceEventInfo.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

log_result

Gets the log_result of this LoggingEventInfo. Log result details of DataSource for a Problem

Returns:The log_result of this LoggingEventInfo.
Return type:str
observed_value

Gets the observed_value of this LoggingEventInfo. Observed value of DataSource for a Problem

Returns:The observed_value of this LoggingEventInfo.
Return type:str
operator

Gets the operator of this LoggingEventInfo. Operator details of DataSource for a Problem

Returns:The operator of this LoggingEventInfo.
Return type:str
trigger_value

Gets the trigger_value of this LoggingEventInfo. Triggered value of DataSource for a Problem

Returns:The trigger_value of this LoggingEventInfo.
Return type:str