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

oci.DataSafe.getTargetDatabases

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Target Databases in Oracle Cloud Infrastructure Data Safe service.

    Returns the list of registered target databases in Data Safe.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTargetDatabases = oci.DataSafe.getTargetDatabases({
        compartmentId: compartmentId,
        accessLevel: targetDatabaseAccessLevel,
        associatedResourceId: testAssociatedResource.id,
        compartmentIdInSubtree: targetDatabaseCompartmentIdInSubtree,
        databaseType: targetDatabaseDatabaseType,
        displayName: targetDatabaseDisplayName,
        infrastructureType: targetDatabaseInfrastructureType,
        state: targetDatabaseState,
        targetDatabaseId: testTargetDatabase.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_target_databases = oci.DataSafe.get_target_databases(compartment_id=compartment_id,
        access_level=target_database_access_level,
        associated_resource_id=test_associated_resource["id"],
        compartment_id_in_subtree=target_database_compartment_id_in_subtree,
        database_type=target_database_database_type,
        display_name=target_database_display_name,
        infrastructure_type=target_database_infrastructure_type,
        state=target_database_state,
        target_database_id=test_target_database["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetTargetDatabases(ctx, &datasafe.GetTargetDatabasesArgs{
    			CompartmentId:          compartmentId,
    			AccessLevel:            pulumi.StringRef(targetDatabaseAccessLevel),
    			AssociatedResourceId:   pulumi.StringRef(testAssociatedResource.Id),
    			CompartmentIdInSubtree: pulumi.BoolRef(targetDatabaseCompartmentIdInSubtree),
    			DatabaseType:           pulumi.StringRef(targetDatabaseDatabaseType),
    			DisplayName:            pulumi.StringRef(targetDatabaseDisplayName),
    			InfrastructureType:     pulumi.StringRef(targetDatabaseInfrastructureType),
    			State:                  pulumi.StringRef(targetDatabaseState),
    			TargetDatabaseId:       pulumi.StringRef(testTargetDatabase.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 testTargetDatabases = Oci.DataSafe.GetTargetDatabases.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = targetDatabaseAccessLevel,
            AssociatedResourceId = testAssociatedResource.Id,
            CompartmentIdInSubtree = targetDatabaseCompartmentIdInSubtree,
            DatabaseType = targetDatabaseDatabaseType,
            DisplayName = targetDatabaseDisplayName,
            InfrastructureType = targetDatabaseInfrastructureType,
            State = targetDatabaseState,
            TargetDatabaseId = testTargetDatabase.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.GetTargetDatabasesArgs;
    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 testTargetDatabases = DataSafeFunctions.getTargetDatabases(GetTargetDatabasesArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(targetDatabaseAccessLevel)
                .associatedResourceId(testAssociatedResource.id())
                .compartmentIdInSubtree(targetDatabaseCompartmentIdInSubtree)
                .databaseType(targetDatabaseDatabaseType)
                .displayName(targetDatabaseDisplayName)
                .infrastructureType(targetDatabaseInfrastructureType)
                .state(targetDatabaseState)
                .targetDatabaseId(testTargetDatabase.id())
                .build());
    
        }
    }
    
    variables:
      testTargetDatabases:
        fn::invoke:
          Function: oci:DataSafe:getTargetDatabases
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${targetDatabaseAccessLevel}
            associatedResourceId: ${testAssociatedResource.id}
            compartmentIdInSubtree: ${targetDatabaseCompartmentIdInSubtree}
            databaseType: ${targetDatabaseDatabaseType}
            displayName: ${targetDatabaseDisplayName}
            infrastructureType: ${targetDatabaseInfrastructureType}
            state: ${targetDatabaseState}
            targetDatabaseId: ${testTargetDatabase.id}
    

    Using getTargetDatabases

    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 getTargetDatabases(args: GetTargetDatabasesArgs, opts?: InvokeOptions): Promise<GetTargetDatabasesResult>
    function getTargetDatabasesOutput(args: GetTargetDatabasesOutputArgs, opts?: InvokeOptions): Output<GetTargetDatabasesResult>
    def get_target_databases(access_level: Optional[str] = None,
                             associated_resource_id: Optional[str] = None,
                             compartment_id: Optional[str] = None,
                             compartment_id_in_subtree: Optional[bool] = None,
                             database_type: Optional[str] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[_datasafe.GetTargetDatabasesFilter]] = None,
                             infrastructure_type: Optional[str] = None,
                             state: Optional[str] = None,
                             target_database_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetTargetDatabasesResult
    def get_target_databases_output(access_level: Optional[pulumi.Input[str]] = None,
                             associated_resource_id: Optional[pulumi.Input[str]] = None,
                             compartment_id: Optional[pulumi.Input[str]] = None,
                             compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                             database_type: Optional[pulumi.Input[str]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetTargetDatabasesFilterArgs]]]] = None,
                             infrastructure_type: Optional[pulumi.Input[str]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             target_database_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetTargetDatabasesResult]
    func GetTargetDatabases(ctx *Context, args *GetTargetDatabasesArgs, opts ...InvokeOption) (*GetTargetDatabasesResult, error)
    func GetTargetDatabasesOutput(ctx *Context, args *GetTargetDatabasesOutputArgs, opts ...InvokeOption) GetTargetDatabasesResultOutput

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

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

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AssociatedResourceId string
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DatabaseType string
    A filter to return only target databases that match the specified database type.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters List<GetTargetDatabasesFilter>
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    State string
    A filter to return only target databases that match the specified lifecycle state.
    TargetDatabaseId string
    A filter to return the target database that matches the specified OCID.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AssociatedResourceId string
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DatabaseType string
    A filter to return only target databases that match the specified database type.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters []GetTargetDatabasesFilter
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    State string
    A filter to return only target databases that match the specified lifecycle state.
    TargetDatabaseId string
    A filter to return the target database that matches the specified OCID.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    associatedResourceId String
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    databaseType String
    A filter to return only target databases that match the specified database type.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<GetTargetDatabasesFilter>
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    state String
    A filter to return only target databases that match the specified lifecycle state.
    targetDatabaseId String
    A filter to return the target database that matches the specified OCID.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    associatedResourceId string
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    databaseType string
    A filter to return only target databases that match the specified database type.
    displayName string
    A filter to return only resources that match the specified display name.
    filters GetTargetDatabasesFilter[]
    infrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    state string
    A filter to return only target databases that match the specified lifecycle state.
    targetDatabaseId string
    A filter to return the target database that matches the specified OCID.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    associated_resource_id str
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    database_type str
    A filter to return only target databases that match the specified database type.
    display_name str
    A filter to return only resources that match the specified display name.
    filters Sequence[datasafe.GetTargetDatabasesFilter]
    infrastructure_type str
    A filter to return only target databases that match the specified infrastructure type.
    state str
    A filter to return only target databases that match the specified lifecycle state.
    target_database_id str
    A filter to return the target database that matches the specified OCID.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    associatedResourceId String
    A filter to return the target databases that are associated to the resource id passed in as a parameter value.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    databaseType String
    A filter to return only target databases that match the specified database type.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<Property Map>
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    state String
    A filter to return only target databases that match the specified lifecycle state.
    targetDatabaseId String
    A filter to return the target database that matches the specified OCID.

    getTargetDatabases Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment which contains the Data Safe target database.
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetDatabases List<GetTargetDatabasesTargetDatabase>
    The list of target_databases.
    AccessLevel string
    AssociatedResourceId string
    CompartmentIdInSubtree bool
    DatabaseType string
    The database type.
    DisplayName string
    The display name of the peer target database in Data Safe.
    Filters List<GetTargetDatabasesFilter>
    InfrastructureType string
    The infrastructure type the database is running on.
    State string
    The current state of the target database in Data Safe.
    TargetDatabaseId string
    CompartmentId string
    The OCID of the compartment which contains the Data Safe target database.
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetDatabases []GetTargetDatabasesTargetDatabase
    The list of target_databases.
    AccessLevel string
    AssociatedResourceId string
    CompartmentIdInSubtree bool
    DatabaseType string
    The database type.
    DisplayName string
    The display name of the peer target database in Data Safe.
    Filters []GetTargetDatabasesFilter
    InfrastructureType string
    The infrastructure type the database is running on.
    State string
    The current state of the target database in Data Safe.
    TargetDatabaseId string
    compartmentId String
    The OCID of the compartment which contains the Data Safe target database.
    id String
    The provider-assigned unique ID for this managed resource.
    targetDatabases List<GetTargetDatabasesTargetDatabase>
    The list of target_databases.
    accessLevel String
    associatedResourceId String
    compartmentIdInSubtree Boolean
    databaseType String
    The database type.
    displayName String
    The display name of the peer target database in Data Safe.
    filters List<GetTargetDatabasesFilter>
    infrastructureType String
    The infrastructure type the database is running on.
    state String
    The current state of the target database in Data Safe.
    targetDatabaseId String
    compartmentId string
    The OCID of the compartment which contains the Data Safe target database.
    id string
    The provider-assigned unique ID for this managed resource.
    targetDatabases GetTargetDatabasesTargetDatabase[]
    The list of target_databases.
    accessLevel string
    associatedResourceId string
    compartmentIdInSubtree boolean
    databaseType string
    The database type.
    displayName string
    The display name of the peer target database in Data Safe.
    filters GetTargetDatabasesFilter[]
    infrastructureType string
    The infrastructure type the database is running on.
    state string
    The current state of the target database in Data Safe.
    targetDatabaseId string
    compartment_id str
    The OCID of the compartment which contains the Data Safe target database.
    id str
    The provider-assigned unique ID for this managed resource.
    target_databases Sequence[datasafe.GetTargetDatabasesTargetDatabase]
    The list of target_databases.
    access_level str
    associated_resource_id str
    compartment_id_in_subtree bool
    database_type str
    The database type.
    display_name str
    The display name of the peer target database in Data Safe.
    filters Sequence[datasafe.GetTargetDatabasesFilter]
    infrastructure_type str
    The infrastructure type the database is running on.
    state str
    The current state of the target database in Data Safe.
    target_database_id str
    compartmentId String
    The OCID of the compartment which contains the Data Safe target database.
    id String
    The provider-assigned unique ID for this managed resource.
    targetDatabases List<Property Map>
    The list of target_databases.
    accessLevel String
    associatedResourceId String
    compartmentIdInSubtree Boolean
    databaseType String
    The database type.
    displayName String
    The display name of the peer target database in Data Safe.
    filters List<Property Map>
    infrastructureType String
    The infrastructure type the database is running on.
    state String
    The current state of the target database in Data Safe.
    targetDatabaseId String

    Supporting Types

    GetTargetDatabasesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetTargetDatabasesTargetDatabase

    AssociatedResourceIds List<string>
    The OCIDs of associated resources like database, Data Safe private endpoint etc.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    ConnectionOptions List<GetTargetDatabasesTargetDatabaseConnectionOption>
    Types of connection supported by Data Safe.
    Credentials List<GetTargetDatabasesTargetDatabaseCredential>
    The database credentials required for Data Safe to connect to the database.
    DatabaseDetails List<GetTargetDatabasesTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    DefinedTags Dictionary<string, object>
    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
    A filter to return only resources that match the specified display name.
    FreeformTags Dictionary<string, object>
    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<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail>
    PeerTargetDatabases List<GetTargetDatabasesTargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    A filter to return only target databases that match the specified lifecycle state.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    TlsConfigs List<GetTargetDatabasesTargetDatabaseTlsConfig>
    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
    A filter to return only resources that match the specified compartment OCID.
    ConnectionOptions []GetTargetDatabasesTargetDatabaseConnectionOption
    Types of connection supported by Data Safe.
    Credentials []GetTargetDatabasesTargetDatabaseCredential
    The database credentials required for Data Safe to connect to the database.
    DatabaseDetails []GetTargetDatabasesTargetDatabaseDatabaseDetail
    Details of the database for the registration in Data Safe.
    DefinedTags map[string]interface{}
    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
    A filter to return only resources that match the specified display name.
    FreeformTags map[string]interface{}
    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 []GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail
    PeerTargetDatabases []GetTargetDatabasesTargetDatabasePeerTargetDatabase
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    State string
    A filter to return only target databases that match the specified lifecycle state.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeUpdated string
    The date and time of the target database update in Data Safe.
    TlsConfigs []GetTargetDatabasesTargetDatabaseTlsConfig
    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
    A filter to return only resources that match the specified compartment OCID.
    connectionOptions List<GetTargetDatabasesTargetDatabaseConnectionOption>
    Types of connection supported by Data Safe.
    credentials List<GetTargetDatabasesTargetDatabaseCredential>
    The database credentials required for Data Safe to connect to the database.
    databaseDetails List<GetTargetDatabasesTargetDatabaseDatabaseDetail>
    Details of the database for the registration in Data Safe.
    definedTags Map<String,Object>
    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
    A filter to return only resources that match the specified display name.
    freeformTags Map<String,Object>
    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<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail>
    peerTargetDatabases List<GetTargetDatabasesTargetDatabasePeerTargetDatabase>
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state String
    A filter to return only target databases that match the specified lifecycle state.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.
    tlsConfigs List<GetTargetDatabasesTargetDatabaseTlsConfig>
    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
    A filter to return only resources that match the specified compartment OCID.
    connectionOptions GetTargetDatabasesTargetDatabaseConnectionOption[]
    Types of connection supported by Data Safe.
    credentials GetTargetDatabasesTargetDatabaseCredential[]
    The database credentials required for Data Safe to connect to the database.
    databaseDetails GetTargetDatabasesTargetDatabaseDatabaseDetail[]
    Details of the database for the registration in Data Safe.
    definedTags {[key: string]: any}
    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
    A filter to return only resources that match the specified display name.
    freeformTags {[key: string]: any}
    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 GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail[]
    peerTargetDatabases GetTargetDatabasesTargetDatabasePeerTargetDatabase[]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state string
    A filter to return only target databases that match the specified lifecycle state.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated string
    The date and time of the target database update in Data Safe.
    tlsConfigs GetTargetDatabasesTargetDatabaseTlsConfig[]
    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
    A filter to return only resources that match the specified compartment OCID.
    connection_options Sequence[datasafe.GetTargetDatabasesTargetDatabaseConnectionOption]
    Types of connection supported by Data Safe.
    credentials Sequence[datasafe.GetTargetDatabasesTargetDatabaseCredential]
    The database credentials required for Data Safe to connect to the database.
    database_details Sequence[datasafe.GetTargetDatabasesTargetDatabaseDatabaseDetail]
    Details of the database for the registration in Data Safe.
    defined_tags Mapping[str, Any]
    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
    A filter to return only resources that match the specified display name.
    freeform_tags Mapping[str, Any]
    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.GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail]
    peer_target_databases Sequence[datasafe.GetTargetDatabasesTargetDatabasePeerTargetDatabase]
    The OCIDs of associated resources like Database, Data Safe private endpoint etc.
    state str
    A filter to return only target databases that match the specified lifecycle state.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    time_updated str
    The date and time of the target database update in Data Safe.
    tls_configs Sequence[datasafe.GetTargetDatabasesTargetDatabaseTlsConfig]
    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
    A filter to return only resources that match the specified compartment OCID.
    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<Any>
    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
    A filter to return only resources that match the specified display name.
    freeformTags Map<Any>
    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
    A filter to return only target databases that match the specified lifecycle state.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    timeUpdated String
    The date and time of the target database update in Data Safe.
    tlsConfigs List<Property Map>
    The details required to establish a TLS enabled connection.

    GetTargetDatabasesTargetDatabaseConnectionOption

    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.

    GetTargetDatabasesTargetDatabaseCredential

    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.

    GetTargetDatabasesTargetDatabaseDatabaseDetail

    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructure_type str
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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.

    GetTargetDatabasesTargetDatabasePeerTargetDatabase

    DatabaseDetails List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail>
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TlsConfigs List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig>
    The details required to establish a TLS enabled connection.
    DatabaseDetails []GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    TimeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TlsConfigs []GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig
    The details required to establish a TLS enabled connection.
    databaseDetails List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail>
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    timeCreated String
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tlsConfigs List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig>
    The details required to establish a TLS enabled connection.
    databaseDetails GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail[]
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    timeCreated string
    The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    tlsConfigs GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig[]
    The details required to establish a TLS enabled connection.
    database_details Sequence[datasafe.GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail]
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    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.GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig]
    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
    A filter to return only resources that match the specified display name.
    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
    A filter to return only target databases that match the specified lifecycle state.
    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.

    GetTargetDatabasesTargetDatabasePeerTargetDatabaseDatabaseDetail

    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructure_type str
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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.

    GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetail

    DatabaseDetails List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail>
    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
    A filter to return only resources that match the specified display name.
    TlsConfigs List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig>
    The details required to establish a TLS enabled connection.
    DatabaseDetails []GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail
    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
    A filter to return only resources that match the specified display name.
    TlsConfigs []GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig
    The details required to establish a TLS enabled connection.
    databaseDetails List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail>
    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
    A filter to return only resources that match the specified display name.
    tlsConfigs List<GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig>
    The details required to establish a TLS enabled connection.
    databaseDetails GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail[]
    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
    A filter to return only resources that match the specified display name.
    tlsConfigs GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig[]
    The details required to establish a TLS enabled connection.
    database_details Sequence[datasafe.GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail]
    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
    A filter to return only resources that match the specified display name.
    tls_configs Sequence[datasafe.GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig]
    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
    A filter to return only resources that match the specified display name.
    tlsConfigs List<Property Map>
    The details required to establish a TLS enabled connection.

    GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailDatabaseDetail

    AutonomousDatabaseId string
    The OCID of the Autonomous Database registered as a target database in Data Safe.
    DatabaseType string
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    DbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    InfrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId string
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType string
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    db_system_id str
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructure_type str
    A filter to return only target databases that match the specified infrastructure type.
    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
    A filter to return only target databases that match the specified database type.
    dbSystemId String
    The OCID of the cloud database registered as a target database in Data Safe.
    infrastructureType String
    A filter to return only target databases that match the specified infrastructure type.
    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.

    GetTargetDatabasesTargetDatabasePeerTargetDatabaseDetailTlsConfig

    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.

    GetTargetDatabasesTargetDatabasePeerTargetDatabaseTlsConfig

    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.

    GetTargetDatabasesTargetDatabaseTlsConfig

    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi