1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. TargetDatabase
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.DataSafe.TargetDatabase

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Target Database resource in Oracle Cloud Infrastructure Data Safe service.

    Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTargetDatabase = new oci.datasafe.TargetDatabase("testTargetDatabase", {
        compartmentId: _var.compartment_id,
        databaseDetails: {
            databaseType: _var.target_database_database_details_database_type,
            infrastructureType: _var.target_database_database_details_infrastructure_type,
            autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
            dbSystemId: oci_database_db_system.test_db_system.id,
            instanceId: oci_core_instance.test_instance.id,
            ipAddresses: _var.target_database_database_details_ip_addresses,
            listenerPort: _var.target_database_database_details_listener_port,
            serviceName: oci_core_service.test_service.name,
            vmClusterId: oci_database_vm_cluster.test_vm_cluster.id,
        },
        connectionOption: {
            connectionType: _var.target_database_connection_option_connection_type,
            datasafePrivateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,
            onPremConnectorId: oci_data_safe_on_prem_connector.test_on_prem_connector.id,
        },
        credentials: {
            password: _var.target_database_credentials_password,
            userName: oci_identity_user.test_user.name,
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: _var.target_database_description,
        displayName: _var.target_database_display_name,
        freeformTags: {
            Department: "Finance",
        },
        peerTargetDatabaseDetails: [{
            databaseDetails: {
                databaseType: _var.target_database_peer_target_database_details_database_details_database_type,
                infrastructureType: _var.target_database_peer_target_database_details_database_details_infrastructure_type,
                autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
                dbSystemId: oci_database_db_system.test_db_system.id,
                instanceId: oci_core_instance.test_instance.id,
                ipAddresses: _var.target_database_peer_target_database_details_database_details_ip_addresses,
                listenerPort: _var.target_database_peer_target_database_details_database_details_listener_port,
                serviceName: oci_core_service.test_service.name,
                vmClusterId: oci_database_vm_cluster.test_vm_cluster.id,
            },
            dataguardAssociationId: oci_certificates_management_association.test_association.id,
            description: _var.target_database_peer_target_database_details_description,
            displayName: _var.target_database_peer_target_database_details_display_name,
            tlsConfig: {
                status: _var.target_database_peer_target_database_details_tls_config_status,
                certificateStoreType: _var.target_database_peer_target_database_details_tls_config_certificate_store_type,
                keyStoreContent: _var.target_database_peer_target_database_details_tls_config_key_store_content,
                storePassword: _var.target_database_peer_target_database_details_tls_config_store_password,
                trustStoreContent: _var.target_database_peer_target_database_details_tls_config_trust_store_content,
            },
        }],
        tlsConfig: {
            status: _var.target_database_tls_config_status,
            certificateStoreType: _var.target_database_tls_config_certificate_store_type,
            keyStoreContent: _var.target_database_tls_config_key_store_content,
            storePassword: _var.target_database_tls_config_store_password,
            trustStoreContent: _var.target_database_tls_config_trust_store_content,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_target_database = oci.data_safe.TargetDatabase("testTargetDatabase",
        compartment_id=var["compartment_id"],
        database_details=oci.data_safe.TargetDatabaseDatabaseDetailsArgs(
            database_type=var["target_database_database_details_database_type"],
            infrastructure_type=var["target_database_database_details_infrastructure_type"],
            autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
            db_system_id=oci_database_db_system["test_db_system"]["id"],
            instance_id=oci_core_instance["test_instance"]["id"],
            ip_addresses=var["target_database_database_details_ip_addresses"],
            listener_port=var["target_database_database_details_listener_port"],
            service_name=oci_core_service["test_service"]["name"],
            vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"],
        ),
        connection_option=oci.data_safe.TargetDatabaseConnectionOptionArgs(
            connection_type=var["target_database_connection_option_connection_type"],
            datasafe_private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"],
            on_prem_connector_id=oci_data_safe_on_prem_connector["test_on_prem_connector"]["id"],
        ),
        credentials=oci.data_safe.TargetDatabaseCredentialsArgs(
            password=var["target_database_credentials_password"],
            user_name=oci_identity_user["test_user"]["name"],
        ),
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=var["target_database_description"],
        display_name=var["target_database_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        peer_target_database_details=[oci.data_safe.TargetDatabasePeerTargetDatabaseDetailArgs(
            database_details=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs(
                database_type=var["target_database_peer_target_database_details_database_details_database_type"],
                infrastructure_type=var["target_database_peer_target_database_details_database_details_infrastructure_type"],
                autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
                db_system_id=oci_database_db_system["test_db_system"]["id"],
                instance_id=oci_core_instance["test_instance"]["id"],
                ip_addresses=var["target_database_peer_target_database_details_database_details_ip_addresses"],
                listener_port=var["target_database_peer_target_database_details_database_details_listener_port"],
                service_name=oci_core_service["test_service"]["name"],
                vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"],
            ),
            dataguard_association_id=oci_certificates_management_association["test_association"]["id"],
            description=var["target_database_peer_target_database_details_description"],
            display_name=var["target_database_peer_target_database_details_display_name"],
            tls_config=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs(
                status=var["target_database_peer_target_database_details_tls_config_status"],
                certificate_store_type=var["target_database_peer_target_database_details_tls_config_certificate_store_type"],
                key_store_content=var["target_database_peer_target_database_details_tls_config_key_store_content"],
                store_password=var["target_database_peer_target_database_details_tls_config_store_password"],
                trust_store_content=var["target_database_peer_target_database_details_tls_config_trust_store_content"],
            ),
        )],
        tls_config=oci.data_safe.TargetDatabaseTlsConfigArgs(
            status=var["target_database_tls_config_status"],
            certificate_store_type=var["target_database_tls_config_certificate_store_type"],
            key_store_content=var["target_database_tls_config_key_store_content"],
            store_password=var["target_database_tls_config_store_password"],
            trust_store_content=var["target_database_tls_config_trust_store_content"],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.NewTargetDatabase(ctx, "testTargetDatabase", &DataSafe.TargetDatabaseArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DatabaseDetails: &datasafe.TargetDatabaseDatabaseDetailsArgs{
    				DatabaseType:         pulumi.Any(_var.Target_database_database_details_database_type),
    				InfrastructureType:   pulumi.Any(_var.Target_database_database_details_infrastructure_type),
    				AutonomousDatabaseId: pulumi.Any(oci_database_autonomous_database.Test_autonomous_database.Id),
    				DbSystemId:           pulumi.Any(oci_database_db_system.Test_db_system.Id),
    				InstanceId:           pulumi.Any(oci_core_instance.Test_instance.Id),
    				IpAddresses:          pulumi.Any(_var.Target_database_database_details_ip_addresses),
    				ListenerPort:         pulumi.Any(_var.Target_database_database_details_listener_port),
    				ServiceName:          pulumi.Any(oci_core_service.Test_service.Name),
    				VmClusterId:          pulumi.Any(oci_database_vm_cluster.Test_vm_cluster.Id),
    			},
    			ConnectionOption: &datasafe.TargetDatabaseConnectionOptionArgs{
    				ConnectionType:            pulumi.Any(_var.Target_database_connection_option_connection_type),
    				DatasafePrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id),
    				OnPremConnectorId:         pulumi.Any(oci_data_safe_on_prem_connector.Test_on_prem_connector.Id),
    			},
    			Credentials: &datasafe.TargetDatabaseCredentialsArgs{
    				Password: pulumi.Any(_var.Target_database_credentials_password),
    				UserName: pulumi.Any(oci_identity_user.Test_user.Name),
    			},
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(_var.Target_database_description),
    			DisplayName: pulumi.Any(_var.Target_database_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			PeerTargetDatabaseDetails: datasafe.TargetDatabasePeerTargetDatabaseDetailArray{
    				&datasafe.TargetDatabasePeerTargetDatabaseDetailArgs{
    					DatabaseDetails: &datasafe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs{
    						DatabaseType:         pulumi.Any(_var.Target_database_peer_target_database_details_database_details_database_type),
    						InfrastructureType:   pulumi.Any(_var.Target_database_peer_target_database_details_database_details_infrastructure_type),
    						AutonomousDatabaseId: pulumi.Any(oci_database_autonomous_database.Test_autonomous_database.Id),
    						DbSystemId:           pulumi.Any(oci_database_db_system.Test_db_system.Id),
    						InstanceId:           pulumi.Any(oci_core_instance.Test_instance.Id),
    						IpAddresses:          pulumi.Any(_var.Target_database_peer_target_database_details_database_details_ip_addresses),
    						ListenerPort:         pulumi.Any(_var.Target_database_peer_target_database_details_database_details_listener_port),
    						ServiceName:          pulumi.Any(oci_core_service.Test_service.Name),
    						VmClusterId:          pulumi.Any(oci_database_vm_cluster.Test_vm_cluster.Id),
    					},
    					DataguardAssociationId: pulumi.Any(oci_certificates_management_association.Test_association.Id),
    					Description:            pulumi.Any(_var.Target_database_peer_target_database_details_description),
    					DisplayName:            pulumi.Any(_var.Target_database_peer_target_database_details_display_name),
    					TlsConfig: &datasafe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs{
    						Status:               pulumi.Any(_var.Target_database_peer_target_database_details_tls_config_status),
    						CertificateStoreType: pulumi.Any(_var.Target_database_peer_target_database_details_tls_config_certificate_store_type),
    						KeyStoreContent:      pulumi.Any(_var.Target_database_peer_target_database_details_tls_config_key_store_content),
    						StorePassword:        pulumi.Any(_var.Target_database_peer_target_database_details_tls_config_store_password),
    						TrustStoreContent:    pulumi.Any(_var.Target_database_peer_target_database_details_tls_config_trust_store_content),
    					},
    				},
    			},
    			TlsConfig: &datasafe.TargetDatabaseTlsConfigArgs{
    				Status:               pulumi.Any(_var.Target_database_tls_config_status),
    				CertificateStoreType: pulumi.Any(_var.Target_database_tls_config_certificate_store_type),
    				KeyStoreContent:      pulumi.Any(_var.Target_database_tls_config_key_store_content),
    				StorePassword:        pulumi.Any(_var.Target_database_tls_config_store_password),
    				TrustStoreContent:    pulumi.Any(_var.Target_database_tls_config_trust_store_content),
    			},
    		})
    		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 testTargetDatabase = new Oci.DataSafe.TargetDatabase("testTargetDatabase", new()
        {
            CompartmentId = @var.Compartment_id,
            DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabaseDatabaseDetailsArgs
            {
                DatabaseType = @var.Target_database_database_details_database_type,
                InfrastructureType = @var.Target_database_database_details_infrastructure_type,
                AutonomousDatabaseId = oci_database_autonomous_database.Test_autonomous_database.Id,
                DbSystemId = oci_database_db_system.Test_db_system.Id,
                InstanceId = oci_core_instance.Test_instance.Id,
                IpAddresses = @var.Target_database_database_details_ip_addresses,
                ListenerPort = @var.Target_database_database_details_listener_port,
                ServiceName = oci_core_service.Test_service.Name,
                VmClusterId = oci_database_vm_cluster.Test_vm_cluster.Id,
            },
            ConnectionOption = new Oci.DataSafe.Inputs.TargetDatabaseConnectionOptionArgs
            {
                ConnectionType = @var.Target_database_connection_option_connection_type,
                DatasafePrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id,
                OnPremConnectorId = oci_data_safe_on_prem_connector.Test_on_prem_connector.Id,
            },
            Credentials = new Oci.DataSafe.Inputs.TargetDatabaseCredentialsArgs
            {
                Password = @var.Target_database_credentials_password,
                UserName = oci_identity_user.Test_user.Name,
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = @var.Target_database_description,
            DisplayName = @var.Target_database_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            PeerTargetDatabaseDetails = new[]
            {
                new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailArgs
                {
                    DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs
                    {
                        DatabaseType = @var.Target_database_peer_target_database_details_database_details_database_type,
                        InfrastructureType = @var.Target_database_peer_target_database_details_database_details_infrastructure_type,
                        AutonomousDatabaseId = oci_database_autonomous_database.Test_autonomous_database.Id,
                        DbSystemId = oci_database_db_system.Test_db_system.Id,
                        InstanceId = oci_core_instance.Test_instance.Id,
                        IpAddresses = @var.Target_database_peer_target_database_details_database_details_ip_addresses,
                        ListenerPort = @var.Target_database_peer_target_database_details_database_details_listener_port,
                        ServiceName = oci_core_service.Test_service.Name,
                        VmClusterId = oci_database_vm_cluster.Test_vm_cluster.Id,
                    },
                    DataguardAssociationId = oci_certificates_management_association.Test_association.Id,
                    Description = @var.Target_database_peer_target_database_details_description,
                    DisplayName = @var.Target_database_peer_target_database_details_display_name,
                    TlsConfig = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs
                    {
                        Status = @var.Target_database_peer_target_database_details_tls_config_status,
                        CertificateStoreType = @var.Target_database_peer_target_database_details_tls_config_certificate_store_type,
                        KeyStoreContent = @var.Target_database_peer_target_database_details_tls_config_key_store_content,
                        StorePassword = @var.Target_database_peer_target_database_details_tls_config_store_password,
                        TrustStoreContent = @var.Target_database_peer_target_database_details_tls_config_trust_store_content,
                    },
                },
            },
            TlsConfig = new Oci.DataSafe.Inputs.TargetDatabaseTlsConfigArgs
            {
                Status = @var.Target_database_tls_config_status,
                CertificateStoreType = @var.Target_database_tls_config_certificate_store_type,
                KeyStoreContent = @var.Target_database_tls_config_key_store_content,
                StorePassword = @var.Target_database_tls_config_store_password,
                TrustStoreContent = @var.Target_database_tls_config_trust_store_content,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.TargetDatabase;
    import com.pulumi.oci.DataSafe.TargetDatabaseArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabaseDatabaseDetailsArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabaseConnectionOptionArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabaseCredentialsArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabasePeerTargetDatabaseDetailArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs;
    import com.pulumi.oci.DataSafe.inputs.TargetDatabaseTlsConfigArgs;
    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 testTargetDatabase = new TargetDatabase("testTargetDatabase", TargetDatabaseArgs.builder()        
                .compartmentId(var_.compartment_id())
                .databaseDetails(TargetDatabaseDatabaseDetailsArgs.builder()
                    .databaseType(var_.target_database_database_details_database_type())
                    .infrastructureType(var_.target_database_database_details_infrastructure_type())
                    .autonomousDatabaseId(oci_database_autonomous_database.test_autonomous_database().id())
                    .dbSystemId(oci_database_db_system.test_db_system().id())
                    .instanceId(oci_core_instance.test_instance().id())
                    .ipAddresses(var_.target_database_database_details_ip_addresses())
                    .listenerPort(var_.target_database_database_details_listener_port())
                    .serviceName(oci_core_service.test_service().name())
                    .vmClusterId(oci_database_vm_cluster.test_vm_cluster().id())
                    .build())
                .connectionOption(TargetDatabaseConnectionOptionArgs.builder()
                    .connectionType(var_.target_database_connection_option_connection_type())
                    .datasafePrivateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id())
                    .onPremConnectorId(oci_data_safe_on_prem_connector.test_on_prem_connector().id())
                    .build())
                .credentials(TargetDatabaseCredentialsArgs.builder()
                    .password(var_.target_database_credentials_password())
                    .userName(oci_identity_user.test_user().name())
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(var_.target_database_description())
                .displayName(var_.target_database_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .peerTargetDatabaseDetails(TargetDatabasePeerTargetDatabaseDetailArgs.builder()
                    .databaseDetails(TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs.builder()
                        .databaseType(var_.target_database_peer_target_database_details_database_details_database_type())
                        .infrastructureType(var_.target_database_peer_target_database_details_database_details_infrastructure_type())
                        .autonomousDatabaseId(oci_database_autonomous_database.test_autonomous_database().id())
                        .dbSystemId(oci_database_db_system.test_db_system().id())
                        .instanceId(oci_core_instance.test_instance().id())
                        .ipAddresses(var_.target_database_peer_target_database_details_database_details_ip_addresses())
                        .listenerPort(var_.target_database_peer_target_database_details_database_details_listener_port())
                        .serviceName(oci_core_service.test_service().name())
                        .vmClusterId(oci_database_vm_cluster.test_vm_cluster().id())
                        .build())
                    .dataguardAssociationId(oci_certificates_management_association.test_association().id())
                    .description(var_.target_database_peer_target_database_details_description())
                    .displayName(var_.target_database_peer_target_database_details_display_name())
                    .tlsConfig(TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs.builder()
                        .status(var_.target_database_peer_target_database_details_tls_config_status())
                        .certificateStoreType(var_.target_database_peer_target_database_details_tls_config_certificate_store_type())
                        .keyStoreContent(var_.target_database_peer_target_database_details_tls_config_key_store_content())
                        .storePassword(var_.target_database_peer_target_database_details_tls_config_store_password())
                        .trustStoreContent(var_.target_database_peer_target_database_details_tls_config_trust_store_content())
                        .build())
                    .build())
                .tlsConfig(TargetDatabaseTlsConfigArgs.builder()
                    .status(var_.target_database_tls_config_status())
                    .certificateStoreType(var_.target_database_tls_config_certificate_store_type())
                    .keyStoreContent(var_.target_database_tls_config_key_store_content())
                    .storePassword(var_.target_database_tls_config_store_password())
                    .trustStoreContent(var_.target_database_tls_config_trust_store_content())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testTargetDatabase:
        type: oci:DataSafe:TargetDatabase
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          databaseDetails:
            databaseType: ${var.target_database_database_details_database_type}
            infrastructureType: ${var.target_database_database_details_infrastructure_type}
            autonomousDatabaseId: ${oci_database_autonomous_database.test_autonomous_database.id}
            dbSystemId: ${oci_database_db_system.test_db_system.id}
            instanceId: ${oci_core_instance.test_instance.id}
            ipAddresses: ${var.target_database_database_details_ip_addresses}
            listenerPort: ${var.target_database_database_details_listener_port}
            serviceName: ${oci_core_service.test_service.name}
            vmClusterId: ${oci_database_vm_cluster.test_vm_cluster.id}
          connectionOption:
            connectionType: ${var.target_database_connection_option_connection_type}
            datasafePrivateEndpointId: ${oci_dataflow_private_endpoint.test_private_endpoint.id}
            onPremConnectorId: ${oci_data_safe_on_prem_connector.test_on_prem_connector.id}
          credentials:
            password: ${var.target_database_credentials_password}
            userName: ${oci_identity_user.test_user.name}
          definedTags:
            Operations.CostCenter: '42'
          description: ${var.target_database_description}
          displayName: ${var.target_database_display_name}
          freeformTags:
            Department: Finance
          peerTargetDatabaseDetails:
            - databaseDetails:
                databaseType: ${var.target_database_peer_target_database_details_database_details_database_type}
                infrastructureType: ${var.target_database_peer_target_database_details_database_details_infrastructure_type}
                autonomousDatabaseId: ${oci_database_autonomous_database.test_autonomous_database.id}
                dbSystemId: ${oci_database_db_system.test_db_system.id}
                instanceId: ${oci_core_instance.test_instance.id}
                ipAddresses: ${var.target_database_peer_target_database_details_database_details_ip_addresses}
                listenerPort: ${var.target_database_peer_target_database_details_database_details_listener_port}
                serviceName: ${oci_core_service.test_service.name}
                vmClusterId: ${oci_database_vm_cluster.test_vm_cluster.id}
              dataguardAssociationId: ${oci_certificates_management_association.test_association.id}
              description: ${var.target_database_peer_target_database_details_description}
              displayName: ${var.target_database_peer_target_database_details_display_name}
              tlsConfig:
                status: ${var.target_database_peer_target_database_details_tls_config_status}
                certificateStoreType: ${var.target_database_peer_target_database_details_tls_config_certificate_store_type}
                keyStoreContent: ${var.target_database_peer_target_database_details_tls_config_key_store_content}
                storePassword: ${var.target_database_peer_target_database_details_tls_config_store_password}
                trustStoreContent: ${var.target_database_peer_target_database_details_tls_config_trust_store_content}
          tlsConfig:
            status: ${var.target_database_tls_config_status}
            certificateStoreType: ${var.target_database_tls_config_certificate_store_type}
            keyStoreContent: ${var.target_database_tls_config_key_store_content}
            storePassword: ${var.target_database_tls_config_store_password}
            trustStoreContent: ${var.target_database_tls_config_trust_store_content}
    

    Create TargetDatabase Resource

    new TargetDatabase(name: string, args: TargetDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def TargetDatabase(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compartment_id: Optional[str] = None,
                       connection_option: Optional[_datasafe.TargetDatabaseConnectionOptionArgs] = None,
                       credentials: Optional[_datasafe.TargetDatabaseCredentialsArgs] = None,
                       database_details: Optional[_datasafe.TargetDatabaseDatabaseDetailsArgs] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       peer_target_database_details: Optional[Sequence[_datasafe.TargetDatabasePeerTargetDatabaseDetailArgs]] = None,
                       tls_config: Optional[_datasafe.TargetDatabaseTlsConfigArgs] = None)
    @overload
    def TargetDatabase(resource_name: str,
                       args: TargetDatabaseArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewTargetDatabase(ctx *Context, name string, args TargetDatabaseArgs, opts ...ResourceOption) (*TargetDatabase, error)
    public TargetDatabase(string name, TargetDatabaseArgs args, CustomResourceOptions? opts = null)
    public TargetDatabase(String name, TargetDatabaseArgs args)
    public TargetDatabase(String name, TargetDatabaseArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:TargetDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TargetDatabaseArgs
    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 TargetDatabaseArgs
    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 TargetDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TargetDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TargetDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TargetDatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TargetDatabase resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    DatabaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    ConnectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    Credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    DefinedTags Dictionary<string, object>
    (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"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    FreeformTags Dictionary<string, object>
    (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"}
    PeerTargetDatabaseDetails List<TargetDatabasePeerTargetDatabaseDetail>
    The details of the database to be registered as a peer target database.
    TlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    DatabaseDetails TargetDatabaseDatabaseDetailsArgs
    Details of the database for the registration in Data Safe.
    ConnectionOption TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    Credentials TargetDatabaseCredentialsArgs
    (Updatable) The database credentials required for Data Safe to connect to the database.
    DefinedTags map[string]interface{}
    (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"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    FreeformTags map[string]interface{}
    (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"}
    PeerTargetDatabaseDetails []TargetDatabasePeerTargetDatabaseDetailArgs
    The details of the database to be registered as a peer target database.
    TlsConfig TargetDatabaseTlsConfigArgs
    (Updatable) The details required to establish a TLS enabled connection.
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    databaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    connectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    definedTags Map<String,Object>
    (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"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags Map<String,Object>
    (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"}
    peerTargetDatabaseDetails List<TargetDatabasePeerTargetDatabaseDetail>
    The details of the database to be registered as a peer target database.
    tlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    compartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    databaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    connectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    definedTags {[key: string]: any}
    (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"}
    description string
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags {[key: string]: any}
    (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"}
    peerTargetDatabaseDetails TargetDatabasePeerTargetDatabaseDetail[]
    The details of the database to be registered as a peer target database.
    tlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    compartment_id str
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    database_details TargetDatabaseDatabaseDetailsArgs
    Details of the database for the registration in Data Safe.
    connection_option TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentialsArgs
    (Updatable) The database credentials required for Data Safe to connect to the database.
    defined_tags Mapping[str, Any]
    (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"}
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeform_tags Mapping[str, Any]
    (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"}
    peer_target_database_details TargetDatabasePeerTargetDatabaseDetailArgs]
    The details of the database to be registered as a peer target database.
    tls_config TargetDatabaseTlsConfigArgs
    (Updatable) The details required to establish a TLS enabled connection.
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    databaseDetails Property Map
    Details of the database for the registration in Data Safe.
    connectionOption Property Map
    (Updatable) Types of connection supported by Data Safe.
    credentials Property Map
    (Updatable) The database credentials required for Data Safe to connect to the database.
    definedTags Map<Any>
    (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"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags Map<Any>
    (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"}
    peerTargetDatabaseDetails List<Property Map>
    The details of the database to be registered as a peer target database.
    tlsConfig Property Map
    (Updatable) The details required to establish a TLS enabled connection.

    Outputs

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

    AssociatedResourceIds List<string>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabases List<TargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    The current state of the target database in Data Safe.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    AssociatedResourceIds []string
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabases []TargetDatabasePeerTargetDatabaseType
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    The current state of the target database in Data Safe.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    associatedResourceIds List<String>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabases List<TargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state String
    The current state of the target database in Data Safe.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.
    associatedResourceIds string[]
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabases TargetDatabasePeerTargetDatabase[]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state string
    The current state of the target database in Data Safe.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated string
    The date and time of the target database update in Data Safe.
    associated_resource_ids Sequence[str]
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Details about the current state of the peer target database in Data Safe.
    peer_target_databases TargetDatabasePeerTargetDatabase]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state str
    The current state of the target database in Data Safe.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    time_updated str
    The date and time of the target database update in Data Safe.
    associatedResourceIds List<String>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabases List<Property Map>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state String
    The current state of the target database in Data Safe.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.

    Look up Existing TargetDatabase Resource

    Get an existing TargetDatabase 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?: TargetDatabaseState, opts?: CustomResourceOptions): TargetDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            associated_resource_ids: Optional[Sequence[str]] = None,
            compartment_id: Optional[str] = None,
            connection_option: Optional[_datasafe.TargetDatabaseConnectionOptionArgs] = None,
            credentials: Optional[_datasafe.TargetDatabaseCredentialsArgs] = None,
            database_details: Optional[_datasafe.TargetDatabaseDatabaseDetailsArgs] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            peer_target_database_details: Optional[Sequence[_datasafe.TargetDatabasePeerTargetDatabaseDetailArgs]] = None,
            peer_target_databases: Optional[Sequence[_datasafe.TargetDatabasePeerTargetDatabaseArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            tls_config: Optional[_datasafe.TargetDatabaseTlsConfigArgs] = None) -> TargetDatabase
    func GetTargetDatabase(ctx *Context, name string, id IDInput, state *TargetDatabaseState, opts ...ResourceOption) (*TargetDatabase, error)
    public static TargetDatabase Get(string name, Input<string> id, TargetDatabaseState? state, CustomResourceOptions? opts = null)
    public static TargetDatabase get(String name, Output<String> id, TargetDatabaseState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AssociatedResourceIds List<string>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    ConnectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    Credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    DatabaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    DefinedTags Dictionary<string, object>
    (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"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    FreeformTags Dictionary<string, object>
    (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"}
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabaseDetails List<TargetDatabasePeerTargetDatabaseDetail>
    The details of the database to be registered as a peer target database.
    PeerTargetDatabases List<TargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    The current state of the target database in Data Safe.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    TlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    AssociatedResourceIds []string
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    ConnectionOption TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    Credentials TargetDatabaseCredentialsArgs
    (Updatable) The database credentials required for Data Safe to connect to the database.
    DatabaseDetails TargetDatabaseDatabaseDetailsArgs
    Details of the database for the registration in Data Safe.
    DefinedTags map[string]interface{}
    (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"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    FreeformTags map[string]interface{}
    (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"}
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabaseDetails []TargetDatabasePeerTargetDatabaseDetailArgs
    The details of the database to be registered as a peer target database.
    PeerTargetDatabases []TargetDatabasePeerTargetDatabaseTypeArgs
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    The current state of the target database in Data Safe.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    TlsConfig TargetDatabaseTlsConfigArgs
    (Updatable) The details required to establish a TLS enabled connection.
    associatedResourceIds List<String>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    connectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    databaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    definedTags Map<String,Object>
    (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"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags Map<String,Object>
    (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"}
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails List<TargetDatabasePeerTargetDatabaseDetail>
    The details of the database to be registered as a peer target database.
    peerTargetDatabases List<TargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state String
    The current state of the target database in Data Safe.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.
    tlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    associatedResourceIds string[]
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    compartmentId string
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    connectionOption TargetDatabaseConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentials
    (Updatable) The database credentials required for Data Safe to connect to the database.
    databaseDetails TargetDatabaseDatabaseDetails
    Details of the database for the registration in Data Safe.
    definedTags {[key: string]: any}
    (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"}
    description string
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags {[key: string]: any}
    (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"}
    lifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails TargetDatabasePeerTargetDatabaseDetail[]
    The details of the database to be registered as a peer target database.
    peerTargetDatabases TargetDatabasePeerTargetDatabase[]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state string
    The current state of the target database in Data Safe.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated string
    The date and time of the target database update in Data Safe.
    tlsConfig TargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    associated_resource_ids Sequence[str]
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    compartment_id str
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    connection_option TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    credentials TargetDatabaseCredentialsArgs
    (Updatable) The database credentials required for Data Safe to connect to the database.
    database_details TargetDatabaseDatabaseDetailsArgs
    Details of the database for the registration in Data Safe.
    defined_tags Mapping[str, Any]
    (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"}
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeform_tags Mapping[str, Any]
    (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"}
    lifecycle_details str
    Details about the current state of the peer target database in Data Safe.
    peer_target_database_details TargetDatabasePeerTargetDatabaseDetailArgs]
    The details of the database to be registered as a peer target database.
    peer_target_databases TargetDatabasePeerTargetDatabaseArgs]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state str
    The current state of the target database in Data Safe.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    time_updated str
    The date and time of the target database update in Data Safe.
    tls_config TargetDatabaseTlsConfigArgs
    (Updatable) The details required to establish a TLS enabled connection.
    associatedResourceIds List<String>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the Data Safe target database.
    connectionOption Property Map
    (Updatable) Types of connection supported by Data Safe.
    credentials Property Map
    (Updatable) The database credentials required for Data Safe to connect to the database.
    databaseDetails Property Map
    Details of the database for the registration in Data Safe.
    definedTags Map<Any>
    (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"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    freeformTags Map<Any>
    (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"}
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails List<Property Map>
    The details of the database to be registered as a peer target database.
    peerTargetDatabases List<Property Map>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state String
    The current state of the target database in Data Safe.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.
    tlsConfig Property Map
    (Updatable) The details required to establish a TLS enabled connection.

    Supporting Types

    TargetDatabaseConnectionOption, TargetDatabaseConnectionOptionArgs

    ConnectionType string
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    DatasafePrivateEndpointId string
    (Updatable) The OCID of the Data Safe private endpoint.
    OnPremConnectorId string
    (Updatable) The OCID of the on-premises connector.
    ConnectionType string
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    DatasafePrivateEndpointId string
    (Updatable) The OCID of the Data Safe private endpoint.
    OnPremConnectorId string
    (Updatable) The OCID of the on-premises connector.
    connectionType String
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    datasafePrivateEndpointId String
    (Updatable) The OCID of the Data Safe private endpoint.
    onPremConnectorId String
    (Updatable) The OCID of the on-premises connector.
    connectionType string
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    datasafePrivateEndpointId string
    (Updatable) The OCID of the Data Safe private endpoint.
    onPremConnectorId string
    (Updatable) The OCID of the on-premises connector.
    connection_type str
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    datasafe_private_endpoint_id str
    (Updatable) The OCID of the Data Safe private endpoint.
    on_prem_connector_id str
    (Updatable) The OCID of the on-premises connector.
    connectionType String
    (Updatable) The connection type used to connect to the database. Allowed values:

    • PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
    • ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
    datasafePrivateEndpointId String
    (Updatable) The OCID of the Data Safe private endpoint.
    onPremConnectorId String
    (Updatable) The OCID of the on-premises connector.

    TargetDatabaseCredentials, TargetDatabaseCredentialsArgs

    Password string
    (Updatable) The password of the database user.
    UserName string
    (Updatable) The database user name.
    Password string
    (Updatable) The password of the database user.
    UserName string
    (Updatable) The database user name.
    password String
    (Updatable) The password of the database user.
    userName String
    (Updatable) The database user name.
    password string
    (Updatable) The password of the database user.
    userName string
    (Updatable) The database user name.
    password str
    (Updatable) The password of the database user.
    user_name str
    (Updatable) The database user name.
    password String
    (Updatable) The password of the database user.
    userName String
    (Updatable) The database user name.

    TargetDatabaseDatabaseDetails, TargetDatabaseDatabaseDetailsArgs

    DatabaseType string
    The database type.
    InfrastructureType string
    The infrastructure type the database is running on.
    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses List<string>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    DatabaseType string
    The database type.
    InfrastructureType string
    The infrastructure type the database is running on.
    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses []string
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    databaseType String
    The database type.
    infrastructureType String
    The infrastructure type the database is running on.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Integer
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.
    databaseType string
    The database type.
    infrastructureType string
    The infrastructure type the database is running on.
    autonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId string
    The OCID of the compute instance on which the database is running.
    ipAddresses string[]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort number
    The port number of the database listener.
    serviceName string
    The service name of the database registered as target database.
    vmClusterId string
    The OCID of the VM cluster in which the database is running.
    database_type str
    The database type.
    infrastructure_type str
    The infrastructure type the database is running on.
    autonomous_database_id str
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    instance_id str
    The OCID of the compute instance on which the database is running.
    ip_addresses Sequence[str]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listener_port int
    The port number of the database listener.
    service_name str
    The service name of the database registered as target database.
    vm_cluster_id str
    The OCID of the VM cluster in which the database is running.
    databaseType String
    The database type.
    infrastructureType String
    The infrastructure type the database is running on.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Number
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.

    TargetDatabasePeerTargetDatabase, TargetDatabasePeerTargetDatabaseArgs

    DatabaseDetails List<TargetDatabasePeerTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    DatabaseUniqueName string
    Unique name of the database associated to the peer target database.
    DataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    Key int
    The secondary key assigned for the peer target database in Data Safe.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    Role string
    Role of the database associated to the peer target database.
    State string
    The current state of the target database in Data Safe.
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TlsConfigs List<TargetDatabasePeerTargetDatabaseTlsConfig>
    (Updatable) The details required to establish a TLS enabled connection.
    DatabaseDetails []TargetDatabasePeerTargetDatabaseDatabaseDetail
    Details of the database for the registration in Data Safe.
    DatabaseUniqueName string
    Unique name of the database associated to the peer target database.
    DataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    Key int
    The secondary key assigned for the peer target database in Data Safe.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    Role string
    Role of the database associated to the peer target database.
    State string
    The current state of the target database in Data Safe.
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TlsConfigs []TargetDatabasePeerTargetDatabaseTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails List<TargetDatabasePeerTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    databaseUniqueName String
    Unique name of the database associated to the peer target database.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    key Integer
    The secondary key assigned for the peer target database in Data Safe.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    role String
    Role of the database associated to the peer target database.
    state String
    The current state of the target database in Data Safe.
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tlsConfigs List<TargetDatabasePeerTargetDatabaseTlsConfig>
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails TargetDatabasePeerTargetDatabaseDatabaseDetail[]
    Details of the database for the registration in Data Safe.
    databaseUniqueName string
    Unique name of the database associated to the peer target database.
    dataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description string
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    key number
    The secondary key assigned for the peer target database in Data Safe.
    lifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    role string
    Role of the database associated to the peer target database.
    state string
    The current state of the target database in Data Safe.
    timeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tlsConfigs TargetDatabasePeerTargetDatabaseTlsConfig[]
    (Updatable) The details required to establish a TLS enabled connection.
    database_details TargetDatabasePeerTargetDatabaseDatabaseDetail]
    Details of the database for the registration in Data Safe.
    database_unique_name str
    Unique name of the database associated to the peer target database.
    dataguard_association_id str
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    key int
    The secondary key assigned for the peer target database in Data Safe.
    lifecycle_details str
    Details about the current state of the peer target database in Data Safe.
    role str
    Role of the database associated to the peer target database.
    state str
    The current state of the target database in Data Safe.
    time_created str
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tls_configs TargetDatabasePeerTargetDatabaseTlsConfig]
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails List<Property Map>
    Details of the database for the registration in Data Safe.
    databaseUniqueName String
    Unique name of the database associated to the peer target database.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    key Number
    The secondary key assigned for the peer target database in Data Safe.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    role String
    Role of the database associated to the peer target database.
    state String
    The current state of the target database in Data Safe.
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tlsConfigs List<Property Map>
    (Updatable) The details required to establish a TLS enabled connection.

    TargetDatabasePeerTargetDatabaseDatabaseDetail, TargetDatabasePeerTargetDatabaseDatabaseDetailArgs

    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    The database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    The infrastructure type the database is running on.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses List<string>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    The database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    The infrastructure type the database is running on.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses []string
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType String
    The database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    The infrastructure type the database is running on.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Integer
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType string
    The database type.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType string
    The infrastructure type the database is running on.
    instanceId string
    The OCID of the compute instance on which the database is running.
    ipAddresses string[]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort number
    The port number of the database listener.
    serviceName string
    The service name of the database registered as target database.
    vmClusterId string
    The OCID of the VM cluster in which the database is running.
    autonomous_database_id str
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    database_type str
    The database type.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructure_type str
    The infrastructure type the database is running on.
    instance_id str
    The OCID of the compute instance on which the database is running.
    ip_addresses Sequence[str]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listener_port int
    The port number of the database listener.
    service_name str
    The service name of the database registered as target database.
    vm_cluster_id str
    The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType String
    The database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    The infrastructure type the database is running on.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Number
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.

    TargetDatabasePeerTargetDatabaseDetail, TargetDatabasePeerTargetDatabaseDetailArgs

    DatabaseDetails TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
    Details of the database for the registration in Data Safe.
    DataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    TlsConfig TargetDatabasePeerTargetDatabaseDetailTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    DatabaseDetails TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
    Details of the database for the registration in Data Safe.
    DataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    TlsConfig TargetDatabasePeerTargetDatabaseDetailTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
    Details of the database for the registration in Data Safe.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    tlsConfig TargetDatabasePeerTargetDatabaseDetailTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
    Details of the database for the registration in Data Safe.
    dataguardAssociationId string
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description string
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    tlsConfig TargetDatabasePeerTargetDatabaseDetailTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    database_details TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
    Details of the database for the registration in Data Safe.
    dataguard_association_id str
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    tls_config TargetDatabasePeerTargetDatabaseDetailTlsConfig
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails Property Map
    Details of the database for the registration in Data Safe.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
    tlsConfig Property Map
    (Updatable) The details required to establish a TLS enabled connection.

    TargetDatabasePeerTargetDatabaseDetailDatabaseDetails, TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs

    DatabaseType string
    The database type.
    InfrastructureType string
    The infrastructure type the database is running on.
    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses List<string>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    DatabaseType string
    The database type.
    InfrastructureType string
    The infrastructure type the database is running on.
    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    The OCID of the compute instance on which the database is running.
    IpAddresses []string
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    The port number of the database listener.
    ServiceName string
    The service name of the database registered as target database.
    VmClusterId string
    The OCID of the VM cluster in which the database is running.
    databaseType String
    The database type.
    infrastructureType String
    The infrastructure type the database is running on.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Integer
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.
    databaseType string
    The database type.
    infrastructureType string
    The infrastructure type the database is running on.
    autonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId string
    The OCID of the compute instance on which the database is running.
    ipAddresses string[]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort number
    The port number of the database listener.
    serviceName string
    The service name of the database registered as target database.
    vmClusterId string
    The OCID of the VM cluster in which the database is running.
    database_type str
    The database type.
    infrastructure_type str
    The infrastructure type the database is running on.
    autonomous_database_id str
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    instance_id str
    The OCID of the compute instance on which the database is running.
    ip_addresses Sequence[str]
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listener_port int
    The port number of the database listener.
    service_name str
    The service name of the database registered as target database.
    vm_cluster_id str
    The OCID of the VM cluster in which the database is running.
    databaseType String
    The database type.
    infrastructureType String
    The infrastructure type the database is running on.
    autonomousDatabaseId String
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Number
    The port number of the database listener.
    serviceName String
    The service name of the database registered as target database.
    vmClusterId String
    The OCID of the VM cluster in which the database is running.

    TargetDatabasePeerTargetDatabaseDetailTlsConfig, TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType string
    (Updatable) The format of the certificate store.
    keyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    storePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status str
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificate_store_type str
    (Updatable) The format of the certificate store.
    key_store_content str
    (Updatable) Base64 encoded string of key store file content.
    store_password str
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trust_store_content str

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    TargetDatabasePeerTargetDatabaseTlsConfig, TargetDatabasePeerTargetDatabaseTlsConfigArgs

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType string
    (Updatable) The format of the certificate store.
    keyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    storePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status str
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificate_store_type str
    (Updatable) The format of the certificate store.
    key_store_content str
    (Updatable) Base64 encoded string of key store file content.
    store_password str
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trust_store_content str

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    TargetDatabaseTlsConfig, TargetDatabaseTlsConfigArgs

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    Status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    (Updatable) The format of the certificate store.
    KeyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    StorePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    status string
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType string
    (Updatable) The format of the certificate store.
    keyStoreContent string
    (Updatable) Base64 encoded string of key store file content.
    storePassword string
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent string

    (Updatable) Base64 encoded string of trust store file content.

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

    status str
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificate_store_type str
    (Updatable) The format of the certificate store.
    key_store_content str
    (Updatable) Base64 encoded string of key store file content.
    store_password str
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trust_store_content str

    (Updatable) Base64 encoded string of trust store file content.

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

    status String
    (Updatable) Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    (Updatable) The format of the certificate store.
    keyStoreContent String
    (Updatable) Base64 encoded string of key store file content.
    storePassword String
    (Updatable) The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String

    (Updatable) Base64 encoded string of trust store file content.

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

    Import

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

    $ pulumi import oci:DataSafe/targetDatabase:TargetDatabase test_target_database "id"
    

    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 v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi