1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. TargetDatabase
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.TargetDatabase

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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("test_target_database", {
        compartmentId: compartmentId,
        databaseDetails: {
            databaseType: targetDatabaseDatabaseDetailsDatabaseType,
            infrastructureType: targetDatabaseDatabaseDetailsInfrastructureType,
            autonomousDatabaseId: testAutonomousDatabase.id,
            dbSystemId: testDbSystem.id,
            instanceId: testInstance.id,
            ipAddresses: targetDatabaseDatabaseDetailsIpAddresses,
            listenerPort: targetDatabaseDatabaseDetailsListenerPort,
            serviceName: testService.name,
            vmClusterId: testVmCluster.id,
        },
        connectionOption: {
            connectionType: targetDatabaseConnectionOptionConnectionType,
            datasafePrivateEndpointId: testPrivateEndpoint.id,
            onPremConnectorId: testOnPremConnector.id,
        },
        credentials: {
            password: targetDatabaseCredentialsPassword,
            userName: testUser.name,
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: targetDatabaseDescription,
        displayName: targetDatabaseDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        peerTargetDatabaseDetails: [{
            databaseDetails: {
                databaseType: targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsDatabaseType,
                infrastructureType: targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsInfrastructureType,
                autonomousDatabaseId: testAutonomousDatabase.id,
                dbSystemId: testDbSystem.id,
                instanceId: testInstance.id,
                ipAddresses: targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsIpAddresses,
                listenerPort: targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsListenerPort,
                serviceName: testService.name,
                vmClusterId: testVmCluster.id,
            },
            dataguardAssociationId: testAssociation.id,
            description: targetDatabasePeerTargetDatabaseDetailsDescription,
            displayName: targetDatabasePeerTargetDatabaseDetailsDisplayName,
            tlsConfig: {
                status: targetDatabasePeerTargetDatabaseDetailsTlsConfigStatus,
                certificateStoreType: targetDatabasePeerTargetDatabaseDetailsTlsConfigCertificateStoreType,
                keyStoreContent: targetDatabasePeerTargetDatabaseDetailsTlsConfigKeyStoreContent,
                storePassword: targetDatabasePeerTargetDatabaseDetailsTlsConfigStorePassword,
                trustStoreContent: targetDatabasePeerTargetDatabaseDetailsTlsConfigTrustStoreContent,
            },
        }],
        tlsConfig: {
            status: targetDatabaseTlsConfigStatus,
            certificateStoreType: targetDatabaseTlsConfigCertificateStoreType,
            keyStoreContent: targetDatabaseTlsConfigKeyStoreContent,
            storePassword: targetDatabaseTlsConfigStorePassword,
            trustStoreContent: targetDatabaseTlsConfigTrustStoreContent,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_target_database = oci.data_safe.TargetDatabase("test_target_database",
        compartment_id=compartment_id,
        database_details=oci.data_safe.TargetDatabaseDatabaseDetailsArgs(
            database_type=target_database_database_details_database_type,
            infrastructure_type=target_database_database_details_infrastructure_type,
            autonomous_database_id=test_autonomous_database["id"],
            db_system_id=test_db_system["id"],
            instance_id=test_instance["id"],
            ip_addresses=target_database_database_details_ip_addresses,
            listener_port=target_database_database_details_listener_port,
            service_name=test_service["name"],
            vm_cluster_id=test_vm_cluster["id"],
        ),
        connection_option=oci.data_safe.TargetDatabaseConnectionOptionArgs(
            connection_type=target_database_connection_option_connection_type,
            datasafe_private_endpoint_id=test_private_endpoint["id"],
            on_prem_connector_id=test_on_prem_connector["id"],
        ),
        credentials=oci.data_safe.TargetDatabaseCredentialsArgs(
            password=target_database_credentials_password,
            user_name=test_user["name"],
        ),
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=target_database_description,
        display_name=target_database_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        peer_target_database_details=[oci.data_safe.TargetDatabasePeerTargetDatabaseDetailArgs(
            database_details=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs(
                database_type=target_database_peer_target_database_details_database_details_database_type,
                infrastructure_type=target_database_peer_target_database_details_database_details_infrastructure_type,
                autonomous_database_id=test_autonomous_database["id"],
                db_system_id=test_db_system["id"],
                instance_id=test_instance["id"],
                ip_addresses=target_database_peer_target_database_details_database_details_ip_addresses,
                listener_port=target_database_peer_target_database_details_database_details_listener_port,
                service_name=test_service["name"],
                vm_cluster_id=test_vm_cluster["id"],
            ),
            dataguard_association_id=test_association["id"],
            description=target_database_peer_target_database_details_description,
            display_name=target_database_peer_target_database_details_display_name,
            tls_config=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs(
                status=target_database_peer_target_database_details_tls_config_status,
                certificate_store_type=target_database_peer_target_database_details_tls_config_certificate_store_type,
                key_store_content=target_database_peer_target_database_details_tls_config_key_store_content,
                store_password=target_database_peer_target_database_details_tls_config_store_password,
                trust_store_content=target_database_peer_target_database_details_tls_config_trust_store_content,
            ),
        )],
        tls_config=oci.data_safe.TargetDatabaseTlsConfigArgs(
            status=target_database_tls_config_status,
            certificate_store_type=target_database_tls_config_certificate_store_type,
            key_store_content=target_database_tls_config_key_store_content,
            store_password=target_database_tls_config_store_password,
            trust_store_content=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, "test_target_database", &DataSafe.TargetDatabaseArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DatabaseDetails: &datasafe.TargetDatabaseDatabaseDetailsArgs{
    				DatabaseType:         pulumi.Any(targetDatabaseDatabaseDetailsDatabaseType),
    				InfrastructureType:   pulumi.Any(targetDatabaseDatabaseDetailsInfrastructureType),
    				AutonomousDatabaseId: pulumi.Any(testAutonomousDatabase.Id),
    				DbSystemId:           pulumi.Any(testDbSystem.Id),
    				InstanceId:           pulumi.Any(testInstance.Id),
    				IpAddresses:          pulumi.Any(targetDatabaseDatabaseDetailsIpAddresses),
    				ListenerPort:         pulumi.Any(targetDatabaseDatabaseDetailsListenerPort),
    				ServiceName:          pulumi.Any(testService.Name),
    				VmClusterId:          pulumi.Any(testVmCluster.Id),
    			},
    			ConnectionOption: &datasafe.TargetDatabaseConnectionOptionArgs{
    				ConnectionType:            pulumi.Any(targetDatabaseConnectionOptionConnectionType),
    				DatasafePrivateEndpointId: pulumi.Any(testPrivateEndpoint.Id),
    				OnPremConnectorId:         pulumi.Any(testOnPremConnector.Id),
    			},
    			Credentials: &datasafe.TargetDatabaseCredentialsArgs{
    				Password: pulumi.Any(targetDatabaseCredentialsPassword),
    				UserName: pulumi.Any(testUser.Name),
    			},
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(targetDatabaseDescription),
    			DisplayName: pulumi.Any(targetDatabaseDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			PeerTargetDatabaseDetails: datasafe.TargetDatabasePeerTargetDatabaseDetailArray{
    				&datasafe.TargetDatabasePeerTargetDatabaseDetailArgs{
    					DatabaseDetails: &datasafe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs{
    						DatabaseType:         pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsDatabaseType),
    						InfrastructureType:   pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsInfrastructureType),
    						AutonomousDatabaseId: pulumi.Any(testAutonomousDatabase.Id),
    						DbSystemId:           pulumi.Any(testDbSystem.Id),
    						InstanceId:           pulumi.Any(testInstance.Id),
    						IpAddresses:          pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsIpAddresses),
    						ListenerPort:         pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsListenerPort),
    						ServiceName:          pulumi.Any(testService.Name),
    						VmClusterId:          pulumi.Any(testVmCluster.Id),
    					},
    					DataguardAssociationId: pulumi.Any(testAssociation.Id),
    					Description:            pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDescription),
    					DisplayName:            pulumi.Any(targetDatabasePeerTargetDatabaseDetailsDisplayName),
    					TlsConfig: &datasafe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs{
    						Status:               pulumi.Any(targetDatabasePeerTargetDatabaseDetailsTlsConfigStatus),
    						CertificateStoreType: pulumi.Any(targetDatabasePeerTargetDatabaseDetailsTlsConfigCertificateStoreType),
    						KeyStoreContent:      pulumi.Any(targetDatabasePeerTargetDatabaseDetailsTlsConfigKeyStoreContent),
    						StorePassword:        pulumi.Any(targetDatabasePeerTargetDatabaseDetailsTlsConfigStorePassword),
    						TrustStoreContent:    pulumi.Any(targetDatabasePeerTargetDatabaseDetailsTlsConfigTrustStoreContent),
    					},
    				},
    			},
    			TlsConfig: &datasafe.TargetDatabaseTlsConfigArgs{
    				Status:               pulumi.Any(targetDatabaseTlsConfigStatus),
    				CertificateStoreType: pulumi.Any(targetDatabaseTlsConfigCertificateStoreType),
    				KeyStoreContent:      pulumi.Any(targetDatabaseTlsConfigKeyStoreContent),
    				StorePassword:        pulumi.Any(targetDatabaseTlsConfigStorePassword),
    				TrustStoreContent:    pulumi.Any(targetDatabaseTlsConfigTrustStoreContent),
    			},
    		})
    		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("test_target_database", new()
        {
            CompartmentId = compartmentId,
            DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabaseDatabaseDetailsArgs
            {
                DatabaseType = targetDatabaseDatabaseDetailsDatabaseType,
                InfrastructureType = targetDatabaseDatabaseDetailsInfrastructureType,
                AutonomousDatabaseId = testAutonomousDatabase.Id,
                DbSystemId = testDbSystem.Id,
                InstanceId = testInstance.Id,
                IpAddresses = targetDatabaseDatabaseDetailsIpAddresses,
                ListenerPort = targetDatabaseDatabaseDetailsListenerPort,
                ServiceName = testService.Name,
                VmClusterId = testVmCluster.Id,
            },
            ConnectionOption = new Oci.DataSafe.Inputs.TargetDatabaseConnectionOptionArgs
            {
                ConnectionType = targetDatabaseConnectionOptionConnectionType,
                DatasafePrivateEndpointId = testPrivateEndpoint.Id,
                OnPremConnectorId = testOnPremConnector.Id,
            },
            Credentials = new Oci.DataSafe.Inputs.TargetDatabaseCredentialsArgs
            {
                Password = targetDatabaseCredentialsPassword,
                UserName = testUser.Name,
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = targetDatabaseDescription,
            DisplayName = targetDatabaseDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            PeerTargetDatabaseDetails = new[]
            {
                new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailArgs
                {
                    DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs
                    {
                        DatabaseType = targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsDatabaseType,
                        InfrastructureType = targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsInfrastructureType,
                        AutonomousDatabaseId = testAutonomousDatabase.Id,
                        DbSystemId = testDbSystem.Id,
                        InstanceId = testInstance.Id,
                        IpAddresses = targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsIpAddresses,
                        ListenerPort = targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsListenerPort,
                        ServiceName = testService.Name,
                        VmClusterId = testVmCluster.Id,
                    },
                    DataguardAssociationId = testAssociation.Id,
                    Description = targetDatabasePeerTargetDatabaseDetailsDescription,
                    DisplayName = targetDatabasePeerTargetDatabaseDetailsDisplayName,
                    TlsConfig = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs
                    {
                        Status = targetDatabasePeerTargetDatabaseDetailsTlsConfigStatus,
                        CertificateStoreType = targetDatabasePeerTargetDatabaseDetailsTlsConfigCertificateStoreType,
                        KeyStoreContent = targetDatabasePeerTargetDatabaseDetailsTlsConfigKeyStoreContent,
                        StorePassword = targetDatabasePeerTargetDatabaseDetailsTlsConfigStorePassword,
                        TrustStoreContent = targetDatabasePeerTargetDatabaseDetailsTlsConfigTrustStoreContent,
                    },
                },
            },
            TlsConfig = new Oci.DataSafe.Inputs.TargetDatabaseTlsConfigArgs
            {
                Status = targetDatabaseTlsConfigStatus,
                CertificateStoreType = targetDatabaseTlsConfigCertificateStoreType,
                KeyStoreContent = targetDatabaseTlsConfigKeyStoreContent,
                StorePassword = targetDatabaseTlsConfigStorePassword,
                TrustStoreContent = targetDatabaseTlsConfigTrustStoreContent,
            },
        });
    
    });
    
    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(compartmentId)
                .databaseDetails(TargetDatabaseDatabaseDetailsArgs.builder()
                    .databaseType(targetDatabaseDatabaseDetailsDatabaseType)
                    .infrastructureType(targetDatabaseDatabaseDetailsInfrastructureType)
                    .autonomousDatabaseId(testAutonomousDatabase.id())
                    .dbSystemId(testDbSystem.id())
                    .instanceId(testInstance.id())
                    .ipAddresses(targetDatabaseDatabaseDetailsIpAddresses)
                    .listenerPort(targetDatabaseDatabaseDetailsListenerPort)
                    .serviceName(testService.name())
                    .vmClusterId(testVmCluster.id())
                    .build())
                .connectionOption(TargetDatabaseConnectionOptionArgs.builder()
                    .connectionType(targetDatabaseConnectionOptionConnectionType)
                    .datasafePrivateEndpointId(testPrivateEndpoint.id())
                    .onPremConnectorId(testOnPremConnector.id())
                    .build())
                .credentials(TargetDatabaseCredentialsArgs.builder()
                    .password(targetDatabaseCredentialsPassword)
                    .userName(testUser.name())
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(targetDatabaseDescription)
                .displayName(targetDatabaseDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .peerTargetDatabaseDetails(TargetDatabasePeerTargetDatabaseDetailArgs.builder()
                    .databaseDetails(TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs.builder()
                        .databaseType(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsDatabaseType)
                        .infrastructureType(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsInfrastructureType)
                        .autonomousDatabaseId(testAutonomousDatabase.id())
                        .dbSystemId(testDbSystem.id())
                        .instanceId(testInstance.id())
                        .ipAddresses(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsIpAddresses)
                        .listenerPort(targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsListenerPort)
                        .serviceName(testService.name())
                        .vmClusterId(testVmCluster.id())
                        .build())
                    .dataguardAssociationId(testAssociation.id())
                    .description(targetDatabasePeerTargetDatabaseDetailsDescription)
                    .displayName(targetDatabasePeerTargetDatabaseDetailsDisplayName)
                    .tlsConfig(TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs.builder()
                        .status(targetDatabasePeerTargetDatabaseDetailsTlsConfigStatus)
                        .certificateStoreType(targetDatabasePeerTargetDatabaseDetailsTlsConfigCertificateStoreType)
                        .keyStoreContent(targetDatabasePeerTargetDatabaseDetailsTlsConfigKeyStoreContent)
                        .storePassword(targetDatabasePeerTargetDatabaseDetailsTlsConfigStorePassword)
                        .trustStoreContent(targetDatabasePeerTargetDatabaseDetailsTlsConfigTrustStoreContent)
                        .build())
                    .build())
                .tlsConfig(TargetDatabaseTlsConfigArgs.builder()
                    .status(targetDatabaseTlsConfigStatus)
                    .certificateStoreType(targetDatabaseTlsConfigCertificateStoreType)
                    .keyStoreContent(targetDatabaseTlsConfigKeyStoreContent)
                    .storePassword(targetDatabaseTlsConfigStorePassword)
                    .trustStoreContent(targetDatabaseTlsConfigTrustStoreContent)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testTargetDatabase:
        type: oci:DataSafe:TargetDatabase
        name: test_target_database
        properties:
          compartmentId: ${compartmentId}
          databaseDetails:
            databaseType: ${targetDatabaseDatabaseDetailsDatabaseType}
            infrastructureType: ${targetDatabaseDatabaseDetailsInfrastructureType}
            autonomousDatabaseId: ${testAutonomousDatabase.id}
            dbSystemId: ${testDbSystem.id}
            instanceId: ${testInstance.id}
            ipAddresses: ${targetDatabaseDatabaseDetailsIpAddresses}
            listenerPort: ${targetDatabaseDatabaseDetailsListenerPort}
            serviceName: ${testService.name}
            vmClusterId: ${testVmCluster.id}
          connectionOption:
            connectionType: ${targetDatabaseConnectionOptionConnectionType}
            datasafePrivateEndpointId: ${testPrivateEndpoint.id}
            onPremConnectorId: ${testOnPremConnector.id}
          credentials:
            password: ${targetDatabaseCredentialsPassword}
            userName: ${testUser.name}
          definedTags:
            Operations.CostCenter: '42'
          description: ${targetDatabaseDescription}
          displayName: ${targetDatabaseDisplayName}
          freeformTags:
            Department: Finance
          peerTargetDatabaseDetails:
            - databaseDetails:
                databaseType: ${targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsDatabaseType}
                infrastructureType: ${targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsInfrastructureType}
                autonomousDatabaseId: ${testAutonomousDatabase.id}
                dbSystemId: ${testDbSystem.id}
                instanceId: ${testInstance.id}
                ipAddresses: ${targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsIpAddresses}
                listenerPort: ${targetDatabasePeerTargetDatabaseDetailsDatabaseDetailsListenerPort}
                serviceName: ${testService.name}
                vmClusterId: ${testVmCluster.id}
              dataguardAssociationId: ${testAssociation.id}
              description: ${targetDatabasePeerTargetDatabaseDetailsDescription}
              displayName: ${targetDatabasePeerTargetDatabaseDetailsDisplayName}
              tlsConfig:
                status: ${targetDatabasePeerTargetDatabaseDetailsTlsConfigStatus}
                certificateStoreType: ${targetDatabasePeerTargetDatabaseDetailsTlsConfigCertificateStoreType}
                keyStoreContent: ${targetDatabasePeerTargetDatabaseDetailsTlsConfigKeyStoreContent}
                storePassword: ${targetDatabasePeerTargetDatabaseDetailsTlsConfigStorePassword}
                trustStoreContent: ${targetDatabasePeerTargetDatabaseDetailsTlsConfigTrustStoreContent}
          tlsConfig:
            status: ${targetDatabaseTlsConfigStatus}
            certificateStoreType: ${targetDatabaseTlsConfigCertificateStoreType}
            keyStoreContent: ${targetDatabaseTlsConfigKeyStoreContent}
            storePassword: ${targetDatabaseTlsConfigStorePassword}
            trustStoreContent: ${targetDatabaseTlsConfigTrustStoreContent}
    

    Create TargetDatabase Resource

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

    Constructor syntax

    new TargetDatabase(name: string, args: TargetDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def TargetDatabase(resource_name: str,
                       args: TargetDatabaseArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def TargetDatabase(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compartment_id: Optional[str] = None,
                       database_details: Optional[_datasafe.TargetDatabaseDatabaseDetailsArgs] = None,
                       connection_option: Optional[_datasafe.TargetDatabaseConnectionOptionArgs] = None,
                       credentials: Optional[_datasafe.TargetDatabaseCredentialsArgs] = 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)
    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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var targetDatabaseResource = new Oci.DataSafe.TargetDatabase("targetDatabaseResource", new()
    {
        CompartmentId = "string",
        DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabaseDatabaseDetailsArgs
        {
            DatabaseType = "string",
            InfrastructureType = "string",
            AutonomousDatabaseId = "string",
            DbSystemId = "string",
            InstanceId = "string",
            IpAddresses = new[]
            {
                "string",
            },
            ListenerPort = 0,
            ServiceName = "string",
            VmClusterId = "string",
        },
        ConnectionOption = new Oci.DataSafe.Inputs.TargetDatabaseConnectionOptionArgs
        {
            ConnectionType = "string",
            DatasafePrivateEndpointId = "string",
            OnPremConnectorId = "string",
        },
        Credentials = new Oci.DataSafe.Inputs.TargetDatabaseCredentialsArgs
        {
            Password = "string",
            UserName = "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        PeerTargetDatabaseDetails = new[]
        {
            new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailArgs
            {
                DatabaseDetails = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs
                {
                    DatabaseType = "string",
                    InfrastructureType = "string",
                    AutonomousDatabaseId = "string",
                    DbSystemId = "string",
                    InstanceId = "string",
                    IpAddresses = new[]
                    {
                        "string",
                    },
                    ListenerPort = 0,
                    ServiceName = "string",
                    VmClusterId = "string",
                },
                DataguardAssociationId = "string",
                Description = "string",
                DisplayName = "string",
                TlsConfig = new Oci.DataSafe.Inputs.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs
                {
                    Status = "string",
                    CertificateStoreType = "string",
                    KeyStoreContent = "string",
                    StorePassword = "string",
                    TrustStoreContent = "string",
                },
            },
        },
        TlsConfig = new Oci.DataSafe.Inputs.TargetDatabaseTlsConfigArgs
        {
            Status = "string",
            CertificateStoreType = "string",
            KeyStoreContent = "string",
            StorePassword = "string",
            TrustStoreContent = "string",
        },
    });
    
    example, err := DataSafe.NewTargetDatabase(ctx, "targetDatabaseResource", &DataSafe.TargetDatabaseArgs{
    	CompartmentId: pulumi.String("string"),
    	DatabaseDetails: &datasafe.TargetDatabaseDatabaseDetailsArgs{
    		DatabaseType:         pulumi.String("string"),
    		InfrastructureType:   pulumi.String("string"),
    		AutonomousDatabaseId: pulumi.String("string"),
    		DbSystemId:           pulumi.String("string"),
    		InstanceId:           pulumi.String("string"),
    		IpAddresses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ListenerPort: pulumi.Int(0),
    		ServiceName:  pulumi.String("string"),
    		VmClusterId:  pulumi.String("string"),
    	},
    	ConnectionOption: &datasafe.TargetDatabaseConnectionOptionArgs{
    		ConnectionType:            pulumi.String("string"),
    		DatasafePrivateEndpointId: pulumi.String("string"),
    		OnPremConnectorId:         pulumi.String("string"),
    	},
    	Credentials: &datasafe.TargetDatabaseCredentialsArgs{
    		Password: pulumi.String("string"),
    		UserName: pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	PeerTargetDatabaseDetails: datasafe.TargetDatabasePeerTargetDatabaseDetailArray{
    		&datasafe.TargetDatabasePeerTargetDatabaseDetailArgs{
    			DatabaseDetails: &datasafe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs{
    				DatabaseType:         pulumi.String("string"),
    				InfrastructureType:   pulumi.String("string"),
    				AutonomousDatabaseId: pulumi.String("string"),
    				DbSystemId:           pulumi.String("string"),
    				InstanceId:           pulumi.String("string"),
    				IpAddresses: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ListenerPort: pulumi.Int(0),
    				ServiceName:  pulumi.String("string"),
    				VmClusterId:  pulumi.String("string"),
    			},
    			DataguardAssociationId: pulumi.String("string"),
    			Description:            pulumi.String("string"),
    			DisplayName:            pulumi.String("string"),
    			TlsConfig: &datasafe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs{
    				Status:               pulumi.String("string"),
    				CertificateStoreType: pulumi.String("string"),
    				KeyStoreContent:      pulumi.String("string"),
    				StorePassword:        pulumi.String("string"),
    				TrustStoreContent:    pulumi.String("string"),
    			},
    		},
    	},
    	TlsConfig: &datasafe.TargetDatabaseTlsConfigArgs{
    		Status:               pulumi.String("string"),
    		CertificateStoreType: pulumi.String("string"),
    		KeyStoreContent:      pulumi.String("string"),
    		StorePassword:        pulumi.String("string"),
    		TrustStoreContent:    pulumi.String("string"),
    	},
    })
    
    var targetDatabaseResource = new TargetDatabase("targetDatabaseResource", TargetDatabaseArgs.builder()
        .compartmentId("string")
        .databaseDetails(TargetDatabaseDatabaseDetailsArgs.builder()
            .databaseType("string")
            .infrastructureType("string")
            .autonomousDatabaseId("string")
            .dbSystemId("string")
            .instanceId("string")
            .ipAddresses("string")
            .listenerPort(0)
            .serviceName("string")
            .vmClusterId("string")
            .build())
        .connectionOption(TargetDatabaseConnectionOptionArgs.builder()
            .connectionType("string")
            .datasafePrivateEndpointId("string")
            .onPremConnectorId("string")
            .build())
        .credentials(TargetDatabaseCredentialsArgs.builder()
            .password("string")
            .userName("string")
            .build())
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .peerTargetDatabaseDetails(TargetDatabasePeerTargetDatabaseDetailArgs.builder()
            .databaseDetails(TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs.builder()
                .databaseType("string")
                .infrastructureType("string")
                .autonomousDatabaseId("string")
                .dbSystemId("string")
                .instanceId("string")
                .ipAddresses("string")
                .listenerPort(0)
                .serviceName("string")
                .vmClusterId("string")
                .build())
            .dataguardAssociationId("string")
            .description("string")
            .displayName("string")
            .tlsConfig(TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs.builder()
                .status("string")
                .certificateStoreType("string")
                .keyStoreContent("string")
                .storePassword("string")
                .trustStoreContent("string")
                .build())
            .build())
        .tlsConfig(TargetDatabaseTlsConfigArgs.builder()
            .status("string")
            .certificateStoreType("string")
            .keyStoreContent("string")
            .storePassword("string")
            .trustStoreContent("string")
            .build())
        .build());
    
    target_database_resource = oci.data_safe.TargetDatabase("targetDatabaseResource",
        compartment_id="string",
        database_details=oci.data_safe.TargetDatabaseDatabaseDetailsArgs(
            database_type="string",
            infrastructure_type="string",
            autonomous_database_id="string",
            db_system_id="string",
            instance_id="string",
            ip_addresses=["string"],
            listener_port=0,
            service_name="string",
            vm_cluster_id="string",
        ),
        connection_option=oci.data_safe.TargetDatabaseConnectionOptionArgs(
            connection_type="string",
            datasafe_private_endpoint_id="string",
            on_prem_connector_id="string",
        ),
        credentials=oci.data_safe.TargetDatabaseCredentialsArgs(
            password="string",
            user_name="string",
        ),
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        peer_target_database_details=[oci.data_safe.TargetDatabasePeerTargetDatabaseDetailArgs(
            database_details=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs(
                database_type="string",
                infrastructure_type="string",
                autonomous_database_id="string",
                db_system_id="string",
                instance_id="string",
                ip_addresses=["string"],
                listener_port=0,
                service_name="string",
                vm_cluster_id="string",
            ),
            dataguard_association_id="string",
            description="string",
            display_name="string",
            tls_config=oci.data_safe.TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs(
                status="string",
                certificate_store_type="string",
                key_store_content="string",
                store_password="string",
                trust_store_content="string",
            ),
        )],
        tls_config=oci.data_safe.TargetDatabaseTlsConfigArgs(
            status="string",
            certificate_store_type="string",
            key_store_content="string",
            store_password="string",
            trust_store_content="string",
        ))
    
    const targetDatabaseResource = new oci.datasafe.TargetDatabase("targetDatabaseResource", {
        compartmentId: "string",
        databaseDetails: {
            databaseType: "string",
            infrastructureType: "string",
            autonomousDatabaseId: "string",
            dbSystemId: "string",
            instanceId: "string",
            ipAddresses: ["string"],
            listenerPort: 0,
            serviceName: "string",
            vmClusterId: "string",
        },
        connectionOption: {
            connectionType: "string",
            datasafePrivateEndpointId: "string",
            onPremConnectorId: "string",
        },
        credentials: {
            password: "string",
            userName: "string",
        },
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        peerTargetDatabaseDetails: [{
            databaseDetails: {
                databaseType: "string",
                infrastructureType: "string",
                autonomousDatabaseId: "string",
                dbSystemId: "string",
                instanceId: "string",
                ipAddresses: ["string"],
                listenerPort: 0,
                serviceName: "string",
                vmClusterId: "string",
            },
            dataguardAssociationId: "string",
            description: "string",
            displayName: "string",
            tlsConfig: {
                status: "string",
                certificateStoreType: "string",
                keyStoreContent: "string",
                storePassword: "string",
                trustStoreContent: "string",
            },
        }],
        tlsConfig: {
            status: "string",
            certificateStoreType: "string",
            keyStoreContent: "string",
            storePassword: "string",
            trustStoreContent: "string",
        },
    });
    
    type: oci:DataSafe:TargetDatabase
    properties:
        compartmentId: string
        connectionOption:
            connectionType: string
            datasafePrivateEndpointId: string
            onPremConnectorId: string
        credentials:
            password: string
            userName: string
        databaseDetails:
            autonomousDatabaseId: string
            databaseType: string
            dbSystemId: string
            infrastructureType: string
            instanceId: string
            ipAddresses:
                - string
            listenerPort: 0
            serviceName: string
            vmClusterId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        peerTargetDatabaseDetails:
            - databaseDetails:
                autonomousDatabaseId: string
                databaseType: string
                dbSystemId: string
                infrastructureType: string
                instanceId: string
                ipAddresses:
                    - string
                listenerPort: 0
                serviceName: string
                vmClusterId: string
              dataguardAssociationId: string
              description: string
              displayName: string
              tlsConfig:
                certificateStoreType: string
                keyStoreContent: string
                status: string
                storePassword: string
                trustStoreContent: string
        tlsConfig:
            certificateStoreType: string
            keyStoreContent: string
            status: string
            storePassword: string
            trustStoreContent: string
    

    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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName string
    (Updatable) The display name of the 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 datasafe.TargetDatabaseDatabaseDetailsArgs
    (Updatable) Details of the database for the registration in Data Safe.
    connection_option datasafe.TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    credentials datasafe.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
    (Updatable) The description of the target database in Data Safe.
    display_name str
    (Updatable) The display name of the 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 Sequence[datasafe.TargetDatabasePeerTargetDatabaseDetailArgs]
    The details of the database to be registered as a peer target database.
    tls_config datasafe.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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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 Sequence[datasafe.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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName string
    (Updatable) The display name of the 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 datasafe.TargetDatabaseConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    credentials datasafe.TargetDatabaseCredentialsArgs
    (Updatable) The database credentials required for Data Safe to connect to the database.
    database_details datasafe.TargetDatabaseDatabaseDetailsArgs
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    display_name str
    (Updatable) The display name of the 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 Sequence[datasafe.TargetDatabasePeerTargetDatabaseDetailArgs]
    The details of the database to be registered as a peer target database.
    peer_target_databases Sequence[datasafe.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 datasafe.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
    (Updatable) 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
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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
    (Updatable) The database type.
    InfrastructureType string
    (Updatable) The infrastructure type the database is running on.
    AutonomousDatabaseId string
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    IpAddresses List<string>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    (Updatable) The port number of the database listener.
    ServiceName string
    (Updatable) The service name of the database registered as target database.
    VmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    DatabaseType string
    (Updatable) The database type.
    InfrastructureType string
    (Updatable) The infrastructure type the database is running on.
    AutonomousDatabaseId string
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    DbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    InstanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    IpAddresses []string
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    (Updatable) The port number of the database listener.
    ServiceName string
    (Updatable) The service name of the database registered as target database.
    VmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    databaseType String
    (Updatable) The database type.
    infrastructureType String
    (Updatable) The infrastructure type the database is running on.
    autonomousDatabaseId String
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Integer
    (Updatable) The port number of the database listener.
    serviceName String
    (Updatable) The service name of the database registered as target database.
    vmClusterId String
    (Updatable) The OCID of the VM cluster in which the database is running.
    databaseType string
    (Updatable) The database type.
    infrastructureType string
    (Updatable) The infrastructure type the database is running on.
    autonomousDatabaseId string
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    instanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses string[]
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort number
    (Updatable) The port number of the database listener.
    serviceName string
    (Updatable) The service name of the database registered as target database.
    vmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    database_type str
    (Updatable) The database type.
    infrastructure_type str
    (Updatable) The infrastructure type the database is running on.
    autonomous_database_id str
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    db_system_id str
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    instance_id str
    (Updatable) The OCID of the compute instance on which the database is running.
    ip_addresses Sequence[str]
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listener_port int
    (Updatable) The port number of the database listener.
    service_name str
    (Updatable) The service name of the database registered as target database.
    vm_cluster_id str
    (Updatable) The OCID of the VM cluster in which the database is running.
    databaseType String
    (Updatable) The database type.
    infrastructureType String
    (Updatable) The infrastructure type the database is running on.
    autonomousDatabaseId String
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    dbSystemId String
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    instanceId String
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Number
    (Updatable) The port number of the database listener.
    serviceName String
    (Updatable) The service name of the database registered as target database.
    vmClusterId String
    (Updatable) The OCID of the VM cluster in which the database is running.

    TargetDatabasePeerTargetDatabase, TargetDatabasePeerTargetDatabaseArgs

    DatabaseDetails List<TargetDatabasePeerTargetDatabaseDatabaseDetail>
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    Description string
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    Description string
    (Updatable) The description of the target database in Data Safe.
    DisplayName string
    (Updatable) The display name of the 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>
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    description String
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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[]
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    description string
    (Updatable) The description of the target database in Data Safe.
    displayName string
    (Updatable) The display name of the 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 Sequence[datasafe.TargetDatabasePeerTargetDatabaseDatabaseDetail]
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    description str
    (Updatable) The description of the target database in Data Safe.
    display_name str
    (Updatable) The display name of the 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 Sequence[datasafe.TargetDatabasePeerTargetDatabaseTlsConfig]
    (Updatable) The details required to establish a TLS enabled connection.
    databaseDetails List<Property Map>
    (Updatable) 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 associated to the peer target database is considered as peer database to the primary database.
    description String
    (Updatable) The description of the target database in Data Safe.
    displayName String
    (Updatable) The display name of the 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
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    (Updatable) The database type.
    DbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    (Updatable) The infrastructure type the database is running on.
    InstanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    IpAddresses List<string>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    (Updatable) The port number of the database listener.
    ServiceName string
    (Updatable) The service name of the database registered as target database.
    VmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    AutonomousDatabaseId string
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    (Updatable) The database type.
    DbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    (Updatable) The infrastructure type the database is running on.
    InstanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    IpAddresses []string
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    ListenerPort int
    (Updatable) The port number of the database listener.
    ServiceName string
    (Updatable) The service name of the database registered as target database.
    VmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId String
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType String
    (Updatable) The database type.
    dbSystemId String
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    (Updatable) The infrastructure type the database is running on.
    instanceId String
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Integer
    (Updatable) The port number of the database listener.
    serviceName String
    (Updatable) The service name of the database registered as target database.
    vmClusterId String
    (Updatable) The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId string
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType string
    (Updatable) The database type.
    dbSystemId string
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType string
    (Updatable) The infrastructure type the database is running on.
    instanceId string
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses string[]
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort number
    (Updatable) The port number of the database listener.
    serviceName string
    (Updatable) The service name of the database registered as target database.
    vmClusterId string
    (Updatable) The OCID of the VM cluster in which the database is running.
    autonomous_database_id str
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    database_type str
    (Updatable) The database type.
    db_system_id str
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    infrastructure_type str
    (Updatable) The infrastructure type the database is running on.
    instance_id str
    (Updatable) The OCID of the compute instance on which the database is running.
    ip_addresses Sequence[str]
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listener_port int
    (Updatable) The port number of the database listener.
    service_name str
    (Updatable) The service name of the database registered as target database.
    vm_cluster_id str
    (Updatable) The OCID of the VM cluster in which the database is running.
    autonomousDatabaseId String
    (Updatable) The OCID of the Autonomous Database registered as a target database in Data Safe.
    databaseType String
    (Updatable) The database type.
    dbSystemId String
    (Updatable) The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    (Updatable) The infrastructure type the database is running on.
    instanceId String
    (Updatable) The OCID of the compute instance on which the database is running.
    ipAddresses List<String>
    (Updatable) The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    listenerPort Number
    (Updatable) The port number of the database listener.
    serviceName String
    (Updatable) The service name of the database registered as target database.
    vmClusterId String
    (Updatable) 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
    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
    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
    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
    The details required to establish a TLS enabled connection.
    database_details datasafe.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 datasafe.TargetDatabasePeerTargetDatabaseDetailTlsConfig
    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
    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
    Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    The format of the certificate store.
    KeyStoreContent string
    Base64 encoded string of key store file content.
    StorePassword string
    The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string
    Base64 encoded string of trust store file content.
    Status string
    Status to represent whether the database connection is TLS enabled or not.
    CertificateStoreType string
    The format of the certificate store.
    KeyStoreContent string
    Base64 encoded string of key store file content.
    StorePassword string
    The password to read the trust store and key store files, if they are password protected.
    TrustStoreContent string
    Base64 encoded string of trust store file content.
    status String
    Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    The format of the certificate store.
    keyStoreContent String
    Base64 encoded string of key store file content.
    storePassword String
    The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String
    Base64 encoded string of trust store file content.
    status string
    Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType string
    The format of the certificate store.
    keyStoreContent string
    Base64 encoded string of key store file content.
    storePassword string
    The password to read the trust store and key store files, if they are password protected.
    trustStoreContent string
    Base64 encoded string of trust store file content.
    status str
    Status to represent whether the database connection is TLS enabled or not.
    certificate_store_type str
    The format of the certificate store.
    key_store_content str
    Base64 encoded string of key store file content.
    store_password str
    The password to read the trust store and key store files, if they are password protected.
    trust_store_content str
    Base64 encoded string of trust store file content.
    status String
    Status to represent whether the database connection is TLS enabled or not.
    certificateStoreType String
    The format of the certificate store.
    keyStoreContent String
    Base64 encoded string of key store file content.
    storePassword String
    The password to read the trust store and key store files, if they are password protected.
    trustStoreContent String
    Base64 encoded string of trust store file content.

    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"
    

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi