DatabaseSqlWatchFeatureConfiguration

class oci.database_management.models.DatabaseSqlWatchFeatureConfiguration(**kwargs)

Bases: DatabaseFeatureConfiguration

The details required to enable the SQL Watch feature.

Attributes:

FEATURE_DB_LIFECYCLE_MANAGEMENT

A constant which can be used with the feature property of a DatabaseFeatureConfiguration.

FEATURE_DIAGNOSTICS_AND_MANAGEMENT

A constant which can be used with the feature property of a DatabaseFeatureConfiguration.

FEATURE_SQLWATCH

A constant which can be used with the feature property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_DISABLING

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_ENABLED

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_ENABLED_WITH_WARNINGS

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_ENABLING

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_FAILED

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_FAILED_DISABLING

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_FAILED_ENABLING

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_NOT_ENABLED

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_PENDING_DISABLE

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

FEATURE_STATUS_UNSUPPORTED

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration.

connector_details

Gets the connector_details of this DatabaseFeatureConfiguration.

database_connection_details

Gets the database_connection_details of this DatabaseFeatureConfiguration.

feature

[Required] Gets the feature of this DatabaseFeatureConfiguration.

feature_status

[Required] Gets the feature_status of this DatabaseFeatureConfiguration.

Methods:

__init__(**kwargs)

Initializes a new DatabaseSqlWatchFeatureConfiguration 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 DatabaseFeatureConfiguration. 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 DatabaseFeatureConfiguration. This constant has a value of “DIAGNOSTICS_AND_MANAGEMENT”

FEATURE_SQLWATCH = 'SQLWATCH'

A constant which can be used with the feature property of a DatabaseFeatureConfiguration. This constant has a value of “SQLWATCH”

FEATURE_STATUS_DISABLING = 'DISABLING'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “DISABLING”

FEATURE_STATUS_ENABLED = 'ENABLED'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “ENABLED”

FEATURE_STATUS_ENABLED_WITH_WARNINGS = 'ENABLED_WITH_WARNINGS'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “ENABLED_WITH_WARNINGS”

FEATURE_STATUS_ENABLING = 'ENABLING'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “ENABLING”

FEATURE_STATUS_FAILED = 'FAILED'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “FAILED”

FEATURE_STATUS_FAILED_DISABLING = 'FAILED_DISABLING'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “FAILED_DISABLING”

FEATURE_STATUS_FAILED_ENABLING = 'FAILED_ENABLING'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “FAILED_ENABLING”

FEATURE_STATUS_NOT_ENABLED = 'NOT_ENABLED'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “NOT_ENABLED”

FEATURE_STATUS_PENDING_DISABLE = 'PENDING_DISABLE'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “PENDING_DISABLE”

FEATURE_STATUS_UNSUPPORTED = 'UNSUPPORTED'

A constant which can be used with the feature_status property of a DatabaseFeatureConfiguration. This constant has a value of “UNSUPPORTED”

__init__(**kwargs)

Initializes a new DatabaseSqlWatchFeatureConfiguration object with values from keyword arguments. The default value of the feature attribute of this class is SQLWATCH and 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 DatabaseSqlWatchFeatureConfiguration. Allowed values for this property are: “DIAGNOSTICS_AND_MANAGEMENT”, “DB_LIFECYCLE_MANAGEMENT”, “SQLWATCH”

  • feature_status (str) – The value to assign to the feature_status property of this DatabaseSqlWatchFeatureConfiguration. Allowed values for this property are: “ENABLED”, “NOT_ENABLED”, “UNSUPPORTED”, “FAILED_ENABLING”, “FAILED_DISABLING”, “FAILED”, “ENABLED_WITH_WARNINGS”, “PENDING_DISABLE”, “ENABLING”, “DISABLING”

  • connector_details (oci.database_management.models.ConnectorDetails) – The value to assign to the connector_details property of this DatabaseSqlWatchFeatureConfiguration.

  • database_connection_details (oci.database_management.models.DatabaseConnectionDetails) – The value to assign to the database_connection_details property of this DatabaseSqlWatchFeatureConfiguration.

property connector_details

Gets the connector_details of this DatabaseFeatureConfiguration.

Returns

The connector_details of this DatabaseFeatureConfiguration.

Return type

oci.database_management.models.ConnectorDetails

property database_connection_details

Gets the database_connection_details of this DatabaseFeatureConfiguration.

Returns

The database_connection_details of this DatabaseFeatureConfiguration.

Return type

oci.database_management.models.DatabaseConnectionDetails

property feature

[Required] Gets the feature of this DatabaseFeatureConfiguration. The name of the Database Management feature.

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

Returns

The feature of this DatabaseFeatureConfiguration.

Return type

str

property feature_status

[Required] Gets the feature_status of this DatabaseFeatureConfiguration. The list of statuses for Database Management features.

Allowed values for this property are: “ENABLED”, “NOT_ENABLED”, “UNSUPPORTED”, “FAILED_ENABLING”, “FAILED_DISABLING”, “FAILED”, “ENABLED_WITH_WARNINGS”, “PENDING_DISABLE”, “ENABLING”, “DISABLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The feature_status of this DatabaseFeatureConfiguration.

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.