LogAnalyticsSourceDataFilter¶
- class oci.log_analytics.models.LogAnalyticsSourceDataFilter(**kwargs)¶
Bases:
objectAttributes:
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter.
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter.
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter.
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter.
Gets the data_filter_id of this LogAnalyticsSourceDataFilter.
Gets the description of this LogAnalyticsSourceDataFilter.
Gets the display_name of this LogAnalyticsSourceDataFilter.
Gets the edit_version of this LogAnalyticsSourceDataFilter.
Gets the field_name of this LogAnalyticsSourceDataFilter.
Gets the filter_type of this LogAnalyticsSourceDataFilter.
Gets the hash_type of this LogAnalyticsSourceDataFilter.
Gets the is_enabled of this LogAnalyticsSourceDataFilter.
Gets the is_system of this LogAnalyticsSourceDataFilter.
Gets the match_regular_expression of this LogAnalyticsSourceDataFilter.
Gets the order of this LogAnalyticsSourceDataFilter.
Gets the path of this LogAnalyticsSourceDataFilter.
Gets the replacement_string of this LogAnalyticsSourceDataFilter.
Gets the source_id of this LogAnalyticsSourceDataFilter.
Methods:
__init__(**kwargs)Initializes a new LogAnalyticsSourceDataFilter object with values from keyword arguments.
- FILTER_TYPE_DROP_LOG_ENTRY = 'DROP_LOG_ENTRY'¶
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter. This constant has a value of “DROP_LOG_ENTRY”
- FILTER_TYPE_DROP_STRING = 'DROP_STRING'¶
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter. This constant has a value of “DROP_STRING”
- FILTER_TYPE_HASH_MASK = 'HASH_MASK'¶
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter. This constant has a value of “HASH_MASK”
- FILTER_TYPE_MASK = 'MASK'¶
A constant which can be used with the filter_type property of a LogAnalyticsSourceDataFilter. This constant has a value of “MASK”
- __init__(**kwargs)¶
Initializes a new LogAnalyticsSourceDataFilter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
description (str) – The value to assign to the description property of this LogAnalyticsSourceDataFilter.
display_name (str) – The value to assign to the display_name property of this LogAnalyticsSourceDataFilter.
edit_version (int) – The value to assign to the edit_version property of this LogAnalyticsSourceDataFilter.
is_enabled (bool) – The value to assign to the is_enabled property of this LogAnalyticsSourceDataFilter.
field_name (str) – The value to assign to the field_name property of this LogAnalyticsSourceDataFilter.
hash_type (int) – The value to assign to the hash_type property of this LogAnalyticsSourceDataFilter.
data_filter_id (int) – The value to assign to the data_filter_id property of this LogAnalyticsSourceDataFilter.
is_system (bool) – The value to assign to the is_system property of this LogAnalyticsSourceDataFilter.
match_regular_expression (str) – The value to assign to the match_regular_expression property of this LogAnalyticsSourceDataFilter.
order (int) – The value to assign to the order property of this LogAnalyticsSourceDataFilter.
path (str) – The value to assign to the path property of this LogAnalyticsSourceDataFilter.
replacement_string (str) – The value to assign to the replacement_string property of this LogAnalyticsSourceDataFilter.
source_id (int) – The value to assign to the source_id property of this LogAnalyticsSourceDataFilter.
filter_type (str) – The value to assign to the filter_type property of this LogAnalyticsSourceDataFilter. Allowed values for this property are: “MASK”, “HASH_MASK”, “DROP_LOG_ENTRY”, “DROP_STRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property data_filter_id¶
Gets the data_filter_id of this LogAnalyticsSourceDataFilter. The filter unique identifier.
- Returns
The data_filter_id of this LogAnalyticsSourceDataFilter.
- Return type
int
- property description¶
Gets the description of this LogAnalyticsSourceDataFilter. The filter description.
- Returns
The description of this LogAnalyticsSourceDataFilter.
- Return type
str
- property display_name¶
Gets the display_name of this LogAnalyticsSourceDataFilter. The filter display name.
- Returns
The display_name of this LogAnalyticsSourceDataFilter.
- Return type
str
- property edit_version¶
Gets the edit_version of this LogAnalyticsSourceDataFilter. The filter edit version.
- Returns
The edit_version of this LogAnalyticsSourceDataFilter.
- Return type
int
- property field_name¶
Gets the field_name of this LogAnalyticsSourceDataFilter. The field internal name.
- Returns
The field_name of this LogAnalyticsSourceDataFilter.
- Return type
str
- property filter_type¶
Gets the filter_type of this LogAnalyticsSourceDataFilter. The filter type.
Allowed values for this property are: “MASK”, “HASH_MASK”, “DROP_LOG_ENTRY”, “DROP_STRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The filter_type of this LogAnalyticsSourceDataFilter.
- Return type
str
- property hash_type¶
Gets the hash_type of this LogAnalyticsSourceDataFilter. The hash type.
- Returns
The hash_type of this LogAnalyticsSourceDataFilter.
- Return type
int
- property is_enabled¶
Gets the is_enabled of this LogAnalyticsSourceDataFilter. A flag indicating whether or not the filter is enabled.
- Returns
The is_enabled of this LogAnalyticsSourceDataFilter.
- Return type
bool
- property is_system¶
Gets the is_system of this LogAnalyticsSourceDataFilter. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Returns
The is_system of this LogAnalyticsSourceDataFilter.
- Return type
bool
- property match_regular_expression¶
Gets the match_regular_expression of this LogAnalyticsSourceDataFilter. The regular expression for matching.
- Returns
The match_regular_expression of this LogAnalyticsSourceDataFilter.
- Return type
str
- property order¶
Gets the order of this LogAnalyticsSourceDataFilter. The filter order.
- Returns
The order of this LogAnalyticsSourceDataFilter.
- Return type
int
- property path¶
Gets the path of this LogAnalyticsSourceDataFilter. The filter path.
- Returns
The path of this LogAnalyticsSourceDataFilter.
- Return type
str
- property replacement_string¶
Gets the replacement_string of this LogAnalyticsSourceDataFilter. The replacement string.
- Returns
The replacement_string of this LogAnalyticsSourceDataFilter.
- Return type
str
- property source_id¶
Gets the source_id of this LogAnalyticsSourceDataFilter. The source unique identifier.
- Returns
The source_id of this LogAnalyticsSourceDataFilter.
- Return type
int