1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. DbmulticloudMultiCloudResourceDiscovery
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

oci.oci.DbmulticloudMultiCloudResourceDiscovery

Deploy with Pulumi
oci logo
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

    This resource provides the Multi Cloud Resource Discovery resource in Oracle Cloud Infrastructure Dbmulticloud service.

    Discovers Multicloud Resource and their associated resources based on the information provided.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMultiCloudResourceDiscovery = new oci.oci.DbmulticloudMultiCloudResourceDiscovery("test_multi_cloud_resource_discovery", {
        compartmentId: compartmentId,
        displayName: multiCloudResourceDiscoveryDisplayName,
        oracleDbConnectorId: testOracleDbConnector.id,
        resourceType: multiCloudResourceDiscoveryResourceType,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        resourcesFilter: multiCloudResourceDiscoveryResourcesFilter,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_multi_cloud_resource_discovery = oci.oci.DbmulticloudMultiCloudResourceDiscovery("test_multi_cloud_resource_discovery",
        compartment_id=compartment_id,
        display_name=multi_cloud_resource_discovery_display_name,
        oracle_db_connector_id=test_oracle_db_connector["id"],
        resource_type=multi_cloud_resource_discovery_resource_type,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        resources_filter=multi_cloud_resource_discovery_resources_filter)
    
    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.NewDbmulticloudMultiCloudResourceDiscovery(ctx, "test_multi_cloud_resource_discovery", &oci.DbmulticloudMultiCloudResourceDiscoveryArgs{
    			CompartmentId:       pulumi.Any(compartmentId),
    			DisplayName:         pulumi.Any(multiCloudResourceDiscoveryDisplayName),
    			OracleDbConnectorId: pulumi.Any(testOracleDbConnector.Id),
    			ResourceType:        pulumi.Any(multiCloudResourceDiscoveryResourceType),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			ResourcesFilter: pulumi.Any(multiCloudResourceDiscoveryResourcesFilter),
    		})
    		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 = new Oci.Oci.DbmulticloudMultiCloudResourceDiscovery("test_multi_cloud_resource_discovery", new()
        {
            CompartmentId = compartmentId,
            DisplayName = multiCloudResourceDiscoveryDisplayName,
            OracleDbConnectorId = testOracleDbConnector.Id,
            ResourceType = multiCloudResourceDiscoveryResourceType,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            ResourcesFilter = multiCloudResourceDiscoveryResourcesFilter,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.DbmulticloudMultiCloudResourceDiscovery;
    import com.pulumi.oci.oci.DbmulticloudMultiCloudResourceDiscoveryArgs;
    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 testMultiCloudResourceDiscovery = new DbmulticloudMultiCloudResourceDiscovery("testMultiCloudResourceDiscovery", DbmulticloudMultiCloudResourceDiscoveryArgs.builder()
                .compartmentId(compartmentId)
                .displayName(multiCloudResourceDiscoveryDisplayName)
                .oracleDbConnectorId(testOracleDbConnector.id())
                .resourceType(multiCloudResourceDiscoveryResourceType)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .resourcesFilter(multiCloudResourceDiscoveryResourcesFilter)
                .build());
    
        }
    }
    
    resources:
      testMultiCloudResourceDiscovery:
        type: oci:oci:DbmulticloudMultiCloudResourceDiscovery
        name: test_multi_cloud_resource_discovery
        properties:
          compartmentId: ${compartmentId}
          displayName: ${multiCloudResourceDiscoveryDisplayName}
          oracleDbConnectorId: ${testOracleDbConnector.id}
          resourceType: ${multiCloudResourceDiscoveryResourceType}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          resourcesFilter: ${multiCloudResourceDiscoveryResourcesFilter}
    

    Create DbmulticloudMultiCloudResourceDiscovery Resource

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

    Constructor syntax

    new DbmulticloudMultiCloudResourceDiscovery(name: string, args: DbmulticloudMultiCloudResourceDiscoveryArgs, opts?: CustomResourceOptions);
    @overload
    def DbmulticloudMultiCloudResourceDiscovery(resource_name: str,
                                                args: DbmulticloudMultiCloudResourceDiscoveryArgs,
                                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbmulticloudMultiCloudResourceDiscovery(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                compartment_id: Optional[str] = None,
                                                display_name: Optional[str] = None,
                                                oracle_db_connector_id: Optional[str] = None,
                                                resource_type: Optional[str] = None,
                                                defined_tags: Optional[Mapping[str, str]] = None,
                                                freeform_tags: Optional[Mapping[str, str]] = None,
                                                resources_filter: Optional[Mapping[str, str]] = None)
    func NewDbmulticloudMultiCloudResourceDiscovery(ctx *Context, name string, args DbmulticloudMultiCloudResourceDiscoveryArgs, opts ...ResourceOption) (*DbmulticloudMultiCloudResourceDiscovery, error)
    public DbmulticloudMultiCloudResourceDiscovery(string name, DbmulticloudMultiCloudResourceDiscoveryArgs args, CustomResourceOptions? opts = null)
    public DbmulticloudMultiCloudResourceDiscovery(String name, DbmulticloudMultiCloudResourceDiscoveryArgs args)
    public DbmulticloudMultiCloudResourceDiscovery(String name, DbmulticloudMultiCloudResourceDiscoveryArgs args, CustomResourceOptions options)
    
    type: oci:oci:DbmulticloudMultiCloudResourceDiscovery
    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 DbmulticloudMultiCloudResourceDiscoveryArgs
    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 DbmulticloudMultiCloudResourceDiscoveryArgs
    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 DbmulticloudMultiCloudResourceDiscoveryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbmulticloudMultiCloudResourceDiscoveryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbmulticloudMultiCloudResourceDiscoveryArgs
    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 dbmulticloudMultiCloudResourceDiscoveryResource = new Oci.Oci.DbmulticloudMultiCloudResourceDiscovery("dbmulticloudMultiCloudResourceDiscoveryResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        OracleDbConnectorId = "string",
        ResourceType = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        ResourcesFilter = 
        {
            { "string", "string" },
        },
    });
    
    example, err := oci.NewDbmulticloudMultiCloudResourceDiscovery(ctx, "dbmulticloudMultiCloudResourceDiscoveryResource", &oci.DbmulticloudMultiCloudResourceDiscoveryArgs{
    	CompartmentId:       pulumi.String("string"),
    	DisplayName:         pulumi.String("string"),
    	OracleDbConnectorId: pulumi.String("string"),
    	ResourceType:        pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ResourcesFilter: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var dbmulticloudMultiCloudResourceDiscoveryResource = new DbmulticloudMultiCloudResourceDiscovery("dbmulticloudMultiCloudResourceDiscoveryResource", DbmulticloudMultiCloudResourceDiscoveryArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .oracleDbConnectorId("string")
        .resourceType("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .resourcesFilter(Map.of("string", "string"))
        .build());
    
    dbmulticloud_multi_cloud_resource_discovery_resource = oci.oci.DbmulticloudMultiCloudResourceDiscovery("dbmulticloudMultiCloudResourceDiscoveryResource",
        compartment_id="string",
        display_name="string",
        oracle_db_connector_id="string",
        resource_type="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        resources_filter={
            "string": "string",
        })
    
    const dbmulticloudMultiCloudResourceDiscoveryResource = new oci.oci.DbmulticloudMultiCloudResourceDiscovery("dbmulticloudMultiCloudResourceDiscoveryResource", {
        compartmentId: "string",
        displayName: "string",
        oracleDbConnectorId: "string",
        resourceType: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        resourcesFilter: {
            string: "string",
        },
    });
    
    type: oci:oci:DbmulticloudMultiCloudResourceDiscovery
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        oracleDbConnectorId: string
        resourceType: string
        resourcesFilter:
            string: string
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    DisplayName string
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    OracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    ResourceType string
    (Updatable) Resource Type to discover.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    ResourcesFilter 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"}

    ** 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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    DisplayName string
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    OracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    ResourceType string
    (Updatable) Resource Type to discover.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string
    (Updatable) 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"}
    ResourcesFilter 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"}

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    displayName String
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    oracleDbConnectorId String
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType String
    (Updatable) Resource Type to discover.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>
    (Updatable) 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"}
    resourcesFilter 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"}

    ** 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

    compartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    displayName string
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    oracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType string
    (Updatable) Resource Type to discover.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    resourcesFilter {[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"}

    ** 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

    compartment_id str
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    display_name str
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    oracle_db_connector_id str
    (Updatable) The OCID of the Oracle DB Connector resource.
    resource_type str
    (Updatable) Resource Type to discover.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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"}

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    displayName String
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    oracleDbConnectorId String
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType String
    (Updatable) Resource Type to discover.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>
    (Updatable) 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"}
    resourcesFilter 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"}

    ** 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbmulticloudMultiCloudResourceDiscovery resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Resources List<DbmulticloudMultiCloudResourceDiscoveryResource>
    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Resources []DbmulticloudMultiCloudResourceDiscoveryResource
    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    id String
    The provider-assigned unique ID for this managed resource.
    lastModification String
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    resources List<DbmulticloudMultiCloudResourceDiscoveryResource>
    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    id string
    The provider-assigned unique ID for this managed resource.
    lastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    resources DbmulticloudMultiCloudResourceDiscoveryResource[]
    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated string
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    id str
    The provider-assigned unique ID for this managed resource.
    last_modification str
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    resources Sequence[DbmulticloudMultiCloudResourceDiscoveryResource]
    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 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'
    id String
    The provider-assigned unique ID for this managed resource.
    lastModification String
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'

    Look up Existing DbmulticloudMultiCloudResourceDiscovery Resource

    Get an existing DbmulticloudMultiCloudResourceDiscovery 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?: DbmulticloudMultiCloudResourceDiscoveryState, opts?: CustomResourceOptions): DbmulticloudMultiCloudResourceDiscovery
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            last_modification: Optional[str] = None,
            lifecycle_state_details: Optional[str] = None,
            oracle_db_connector_id: Optional[str] = None,
            resource_type: Optional[str] = None,
            resources: Optional[Sequence[DbmulticloudMultiCloudResourceDiscoveryResourceArgs]] = None,
            resources_filter: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> DbmulticloudMultiCloudResourceDiscovery
    func GetDbmulticloudMultiCloudResourceDiscovery(ctx *Context, name string, id IDInput, state *DbmulticloudMultiCloudResourceDiscoveryState, opts ...ResourceOption) (*DbmulticloudMultiCloudResourceDiscovery, error)
    public static DbmulticloudMultiCloudResourceDiscovery Get(string name, Input<string> id, DbmulticloudMultiCloudResourceDiscoveryState? state, CustomResourceOptions? opts = null)
    public static DbmulticloudMultiCloudResourceDiscovery get(String name, Output<String> id, DbmulticloudMultiCloudResourceDiscoveryState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:DbmulticloudMultiCloudResourceDiscovery    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:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    LastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    OracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    ResourceType string
    (Updatable) Resource Type to discover.
    Resources List<DbmulticloudMultiCloudResourceDiscoveryResource>
    List of All Discovered resources.
    ResourcesFilter 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"}

    ** 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

    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    CompartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    FreeformTags map[string]string
    (Updatable) 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"}
    LastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    OracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    ResourceType string
    (Updatable) Resource Type to discover.
    Resources []DbmulticloudMultiCloudResourceDiscoveryResourceArgs
    List of All Discovered resources.
    ResourcesFilter 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"}

    ** 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

    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId String
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    freeformTags Map<String,String>
    (Updatable) 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"}
    lastModification String
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    oracleDbConnectorId String
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType String
    (Updatable) Resource Type to discover.
    resources List<DbmulticloudMultiCloudResourceDiscoveryResource>
    List of All Discovered resources.
    resourcesFilter 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"}

    ** 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

    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId string
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    lastModification string
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    oracleDbConnectorId string
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType string
    (Updatable) Resource Type to discover.
    resources DbmulticloudMultiCloudResourceDiscoveryResource[]
    List of All Discovered resources.
    resourcesFilter {[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"}

    ** 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

    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated 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
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    last_modification str
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    oracle_db_connector_id str
    (Updatable) The OCID of the Oracle DB Connector resource.
    resource_type str
    (Updatable) Resource Type to discover.
    resources Sequence[DbmulticloudMultiCloudResourceDiscoveryResourceArgs]
    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"}

    ** 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

    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 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'
    compartmentId String
    (Updatable) The OCID of the compartment that contains Multicloud Resource Discovery resource.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) Display name of the Multicloud Resource Discovery resource.
    freeformTags Map<String>
    (Updatable) 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"}
    lastModification String
    Description of the latest modification of the Multicloud Resource Discovery resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    oracleDbConnectorId String
    (Updatable) The OCID of the Oracle DB Connector resource.
    resourceType String
    (Updatable) Resource Type to discover.
    resources List<Property Map>
    List of All Discovered resources.
    resourcesFilter 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"}

    ** 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

    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 Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated 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

    DbmulticloudMultiCloudResourceDiscoveryResource, DbmulticloudMultiCloudResourceDiscoveryResourceArgs

    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.
    ResourceGroup 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.
    ResourceGroup 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.
    resourceGroup 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.
    resourceGroup 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.
    resourceGroup String
    Discovered Resource Group Name.
    type String
    Discovered Resource Type.

    Import

    MultiCloudResourceDiscoveries can be imported using the id, e.g.

    $ pulumi import oci:oci/dbmulticloudMultiCloudResourceDiscovery:DbmulticloudMultiCloudResourceDiscovery test_multi_cloud_resource_discovery "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate