AutomaticCaptureFilter¶
-
class
oci.database_management.models.AutomaticCaptureFilter(**kwargs)¶ Bases:
objectAn automatic capture filter that enables you to capture only those SQL statements that you want, and exclude noncritical statements.
Attributes
NAME_AUTO_CAPTURE_ACTIONA constant which can be used with the name property of a AutomaticCaptureFilter. NAME_AUTO_CAPTURE_MODULEA constant which can be used with the name property of a AutomaticCaptureFilter. NAME_AUTO_CAPTURE_PARSING_SCHEMA_NAMEA constant which can be used with the name property of a AutomaticCaptureFilter. NAME_AUTO_CAPTURE_SQL_TEXTA constant which can be used with the name property of a AutomaticCaptureFilter. modified_byGets the modified_by of this AutomaticCaptureFilter. nameGets the name of this AutomaticCaptureFilter. time_last_modifiedGets the time_last_modified of this AutomaticCaptureFilter. values_to_excludeGets the values_to_exclude of this AutomaticCaptureFilter. values_to_includeGets the values_to_include of this AutomaticCaptureFilter. Methods
__init__(**kwargs)Initializes a new AutomaticCaptureFilter object with values from keyword arguments. -
NAME_AUTO_CAPTURE_ACTION= 'AUTO_CAPTURE_ACTION'¶ A constant which can be used with the name property of a AutomaticCaptureFilter. This constant has a value of “AUTO_CAPTURE_ACTION”
-
NAME_AUTO_CAPTURE_MODULE= 'AUTO_CAPTURE_MODULE'¶ A constant which can be used with the name property of a AutomaticCaptureFilter. This constant has a value of “AUTO_CAPTURE_MODULE”
-
NAME_AUTO_CAPTURE_PARSING_SCHEMA_NAME= 'AUTO_CAPTURE_PARSING_SCHEMA_NAME'¶ A constant which can be used with the name property of a AutomaticCaptureFilter. This constant has a value of “AUTO_CAPTURE_PARSING_SCHEMA_NAME”
-
NAME_AUTO_CAPTURE_SQL_TEXT= 'AUTO_CAPTURE_SQL_TEXT'¶ A constant which can be used with the name property of a AutomaticCaptureFilter. This constant has a value of “AUTO_CAPTURE_SQL_TEXT”
-
__init__(**kwargs)¶ Initializes a new AutomaticCaptureFilter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this AutomaticCaptureFilter. Allowed values for this property are: “AUTO_CAPTURE_SQL_TEXT”, “AUTO_CAPTURE_PARSING_SCHEMA_NAME”, “AUTO_CAPTURE_MODULE”, “AUTO_CAPTURE_ACTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- values_to_include (list[str]) – The value to assign to the values_to_include property of this AutomaticCaptureFilter.
- values_to_exclude (list[str]) – The value to assign to the values_to_exclude property of this AutomaticCaptureFilter.
- time_last_modified (datetime) – The value to assign to the time_last_modified property of this AutomaticCaptureFilter.
- modified_by (str) – The value to assign to the modified_by property of this AutomaticCaptureFilter.
-
modified_by¶ Gets the modified_by of this AutomaticCaptureFilter. The database user who last updated the filter value.
Returns: The modified_by of this AutomaticCaptureFilter. Return type: str
-
name¶ Gets the name of this AutomaticCaptureFilter. The name of the automatic capture filter.
- AUTO_CAPTURE_SQL_TEXT: Search pattern to apply to SQL text.
- AUTO_CAPTURE_PARSING_SCHEMA_NAME: Parsing schema to include or exclude for SQL plan management auto capture.
- AUTO_CAPTURE_MODULE: Module to include or exclude for SQL plan management auto capture.
- AUTO_CAPTURE_ACTION: Action to include or exclude for SQL plan management automatic capture.
Allowed values for this property are: “AUTO_CAPTURE_SQL_TEXT”, “AUTO_CAPTURE_PARSING_SCHEMA_NAME”, “AUTO_CAPTURE_MODULE”, “AUTO_CAPTURE_ACTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The name of this AutomaticCaptureFilter. Return type: str
-
time_last_modified¶ Gets the time_last_modified of this AutomaticCaptureFilter. The time the filter value was last updated.
Returns: The time_last_modified of this AutomaticCaptureFilter. Return type: datetime
-
values_to_exclude¶ Gets the values_to_exclude of this AutomaticCaptureFilter. A list of filter values to exclude.
Returns: The values_to_exclude of this AutomaticCaptureFilter. Return type: list[str]
-
values_to_include¶ Gets the values_to_include of this AutomaticCaptureFilter. A list of filter values to include.
Returns: The values_to_include of this AutomaticCaptureFilter. Return type: list[str]
-