Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
This data source provides details about a specific Multi Cloud Resource Discovery resource in Oracle Cloud Infrastructure Dbmulticloud service.
Retrieves detailed information about a Multicloud discovered resource by specifying its unique resource OCID.
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/v4/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 dictionaryThe following arguments are supported:
- Multi
Cloud stringResource Discovery Id - The OCID of the Multicloud Discovery Resource.
- Multi
Cloud stringResource Discovery Id - The OCID of the Multicloud Discovery Resource.
- multi
Cloud StringResource Discovery Id - The OCID of the Multicloud Discovery Resource.
- multi
Cloud stringResource Discovery Id - The OCID of the Multicloud Discovery Resource.
- multi_
cloud_ strresource_ discovery_ id - The OCID of the Multicloud Discovery Resource.
- multi
Cloud StringResource Discovery Id - The OCID of the Multicloud Discovery Resource.
getDbmulticloudMultiCloudResourceDiscovery Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- Last
Modification string - Description of the latest modification of the Multicloud Resource 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.
- Resources
Filter Dictionary<string, string> - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the Multicloud 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 Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- Last
Modification string - Description of the latest modification of the Multicloud Resource 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.
- Resources
Filter map[string]string - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the Multicloud 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 Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- last
Modification String - Description of the latest modification of the Multicloud Resource 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.
- resources
Filter Map<String,String> - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated String - Time when the Multicloud 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 Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- last
Modification string - Description of the latest modification of the Multicloud Resource 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.
- resources
Filter {[key: string]: string} - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated string - Time when the Multicloud 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 Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- last_
modification str - Description of the latest modification of the Multicloud Resource 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.
- resources_
filter Mapping[str, str] - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time_
updated str - Time when the Multicloud 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 Multicloud Resource 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 the Multicloud Resource 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 ID of the Discovered Resource.
- last
Modification String - Description of the latest modification of the Multicloud Resource 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.
- resources
Filter Map<String> - Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example
{"keyRing": "projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring"}or{"keyRing": "dbmci-keyring"}Azure Example{"keyVault": "/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001"}or{"keyVault": "orp7HSM001"} - 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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated String - Time when the Multicloud 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 ID 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 ID 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 ID 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 ID 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 ID 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 ID 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
