DatabaseSqlWatchFeatureDetails¶
- class oci.database_management.models.DatabaseSqlWatchFeatureDetails(**kwargs)¶
Bases:
DatabaseFeatureDetailsThe details required to enable the SQL Watch feature.
Attributes:
A constant which can be used with the feature property of a DatabaseFeatureDetails.
A constant which can be used with the feature property of a DatabaseFeatureDetails.
A constant which can be used with the feature property of a DatabaseFeatureDetails.
Gets the can_enable_all_current_pdbs of this DatabaseSqlWatchFeatureDetails.
[Required] Gets the connector_details of this DatabaseFeatureDetails.
[Required] Gets the database_connection_details of this DatabaseFeatureDetails.
[Required] Gets the feature of this DatabaseFeatureDetails.
Gets the is_auto_enable_pluggable_database of this DatabaseSqlWatchFeatureDetails.
Methods:
__init__(**kwargs)Initializes a new DatabaseSqlWatchFeatureDetails 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.
- FEATURE_DB_LIFECYCLE_MANAGEMENT = 'DB_LIFECYCLE_MANAGEMENT'¶
A constant which can be used with the feature property of a DatabaseFeatureDetails. This constant has a value of “DB_LIFECYCLE_MANAGEMENT”
- FEATURE_DIAGNOSTICS_AND_MANAGEMENT = 'DIAGNOSTICS_AND_MANAGEMENT'¶
A constant which can be used with the feature property of a DatabaseFeatureDetails. This constant has a value of “DIAGNOSTICS_AND_MANAGEMENT”
- FEATURE_SQLWATCH = 'SQLWATCH'¶
A constant which can be used with the feature property of a DatabaseFeatureDetails. This constant has a value of “SQLWATCH”
- __init__(**kwargs)¶
Initializes a new DatabaseSqlWatchFeatureDetails object with values from keyword arguments. The default value of the
featureattribute of this class isSQLWATCHand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
feature (str) – The value to assign to the feature property of this DatabaseSqlWatchFeatureDetails. Allowed values for this property are: “DIAGNOSTICS_AND_MANAGEMENT”, “DB_LIFECYCLE_MANAGEMENT”, “SQLWATCH”
database_connection_details (oci.database_management.models.DatabaseConnectionDetails) – The value to assign to the database_connection_details property of this DatabaseSqlWatchFeatureDetails.
connector_details (oci.database_management.models.ConnectorDetails) – The value to assign to the connector_details property of this DatabaseSqlWatchFeatureDetails.
can_enable_all_current_pdbs (bool) – The value to assign to the can_enable_all_current_pdbs property of this DatabaseSqlWatchFeatureDetails.
is_auto_enable_pluggable_database (bool) – The value to assign to the is_auto_enable_pluggable_database property of this DatabaseSqlWatchFeatureDetails.
- property can_enable_all_current_pdbs¶
Gets the can_enable_all_current_pdbs of this DatabaseSqlWatchFeatureDetails. Indicates whether SQL Watch should be enabled for all the current pluggable databases in the container database.
- Returns
The can_enable_all_current_pdbs of this DatabaseSqlWatchFeatureDetails.
- Return type
bool
- property connector_details¶
[Required] Gets the connector_details of this DatabaseFeatureDetails.
- Returns
The connector_details of this DatabaseFeatureDetails.
- Return type
- property database_connection_details¶
[Required] Gets the database_connection_details of this DatabaseFeatureDetails.
- Returns
The database_connection_details of this DatabaseFeatureDetails.
- Return type
- property feature¶
[Required] Gets the feature of this DatabaseFeatureDetails. The name of the Database Management feature.
Allowed values for this property are: “DIAGNOSTICS_AND_MANAGEMENT”, “DB_LIFECYCLE_MANAGEMENT”, “SQLWATCH”
- Returns
The feature of this DatabaseFeatureDetails.
- 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.
- property is_auto_enable_pluggable_database¶
Gets the is_auto_enable_pluggable_database of this DatabaseSqlWatchFeatureDetails. Indicates whether SQL Watch should be enabled automatically for all the pluggable databases in the container database.
- Returns
The is_auto_enable_pluggable_database of this DatabaseSqlWatchFeatureDetails.
- Return type
bool