1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getTargetDatabase
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.getTargetDatabase

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Target Database resource in Oracle Cloud Infrastructure Data Safe service.

    Returns the details of the specified Data Safe target database.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTargetDatabase = oci.DataSafe.getTargetDatabase({
        targetDatabaseId: testTargetDatabaseOciDataSafeTargetDatabase.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_target_database = oci.DataSafe.get_target_database(target_database_id=test_target_database_oci_data_safe_target_database["id"])
    
    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.GetTargetDatabase(ctx, &datasafe.GetTargetDatabaseArgs{
    			TargetDatabaseId: testTargetDatabaseOciDataSafeTargetDatabase.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testTargetDatabase = Oci.DataSafe.GetTargetDatabase.Invoke(new()
        {
            TargetDatabaseId = testTargetDatabaseOciDataSafeTargetDatabase.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetTargetDatabaseArgs;
    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) {
            final var testTargetDatabase = DataSafeFunctions.getTargetDatabase(GetTargetDatabaseArgs.builder()
                .targetDatabaseId(testTargetDatabaseOciDataSafeTargetDatabase.id())
                .build());
    
        }
    }
    
    variables:
      testTargetDatabase:
        fn::invoke:
          Function: oci:DataSafe:getTargetDatabase
          Arguments:
            targetDatabaseId: ${testTargetDatabaseOciDataSafeTargetDatabase.id}
    

    Using getTargetDatabase

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTargetDatabase(args: GetTargetDatabaseArgs, opts?: InvokeOptions): Promise<GetTargetDatabaseResult>
    function getTargetDatabaseOutput(args: GetTargetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetTargetDatabaseResult>
    def get_target_database(target_database_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetTargetDatabaseResult
    def get_target_database_output(target_database_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetTargetDatabaseResult]
    func GetTargetDatabase(ctx *Context, args *GetTargetDatabaseArgs, opts ...InvokeOption) (*GetTargetDatabaseResult, error)
    func GetTargetDatabaseOutput(ctx *Context, args *GetTargetDatabaseOutputArgs, opts ...InvokeOption) GetTargetDatabaseResultOutput

    > Note: This function is named GetTargetDatabase in the Go SDK.

    public static class GetTargetDatabase 
    {
        public static Task<GetTargetDatabaseResult> InvokeAsync(GetTargetDatabaseArgs args, InvokeOptions? opts = null)
        public static Output<GetTargetDatabaseResult> Invoke(GetTargetDatabaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTargetDatabaseResult> getTargetDatabase(GetTargetDatabaseArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getTargetDatabase:getTargetDatabase
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TargetDatabaseId string
    The OCID of the Data Safe target database.
    TargetDatabaseId string
    The OCID of the Data Safe target database.
    targetDatabaseId String
    The OCID of the Data Safe target database.
    targetDatabaseId string
    The OCID of the Data Safe target database.
    target_database_id str
    The OCID of the Data Safe target database.
    targetDatabaseId String
    The OCID of the Data Safe target database.

    getTargetDatabase Result

    The following output properties are available:

    AssociatedResourceIds List<string>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    CompartmentId string
    The OCID of the compartment which contains the Data Safe target database.
    ConnectionOptions List<GetTargetDatabaseConnectionOption>
    Types of connection supported by Data Safe.
    Credentials List<GetTargetDatabaseCredential>
    The database credentials required for Data Safe to connect to the database.
    DatabaseDetails List<GetTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    FreeformTags Dictionary<string, string>
    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"}
    Id string
    The OCID of the Data Safe target database.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabaseDetails List<GetTargetDatabasePeerTargetDatabaseDetail>
    PeerTargetDatabases List<GetTargetDatabasePeerTargetDatabase>
    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"}
    TargetDatabaseId string
    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.
    TlsConfigs List<GetTargetDatabaseTlsConfig>
    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
    The OCID of the compartment which contains the Data Safe target database.
    ConnectionOptions []GetTargetDatabaseConnectionOption
    Types of connection supported by Data Safe.
    Credentials []GetTargetDatabaseCredential
    The database credentials required for Data Safe to connect to the database.
    DatabaseDetails []GetTargetDatabaseDatabaseDetail
    Details of the database for the registration in Data Safe.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    FreeformTags map[string]string
    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"}
    Id string
    The OCID of the Data Safe target database.
    LifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    PeerTargetDatabaseDetails []GetTargetDatabasePeerTargetDatabaseDetail
    PeerTargetDatabases []GetTargetDatabasePeerTargetDatabaseType
    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"}
    TargetDatabaseId string
    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.
    TlsConfigs []GetTargetDatabaseTlsConfig
    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
    The OCID of the compartment which contains the Data Safe target database.
    connectionOptions List<GetTargetDatabaseConnectionOption>
    Types of connection supported by Data Safe.
    credentials List<GetTargetDatabaseCredential>
    The database credentials required for Data Safe to connect to the database.
    databaseDetails List<GetTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    freeformTags Map<String,String>
    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"}
    id String
    The OCID of the Data Safe target database.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails List<GetTargetDatabasePeerTargetDatabaseDetail>
    peerTargetDatabases List<GetTargetDatabasePeerTargetDatabase>
    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"}
    targetDatabaseId String
    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.
    tlsConfigs List<GetTargetDatabaseTlsConfig>
    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
    The OCID of the compartment which contains the Data Safe target database.
    connectionOptions GetTargetDatabaseConnectionOption[]
    Types of connection supported by Data Safe.
    credentials GetTargetDatabaseCredential[]
    The database credentials required for Data Safe to connect to the database.
    databaseDetails GetTargetDatabaseDatabaseDetail[]
    Details of the database for the registration in Data Safe.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe.
    freeformTags {[key: string]: string}
    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"}
    id string
    The OCID of the Data Safe target database.
    lifecycleDetails string
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails GetTargetDatabasePeerTargetDatabaseDetail[]
    peerTargetDatabases GetTargetDatabasePeerTargetDatabase[]
    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"}
    targetDatabaseId string
    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.
    tlsConfigs GetTargetDatabaseTlsConfig[]
    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
    The OCID of the compartment which contains the Data Safe target database.
    connection_options Sequence[datasafe.GetTargetDatabaseConnectionOption]
    Types of connection supported by Data Safe.
    credentials Sequence[datasafe.GetTargetDatabaseCredential]
    The database credentials required for Data Safe to connect to the database.
    database_details Sequence[datasafe.GetTargetDatabaseDatabaseDetail]
    Details of the database for the registration in Data Safe.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the Data Safe target database.
    lifecycle_details str
    Details about the current state of the peer target database in Data Safe.
    peer_target_database_details Sequence[datasafe.GetTargetDatabasePeerTargetDatabaseDetail]
    peer_target_databases Sequence[datasafe.GetTargetDatabasePeerTargetDatabase]
    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"}
    target_database_id str
    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_configs Sequence[datasafe.GetTargetDatabaseTlsConfig]
    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
    The OCID of the compartment which contains the Data Safe target database.
    connectionOptions List<Property Map>
    Types of connection supported by Data Safe.
    credentials List<Property Map>
    The database credentials required for Data Safe to connect to the database.
    databaseDetails List<Property Map>
    Details of the database for the registration in Data Safe.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    freeformTags Map<String>
    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"}
    id String
    The OCID of the Data Safe target database.
    lifecycleDetails String
    Details about the current state of the peer target database in Data Safe.
    peerTargetDatabaseDetails List<Property Map>
    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"}
    targetDatabaseId String
    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.
    tlsConfigs List<Property Map>
    The details required to establish a TLS enabled connection.

    Supporting Types

    GetTargetDatabaseConnectionOption

    ConnectionType string
    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
    The OCID of the Data Safe private endpoint.
    OnPremConnectorId string
    The OCID of the on-premises connector.
    ConnectionType string
    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
    The OCID of the Data Safe private endpoint.
    OnPremConnectorId string
    The OCID of the on-premises connector.
    connectionType String
    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
    The OCID of the Data Safe private endpoint.
    onPremConnectorId String
    The OCID of the on-premises connector.
    connectionType string
    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
    The OCID of the Data Safe private endpoint.
    onPremConnectorId string
    The OCID of the on-premises connector.
    connection_type str
    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
    The OCID of the Data Safe private endpoint.
    on_prem_connector_id str
    The OCID of the on-premises connector.
    connectionType String
    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
    The OCID of the Data Safe private endpoint.
    onPremConnectorId String
    The OCID of the on-premises connector.

    GetTargetDatabaseCredential

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

    GetTargetDatabaseDatabaseDetail

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

    GetTargetDatabasePeerTargetDatabase

    DatabaseDetails List<GetTargetDatabasePeerTargetDatabaseDatabaseDetail>
    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
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    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<GetTargetDatabasePeerTargetDatabaseTlsConfig>
    The details required to establish a TLS enabled connection.
    DatabaseDetails []GetTargetDatabasePeerTargetDatabaseDatabaseDetail
    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
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    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 []GetTargetDatabasePeerTargetDatabaseTlsConfig
    The details required to establish a TLS enabled connection.
    databaseDetails List<GetTargetDatabasePeerTargetDatabaseDatabaseDetail>
    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
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    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<GetTargetDatabasePeerTargetDatabaseTlsConfig>
    The details required to establish a TLS enabled connection.
    databaseDetails GetTargetDatabasePeerTargetDatabaseDatabaseDetail[]
    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
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe.
    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 GetTargetDatabasePeerTargetDatabaseTlsConfig[]
    The details required to establish a TLS enabled connection.
    database_details Sequence[datasafe.GetTargetDatabasePeerTargetDatabaseDatabaseDetail]
    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
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe.
    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.GetTargetDatabasePeerTargetDatabaseTlsConfig]
    The details required to establish a TLS enabled connection.
    databaseDetails List<Property Map>
    Details of the database for the registration in Data Safe.
    databaseUniqueName String
    Unique name of the database associated to the peer target database.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    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>
    The details required to establish a TLS enabled connection.

    GetTargetDatabasePeerTargetDatabaseDatabaseDetail

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

    GetTargetDatabasePeerTargetDatabaseDetail

    DatabaseDetails List<GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail>
    Details of the database for the registration in Data Safe.
    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
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    TlsConfigs List<GetTargetDatabasePeerTargetDatabaseDetailTlsConfig>
    The details required to establish a TLS enabled connection.
    DatabaseDetails []GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail
    Details of the database for the registration in Data Safe.
    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
    The description of the peer target database in Data Safe.
    DisplayName string
    The display name of the peer target database in Data Safe.
    TlsConfigs []GetTargetDatabasePeerTargetDatabaseDetailTlsConfig
    The details required to establish a TLS enabled connection.
    databaseDetails List<GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail>
    Details of the database for the registration in Data Safe.
    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
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    tlsConfigs List<GetTargetDatabasePeerTargetDatabaseDetailTlsConfig>
    The details required to establish a TLS enabled connection.
    databaseDetails GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail[]
    Details of the database for the registration in Data Safe.
    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
    The description of the peer target database in Data Safe.
    displayName string
    The display name of the peer target database in Data Safe.
    tlsConfigs GetTargetDatabasePeerTargetDatabaseDetailTlsConfig[]
    The details required to establish a TLS enabled connection.
    database_details Sequence[datasafe.GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail]
    Details of the database for the registration in Data Safe.
    dataguard_association_id str
    The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
    description str
    The description of the peer target database in Data Safe.
    display_name str
    The display name of the peer target database in Data Safe.
    tls_configs Sequence[datasafe.GetTargetDatabasePeerTargetDatabaseDetailTlsConfig]
    The details required to establish a TLS enabled connection.
    databaseDetails List<Property Map>
    Details of the database for the registration in Data Safe.
    dataguardAssociationId String
    The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
    description String
    The description of the peer target database in Data Safe.
    displayName String
    The display name of the peer target database in Data Safe.
    tlsConfigs List<Property Map>
    The details required to establish a TLS enabled connection.

    GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail

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

    GetTargetDatabasePeerTargetDatabaseDetailTlsConfig

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

    GetTargetDatabasePeerTargetDatabaseTlsConfig

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

    GetTargetDatabaseTlsConfig

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi