Data Source: oci_dbmulticloud_multi_cloud_resource_discoveries
This data source provides the list of Multi Cloud Resource Discoveries in Oracle Cloud Infrastructure Dbmulticloud service.
Lists all Multicloud Resource Discovery resources based on the specified filters.
Example Usage
data "oci_dbmulticloud_multi_cloud_resource_discoveries" "test_multi_cloud_resource_discoveries" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.multi_cloud_resource_discovery_display_name
multi_cloud_resource_discovery_id = oci_dbmulticloud_multi_cloud_resource_discovery.test_multi_cloud_resource_discovery.id
oracle_db_azure_connector_id = oci_dbmulticloud_oracle_db_azure_connector.test_oracle_db_azure_connector.id
resource_type = var.multi_cloud_resource_discovery_resource_type
resources_filter = var.multi_cloud_resource_discovery_resources_filter
state = var.multi_cloud_resource_discovery_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The ID of the compartment.display_name
- (Optional) A filter to return Oracle DB Multicloud Discovery resources that match the specified display name.multi_cloud_resource_discovery_id
- (Optional) The OCID of the Multicloud Discovery resource.oracle_db_azure_connector_id
- (Optional) A filter to return Oracle DB Azure Azure Identity Connector resources.resource_type
- (Optional) The type of Multicloud Resource.resources_filter
- (Optional) Specifies the type(s) of resources to discover in the target cloud provider.state
- (Optional) A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
Attributes Reference
The following attributes are exported:
multi_cloud_resource_discovery_summary_collection
- The list of multi_cloud_resource_discovery_summary_collection.
MultiCloudResourceDiscovery Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment that contains Multicloud Resource Discovery resource.defined_tags
- 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
- Display name of the Multicloud Resource Discovery resource.freeform_tags
- 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
- The OCID of the Multicloud Resource Discovery resourcelast_modification
- Description of the latest modification of the Multicloud Resource Discovery resource.lifecycle_state_details
- Description of the current lifecycle state in more detail.oracle_db_connector_id
- The OCID of the Oracle DB Connector resource.resource_type
- Resource Type to discover.resources
- List of All Discovered resources.id
- The ID of the Discovered Resource.location
- Discovered Resource Location.name
- Discovered Resource Name.properties
- Discovered Resource’s properties.resource_group
- Discovered Resource Group Name.type
- Discovered Resource Type.
resources_filter
- 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
- The current lifecycle state of the discovered resource.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- Time when the Multicloud Discovery Resource was created in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’time_updated
- Time when the Multicloud Discovery Resource was last modified, expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’