1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getDbmulticloudMultiCloudResourceDiscovery
Oracle Cloud Infrastructure v3.2.0 published on Thursday, Jul 10, 2025 by Pulumi

oci.oci.getDbmulticloudMultiCloudResourceDiscovery

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.2.0 published on Thursday, Jul 10, 2025 by Pulumi

    This data source provides details about a specific Multi Cloud Resource Discovery resource in Oracle Cloud Infrastructure Dbmulticloud service.

    Get Multi Cloud Discovered Resource Details form a particular resource ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMultiCloudResourceDiscovery = oci.oci.getDbmulticloudMultiCloudResourceDiscovery({
        multiCloudResourceDiscoveryId: testMultiCloudResourceDiscoveryOciDbmulticloudMultiCloudResourceDiscovery.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_multi_cloud_resource_discovery = oci.oci.get_dbmulticloud_multi_cloud_resource_discovery(multi_cloud_resource_discovery_id=test_multi_cloud_resource_discovery_oci_dbmulticloud_multi_cloud_resource_discovery["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupDbmulticloudMultiCloudResourceDiscovery(ctx, &oci.LookupDbmulticloudMultiCloudResourceDiscoveryArgs{
    			MultiCloudResourceDiscoveryId: testMultiCloudResourceDiscoveryOciDbmulticloudMultiCloudResourceDiscovery.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 testMultiCloudResourceDiscovery = Oci.Oci.GetDbmulticloudMultiCloudResourceDiscovery.Invoke(new()
        {
            MultiCloudResourceDiscoveryId = testMultiCloudResourceDiscoveryOciDbmulticloudMultiCloudResourceDiscovery.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetDbmulticloudMultiCloudResourceDiscoveryArgs;
    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 testMultiCloudResourceDiscovery = OciFunctions.getDbmulticloudMultiCloudResourceDiscovery(GetDbmulticloudMultiCloudResourceDiscoveryArgs.builder()
                .multiCloudResourceDiscoveryId(testMultiCloudResourceDiscoveryOciDbmulticloudMultiCloudResourceDiscovery.id())
                .build());
    
        }
    }
    
    variables:
      testMultiCloudResourceDiscovery:
        fn::invoke:
          function: oci:oci:getDbmulticloudMultiCloudResourceDiscovery
          arguments:
            multiCloudResourceDiscoveryId: ${testMultiCloudResourceDiscoveryOciDbmulticloudMultiCloudResourceDiscovery.id}
    

    Using getDbmulticloudMultiCloudResourceDiscovery

    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 getDbmulticloudMultiCloudResourceDiscovery(args: GetDbmulticloudMultiCloudResourceDiscoveryArgs, opts?: InvokeOptions): Promise<GetDbmulticloudMultiCloudResourceDiscoveryResult>
    function getDbmulticloudMultiCloudResourceDiscoveryOutput(args: GetDbmulticloudMultiCloudResourceDiscoveryOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudMultiCloudResourceDiscoveryResult>
    def get_dbmulticloud_multi_cloud_resource_discovery(multi_cloud_resource_discovery_id: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetDbmulticloudMultiCloudResourceDiscoveryResult
    def get_dbmulticloud_multi_cloud_resource_discovery_output(multi_cloud_resource_discovery_id: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudMultiCloudResourceDiscoveryResult]
    func LookupDbmulticloudMultiCloudResourceDiscovery(ctx *Context, args *LookupDbmulticloudMultiCloudResourceDiscoveryArgs, opts ...InvokeOption) (*LookupDbmulticloudMultiCloudResourceDiscoveryResult, error)
    func LookupDbmulticloudMultiCloudResourceDiscoveryOutput(ctx *Context, args *LookupDbmulticloudMultiCloudResourceDiscoveryOutputArgs, opts ...InvokeOption) LookupDbmulticloudMultiCloudResourceDiscoveryResultOutput

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

    public static class GetDbmulticloudMultiCloudResourceDiscovery 
    {
        public static Task<GetDbmulticloudMultiCloudResourceDiscoveryResult> InvokeAsync(GetDbmulticloudMultiCloudResourceDiscoveryArgs args, InvokeOptions? opts = null)
        public static Output<GetDbmulticloudMultiCloudResourceDiscoveryResult> Invoke(GetDbmulticloudMultiCloudResourceDiscoveryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbmulticloudMultiCloudResourceDiscoveryResult> getDbmulticloudMultiCloudResourceDiscovery(GetDbmulticloudMultiCloudResourceDiscoveryArgs args, InvokeOptions options)
    public static Output<GetDbmulticloudMultiCloudResourceDiscoveryResult> getDbmulticloudMultiCloudResourceDiscovery(GetDbmulticloudMultiCloudResourceDiscoveryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getDbmulticloudMultiCloudResourceDiscovery:getDbmulticloudMultiCloudResourceDiscovery
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MultiCloudResourceDiscoveryId string
    The OCID of the Multi Cloud Discovery Resource.
    MultiCloudResourceDiscoveryId string
    The OCID of the Multi Cloud Discovery Resource.
    multiCloudResourceDiscoveryId String
    The OCID of the Multi Cloud Discovery Resource.
    multiCloudResourceDiscoveryId string
    The OCID of the Multi Cloud Discovery Resource.
    multi_cloud_resource_discovery_id str
    The OCID of the Multi Cloud Discovery Resource.
    multiCloudResourceDiscoveryId String
    The OCID of the Multi Cloud Discovery Resource.

    getDbmulticloudMultiCloudResourceDiscovery Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    DisplayName string
    Display name of Multi Cloud Discovery Resource.
    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"}
    Id string
    The OCID of the Discovered Resource.
    LastModification string
    Description of the latest modification of the Multi Cloud Discovery Resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    MultiCloudResourceDiscoveryId string
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector Resource.
    ResourceType string
    Resource Type to discover.
    Resources List<GetDbmulticloudMultiCloudResourceDiscoveryResource>
    List of All Discovered resources.
    State string
    The current lifecycle state of the discovered resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    CompartmentId string
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    DisplayName string
    Display name of Multi Cloud Discovery Resource.
    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"}
    Id string
    The OCID of the Discovered Resource.
    LastModification string
    Description of the latest modification of the Multi Cloud Discovery Resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    MultiCloudResourceDiscoveryId string
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector Resource.
    ResourceType string
    Resource Type to discover.
    Resources []GetDbmulticloudMultiCloudResourceDiscoveryResource
    List of All Discovered resources.
    State string
    The current lifecycle state of the discovered resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId String
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    displayName String
    Display name of Multi Cloud Discovery Resource.
    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"}
    id String
    The OCID of the Discovered Resource.
    lastModification String
    Description of the latest modification of the Multi Cloud Discovery Resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    multiCloudResourceDiscoveryId String
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector Resource.
    resourceType String
    Resource Type to discover.
    resources List<GetDbmulticloudMultiCloudResourceDiscoveryResource>
    List of All Discovered resources.
    state String
    The current lifecycle state of the discovered resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId string
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    displayName string
    Display name of Multi Cloud Discovery Resource.
    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"}
    id string
    The OCID of the Discovered Resource.
    lastModification string
    Description of the latest modification of the Multi Cloud Discovery Resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    multiCloudResourceDiscoveryId string
    oracleDbConnectorId string
    The OCID of the Oracle DB Connector Resource.
    resourceType string
    Resource Type to discover.
    resources GetDbmulticloudMultiCloudResourceDiscoveryResource[]
    List of All Discovered resources.
    state string
    The current lifecycle state of the discovered resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated string
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartment_id str
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    display_name str
    Display name of Multi Cloud Discovery Resource.
    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"}
    id str
    The OCID of the Discovered Resource.
    last_modification str
    Description of the latest modification of the Multi Cloud Discovery Resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    multi_cloud_resource_discovery_id str
    oracle_db_connector_id str
    The OCID of the Oracle DB Connector Resource.
    resource_type str
    Resource Type to discover.
    resources Sequence[GetDbmulticloudMultiCloudResourceDiscoveryResource]
    List of All Discovered resources.
    state str
    The current lifecycle state of the discovered resource.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    time_updated str
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId String
    The OCID of the compartment that contains Multi Cloud Discovery Resource.
    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"}
    displayName String
    Display name of Multi Cloud Discovery Resource.
    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"}
    id String
    The OCID of the Discovered Resource.
    lastModification String
    Description of the latest modification of the Multi Cloud Discovery Resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    multiCloudResourceDiscoveryId String
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector Resource.
    resourceType String
    Resource Type to discover.
    resources List<Property Map>
    List of All Discovered resources.
    state String
    The current lifecycle state of the discovered resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Multi Cloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'

    Supporting Types

    GetDbmulticloudMultiCloudResourceDiscoveryResource

    Id string
    The OCID of the Discovered Resource.
    Location string
    Discovered Resource Location.
    Name string
    Discovered Resource Name.
    Properties Dictionary<string, string>
    Discovered Resource's properties.
    ResourceGroup string
    Discovered Resource Group Name.
    Type string
    Discovered Resource Type.
    Id string
    The OCID of the Discovered Resource.
    Location string
    Discovered Resource Location.
    Name string
    Discovered Resource Name.
    Properties map[string]string
    Discovered Resource's properties.
    ResourceGroup string
    Discovered Resource Group Name.
    Type string
    Discovered Resource Type.
    id String
    The OCID of the Discovered Resource.
    location String
    Discovered Resource Location.
    name String
    Discovered Resource Name.
    properties Map<String,String>
    Discovered Resource's properties.
    resourceGroup String
    Discovered Resource Group Name.
    type String
    Discovered Resource Type.
    id string
    The OCID of the Discovered Resource.
    location string
    Discovered Resource Location.
    name string
    Discovered Resource Name.
    properties {[key: string]: string}
    Discovered Resource's properties.
    resourceGroup string
    Discovered Resource Group Name.
    type string
    Discovered Resource Type.
    id str
    The OCID of the Discovered Resource.
    location str
    Discovered Resource Location.
    name str
    Discovered Resource Name.
    properties Mapping[str, str]
    Discovered Resource's properties.
    resource_group str
    Discovered Resource Group Name.
    type str
    Discovered Resource Type.
    id String
    The OCID of the Discovered Resource.
    location String
    Discovered Resource Location.
    name String
    Discovered Resource Name.
    properties Map<String>
    Discovered Resource's properties.
    resourceGroup String
    Discovered Resource Group Name.
    type String
    Discovered Resource Type.

    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.2.0 published on Thursday, Jul 10, 2025 by Pulumi