oci_database_management_database_dbm_features_management

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

Enables a Database Management feature for the specified cloud database.

Example Usage

resource "oci_database_management_database_dbm_features_management" "test_database_dbm_features_management" {
	#Required
	database_id = oci_database_database.test_database.id
	enable_database_dbm_feature = var.enable_database_dbm_feature

	#Optional
	feature_details {
		#Required
		feature = var.database_dbm_features_management_feature_details_feature
		enable_database_dbm_feature = var.enable_database_dbm_feature

		#Optional
		connector_details {

			#Optional
			connector_type = var.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.database_dbm_features_management_feature_details_database_connection_details_connection_credentials_credential_name
				credential_type = var.database_dbm_features_management_feature_details_database_connection_details_connection_credentials_credential_type
				password_secret_id = oci_vault_secret.test_secret.id
				role = var.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.database_dbm_features_management_feature_details_database_connection_details_connection_string_connection_type
				port = var.database_dbm_features_management_feature_details_database_connection_details_connection_string_port
				protocol = var.database_dbm_features_management_feature_details_database_connection_details_connection_string_protocol
				service = var.database_dbm_features_management_feature_details_database_connection_details_connection_string_service
			}
		}
		management_type = var.database_dbm_features_management_feature_details_management_type
		is_auto_enable_pluggable_database = var.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 Database Dbm Features Management * update - (Defaults to 20 minutes), when updating the Database Dbm Features Management * delete - (Defaults to 20 minutes), when destroying the Database Dbm Features Management