1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. ExternalNonContainerDatabaseManagement
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Database.ExternalNonContainerDatabaseManagement

Explore with Pulumi AI

This resource provides the External Non Container Database Management resource in Oracle Cloud Infrastructure Database service.

Enable Database Management Service for the external non-container database. For more information about the Database Management Service, see Database Management Service.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  testExternalNonContainerDatabaseManagement:
    type: oci:Database:ExternalNonContainerDatabaseManagement
    name: test_external_non_container_database_management
    properties:
      externalDatabaseConnectorId: ${testExternalDatabaseConnector.id}
      externalNonContainerDatabaseId: ${testExternalNonContainerDatabase.id}
      licenseMode: ${externalNonContainerDatabaseManagementLicenseModel}
Copy

Create ExternalNonContainerDatabaseManagement Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ExternalNonContainerDatabaseManagement(name: string, args: ExternalNonContainerDatabaseManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalNonContainerDatabaseManagement(resource_name: str,
                                           args: ExternalNonContainerDatabaseManagementArgs,
                                           opts: Optional[ResourceOptions] = None)

@overload
def ExternalNonContainerDatabaseManagement(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           enable_management: Optional[bool] = None,
                                           external_database_connector_id: Optional[str] = None,
                                           external_non_container_database_id: Optional[str] = None,
                                           license_model: Optional[str] = None)
func NewExternalNonContainerDatabaseManagement(ctx *Context, name string, args ExternalNonContainerDatabaseManagementArgs, opts ...ResourceOption) (*ExternalNonContainerDatabaseManagement, error)
public ExternalNonContainerDatabaseManagement(string name, ExternalNonContainerDatabaseManagementArgs args, CustomResourceOptions? opts = null)
public ExternalNonContainerDatabaseManagement(String name, ExternalNonContainerDatabaseManagementArgs args)
public ExternalNonContainerDatabaseManagement(String name, ExternalNonContainerDatabaseManagementArgs args, CustomResourceOptions options)
type: oci:Database:ExternalNonContainerDatabaseManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExternalNonContainerDatabaseManagementArgs
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 externalNonContainerDatabaseManagementResource = new Oci.Database.ExternalNonContainerDatabaseManagement("externalNonContainerDatabaseManagementResource", new()
{
    EnableManagement = false,
    ExternalDatabaseConnectorId = "string",
    ExternalNonContainerDatabaseId = "string",
    LicenseModel = "string",
});
Copy
example, err := Database.NewExternalNonContainerDatabaseManagement(ctx, "externalNonContainerDatabaseManagementResource", &Database.ExternalNonContainerDatabaseManagementArgs{
	EnableManagement:               pulumi.Bool(false),
	ExternalDatabaseConnectorId:    pulumi.String("string"),
	ExternalNonContainerDatabaseId: pulumi.String("string"),
	LicenseModel:                   pulumi.String("string"),
})
Copy
var externalNonContainerDatabaseManagementResource = new ExternalNonContainerDatabaseManagement("externalNonContainerDatabaseManagementResource", ExternalNonContainerDatabaseManagementArgs.builder()
    .enableManagement(false)
    .externalDatabaseConnectorId("string")
    .externalNonContainerDatabaseId("string")
    .licenseModel("string")
    .build());
Copy
external_non_container_database_management_resource = oci.database.ExternalNonContainerDatabaseManagement("externalNonContainerDatabaseManagementResource",
    enable_management=False,
    external_database_connector_id="string",
    external_non_container_database_id="string",
    license_model="string")
Copy
const externalNonContainerDatabaseManagementResource = new oci.database.ExternalNonContainerDatabaseManagement("externalNonContainerDatabaseManagementResource", {
    enableManagement: false,
    externalDatabaseConnectorId: "string",
    externalNonContainerDatabaseId: "string",
    licenseModel: "string",
});
Copy
type: oci:Database:ExternalNonContainerDatabaseManagement
properties:
    enableManagement: false
    externalDatabaseConnectorId: string
    externalNonContainerDatabaseId: string
    licenseModel: string
Copy

ExternalNonContainerDatabaseManagement 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 ExternalNonContainerDatabaseManagement resource accepts the following input properties:

EnableManagement This property is required. bool
ExternalDatabaseConnectorId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external database connector.
ExternalNonContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The external non-container database OCID.
LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

EnableManagement This property is required. bool
ExternalDatabaseConnectorId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external database connector.
ExternalNonContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The external non-container database OCID.
LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement This property is required. Boolean
externalDatabaseConnectorId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external database connector.
externalNonContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
String
The external non-container database OCID.
licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement This property is required. boolean
externalDatabaseConnectorId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external database connector.
externalNonContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The external non-container database OCID.
licenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enable_management This property is required. bool
external_database_connector_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the external database connector.
external_non_container_database_id
This property is required.
Changes to this property will trigger replacement.
str
The external non-container database OCID.
license_model str

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement This property is required. Boolean
externalDatabaseConnectorId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external database connector.
externalNonContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
String
The external non-container database OCID.
licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalNonContainerDatabaseManagement 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 ExternalNonContainerDatabaseManagement Resource

Get an existing ExternalNonContainerDatabaseManagement 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?: ExternalNonContainerDatabaseManagementState, opts?: CustomResourceOptions): ExternalNonContainerDatabaseManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable_management: Optional[bool] = None,
        external_database_connector_id: Optional[str] = None,
        external_non_container_database_id: Optional[str] = None,
        license_model: Optional[str] = None) -> ExternalNonContainerDatabaseManagement
func GetExternalNonContainerDatabaseManagement(ctx *Context, name string, id IDInput, state *ExternalNonContainerDatabaseManagementState, opts ...ResourceOption) (*ExternalNonContainerDatabaseManagement, error)
public static ExternalNonContainerDatabaseManagement Get(string name, Input<string> id, ExternalNonContainerDatabaseManagementState? state, CustomResourceOptions? opts = null)
public static ExternalNonContainerDatabaseManagement get(String name, Output<String> id, ExternalNonContainerDatabaseManagementState state, CustomResourceOptions options)
resources:  _:    type: oci:Database:ExternalNonContainerDatabaseManagement    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
EnableManagement bool
ExternalDatabaseConnectorId Changes to this property will trigger replacement. string
The OCID of the external database connector.
ExternalNonContainerDatabaseId Changes to this property will trigger replacement. string
The external non-container database OCID.
LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

EnableManagement bool
ExternalDatabaseConnectorId Changes to this property will trigger replacement. string
The OCID of the external database connector.
ExternalNonContainerDatabaseId Changes to this property will trigger replacement. string
The external non-container database OCID.
LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement Boolean
externalDatabaseConnectorId Changes to this property will trigger replacement. String
The OCID of the external database connector.
externalNonContainerDatabaseId Changes to this property will trigger replacement. String
The external non-container database OCID.
licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement boolean
externalDatabaseConnectorId Changes to this property will trigger replacement. string
The OCID of the external database connector.
externalNonContainerDatabaseId Changes to this property will trigger replacement. string
The external non-container database OCID.
licenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enable_management bool
external_database_connector_id Changes to this property will trigger replacement. str
The OCID of the external database connector.
external_non_container_database_id Changes to this property will trigger replacement. str
The external non-container database OCID.
license_model str

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

enableManagement Boolean
externalDatabaseConnectorId Changes to this property will trigger replacement. String
The OCID of the external database connector.
externalNonContainerDatabaseId Changes to this property will trigger replacement. String
The external non-container database OCID.
licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

** 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

Import

Import is not supported for this resource.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.