oci_opsi_exadata_insight

This resource provides the Exadata Insight resource in Oracle Cloud Infrastructure Opsi service.

Create an Exadata insight resource for an Exadata system in Operations Insights. The Exadata system will be enabled in Operations Insights. Exadata-related metric collection and analysis will be started.

Example Usage

resource "oci_opsi_exadata_insight" "test_exadata_insight" {
  #Required
  compartment_id = var.compartment_id
  enterprise_manager_bridge_id = oci_opsi_enterprise_manager_bridge.test_enterprise_manager_bridge.id
  enterprise_manager_entity_identifier = var.exadata_insight_enterprise_manager_entity_identifier
  enterprise_manager_identifier = var.exadata_insight_enterprise_manager_identifier
  entity_source = var.exadata_insight_entity_source

  #Optional
  defined_tags = {"foo-namespace.bar-key"= "value"}
  freeform_tags = {"bar-key"= "value"}
  is_auto_sync_enabled = var.exadata_insight_is_auto_sync_enabled
  member_vm_cluster_details {

    #Optional
    compartment_id = var.compartment_id
    dbm_private_endpoint_id = oci_dataflow_private_endpoint.test_private_endpoint.id
    member_database_details {

      #Optional
      compartment_id = var.compartment_id
      connection_credential_details {
        #Required
        credential_type = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_credential_details_credential_type

        #Optional
        credential_source_name = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_credential_details_credential_source_name
        password_secret_id = oci_vault_secret.test_secret.id
        role = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_credential_details_role
        user_name = oci_identity_user.test_user.name
        wallet_secret_id = oci_vault_secret.test_secret.id
      }
      connection_details {

        #Optional
        host_name = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_details_host_name
        hosts {

          #Optional
          host_ip = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_details_hosts_host_ip
          port = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_details_hosts_port
        }
        port = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_details_port
        protocol = var.exadata_insight_member_vm_cluster_details_member_database_details_connection_details_protocol
        service_name = oci_core_service.test_service.name
      }
      credential_details {
        #Required
        credential_type = var.exadata_insight_member_vm_cluster_details_member_database_details_credential_details_credential_type

        #Optional
        credential_source_name = var.exadata_insight_member_vm_cluster_details_member_database_details_credential_details_credential_source_name
        password_secret_id = oci_vault_secret.test_secret.id
        role = var.exadata_insight_member_vm_cluster_details_member_database_details_credential_details_role
        user_name = oci_identity_user.test_user.name
        wallet_secret_id = oci_vault_secret.test_secret.id
      }
      database_id = oci_database_database.test_database.id
      database_resource_type = var.exadata_insight_member_vm_cluster_details_member_database_details_database_resource_type
      dbm_private_endpoint_id = oci_dataflow_private_endpoint.test_private_endpoint.id
      defined_tags = var.exadata_insight_member_vm_cluster_details_member_database_details_defined_tags
      deployment_type = var.exadata_insight_member_vm_cluster_details_member_database_details_deployment_type
      entity_source = var.exadata_insight_member_vm_cluster_details_member_database_details_entity_source
      freeform_tags = var.exadata_insight_member_vm_cluster_details_member_database_details_freeform_tags
      management_agent_id = oci_management_agent_management_agent.test_management_agent.id
      opsi_private_endpoint_id = oci_dataflow_private_endpoint.test_private_endpoint.id
      service_name = oci_core_service.test_service.name
      system_tags = var.exadata_insight_member_vm_cluster_details_member_database_details_system_tags
    }
    opsi_private_endpoint_id = oci_dataflow_private_endpoint.test_private_endpoint.id
    vm_cluster_type = var.exadata_insight_member_vm_cluster_details_vm_cluster_type
    vmcluster_id = oci_opsi_vmcluster.test_vmcluster.id
  }
}

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 Exadata Insight * update - (Defaults to 20 minutes), when updating the Exadata Insight * delete - (Defaults to 20 minutes), when destroying the Exadata Insight

Import

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

$ terraform import oci_opsi_exadata_insight.test_exadata_insight "id"