oci_database_management_pluggabledatabase_pluggable_database_dbm_features_management

This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.

Enables a Database Management feature for the specified Oracle cloud pluggable database.

Example Usage

resource "oci_database_management_pluggabledatabase_pluggable_database_dbm_features_management" "test_pluggabledatabase_pluggable_database_dbm_features_management" {
    #Required
    pluggable_database_id = oci_database_pluggable_database.test_pluggable_database.id
    enable_pluggable_database_dbm_feature = var.enable_pluggable_database_dbm_feature

    #Optional
    feature_details {
        #Required
        feature = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_feature
        enable_pluggable_database_dbm_feature = var.enable_pluggable_database_dbm_feature

        #Optional
        connector_details {

            #Optional
            connector_type = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_connector_details_connector_type
            database_connector_id = oci_database_management_database_connector.test_database_connector.id
            management_agent_id = oci_management_agent_management_agent.test_management_agent.id
            private_end_point_id = oci_database_management_private_end_point.test_private_end_point.id
        }
        database_connection_details {

            #Optional
            connection_credentials {

                #Optional
                credential_name = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_credentials_credential_name
                credential_type = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_credentials_credential_type
                password_secret_id = oci_vault_secret.test_secret.id
                role = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_credentials_role
                ssl_secret_id = oci_vault_secret.test_secret.id
                user_name = oci_identity_user.test_user.name
            }
            connection_string {

                #Optional
                connection_type = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_string_connection_type
                port = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_string_port
                protocol = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_string_protocol
                service = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_database_connection_details_connection_string_service
            }
        }
        management_type = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_management_type
        is_auto_enable_pluggable_database = var.pluggabledatabase_pluggable_database_dbm_features_management_feature_details_is_auto_enable_pluggable_database
    }
}

Argument Reference

The following arguments are supported:

* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Pluggabledatabase Pluggable Database Dbm Features Management * update - (Defaults to 20 minutes), when updating the Pluggabledatabase Pluggable Database Dbm Features Management * delete - (Defaults to 20 minutes), when destroying the Pluggabledatabase Pluggable Database Dbm Features Management