oci.DatabaseManagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
Explore with Pulumi AI
This resource provides the Externalcontainerdatabase External Container Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.
Enables a Database Management feature for the specified external container 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.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement;
import com.pulumi.oci.DatabaseManagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;
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 testExternalcontainerdatabaseExternalContainerDbmFeaturesManagement = new ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement("testExternalcontainerdatabaseExternalContainerDbmFeaturesManagement", ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs.builder()
.externalContainerDatabaseId(testExternalContainerDatabase.id())
.enableExternalContainerDbmFeature(enableExternalContainerDbmFeature)
.featureDetails(ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs.builder()
.feature(externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsFeature)
.enableExternalContainerDbmFeature(enableExternalContainerDbmFeature)
.connectorDetails(ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()
.connectorType(externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)
.databaseConnectorId(testDatabaseConnector.id())
.managementAgentId(testManagementAgent.id())
.privateEndPointId(testPrivateEndPoint.id())
.build())
.licenseModel(externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsLicenseModel)
.build())
.build());
}
}
resources:
testExternalcontainerdatabaseExternalContainerDbmFeaturesManagement:
type: oci:DatabaseManagement:ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
name: test_externalcontainerdatabase_external_container_dbm_features_management
properties:
externalContainerDatabaseId: ${testExternalContainerDatabase.id}
enableExternalContainerDbmFeature: ${enableExternalContainerDbmFeature}
featureDetails:
feature: ${externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsFeature}
enableExternalContainerDbmFeature: ${enableExternalContainerDbmFeature}
connectorDetails:
connectorType: ${externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}
databaseConnectorId: ${testDatabaseConnector.id}
managementAgentId: ${testManagementAgent.id}
privateEndPointId: ${testPrivateEndPoint.id}
licenseModel: ${externalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsLicenseModel}
Create ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(name: string, args: ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(resource_name: str,
args: ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_external_container_dbm_feature: Optional[bool] = None,
external_container_database_id: Optional[str] = None,
feature_details: Optional[_databasemanagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs] = None)
func NewExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(ctx *Context, name string, args ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs, opts ...ResourceOption) (*ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement, error)
public ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(string name, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs args, CustomResourceOptions? opts = null)
public ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(String name, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs args)
public ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(String name, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
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 ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs
- 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 ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs
- 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 ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs
- 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 externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource = new Oci.DatabaseManagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement("externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource", new()
{
EnableExternalContainerDbmFeature = false,
ExternalContainerDatabaseId = "string",
FeatureDetails = new Oci.DatabaseManagement.Inputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs
{
Feature = "string",
ConnectorDetails = new Oci.DatabaseManagement.Inputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs
{
ConnectorType = "string",
DatabaseConnectorId = "string",
ManagementAgentId = "string",
PrivateEndPointId = "string",
},
LicenseModel = "string",
},
});
example, err := DatabaseManagement.NewExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(ctx, "externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource", &DatabaseManagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs{
EnableExternalContainerDbmFeature: pulumi.Bool(false),
ExternalContainerDatabaseId: pulumi.String("string"),
FeatureDetails: &databasemanagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs{
Feature: pulumi.String("string"),
ConnectorDetails: &databasemanagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{
ConnectorType: pulumi.String("string"),
DatabaseConnectorId: pulumi.String("string"),
ManagementAgentId: pulumi.String("string"),
PrivateEndPointId: pulumi.String("string"),
},
LicenseModel: pulumi.String("string"),
},
})
var externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource = new ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement("externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource", ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementArgs.builder()
.enableExternalContainerDbmFeature(false)
.externalContainerDatabaseId("string")
.featureDetails(ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs.builder()
.feature("string")
.connectorDetails(ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()
.connectorType("string")
.databaseConnectorId("string")
.managementAgentId("string")
.privateEndPointId("string")
.build())
.licenseModel("string")
.build())
.build());
externalcontainerdatabase_external_container_dbm_features_management_resource = oci.database_management.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement("externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource",
enable_external_container_dbm_feature=False,
external_container_database_id="string",
feature_details=oci.database_management.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs(
feature="string",
connector_details=oci.database_management.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(
connector_type="string",
database_connector_id="string",
management_agent_id="string",
private_end_point_id="string",
),
license_model="string",
))
const externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource = new oci.databasemanagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement("externalcontainerdatabaseExternalContainerDbmFeaturesManagementResource", {
enableExternalContainerDbmFeature: false,
externalContainerDatabaseId: "string",
featureDetails: {
feature: "string",
connectorDetails: {
connectorType: "string",
databaseConnectorId: "string",
managementAgentId: "string",
privateEndPointId: "string",
},
licenseModel: "string",
},
});
type: oci:DatabaseManagement:ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
properties:
enableExternalContainerDbmFeature: false
externalContainerDatabaseId: string
featureDetails:
connectorDetails:
connectorType: string
databaseConnectorId: string
managementAgentId: string
privateEndPointId: string
feature: string
licenseModel: string
ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement resource accepts the following input properties:
- Enable
External boolContainer 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
Container stringDatabase Id - The OCID of the external container database.
- Feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- Enable
External boolContainer 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
Container stringDatabase Id - The OCID of the external container database.
- Feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanContainer 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
Container StringDatabase Id - The OCID of the external container database.
- feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable
External booleanContainer 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
Container stringDatabase Id - The OCID of the external container database.
- feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable_
external_ boolcontainer_ 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_
container_ strdatabase_ id - The OCID of the external container database.
- feature_
details databasemanagement.Externalcontainerdatabase External Container Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanContainer 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
Container StringDatabase Id - The OCID of the external container 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 ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement 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 ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement Resource
Get an existing ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement 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?: ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementState, opts?: CustomResourceOptions): ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_external_container_dbm_feature: Optional[bool] = None,
external_container_database_id: Optional[str] = None,
feature_details: Optional[_databasemanagement.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs] = None) -> ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement
func GetExternalcontainerdatabaseExternalContainerDbmFeaturesManagement(ctx *Context, name string, id IDInput, state *ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementState, opts ...ResourceOption) (*ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement, error)
public static ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement Get(string name, Input<string> id, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementState? state, CustomResourceOptions? opts = null)
public static ExternalcontainerdatabaseExternalContainerDbmFeaturesManagement get(String name, Output<String> id, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementState 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 boolContainer 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
Container stringDatabase Id - The OCID of the external container database.
- Feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- Enable
External boolContainer 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
Container stringDatabase Id - The OCID of the external container database.
- Feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanContainer 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
Container StringDatabase Id - The OCID of the external container database.
- feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable
External booleanContainer 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
Container stringDatabase Id - The OCID of the external container database.
- feature
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details - The details required to enable the specified Database Management feature.
- enable_
external_ boolcontainer_ 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_
container_ strdatabase_ id - The OCID of the external container database.
- feature_
details databasemanagement.Externalcontainerdatabase External Container Dbm Features Management Feature Details Args - The details required to enable the specified Database Management feature.
- enable
External BooleanContainer 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
Container StringDatabase Id - The OCID of the external container database.
- feature
Details Property Map - The details required to enable the specified Database Management feature.
Supporting Types
ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsArgs
- Feature string
- The name of the Database Management feature.
- Connector
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- License
Model string - The Oracle license model that applies to the external database.
- Feature string
- The name of the Database Management feature.
- Connector
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- License
Model string - The Oracle license model that applies to the external database.
- feature String
- The name of the Database Management feature.
- connector
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- license
Model String - The Oracle license model that applies to the external database.
- feature string
- The name of the Database Management feature.
- connector
Details ExternalcontainerdatabaseExternal Container Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- license
Model string - The Oracle license model that applies to the external database.
- feature str
- The name of the Database Management feature.
- connector_
details databasemanagement.Externalcontainerdatabase External Container Dbm Features Management Feature Details Connector Details - The connector details required to connect to an Oracle cloud database.
- license_
model str - The Oracle license model that applies to the external 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.
- license
Model String - The Oracle license model that applies to the external database.
ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails, ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs
- 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.