oci_database_management_externalpluggabledatabase_external_pluggable_dbm_features_management
This resource provides the Externalpluggabledatabase External Pluggable Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.
Enables a Database Management feature for the specified external pluggable database.
Example Usage
resource "oci_database_management_externalpluggabledatabase_external_pluggable_dbm_features_management" "test_externalpluggabledatabase_external_pluggable_dbm_features_management" {
#Required
external_pluggable_database_id = oci_database_external_pluggable_database.test_external_pluggable_database.id
enable_external_pluggable_dbm_feature = var.enable_external_pluggable_dbm_feature
#Optional
feature_details {
#Required
feature = var.externalpluggabledatabase_external_pluggable_dbm_features_management_feature_details_feature
enable_external_pluggable_dbm_feature = var.enable_external_pluggable_dbm_feature
#Optional
connector_details {
#Optional
connector_type = var.externalpluggabledatabase_external_pluggable_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
}
}
}
Argument Reference
The following arguments are supported:
external_pluggable_database_id
- (Required) The OCID of the external pluggable database.feature_details
- (Optional) The details required to enable the specified Database Management feature.connector_details
- (Optional) The connector details required to connect to an Oracle cloud database.connector_type
- (Optional) The list of supported connection types:- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
database_connector_id
- (Applicable when connector_type=EXTERNAL) The OCID of the external database connector.management_agent_id
- (Applicable when connector_type=MACS) The OCID of the management agent.private_end_point_id
- (Applicable when connector_type=PE) The OCID of the private endpoint.
feature
- (Required) The name of the Database Management feature.
enable_external_pluggable_dbm_feature
- (Required) (Updatable) A required field when set totrue
calls enable action and when set tofalse
calls disable action.
** 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 Externalpluggabledatabase External Pluggable Dbm Features Management
* update
- (Defaults to 20 minutes), when updating the Externalpluggabledatabase External Pluggable Dbm Features Management
* delete
- (Defaults to 20 minutes), when destroying the Externalpluggabledatabase External Pluggable Dbm Features Management