AutonomousDatabaseFeatureDetails

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

Bases: object

The details required to enable the specified Database Management feature for an Autonomous Database.

Attributes

FEATURE_DB_LIFECYCLE_MANAGEMENT A constant which can be used with the feature property of a AutonomousDatabaseFeatureDetails.
FEATURE_DIAGNOSTICS_AND_MANAGEMENT A constant which can be used with the feature property of a AutonomousDatabaseFeatureDetails.
FEATURE_SQLWATCH A constant which can be used with the feature property of a AutonomousDatabaseFeatureDetails.
connector_details Gets the connector_details of this AutonomousDatabaseFeatureDetails.
database_connection_details [Required] Gets the database_connection_details of this AutonomousDatabaseFeatureDetails.
feature [Required] Gets the feature of this AutonomousDatabaseFeatureDetails.

Methods

__init__(**kwargs) Initializes a new AutonomousDatabaseFeatureDetails 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 AutonomousDatabaseFeatureDetails. 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 AutonomousDatabaseFeatureDetails. This constant has a value of “DIAGNOSTICS_AND_MANAGEMENT”

FEATURE_SQLWATCH = 'SQLWATCH'

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

__init__(**kwargs)

Initializes a new AutonomousDatabaseFeatureDetails 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 AutonomousDatabaseFeatureDetails. 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 AutonomousDatabaseFeatureDetails.
  • connector_details (oci.database_management.models.ConnectorDetails) – The value to assign to the connector_details property of this AutonomousDatabaseFeatureDetails.
connector_details

Gets the connector_details of this AutonomousDatabaseFeatureDetails.

Returns:The connector_details of this AutonomousDatabaseFeatureDetails.
Return type:oci.database_management.models.ConnectorDetails
database_connection_details

[Required] Gets the database_connection_details of this AutonomousDatabaseFeatureDetails.

Returns:The database_connection_details of this AutonomousDatabaseFeatureDetails.
Return type:oci.database_management.models.DatabaseConnectionDetails
feature

[Required] Gets the feature of this AutonomousDatabaseFeatureDetails. 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 AutonomousDatabaseFeatureDetails.
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.