1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. ExternalDbSystemDatabaseManagementsManagement
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.DatabaseManagement.ExternalDbSystemDatabaseManagementsManagement

Explore with Pulumi AI

This resource provides the External Db System Database Managements Management resource in Oracle Cloud Infrastructure Database Management service.

Enables Database Management service for all the components of the specified external DB system (except databases).

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalDbSystemDatabaseManagementsManagement = new oci.databasemanagement.ExternalDbSystemDatabaseManagementsManagement("test_external_db_system_database_managements_management", {
    externalDbSystemId: testExternalDbSystem.id,
    enableDatabaseManagement: enableDatabaseManagement,
    licenseModel: externalDbSystemDatabaseManagementsManagementLicenseModel,
});
Copy
import pulumi
import pulumi_oci as oci

test_external_db_system_database_managements_management = oci.database_management.ExternalDbSystemDatabaseManagementsManagement("test_external_db_system_database_managements_management",
    external_db_system_id=test_external_db_system["id"],
    enable_database_management=enable_database_management,
    license_model=external_db_system_database_managements_management_license_model)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemanagement.NewExternalDbSystemDatabaseManagementsManagement(ctx, "test_external_db_system_database_managements_management", &databasemanagement.ExternalDbSystemDatabaseManagementsManagementArgs{
			ExternalDbSystemId:       pulumi.Any(testExternalDbSystem.Id),
			EnableDatabaseManagement: pulumi.Any(enableDatabaseManagement),
			LicenseModel:             pulumi.Any(externalDbSystemDatabaseManagementsManagementLicenseModel),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testExternalDbSystemDatabaseManagementsManagement = new Oci.DatabaseManagement.ExternalDbSystemDatabaseManagementsManagement("test_external_db_system_database_managements_management", new()
    {
        ExternalDbSystemId = testExternalDbSystem.Id,
        EnableDatabaseManagement = enableDatabaseManagement,
        LicenseModel = externalDbSystemDatabaseManagementsManagementLicenseModel,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystemDatabaseManagementsManagement;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystemDatabaseManagementsManagementArgs;
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 testExternalDbSystemDatabaseManagementsManagement = new ExternalDbSystemDatabaseManagementsManagement("testExternalDbSystemDatabaseManagementsManagement", ExternalDbSystemDatabaseManagementsManagementArgs.builder()
            .externalDbSystemId(testExternalDbSystem.id())
            .enableDatabaseManagement(enableDatabaseManagement)
            .licenseModel(externalDbSystemDatabaseManagementsManagementLicenseModel)
            .build());

    }
}
Copy
resources:
  testExternalDbSystemDatabaseManagementsManagement:
    type: oci:DatabaseManagement:ExternalDbSystemDatabaseManagementsManagement
    name: test_external_db_system_database_managements_management
    properties:
      externalDbSystemId: ${testExternalDbSystem.id}
      enableDatabaseManagement: ${enableDatabaseManagement}
      licenseModel: ${externalDbSystemDatabaseManagementsManagementLicenseModel}
Copy

Create ExternalDbSystemDatabaseManagementsManagement Resource

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

Constructor syntax

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

@overload
def ExternalDbSystemDatabaseManagementsManagement(resource_name: str,
                                                  opts: Optional[ResourceOptions] = None,
                                                  enable_database_management: Optional[bool] = None,
                                                  external_db_system_id: Optional[str] = None,
                                                  license_model: Optional[str] = None)
func NewExternalDbSystemDatabaseManagementsManagement(ctx *Context, name string, args ExternalDbSystemDatabaseManagementsManagementArgs, opts ...ResourceOption) (*ExternalDbSystemDatabaseManagementsManagement, error)
public ExternalDbSystemDatabaseManagementsManagement(string name, ExternalDbSystemDatabaseManagementsManagementArgs args, CustomResourceOptions? opts = null)
public ExternalDbSystemDatabaseManagementsManagement(String name, ExternalDbSystemDatabaseManagementsManagementArgs args)
public ExternalDbSystemDatabaseManagementsManagement(String name, ExternalDbSystemDatabaseManagementsManagementArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalDbSystemDatabaseManagementsManagement
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. ExternalDbSystemDatabaseManagementsManagementArgs
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. ExternalDbSystemDatabaseManagementsManagementArgs
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. ExternalDbSystemDatabaseManagementsManagementArgs
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. ExternalDbSystemDatabaseManagementsManagementArgs
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. ExternalDbSystemDatabaseManagementsManagementArgs
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 externalDbSystemDatabaseManagementsManagementResource = new Oci.DatabaseManagement.ExternalDbSystemDatabaseManagementsManagement("externalDbSystemDatabaseManagementsManagementResource", new()
{
    EnableDatabaseManagement = false,
    ExternalDbSystemId = "string",
    LicenseModel = "string",
});
Copy
example, err := DatabaseManagement.NewExternalDbSystemDatabaseManagementsManagement(ctx, "externalDbSystemDatabaseManagementsManagementResource", &DatabaseManagement.ExternalDbSystemDatabaseManagementsManagementArgs{
	EnableDatabaseManagement: pulumi.Bool(false),
	ExternalDbSystemId:       pulumi.String("string"),
	LicenseModel:             pulumi.String("string"),
})
Copy
var externalDbSystemDatabaseManagementsManagementResource = new ExternalDbSystemDatabaseManagementsManagement("externalDbSystemDatabaseManagementsManagementResource", ExternalDbSystemDatabaseManagementsManagementArgs.builder()
    .enableDatabaseManagement(false)
    .externalDbSystemId("string")
    .licenseModel("string")
    .build());
Copy
external_db_system_database_managements_management_resource = oci.database_management.ExternalDbSystemDatabaseManagementsManagement("externalDbSystemDatabaseManagementsManagementResource",
    enable_database_management=False,
    external_db_system_id="string",
    license_model="string")
Copy
const externalDbSystemDatabaseManagementsManagementResource = new oci.databasemanagement.ExternalDbSystemDatabaseManagementsManagement("externalDbSystemDatabaseManagementsManagementResource", {
    enableDatabaseManagement: false,
    externalDbSystemId: "string",
    licenseModel: "string",
});
Copy
type: oci:DatabaseManagement:ExternalDbSystemDatabaseManagementsManagement
properties:
    enableDatabaseManagement: false
    externalDbSystemId: string
    licenseModel: string
Copy

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

EnableDatabaseManagement This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false 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

ExternalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
LicenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
EnableDatabaseManagement This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false 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

ExternalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
LicenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
enableDatabaseManagement This property is required. Boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. String
The Oracle license model that applies to the external database.
enableDatabaseManagement This property is required. boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
enable_database_management This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false 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_db_system_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the external DB system.
license_model Changes to this property will trigger replacement. str
The Oracle license model that applies to the external database.
enableDatabaseManagement This property is required. Boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. String
The Oracle license model that applies to the external database.

Outputs

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

Get an existing ExternalDbSystemDatabaseManagementsManagement 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?: ExternalDbSystemDatabaseManagementsManagementState, opts?: CustomResourceOptions): ExternalDbSystemDatabaseManagementsManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable_database_management: Optional[bool] = None,
        external_db_system_id: Optional[str] = None,
        license_model: Optional[str] = None) -> ExternalDbSystemDatabaseManagementsManagement
func GetExternalDbSystemDatabaseManagementsManagement(ctx *Context, name string, id IDInput, state *ExternalDbSystemDatabaseManagementsManagementState, opts ...ResourceOption) (*ExternalDbSystemDatabaseManagementsManagement, error)
public static ExternalDbSystemDatabaseManagementsManagement Get(string name, Input<string> id, ExternalDbSystemDatabaseManagementsManagementState? state, CustomResourceOptions? opts = null)
public static ExternalDbSystemDatabaseManagementsManagement get(String name, Output<String> id, ExternalDbSystemDatabaseManagementsManagementState state, CustomResourceOptions options)
resources:  _:    type: oci:DatabaseManagement:ExternalDbSystemDatabaseManagementsManagement    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:
EnableDatabaseManagement bool

(Updatable) A required field when set to true calls enable action and when set to false 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

ExternalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
LicenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
EnableDatabaseManagement bool

(Updatable) A required field when set to true calls enable action and when set to false 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

ExternalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
LicenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
enableDatabaseManagement Boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId Changes to this property will trigger replacement. String
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. String
The Oracle license model that applies to the external database.
enableDatabaseManagement boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. string
The Oracle license model that applies to the external database.
enable_database_management bool

(Updatable) A required field when set to true calls enable action and when set to false 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_db_system_id Changes to this property will trigger replacement. str
The OCID of the external DB system.
license_model Changes to this property will trigger replacement. str
The Oracle license model that applies to the external database.
enableDatabaseManagement Boolean

(Updatable) A required field when set to true calls enable action and when set to false 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

externalDbSystemId Changes to this property will trigger replacement. String
The OCID of the external DB system.
licenseModel Changes to this property will trigger replacement. String
The Oracle license model that applies to the external database.

Package Details

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