1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. TargetDatabase
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.DataSafe.TargetDatabase

Explore with Pulumi AI

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,
    },
});
Copy
import pulumi
import pulumi_oci as oci

test_target_database = oci.data_safe.TargetDatabase("test_target_database",
    compartment_id=compartment_id,
    database_details={
        "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={
        "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={
        "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=[{
        "database_details": {
            "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": {
            "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={
        "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,
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			Description: pulumi.Any(targetDatabaseDescription),
			DisplayName: pulumi.Any(targetDatabaseDisplayName),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("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
	})
}
Copy
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,
        },
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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, str]] = None,
                   description: Optional[str] = None,
                   display_name: Optional[str] = None,
                   freeform_tags: Optional[Mapping[str, str]] = 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 This property is required. string
The unique name of the resource.
args This property is required. TargetDatabaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TargetDatabaseArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TargetDatabaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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", "string" },
    },
    Description = "string",
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    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",
    },
});
Copy
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.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	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"),
	},
})
Copy
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", "string"))
    .description("string")
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .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());
Copy
target_database_resource = oci.data_safe.TargetDatabase("targetDatabaseResource",
    compartment_id="string",
    database_details={
        "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={
        "connection_type": "string",
        "datasafe_private_endpoint_id": "string",
        "on_prem_connector_id": "string",
    },
    credentials={
        "password": "string",
        "user_name": "string",
    },
    defined_tags={
        "string": "string",
    },
    description="string",
    display_name="string",
    freeform_tags={
        "string": "string",
    },
    peer_target_database_details=[{
        "database_details": {
            "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": {
            "status": "string",
            "certificate_store_type": "string",
            "key_store_content": "string",
            "store_password": "string",
            "trust_store_content": "string",
        },
    }],
    tls_config={
        "status": "string",
        "certificate_store_type": "string",
        "key_store_content": "string",
        "store_password": "string",
        "trust_store_content": "string",
    })
Copy
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: "string",
    },
    description: "string",
    displayName: "string",
    freeformTags: {
        string: "string",
    },
    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",
    },
});
Copy
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: string
    description: string
    displayName: string
    freeformTags:
        string: string
    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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TargetDatabase resource accepts the following input properties:

CompartmentId This property is required. string
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
DatabaseDetails This property is required. 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, string>
(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, string>
(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 Changes to this property will trigger replacement. 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 This property is required. string
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
DatabaseDetails This property is required. 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]string
(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]string
(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 Changes to this property will trigger replacement. []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 This property is required. String
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
databaseDetails This property is required. 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,String>
(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,String>
(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 Changes to this property will trigger replacement. 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 This property is required. string
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
databaseDetails This property is required. 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]: string}
(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]: string}
(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 Changes to this property will trigger replacement. 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 This property is required. str
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
database_details This property is required. 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, str]
(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, str]
(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 Changes to this property will trigger replacement. 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 This property is required. String
(Updatable) The OCID of the compartment in which to create the Data Safe target database.
databaseDetails This property is required. 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<String>
(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>
(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 Changes to this property will trigger replacement. 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, string>
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]string
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,String>
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]: string}
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, str]
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<String>
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, str]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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)
resources:  _:    type: oci:DataSafe:TargetDatabase    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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, string>
(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, string>
(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 Changes to this property will trigger replacement. 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, string>
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]string
(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]string
(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 Changes to this property will trigger replacement. []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]string
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,String>
(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,String>
(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 Changes to this property will trigger replacement. 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,String>
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]: string}
(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]: string}
(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 Changes to this property will trigger replacement. 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]: string}
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, str]
(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, str]
(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 Changes to this property will trigger replacement. 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, str]
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<String>
(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>
(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 Changes to this property will trigger replacement. 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<String>
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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(Updatable) The password of the database user.
UserName This property is required. string
(Updatable) The database user name.
Password This property is required. string
(Updatable) The password of the database user.
UserName This property is required. string
(Updatable) The database user name.
password This property is required. String
(Updatable) The password of the database user.
userName This property is required. String
(Updatable) The database user name.
password This property is required. string
(Updatable) The password of the database user.
userName This property is required. string
(Updatable) The database user name.
password This property is required. str
(Updatable) The password of the database user.
user_name This property is required. str
(Updatable) The database user name.
password This property is required. String
(Updatable) The password of the database user.
userName This property is required. String
(Updatable) The database user name.

TargetDatabaseDatabaseDetails
, TargetDatabaseDatabaseDetailsArgs

DatabaseType This property is required. string
(Updatable) The database type.
InfrastructureType This property is required. 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 This property is required. string
(Updatable) The database type.
InfrastructureType This property is required. 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 This property is required. String
(Updatable) The database type.
infrastructureType This property is required. 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 This property is required. string
(Updatable) The database type.
infrastructureType This property is required. 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 This property is required. str
(Updatable) The database type.
infrastructure_type This property is required. 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 This property is required. String
(Updatable) The database type.
infrastructureType This property is required. 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
This property is required.
Changes to this property will trigger replacement.
TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
Details of the database for the registration in Data Safe.
DataguardAssociationId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The description of the peer target database in Data Safe.
DisplayName Changes to this property will trigger replacement. string
The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
TlsConfig Changes to this property will trigger replacement. TargetDatabasePeerTargetDatabaseDetailTlsConfig
The details required to establish a TLS enabled connection.
DatabaseDetails
This property is required.
Changes to this property will trigger replacement.
TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
Details of the database for the registration in Data Safe.
DataguardAssociationId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The description of the peer target database in Data Safe.
DisplayName Changes to this property will trigger replacement. string
The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
TlsConfig Changes to this property will trigger replacement. TargetDatabasePeerTargetDatabaseDetailTlsConfig
The details required to establish a TLS enabled connection.
databaseDetails
This property is required.
Changes to this property will trigger replacement.
TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
Details of the database for the registration in Data Safe.
dataguardAssociationId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The description of the peer target database in Data Safe.
displayName Changes to this property will trigger replacement. String
The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
tlsConfig Changes to this property will trigger replacement. TargetDatabasePeerTargetDatabaseDetailTlsConfig
The details required to establish a TLS enabled connection.
databaseDetails
This property is required.
Changes to this property will trigger replacement.
TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
Details of the database for the registration in Data Safe.
dataguardAssociationId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The description of the peer target database in Data Safe.
displayName Changes to this property will trigger replacement. string
The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
tlsConfig Changes to this property will trigger replacement. TargetDatabasePeerTargetDatabaseDetailTlsConfig
The details required to establish a TLS enabled connection.
database_details
This property is required.
Changes to this property will trigger replacement.
datasafe.TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
Details of the database for the registration in Data Safe.
dataguard_association_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The description of the peer target database in Data Safe.
display_name Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. datasafe.TargetDatabasePeerTargetDatabaseDetailTlsConfig
The details required to establish a TLS enabled connection.
databaseDetails
This property is required.
Changes to this property will trigger replacement.
Property Map
Details of the database for the registration in Data Safe.
dataguardAssociationId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The description of the peer target database in Data Safe.
displayName Changes to this property will trigger replacement. String
The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
tlsConfig Changes to this property will trigger replacement. Property Map
The details required to establish a TLS enabled connection.

TargetDatabasePeerTargetDatabaseDetailDatabaseDetails
, TargetDatabasePeerTargetDatabaseDetailDatabaseDetailsArgs

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

TargetDatabasePeerTargetDatabaseDetailTlsConfig
, TargetDatabasePeerTargetDatabaseDetailTlsConfigArgs

Status
This property is required.
Changes to this property will trigger replacement.
string
Status to represent whether the database connection is TLS enabled or not.
CertificateStoreType Changes to this property will trigger replacement. string
The format of the certificate store.
KeyStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of key store file content.
StorePassword Changes to this property will trigger replacement. string
The password to read the trust store and key store files, if they are password protected.
TrustStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of trust store file content.
Status
This property is required.
Changes to this property will trigger replacement.
string
Status to represent whether the database connection is TLS enabled or not.
CertificateStoreType Changes to this property will trigger replacement. string
The format of the certificate store.
KeyStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of key store file content.
StorePassword Changes to this property will trigger replacement. string
The password to read the trust store and key store files, if they are password protected.
TrustStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of trust store file content.
status
This property is required.
Changes to this property will trigger replacement.
String
Status to represent whether the database connection is TLS enabled or not.
certificateStoreType Changes to this property will trigger replacement. String
The format of the certificate store.
keyStoreContent Changes to this property will trigger replacement. String
Base64 encoded string of key store file content.
storePassword Changes to this property will trigger replacement. String
The password to read the trust store and key store files, if they are password protected.
trustStoreContent Changes to this property will trigger replacement. String
Base64 encoded string of trust store file content.
status
This property is required.
Changes to this property will trigger replacement.
string
Status to represent whether the database connection is TLS enabled or not.
certificateStoreType Changes to this property will trigger replacement. string
The format of the certificate store.
keyStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of key store file content.
storePassword Changes to this property will trigger replacement. string
The password to read the trust store and key store files, if they are password protected.
trustStoreContent Changes to this property will trigger replacement. string
Base64 encoded string of trust store file content.
status
This property is required.
Changes to this property will trigger replacement.
str
Status to represent whether the database connection is TLS enabled or not.
certificate_store_type Changes to this property will trigger replacement. str
The format of the certificate store.
key_store_content Changes to this property will trigger replacement. str
Base64 encoded string of key store file content.
store_password Changes to this property will trigger replacement. str
The password to read the trust store and key store files, if they are password protected.
trust_store_content Changes to this property will trigger replacement. str
Base64 encoded string of trust store file content.
status
This property is required.
Changes to this property will trigger replacement.
String
Status to represent whether the database connection is TLS enabled or not.
certificateStoreType Changes to this property will trigger replacement. String
The format of the certificate store.
keyStoreContent Changes to this property will trigger replacement. String
Base64 encoded string of key store file content.
storePassword Changes to this property will trigger replacement. String
The password to read the trust store and key store files, if they are password protected.
trustStoreContent Changes to this property will trigger replacement. String
Base64 encoded string of trust store file content.

TargetDatabasePeerTargetDatabaseTlsConfig
, TargetDatabasePeerTargetDatabaseTlsConfigArgs

Status This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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"
Copy

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.