oci.DatabaseManagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
Explore with Pulumi AI
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement;
import com.pulumi.oci.DatabaseManagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement = new ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement("testExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement", ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs.builder()
.externalPluggableDatabaseId(testExternalPluggableDatabase.id())
.enableExternalPluggableDbmFeature(enableExternalPluggableDbmFeature)
.featureDetails(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs.builder()
.feature(externalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsFeature)
.enableExternalPluggableDbmFeature(enableExternalPluggableDbmFeature)
.connectorDetails(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()
.connectorType(externalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)
.databaseConnectorId(testDatabaseConnector.id())
.managementAgentId(testManagementAgent.id())
.privateEndPointId(testPrivateEndPoint.id())
.build())
.build())
.build());
}
}
resources:
testExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement:
type: oci:DatabaseManagement:ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
name: test_externalpluggabledatabase_external_pluggable_dbm_features_management
properties:
externalPluggableDatabaseId: ${testExternalPluggableDatabase.id}
enableExternalPluggableDbmFeature: ${enableExternalPluggableDbmFeature}
featureDetails:
feature: ${externalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsFeature}
enableExternalPluggableDbmFeature: ${enableExternalPluggableDbmFeature}
connectorDetails:
connectorType: ${externalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}
databaseConnectorId: ${testDatabaseConnector.id}
managementAgentId: ${testManagementAgent.id}
privateEndPointId: ${testPrivateEndPoint.id}
Create ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(name: string, args: ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(resource_name: str,
args: ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_external_pluggable_dbm_feature: Optional[bool] = None,
external_pluggable_database_id: Optional[str] = None,
feature_details: Optional[_databasemanagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs] = None)
func NewExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(ctx *Context, name string, args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs, opts ...ResourceOption) (*ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement, error)
public ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(string name, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs args, CustomResourceOptions? opts = null)
public ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(String name, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs args)
public ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(String name, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource = new Oci.DatabaseManagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement("externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource", new()
{
EnableExternalPluggableDbmFeature = false,
ExternalPluggableDatabaseId = "string",
FeatureDetails = new Oci.DatabaseManagement.Inputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs
{
Feature = "string",
ConnectorDetails = new Oci.DatabaseManagement.Inputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs
{
ConnectorType = "string",
DatabaseConnectorId = "string",
ManagementAgentId = "string",
PrivateEndPointId = "string",
},
},
});
example, err := DatabaseManagement.NewExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(ctx, "externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource", &DatabaseManagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs{
EnableExternalPluggableDbmFeature: pulumi.Bool(false),
ExternalPluggableDatabaseId: pulumi.String("string"),
FeatureDetails: &databasemanagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs{
Feature: pulumi.String("string"),
ConnectorDetails: &databasemanagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{
ConnectorType: pulumi.String("string"),
DatabaseConnectorId: pulumi.String("string"),
ManagementAgentId: pulumi.String("string"),
PrivateEndPointId: pulumi.String("string"),
},
},
})
var externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource = new ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement("externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource", ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementArgs.builder()
.enableExternalPluggableDbmFeature(false)
.externalPluggableDatabaseId("string")
.featureDetails(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs.builder()
.feature("string")
.connectorDetails(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()
.connectorType("string")
.databaseConnectorId("string")
.managementAgentId("string")
.privateEndPointId("string")
.build())
.build())
.build());
externalpluggabledatabase_external_pluggable_dbm_features_management_resource = oci.database_management.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement("externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource",
enable_external_pluggable_dbm_feature=False,
external_pluggable_database_id="string",
feature_details={
"feature": "string",
"connector_details": {
"connector_type": "string",
"database_connector_id": "string",
"management_agent_id": "string",
"private_end_point_id": "string",
},
})
const externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource = new oci.databasemanagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement("externalpluggabledatabaseExternalPluggableDbmFeaturesManagementResource", {
enableExternalPluggableDbmFeature: false,
externalPluggableDatabaseId: "string",
featureDetails: {
feature: "string",
connectorDetails: {
connectorType: "string",
databaseConnectorId: "string",
managementAgentId: "string",
privateEndPointId: "string",
},
},
});
type: oci:DatabaseManagement:ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
properties:
enableExternalPluggableDbmFeature: false
externalPluggableDatabaseId: string
featureDetails:
connectorDetails:
connectorType: string
databaseConnectorId: string
managementAgentId: string
privateEndPointId: string
feature: string
ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement resource accepts the following input properties:
- Enable
External boolPluggable Dbm Feature (Updatable) A required field when set to
true
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
- External
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- Feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- Enable
External boolPluggable Dbm Feature (Updatable) A required field when set to
true
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
- External
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- Feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable StringDatabase Id - The OCID of the external pluggable database.
- feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable
External booleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable_
external_ boolpluggable_ dbm_ feature (Updatable) A required field when set to
true
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
- external_
pluggable_ strdatabase_ id - The OCID of the external pluggable database.
- feature_
details databasemanagement.Externalpluggabledatabase External Pluggable Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable StringDatabase Id - The OCID of the external pluggable database.
- feature
Details Property Map - The details required to enable the specified Database Management feature.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement Resource
Get an existing ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementState, opts?: CustomResourceOptions): ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_external_pluggable_dbm_feature: Optional[bool] = None,
external_pluggable_database_id: Optional[str] = None,
feature_details: Optional[_databasemanagement.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs] = None) -> ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement
func GetExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement(ctx *Context, name string, id IDInput, state *ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementState, opts ...ResourceOption) (*ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement, error)
public static ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement Get(string name, Input<string> id, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementState? state, CustomResourceOptions? opts = null)
public static ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagement get(String name, Output<String> id, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enable
External boolPluggable Dbm Feature (Updatable) A required field when set to
true
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
- External
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- Feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- Enable
External boolPluggable Dbm Feature (Updatable) A required field when set to
true
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
- External
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- Feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable StringDatabase Id - The OCID of the external pluggable database.
- feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable
External booleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable stringDatabase Id - The OCID of the external pluggable database.
- feature
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable_
external_ boolpluggable_ dbm_ feature (Updatable) A required field when set to
true
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
- external_
pluggable_ strdatabase_ id - The OCID of the external pluggable database.
- feature_
details databasemanagement.Externalpluggabledatabase External Pluggable Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanPluggable Dbm Feature (Updatable) A required field when set to
true
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
- external
Pluggable StringDatabase Id - The OCID of the external pluggable database.
- feature
Details Property Map - The details required to enable the specified Database Management feature.
Supporting Types
ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs
- Feature string
- The name of the Database Management feature.
- Connector
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- Feature string
- The name of the Database Management feature.
- Connector
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- feature String
- The name of the Database Management feature.
- connector
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- feature string
- The name of the Database Management feature.
- connector
Details ExternalpluggabledatabaseExternal Pluggable Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- feature str
- The name of the Database Management feature.
- connector_
details databasemanagement.Externalpluggabledatabase External Pluggable Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- feature String
- The name of the Database Management feature.
- connector
Details Property Map - The connector details required to connect to an Oracle cloud database.
ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails, ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs
- Connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- Database
Connector stringId - The OCID of the external database connector.
- Management
Agent stringId - The OCID of the management agent.
- Private
End stringPoint Id - The OCID of the private endpoint.
- Connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- Database
Connector stringId - The OCID of the external database connector.
- Management
Agent stringId - The OCID of the management agent.
- Private
End stringPoint Id - The OCID of the private endpoint.
- connector
Type String - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- database
Connector StringId - The OCID of the external database connector.
- management
Agent StringId - The OCID of the management agent.
- private
End StringPoint Id - The OCID of the private endpoint.
- connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- database
Connector stringId - The OCID of the external database connector.
- management
Agent stringId - The OCID of the management agent.
- private
End stringPoint Id - The OCID of the private endpoint.
- connector_
type str - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- database_
connector_ strid - The OCID of the external database connector.
- management_
agent_ strid - The OCID of the management agent.
- private_
end_ strpoint_ id - The OCID of the private endpoint.
- connector
Type String - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- DIRECT: Direct connection
- database
Connector StringId - The OCID of the external database connector.
- management
Agent StringId - The OCID of the management agent.
- private
End StringPoint Id - The OCID of the private endpoint.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.