DatabaseFeatureConfiguration

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

Bases: object

The details of an external database feature configuration.

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 DatabaseFeatureConfiguration 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 DatabaseFeatureConfiguration object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 DatabaseFeatureConfiguration. 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’.
  • feature_status (str) – The value to assign to the feature_status property of this DatabaseFeatureConfiguration. 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’.
  • connector_details (oci.database_management.models.ConnectorDetails) – The value to assign to the connector_details property of this DatabaseFeatureConfiguration.
  • database_connection_details (oci.database_management.models.DatabaseConnectionDetails) – The value to assign to the database_connection_details property of this DatabaseFeatureConfiguration.
connector_details

Gets the connector_details of this DatabaseFeatureConfiguration.

Returns:The connector_details of this DatabaseFeatureConfiguration.
Return type:oci.database_management.models.ConnectorDetails
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
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
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.