LoggingQueryDataSourceDetails¶
-
class
oci.cloud_guard.models.
LoggingQueryDataSourceDetails
(**kwargs)¶ Bases:
oci.cloud_guard.models.data_source_details.DataSourceDetails
Information for a logging query for a data source.
Attributes
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY
str(object=’’) -> str DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY
str(object=’’) -> str LOGGING_QUERY_TYPE_INSIGHT
A constant which can be used with the logging_query_type property of a LoggingQueryDataSourceDetails. OPERATOR_EQUAL
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. OPERATOR_GREATER
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. OPERATOR_GREATERTHANEQUALTO
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. OPERATOR_LESS
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. OPERATOR_LESSTHANEQUALTO
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. additional_entities_count
Gets the additional_entities_count of this LoggingQueryDataSourceDetails. data_source_feed_provider
[Required] Gets the data_source_feed_provider of this DataSourceDetails. interval_in_minutes
Gets the interval_in_minutes of this LoggingQueryDataSourceDetails. logging_query_details
Gets the logging_query_details of this LoggingQueryDataSourceDetails. logging_query_type
Gets the logging_query_type of this LoggingQueryDataSourceDetails. operator
Gets the operator of this LoggingQueryDataSourceDetails. query
Gets the query of this LoggingQueryDataSourceDetails. query_start_time
Gets the query_start_time of this LoggingQueryDataSourceDetails. regions
Gets the regions of this LoggingQueryDataSourceDetails. threshold
Gets the threshold of this LoggingQueryDataSourceDetails. Methods
__init__
(**kwargs)Initializes a new LoggingQueryDataSourceDetails 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'¶
-
LOGGING_QUERY_TYPE_INSIGHT
= 'INSIGHT'¶ A constant which can be used with the logging_query_type property of a LoggingQueryDataSourceDetails. This constant has a value of “INSIGHT”
-
OPERATOR_EQUAL
= 'EQUAL'¶ A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “EQUAL”
-
OPERATOR_GREATER
= 'GREATER'¶ A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “GREATER”
-
OPERATOR_GREATERTHANEQUALTO
= 'GREATERTHANEQUALTO'¶ A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “GREATERTHANEQUALTO”
-
OPERATOR_LESS
= 'LESS'¶ A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “LESS”
-
OPERATOR_LESSTHANEQUALTO
= 'LESSTHANEQUALTO'¶ A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “LESSTHANEQUALTO”
-
__init__
(**kwargs)¶ Initializes a new LoggingQueryDataSourceDetails object with values from keyword arguments. The default value of the
data_source_feed_provider
attribute of this class isLOGGINGQUERY
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 LoggingQueryDataSourceDetails. 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’.
- regions (list[str]) – The value to assign to the regions property of this LoggingQueryDataSourceDetails.
- query (str) – The value to assign to the query property of this LoggingQueryDataSourceDetails.
- interval_in_minutes (int) – The value to assign to the interval_in_minutes property of this LoggingQueryDataSourceDetails.
- threshold (int) – The value to assign to the threshold property of this LoggingQueryDataSourceDetails.
- query_start_time (oci.cloud_guard.models.ContinuousQueryStartPolicy) – The value to assign to the query_start_time property of this LoggingQueryDataSourceDetails.
- operator (str) – The value to assign to the operator property of this LoggingQueryDataSourceDetails. Allowed values for this property are: “EQUAL”, “GREATER”, “GREATERTHANEQUALTO”, “LESS”, “LESSTHANEQUALTO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- logging_query_type (str) – The value to assign to the logging_query_type property of this LoggingQueryDataSourceDetails. Allowed values for this property are: “INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- additional_entities_count (int) – The value to assign to the additional_entities_count property of this LoggingQueryDataSourceDetails.
- logging_query_details (oci.cloud_guard.models.LoggingQueryDetails) – The value to assign to the logging_query_details property of this LoggingQueryDataSourceDetails.
-
additional_entities_count
¶ Gets the additional_entities_count of this LoggingQueryDataSourceDetails. The additional entities count used for data source query
Returns: The additional_entities_count of this LoggingQueryDataSourceDetails. Return type: int
-
data_source_feed_provider
¶ [Required] Gets the data_source_feed_provider of this DataSourceDetails. Type of data source feed 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 DataSourceDetails. 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.
-
interval_in_minutes
¶ Gets the interval_in_minutes of this LoggingQueryDataSourceDetails. Interval in minutes that query is run periodically.
Returns: The interval_in_minutes of this LoggingQueryDataSourceDetails. Return type: int
-
logging_query_details
¶ Gets the logging_query_details of this LoggingQueryDataSourceDetails.
Returns: The logging_query_details of this LoggingQueryDataSourceDetails. Return type: oci.cloud_guard.models.LoggingQueryDetails
-
logging_query_type
¶ Gets the logging_query_type of this LoggingQueryDataSourceDetails. Type of logging query for data source (Sighting/Insight)
Allowed values for this property are: “INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The logging_query_type of this LoggingQueryDataSourceDetails. Return type: str
-
operator
¶ Gets the operator of this LoggingQueryDataSourceDetails. Operator used in data source
Allowed values for this property are: “EQUAL”, “GREATER”, “GREATERTHANEQUALTO”, “LESS”, “LESSTHANEQUALTO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operator of this LoggingQueryDataSourceDetails. Return type: str
-
query
¶ Gets the query of this LoggingQueryDataSourceDetails. The continuous query expression that is run periodicall
Returns: The query of this LoggingQueryDataSourceDetails. Return type: str
-
query_start_time
¶ Gets the query_start_time of this LoggingQueryDataSourceDetails.
Returns: The query_start_time of this LoggingQueryDataSourceDetails. Return type: oci.cloud_guard.models.ContinuousQueryStartPolicy
-
regions
¶ Gets the regions of this LoggingQueryDataSourceDetails. List of logging query regions
Returns: The regions of this LoggingQueryDataSourceDetails. Return type: list[str]
-
threshold
¶ Gets the threshold of this LoggingQueryDataSourceDetails. The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
Returns: The threshold of this LoggingQueryDataSourceDetails. Return type: int
-