1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. CloudDbSystemCloudDatabaseManagementsManagement
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.DatabaseManagement.CloudDbSystemCloudDatabaseManagementsManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

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

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCloudDbSystemCloudDatabaseManagementsManagement = new oci.databasemanagement.CloudDbSystemCloudDatabaseManagementsManagement("test_cloud_db_system_cloud_database_managements_management", {
        cloudDbSystemId: testCloudDbSystem.id,
        enableCloudDatabaseManagement: enableCloudDatabaseManagement,
        isEnabled: cloudDbSystemCloudDatabaseManagementsManagementIsEnabled,
        metadata: cloudDbSystemCloudDatabaseManagementsManagementMetadata,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_cloud_db_system_cloud_database_managements_management = oci.databasemanagement.CloudDbSystemCloudDatabaseManagementsManagement("test_cloud_db_system_cloud_database_managements_management",
        cloud_db_system_id=test_cloud_db_system["id"],
        enable_cloud_database_management=enable_cloud_database_management,
        is_enabled=cloud_db_system_cloud_database_managements_management_is_enabled,
        metadata=cloud_db_system_cloud_database_managements_management_metadata)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/databasemanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasemanagement.NewCloudDbSystemCloudDatabaseManagementsManagement(ctx, "test_cloud_db_system_cloud_database_managements_management", &databasemanagement.CloudDbSystemCloudDatabaseManagementsManagementArgs{
    			CloudDbSystemId:               pulumi.Any(testCloudDbSystem.Id),
    			EnableCloudDatabaseManagement: pulumi.Any(enableCloudDatabaseManagement),
    			IsEnabled:                     pulumi.Any(cloudDbSystemCloudDatabaseManagementsManagementIsEnabled),
    			Metadata:                      pulumi.Any(cloudDbSystemCloudDatabaseManagementsManagementMetadata),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testCloudDbSystemCloudDatabaseManagementsManagement = new Oci.DatabaseManagement.CloudDbSystemCloudDatabaseManagementsManagement("test_cloud_db_system_cloud_database_managements_management", new()
        {
            CloudDbSystemId = testCloudDbSystem.Id,
            EnableCloudDatabaseManagement = enableCloudDatabaseManagement,
            IsEnabled = cloudDbSystemCloudDatabaseManagementsManagementIsEnabled,
            Metadata = cloudDbSystemCloudDatabaseManagementsManagementMetadata,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseManagement.CloudDbSystemCloudDatabaseManagementsManagement;
    import com.pulumi.oci.DatabaseManagement.CloudDbSystemCloudDatabaseManagementsManagementArgs;
    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 testCloudDbSystemCloudDatabaseManagementsManagement = new CloudDbSystemCloudDatabaseManagementsManagement("testCloudDbSystemCloudDatabaseManagementsManagement", CloudDbSystemCloudDatabaseManagementsManagementArgs.builder()
                .cloudDbSystemId(testCloudDbSystem.id())
                .enableCloudDatabaseManagement(enableCloudDatabaseManagement)
                .isEnabled(cloudDbSystemCloudDatabaseManagementsManagementIsEnabled)
                .metadata(cloudDbSystemCloudDatabaseManagementsManagementMetadata)
                .build());
    
        }
    }
    
    resources:
      testCloudDbSystemCloudDatabaseManagementsManagement:
        type: oci:DatabaseManagement:CloudDbSystemCloudDatabaseManagementsManagement
        name: test_cloud_db_system_cloud_database_managements_management
        properties:
          cloudDbSystemId: ${testCloudDbSystem.id}
          enableCloudDatabaseManagement: ${enableCloudDatabaseManagement}
          isEnabled: ${cloudDbSystemCloudDatabaseManagementsManagementIsEnabled}
          metadata: ${cloudDbSystemCloudDatabaseManagementsManagementMetadata}
    

    Create CloudDbSystemCloudDatabaseManagementsManagement Resource

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

    Constructor syntax

    new CloudDbSystemCloudDatabaseManagementsManagement(name: string, args: CloudDbSystemCloudDatabaseManagementsManagementArgs, opts?: CustomResourceOptions);
    @overload
    def CloudDbSystemCloudDatabaseManagementsManagement(resource_name: str,
                                                        args: CloudDbSystemCloudDatabaseManagementsManagementArgs,
                                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudDbSystemCloudDatabaseManagementsManagement(resource_name: str,
                                                        opts: Optional[ResourceOptions] = None,
                                                        cloud_db_system_id: Optional[str] = None,
                                                        enable_cloud_database_management: Optional[bool] = None,
                                                        is_enabled: Optional[bool] = None,
                                                        metadata: Optional[str] = None)
    func NewCloudDbSystemCloudDatabaseManagementsManagement(ctx *Context, name string, args CloudDbSystemCloudDatabaseManagementsManagementArgs, opts ...ResourceOption) (*CloudDbSystemCloudDatabaseManagementsManagement, error)
    public CloudDbSystemCloudDatabaseManagementsManagement(string name, CloudDbSystemCloudDatabaseManagementsManagementArgs args, CustomResourceOptions? opts = null)
    public CloudDbSystemCloudDatabaseManagementsManagement(String name, CloudDbSystemCloudDatabaseManagementsManagementArgs args)
    public CloudDbSystemCloudDatabaseManagementsManagement(String name, CloudDbSystemCloudDatabaseManagementsManagementArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseManagement:CloudDbSystemCloudDatabaseManagementsManagement
    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 CloudDbSystemCloudDatabaseManagementsManagementArgs
    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 CloudDbSystemCloudDatabaseManagementsManagementArgs
    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 CloudDbSystemCloudDatabaseManagementsManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudDbSystemCloudDatabaseManagementsManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudDbSystemCloudDatabaseManagementsManagementArgs
    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 cloudDbSystemCloudDatabaseManagementsManagementResource = new Oci.DatabaseManagement.CloudDbSystemCloudDatabaseManagementsManagement("cloudDbSystemCloudDatabaseManagementsManagementResource", new()
    {
        CloudDbSystemId = "string",
        EnableCloudDatabaseManagement = false,
        IsEnabled = false,
        Metadata = "string",
    });
    
    example, err := databasemanagement.NewCloudDbSystemCloudDatabaseManagementsManagement(ctx, "cloudDbSystemCloudDatabaseManagementsManagementResource", &databasemanagement.CloudDbSystemCloudDatabaseManagementsManagementArgs{
    	CloudDbSystemId:               pulumi.String("string"),
    	EnableCloudDatabaseManagement: pulumi.Bool(false),
    	IsEnabled:                     pulumi.Bool(false),
    	Metadata:                      pulumi.String("string"),
    })
    
    var cloudDbSystemCloudDatabaseManagementsManagementResource = new CloudDbSystemCloudDatabaseManagementsManagement("cloudDbSystemCloudDatabaseManagementsManagementResource", CloudDbSystemCloudDatabaseManagementsManagementArgs.builder()
        .cloudDbSystemId("string")
        .enableCloudDatabaseManagement(false)
        .isEnabled(false)
        .metadata("string")
        .build());
    
    cloud_db_system_cloud_database_managements_management_resource = oci.databasemanagement.CloudDbSystemCloudDatabaseManagementsManagement("cloudDbSystemCloudDatabaseManagementsManagementResource",
        cloud_db_system_id="string",
        enable_cloud_database_management=False,
        is_enabled=False,
        metadata="string")
    
    const cloudDbSystemCloudDatabaseManagementsManagementResource = new oci.databasemanagement.CloudDbSystemCloudDatabaseManagementsManagement("cloudDbSystemCloudDatabaseManagementsManagementResource", {
        cloudDbSystemId: "string",
        enableCloudDatabaseManagement: false,
        isEnabled: false,
        metadata: "string",
    });
    
    type: oci:DatabaseManagement:CloudDbSystemCloudDatabaseManagementsManagement
    properties:
        cloudDbSystemId: string
        enableCloudDatabaseManagement: false
        isEnabled: false
        metadata: string
    

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

    CloudDbSystemId string
    The OCID of the cloud DB system.
    EnableCloudDatabaseManagement 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

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    CloudDbSystemId string
    The OCID of the cloud DB system.
    EnableCloudDatabaseManagement 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

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId String
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId string
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled boolean
    The status of the associated service.
    metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloud_db_system_id str
    The OCID of the cloud DB system.
    enable_cloud_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

    is_enabled bool
    The status of the associated service.
    metadata str
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId String
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.

    Outputs

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

    Get an existing CloudDbSystemCloudDatabaseManagementsManagement 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?: CloudDbSystemCloudDatabaseManagementsManagementState, opts?: CustomResourceOptions): CloudDbSystemCloudDatabaseManagementsManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_db_system_id: Optional[str] = None,
            enable_cloud_database_management: Optional[bool] = None,
            is_enabled: Optional[bool] = None,
            metadata: Optional[str] = None) -> CloudDbSystemCloudDatabaseManagementsManagement
    func GetCloudDbSystemCloudDatabaseManagementsManagement(ctx *Context, name string, id IDInput, state *CloudDbSystemCloudDatabaseManagementsManagementState, opts ...ResourceOption) (*CloudDbSystemCloudDatabaseManagementsManagement, error)
    public static CloudDbSystemCloudDatabaseManagementsManagement Get(string name, Input<string> id, CloudDbSystemCloudDatabaseManagementsManagementState? state, CustomResourceOptions? opts = null)
    public static CloudDbSystemCloudDatabaseManagementsManagement get(String name, Output<String> id, CloudDbSystemCloudDatabaseManagementsManagementState state, CustomResourceOptions options)
    resources:  _:    type: oci:DatabaseManagement:CloudDbSystemCloudDatabaseManagementsManagement    get:      id: ${id}
    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.
    The following state arguments are supported:
    CloudDbSystemId string
    The OCID of the cloud DB system.
    EnableCloudDatabaseManagement 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

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    CloudDbSystemId string
    The OCID of the cloud DB system.
    EnableCloudDatabaseManagement 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

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId String
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId string
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled boolean
    The status of the associated service.
    metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloud_db_system_id str
    The OCID of the cloud DB system.
    enable_cloud_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

    is_enabled bool
    The status of the associated service.
    metadata str
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    cloudDbSystemId String
    The OCID of the cloud DB system.
    enableCloudDatabaseManagement 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

    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi