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

oci.DatabaseManagement.getCloudDbSystem

Explore with Pulumi AI

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

    This data source provides details about a specific Cloud Db System resource in Oracle Cloud Infrastructure Database Management service.

    Gets the details for the cloud DB system specified by cloudDbSystemId.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCloudDbSystem = oci.DatabaseManagement.getCloudDbSystem({
        cloudDbSystemId: testCloudDbSystemOciDatabaseManagementCloudDbSystem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_cloud_db_system = oci.DatabaseManagement.get_cloud_db_system(cloud_db_system_id=test_cloud_db_system_oci_database_management_cloud_db_system["id"])
    
    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.GetCloudDbSystem(ctx, &databasemanagement.GetCloudDbSystemArgs{
    			CloudDbSystemId: testCloudDbSystemOciDatabaseManagementCloudDbSystem.Id,
    		}, nil)
    		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 testCloudDbSystem = Oci.DatabaseManagement.GetCloudDbSystem.Invoke(new()
        {
            CloudDbSystemId = testCloudDbSystemOciDatabaseManagementCloudDbSystem.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
    import com.pulumi.oci.DatabaseManagement.inputs.GetCloudDbSystemArgs;
    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) {
            final var testCloudDbSystem = DatabaseManagementFunctions.getCloudDbSystem(GetCloudDbSystemArgs.builder()
                .cloudDbSystemId(testCloudDbSystemOciDatabaseManagementCloudDbSystem.id())
                .build());
    
        }
    }
    
    variables:
      testCloudDbSystem:
        fn::invoke:
          function: oci:DatabaseManagement:getCloudDbSystem
          arguments:
            cloudDbSystemId: ${testCloudDbSystemOciDatabaseManagementCloudDbSystem.id}
    

    Using getCloudDbSystem

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudDbSystem(args: GetCloudDbSystemArgs, opts?: InvokeOptions): Promise<GetCloudDbSystemResult>
    function getCloudDbSystemOutput(args: GetCloudDbSystemOutputArgs, opts?: InvokeOptions): Output<GetCloudDbSystemResult>
    def get_cloud_db_system(cloud_db_system_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetCloudDbSystemResult
    def get_cloud_db_system_output(cloud_db_system_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetCloudDbSystemResult]
    func LookupCloudDbSystem(ctx *Context, args *LookupCloudDbSystemArgs, opts ...InvokeOption) (*LookupCloudDbSystemResult, error)
    func LookupCloudDbSystemOutput(ctx *Context, args *LookupCloudDbSystemOutputArgs, opts ...InvokeOption) LookupCloudDbSystemResultOutput

    > Note: This function is named LookupCloudDbSystem in the Go SDK.

    public static class GetCloudDbSystem 
    {
        public static Task<GetCloudDbSystemResult> InvokeAsync(GetCloudDbSystemArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudDbSystemResult> Invoke(GetCloudDbSystemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudDbSystemResult> getCloudDbSystem(GetCloudDbSystemArgs args, InvokeOptions options)
    public static Output<GetCloudDbSystemResult> getCloudDbSystem(GetCloudDbSystemArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseManagement/getCloudDbSystem:getCloudDbSystem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudDbSystemId string
    The OCID of the cloud DB system.
    CloudDbSystemId string
    The OCID of the cloud DB system.
    cloudDbSystemId String
    The OCID of the cloud DB system.
    cloudDbSystemId string
    The OCID of the cloud DB system.
    cloud_db_system_id str
    The OCID of the cloud DB system.
    cloudDbSystemId String
    The OCID of the cloud DB system.

    getCloudDbSystem Result

    The following output properties are available:

    CloudDbSystemId string
    CompartmentId string
    The OCID of the compartment.
    DatabaseManagementConfigs List<GetCloudDbSystemDatabaseManagementConfig>
    The configuration details of Database Management for a cloud DB system.
    DbSystemDiscoveryId string
    The OCID of the DB system discovery.
    DbaasParentInfrastructureId string
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeploymentType string
    The deployment type of cloud dbsystem.
    DiscoveryAgentId string
    The OCID of the management agent used during the discovery of the DB system.
    DisplayName string
    The user-friendly name for the DB system. The name does not have to be unique.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    HomeDirectory string
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    Id string
    The OCID of the cloud DB system.
    IsCluster bool
    Indicates whether the DB system is a cluster DB system or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    StackMonitoringConfigs List<GetCloudDbSystemStackMonitoringConfig>
    The configuration details of Stack Monitoring for a cloud DB system.
    State string
    The current lifecycle state of the cloud DB system resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud DB system was created.
    TimeUpdated string
    The date and time the cloud DB system was last updated.
    CloudDbSystemId string
    CompartmentId string
    The OCID of the compartment.
    DatabaseManagementConfigs []GetCloudDbSystemDatabaseManagementConfig
    The configuration details of Database Management for a cloud DB system.
    DbSystemDiscoveryId string
    The OCID of the DB system discovery.
    DbaasParentInfrastructureId string
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeploymentType string
    The deployment type of cloud dbsystem.
    DiscoveryAgentId string
    The OCID of the management agent used during the discovery of the DB system.
    DisplayName string
    The user-friendly name for the DB system. The name does not have to be unique.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    HomeDirectory string
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    Id string
    The OCID of the cloud DB system.
    IsCluster bool
    Indicates whether the DB system is a cluster DB system or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    StackMonitoringConfigs []GetCloudDbSystemStackMonitoringConfig
    The configuration details of Stack Monitoring for a cloud DB system.
    State string
    The current lifecycle state of the cloud DB system resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud DB system was created.
    TimeUpdated string
    The date and time the cloud DB system was last updated.
    cloudDbSystemId String
    compartmentId String
    The OCID of the compartment.
    databaseManagementConfigs List<GetCloudDbSystemConfig>
    The configuration details of Database Management for a cloud DB system.
    dbSystemDiscoveryId String
    The OCID of the DB system discovery.
    dbaasParentInfrastructureId String
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType String
    The deployment type of cloud dbsystem.
    discoveryAgentId String
    The OCID of the management agent used during the discovery of the DB system.
    displayName String
    The user-friendly name for the DB system. The name does not have to be unique.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    homeDirectory String
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    id String
    The OCID of the cloud DB system.
    isCluster Boolean
    Indicates whether the DB system is a cluster DB system or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    stackMonitoringConfigs List<GetCloudDbSystemStackMonitoringConfig>
    The configuration details of Stack Monitoring for a cloud DB system.
    state String
    The current lifecycle state of the cloud DB system resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud DB system was created.
    timeUpdated String
    The date and time the cloud DB system was last updated.
    cloudDbSystemId string
    compartmentId string
    The OCID of the compartment.
    databaseManagementConfigs GetCloudDbSystemDatabaseManagementConfig[]
    The configuration details of Database Management for a cloud DB system.
    dbSystemDiscoveryId string
    The OCID of the DB system discovery.
    dbaasParentInfrastructureId string
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType string
    The deployment type of cloud dbsystem.
    discoveryAgentId string
    The OCID of the management agent used during the discovery of the DB system.
    displayName string
    The user-friendly name for the DB system. The name does not have to be unique.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    homeDirectory string
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    id string
    The OCID of the cloud DB system.
    isCluster boolean
    Indicates whether the DB system is a cluster DB system or not.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    stackMonitoringConfigs GetCloudDbSystemStackMonitoringConfig[]
    The configuration details of Stack Monitoring for a cloud DB system.
    state string
    The current lifecycle state of the cloud DB system resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the cloud DB system was created.
    timeUpdated string
    The date and time the cloud DB system was last updated.
    cloud_db_system_id str
    compartment_id str
    The OCID of the compartment.
    database_management_configs Sequence[GetCloudDbSystemDatabaseManagementConfig]
    The configuration details of Database Management for a cloud DB system.
    db_system_discovery_id str
    The OCID of the DB system discovery.
    dbaas_parent_infrastructure_id str
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deployment_type str
    The deployment type of cloud dbsystem.
    discovery_agent_id str
    The OCID of the management agent used during the discovery of the DB system.
    display_name str
    The user-friendly name for the DB system. The name does not have to be unique.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    home_directory str
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    id str
    The OCID of the cloud DB system.
    is_cluster bool
    Indicates whether the DB system is a cluster DB system or not.
    lifecycle_details str
    Additional information about the current lifecycle state.
    stack_monitoring_configs Sequence[GetCloudDbSystemStackMonitoringConfig]
    The configuration details of Stack Monitoring for a cloud DB system.
    state str
    The current lifecycle state of the cloud DB system resource.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the cloud DB system was created.
    time_updated str
    The date and time the cloud DB system was last updated.
    cloudDbSystemId String
    compartmentId String
    The OCID of the compartment.
    databaseManagementConfigs List<Property Map>
    The configuration details of Database Management for a cloud DB system.
    dbSystemDiscoveryId String
    The OCID of the DB system discovery.
    dbaasParentInfrastructureId String
    The OCID of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType String
    The deployment type of cloud dbsystem.
    discoveryAgentId String
    The OCID of the management agent used during the discovery of the DB system.
    displayName String
    The user-friendly name for the DB system. The name does not have to be unique.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    homeDirectory String
    The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
    id String
    The OCID of the cloud DB system.
    isCluster Boolean
    Indicates whether the DB system is a cluster DB system or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    stackMonitoringConfigs List<Property Map>
    The configuration details of Stack Monitoring for a cloud DB system.
    state String
    The current lifecycle state of the cloud DB system resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud DB system was created.
    timeUpdated String
    The date and time the cloud DB system was last updated.

    Supporting Types

    GetCloudDbSystemDatabaseManagementConfig

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    isEnabled boolean
    The status of the associated service.
    metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    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.
    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.

    GetCloudDbSystemStackMonitoringConfig

    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    IsEnabled bool
    The status of the associated service.
    Metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    isEnabled Boolean
    The status of the associated service.
    metadata String
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    isEnabled boolean
    The status of the associated service.
    metadata string
    The associated service-specific inputs in JSON string format, which Database Management can identify.
    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.
    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