Oracle Cloud Infrastructure v3.2.0 published on Thursday, Jul 10, 2025 by Pulumi
oci.oci.getDbmulticloudMultiCloudResourceDiscovery
Explore with Pulumi AI
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:
- Multi
Cloud stringResource Discovery Id - The OCID of the Multi Cloud Discovery Resource.
- Multi
Cloud stringResource Discovery Id - The OCID of the Multi Cloud Discovery Resource.
- multi
Cloud StringResource Discovery Id - The OCID of the Multi Cloud Discovery Resource.
- multi
Cloud stringResource Discovery Id - The OCID of the Multi Cloud Discovery Resource.
- multi_
cloud_ strresource_ discovery_ id - The OCID of the Multi Cloud Discovery Resource.
- multi
Cloud StringResource Discovery Id - The OCID of the Multi Cloud Discovery Resource.
getDbmulticloudMultiCloudResourceDiscovery Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains Multi Cloud Discovery Resource.
- 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"}
- Display
Name string - Display name of Multi Cloud Discovery Resource.
- 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.
- Last
Modification string - Description of the latest modification of the Multi Cloud Discovery Resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Multi
Cloud stringResource Discovery Id - Oracle
Db stringConnector Id - The OCID of the Oracle DB Connector Resource.
- Resource
Type string - Resource Type to discover.
- Resources
List<Get
Dbmulticloud Multi Cloud Resource Discovery Resource> - List of All Discovered resources.
- State string
- The current lifecycle state of the discovered resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated 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 string - The OCID of the compartment that contains Multi Cloud Discovery Resource.
- 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"}
- Display
Name string - Display name of Multi Cloud Discovery Resource.
- 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.
- Last
Modification string - Description of the latest modification of the Multi Cloud Discovery Resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Multi
Cloud stringResource Discovery Id - Oracle
Db stringConnector Id - The OCID of the Oracle DB Connector Resource.
- Resource
Type string - Resource Type to discover.
- Resources
[]Get
Dbmulticloud Multi Cloud Resource Discovery Resource - List of All Discovered resources.
- State string
- The current lifecycle state of the discovered resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated 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 String - The OCID of the compartment that contains Multi Cloud Discovery Resource.
- 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"}
- display
Name String - Display name of Multi Cloud Discovery Resource.
- 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.
- last
Modification String - Description of the latest modification of the Multi Cloud Discovery Resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- multi
Cloud StringResource Discovery Id - oracle
Db StringConnector Id - The OCID of the Oracle DB Connector Resource.
- resource
Type String - Resource Type to discover.
- resources
List<Get
Dbmulticloud Multi Cloud Resource Discovery Resource> - List of All Discovered resources.
- state String
- The current lifecycle state of the discovered resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated 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 string - The OCID of the compartment that contains Multi Cloud Discovery Resource.
- {[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"}
- display
Name string - Display name of Multi Cloud Discovery Resource.
- {[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.
- last
Modification string - Description of the latest modification of the Multi Cloud Discovery Resource.
- lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- multi
Cloud stringResource Discovery Id - oracle
Db stringConnector Id - The OCID of the Oracle DB Connector Resource.
- resource
Type string - Resource Type to discover.
- resources
Get
Dbmulticloud Multi Cloud Resource Discovery Resource[] - List of All Discovered resources.
- state string
- The current lifecycle state of the discovered resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated 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.
- 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.
- 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_ strdetails - Description of the current lifecycle state in more detail.
- multi_
cloud_ strresource_ discovery_ id - oracle_
db_ strconnector_ id - The OCID of the Oracle DB Connector Resource.
- resource_
type str - Resource Type to discover.
- resources
Sequence[Get
Dbmulticloud Multi Cloud Resource Discovery Resource] - List of All Discovered resources.
- state str
- The current lifecycle state of the discovered resource.
- 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'
- compartment
Id String - The OCID of the compartment that contains Multi Cloud Discovery Resource.
- 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"}
- display
Name String - Display name of Multi Cloud Discovery Resource.
- 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.
- last
Modification String - Description of the latest modification of the Multi Cloud Discovery Resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- multi
Cloud StringResource Discovery Id - oracle
Db StringConnector Id - The OCID of the Oracle DB Connector Resource.
- resource
Type String - Resource Type to discover.
- resources List<Property Map>
- List of All Discovered resources.
- state String
- The current lifecycle state of the discovered resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time when the Multi Cloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated 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.
- Resource
Group 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.
- Resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- resource
Group 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.