oci_database_management_cloud_db_system_discovery

This resource provides the Cloud Db System Discovery resource in Oracle Cloud Infrastructure Database Management service.

Creates a cloud DB system discovery resource and initiates the discovery process.

Patches the cloud DB system discovery specified by cloudDbSystemDiscoveryId.

Example Usage

resource "oci_database_management_cloud_db_system_discovery" "test_cloud_db_system_discovery" {
	#Required
	agent_id = oci_cloud_bridge_agent.test_agent.id
	cloud_db_system_discovery_id = var.cloud_db_system_discovery_cloud_db_system_discovery_id
	compartment_id = var.compartment_id
	dbaas_parent_infrastructure_id = oci_database_management_dbaas_parent_infrastructure.test_dbaas_parent_infrastructure.id
	deployment_type = var.cloud_db_system_discovery_deployment_type

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.cloud_db_system_discovery_display_name
	freeform_tags = {"Department"= "Finance"}
	patch_operations {
		#Required
		operation = var.cloud_db_system_discovery_patch_operations_operation
		selection = var.cloud_db_system_discovery_patch_operations_selection

		#Optional
		value = var.cloud_db_system_discovery_patch_operations_value
	}
}

Argument Reference

The following arguments are supported:

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

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Cloud Db System Discovery * update - (Defaults to 20 minutes), when updating the Cloud Db System Discovery * delete - (Defaults to 20 minutes), when destroying the Cloud Db System Discovery

Import

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

$ terraform import oci_database_management_cloud_db_system_discovery.test_cloud_db_system_discovery "id"