Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DataSafe.getTargetDatabase
Explore with Pulumi AI
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:
- Target
Database stringId - The OCID of the Data Safe target database.
- Target
Database stringId - The OCID of the Data Safe target database.
- target
Database StringId - The OCID of the Data Safe target database.
- target
Database stringId - The OCID of the Data Safe target database.
- target_
database_ strid - The OCID of the Data Safe target database.
- target
Database StringId - The OCID of the Data Safe target database.
getTargetDatabase Result
The following output properties are available:
- Associated
Resource List<string>Ids - The OCIDs of associated resources like database, Data Safe private endpoint etc.
- Compartment
Id string - The OCID of the compartment which contains the Data Safe target database.
- Connection
Options List<GetTarget Database Connection Option> - Types of connection supported by Data Safe.
- Credentials
List<Get
Target Database Credential> - The database credentials required for Data Safe to connect to the database.
- Database
Details List<GetTarget Database Database Detail> - Details of the database for the registration in Data Safe.
- 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.
- Display
Name string - The display name of the peer target database in Data Safe.
- 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.
- Lifecycle
Details string - Details about the current state of the peer target database in Data Safe.
- Peer
Target List<GetDatabase Details Target Database Peer Target Database Detail> - Peer
Target List<GetDatabases Target Database Peer Target Database> - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- State string
- The current state of the target database in Data Safe.
- 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"}
- Target
Database stringId - Time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- Time
Updated string - The date and time of the target database update in Data Safe.
- Tls
Configs List<GetTarget Database Tls Config> - The details required to establish a TLS enabled connection.
- Associated
Resource []stringIds - The OCIDs of associated resources like database, Data Safe private endpoint etc.
- Compartment
Id string - The OCID of the compartment which contains the Data Safe target database.
- Connection
Options []GetTarget Database Connection Option - Types of connection supported by Data Safe.
- Credentials
[]Get
Target Database Credential - The database credentials required for Data Safe to connect to the database.
- Database
Details []GetTarget Database Database Detail - Details of the database for the registration in Data Safe.
- 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.
- Display
Name string - The display name of the peer target database in Data Safe.
- 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.
- Lifecycle
Details string - Details about the current state of the peer target database in Data Safe.
- Peer
Target []GetDatabase Details Target Database Peer Target Database Detail - Peer
Target []GetDatabases Target Database Peer Target Database Type - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- State string
- The current state of the target database in Data Safe.
- 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"}
- Target
Database stringId - Time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- Time
Updated string - The date and time of the target database update in Data Safe.
- Tls
Configs []GetTarget Database Tls Config - The details required to establish a TLS enabled connection.
- associated
Resource List<String>Ids - The OCIDs of associated resources like database, Data Safe private endpoint etc.
- compartment
Id String - The OCID of the compartment which contains the Data Safe target database.
- connection
Options List<GetTarget Database Connection Option> - Types of connection supported by Data Safe.
- credentials
List<Get
Target Database Credential> - The database credentials required for Data Safe to connect to the database.
- database
Details List<GetTarget Database Database Detail> - Details of the database for the registration in Data Safe.
- 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.
- display
Name String - The display name of the peer target database in Data Safe.
- 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.
- lifecycle
Details String - Details about the current state of the peer target database in Data Safe.
- peer
Target List<GetDatabase Details Target Database Peer Target Database Detail> - peer
Target List<GetDatabases Target Database Peer Target Database> - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- state String
- The current state of the target database in Data Safe.
- 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"}
- target
Database StringId - time
Created String - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- time
Updated String - The date and time of the target database update in Data Safe.
- tls
Configs List<GetTarget Database Tls Config> - The details required to establish a TLS enabled connection.
- associated
Resource string[]Ids - The OCIDs of associated resources like database, Data Safe private endpoint etc.
- compartment
Id string - The OCID of the compartment which contains the Data Safe target database.
- connection
Options GetTarget Database Connection Option[] - Types of connection supported by Data Safe.
- credentials
Get
Target Database Credential[] - The database credentials required for Data Safe to connect to the database.
- database
Details GetTarget Database Database Detail[] - Details of the database for the registration in Data Safe.
- {[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.
- display
Name string - The display name of the peer target database in Data Safe.
- {[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.
- lifecycle
Details string - Details about the current state of the peer target database in Data Safe.
- peer
Target GetDatabase Details Target Database Peer Target Database Detail[] - peer
Target GetDatabases Target Database Peer Target Database[] - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- state string
- The current state of the target database in Data Safe.
- {[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"}
- target
Database stringId - time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- time
Updated string - The date and time of the target database update in Data Safe.
- tls
Configs GetTarget Database Tls Config[] - The details required to establish a TLS enabled connection.
- associated_
resource_ Sequence[str]ids - 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.Get Target Database Connection Option] - Types of connection supported by Data Safe.
- credentials
Sequence[datasafe.
Get Target Database Credential] - The database credentials required for Data Safe to connect to the database.
- database_
details Sequence[datasafe.Get Target Database Database Detail] - Details of the database for the registration in Data Safe.
- 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.
- 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_ Sequence[datasafe.database_ details Get Target Database Peer Target Database Detail] - peer_
target_ Sequence[datasafe.databases Get Target Database Peer Target Database] - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- state str
- The current state of the target database in Data Safe.
- 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_ strid - 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.Get Target Database Tls Config] - The details required to establish a TLS enabled connection.
- associated
Resource List<String>Ids - The OCIDs of associated resources like database, Data Safe private endpoint etc.
- compartment
Id String - The OCID of the compartment which contains the Data Safe target database.
- connection
Options 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.
- database
Details List<Property Map> - Details of the database for the registration in Data Safe.
- 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.
- display
Name String - The display name of the peer target database in Data Safe.
- 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.
- lifecycle
Details String - Details about the current state of the peer target database in Data Safe.
- peer
Target List<Property Map>Database Details - peer
Target List<Property Map>Databases - The OCIDs of associated resources like Database, Data Safe private endpoint etc.
- state String
- The current state of the target database in Data Safe.
- 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"}
- target
Database StringId - time
Created String - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- time
Updated String - The date and time of the target database update in Data Safe.
- tls
Configs List<Property Map> - The details required to establish a TLS enabled connection.
Supporting Types
GetTargetDatabaseConnectionOption
- Connection
Type 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.
- Datasafe
Private stringEndpoint Id - The OCID of the Data Safe private endpoint.
- On
Prem stringConnector Id - The OCID of the on-premises connector.
- Connection
Type 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.
- Datasafe
Private stringEndpoint Id - The OCID of the Data Safe private endpoint.
- On
Prem stringConnector Id - The OCID of the on-premises connector.
- connection
Type 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.
- datasafe
Private StringEndpoint Id - The OCID of the Data Safe private endpoint.
- on
Prem StringConnector Id - The OCID of the on-premises connector.
- connection
Type 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.
- datasafe
Private stringEndpoint Id - The OCID of the Data Safe private endpoint.
- on
Prem stringConnector Id - 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_ strendpoint_ id - The OCID of the Data Safe private endpoint.
- on_
prem_ strconnector_ id - The OCID of the on-premises connector.
- connection
Type 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.
- datasafe
Private StringEndpoint Id - The OCID of the Data Safe private endpoint.
- on
Prem StringConnector Id - The OCID of the on-premises connector.
GetTargetDatabaseCredential
GetTargetDatabaseDatabaseDetail
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses List<string> - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses []string - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Integer - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type string - The database type.
- db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type string - The infrastructure type the database is running on.
- instance
Id string - The OCID of the compute instance on which the database is running.
- ip
Addresses string[] - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port number - The port number of the database listener.
- service
Name string - The service name of the database registered as target database.
- vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous_
database_ strid - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database_
type str - The database type.
- db_
system_ strid - 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_ strid - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Number - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
GetTargetDatabasePeerTargetDatabase
- Database
Details List<GetTarget Database Peer Target Database Database Detail> - Details of the database for the registration in Data Safe.
- Database
Unique stringName - Unique name of the database associated to the peer target database.
- Dataguard
Association stringId - 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.
- Display
Name 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.
- Lifecycle
Details 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.
- Time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- Tls
Configs List<GetTarget Database Peer Target Database Tls Config> - The details required to establish a TLS enabled connection.
- Database
Details []GetTarget Database Peer Target Database Database Detail - Details of the database for the registration in Data Safe.
- Database
Unique stringName - Unique name of the database associated to the peer target database.
- Dataguard
Association stringId - 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.
- Display
Name 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.
- Lifecycle
Details 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.
- Time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- Tls
Configs []GetTarget Database Peer Target Database Tls Config - The details required to establish a TLS enabled connection.
- database
Details List<GetTarget Database Peer Target Database Database Detail> - Details of the database for the registration in Data Safe.
- database
Unique StringName - Unique name of the database associated to the peer target database.
- dataguard
Association StringId - 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.
- display
Name 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.
- lifecycle
Details 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.
- time
Created String - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- tls
Configs List<GetTarget Database Peer Target Database Tls Config> - The details required to establish a TLS enabled connection.
- database
Details GetTarget Database Peer Target Database Database Detail[] - Details of the database for the registration in Data Safe.
- database
Unique stringName - Unique name of the database associated to the peer target database.
- dataguard
Association stringId - 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.
- display
Name 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.
- lifecycle
Details 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.
- time
Created string - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- tls
Configs GetTarget Database Peer Target Database Tls Config[] - The details required to establish a TLS enabled connection.
- database_
details Sequence[datasafe.Get Target Database Peer Target Database Database Detail] - Details of the database for the registration in Data Safe.
- database_
unique_ strname - Unique name of the database associated to the peer target database.
- dataguard_
association_ strid - 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.Get Target Database Peer Target Database Tls Config] - The details required to establish a TLS enabled connection.
- database
Details List<Property Map> - Details of the database for the registration in Data Safe.
- database
Unique StringName - Unique name of the database associated to the peer target database.
- dataguard
Association StringId - 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.
- display
Name 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.
- lifecycle
Details 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.
- time
Created String - The date and time the database was registered in Data Safe and created as a target database in Data Safe.
- tls
Configs List<Property Map> - The details required to establish a TLS enabled connection.
GetTargetDatabasePeerTargetDatabaseDatabaseDetail
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses List<string> - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses []string - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Integer - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type string - The database type.
- db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type string - The infrastructure type the database is running on.
- instance
Id string - The OCID of the compute instance on which the database is running.
- ip
Addresses string[] - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port number - The port number of the database listener.
- service
Name string - The service name of the database registered as target database.
- vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous_
database_ strid - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database_
type str - The database type.
- db_
system_ strid - 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_ strid - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Number - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
GetTargetDatabasePeerTargetDatabaseDetail
- Database
Details List<GetTarget Database Peer Target Database Detail Database Detail> - Details of the database for the registration in Data Safe.
- Dataguard
Association stringId - 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.
- Display
Name string - The display name of the peer target database in Data Safe.
- Tls
Configs List<GetTarget Database Peer Target Database Detail Tls Config> - The details required to establish a TLS enabled connection.
- Database
Details []GetTarget Database Peer Target Database Detail Database Detail - Details of the database for the registration in Data Safe.
- Dataguard
Association stringId - 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.
- Display
Name string - The display name of the peer target database in Data Safe.
- Tls
Configs []GetTarget Database Peer Target Database Detail Tls Config - The details required to establish a TLS enabled connection.
- database
Details List<GetTarget Database Peer Target Database Detail Database Detail> - Details of the database for the registration in Data Safe.
- dataguard
Association StringId - 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.
- display
Name String - The display name of the peer target database in Data Safe.
- tls
Configs List<GetTarget Database Peer Target Database Detail Tls Config> - The details required to establish a TLS enabled connection.
- database
Details GetTarget Database Peer Target Database Detail Database Detail[] - Details of the database for the registration in Data Safe.
- dataguard
Association stringId - 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.
- display
Name string - The display name of the peer target database in Data Safe.
- tls
Configs GetTarget Database Peer Target Database Detail Tls Config[] - The details required to establish a TLS enabled connection.
- database_
details Sequence[datasafe.Get Target Database Peer Target Database Detail Database Detail] - Details of the database for the registration in Data Safe.
- dataguard_
association_ strid - 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.Get Target Database Peer Target Database Detail Tls Config] - The details required to establish a TLS enabled connection.
- database
Details List<Property Map> - Details of the database for the registration in Data Safe.
- dataguard
Association StringId - 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.
- display
Name String - The display name of the peer target database in Data Safe.
- tls
Configs List<Property Map> - The details required to establish a TLS enabled connection.
GetTargetDatabasePeerTargetDatabaseDetailDatabaseDetail
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses List<string> - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- Autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- Database
Type string - The database type.
- Db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- Infrastructure
Type string - The infrastructure type the database is running on.
- Instance
Id string - The OCID of the compute instance on which the database is running.
- Ip
Addresses []string - 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 string - The service name of the database registered as target database.
- Vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Integer - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
- autonomous
Database stringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type string - The database type.
- db
System stringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type string - The infrastructure type the database is running on.
- instance
Id string - The OCID of the compute instance on which the database is running.
- ip
Addresses string[] - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port number - The port number of the database listener.
- service
Name string - The service name of the database registered as target database.
- vm
Cluster stringId - The OCID of the VM cluster in which the database is running.
- autonomous_
database_ strid - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database_
type str - The database type.
- db_
system_ strid - 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_ strid - The OCID of the VM cluster in which the database is running.
- autonomous
Database StringId - The OCID of the Autonomous Database registered as a target database in Data Safe.
- database
Type String - The database type.
- db
System StringId - The OCID of the cloud database registered as a target database in Data Safe.
- infrastructure
Type String - The infrastructure type the database is running on.
- instance
Id String - The OCID of the compute instance on which the database is running.
- ip
Addresses List<String> - The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
- listener
Port Number - The port number of the database listener.
- service
Name String - The service name of the database registered as target database.
- vm
Cluster StringId - The OCID of the VM cluster in which the database is running.
GetTargetDatabasePeerTargetDatabaseDetailTlsConfig
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - Base64 encoded string of trust store file content.
- certificate
Store stringType - The format of the certificate store.
- key
Store stringContent - Base64 encoded string of key store file content.
- status string
- Status to represent whether the database connection is TLS enabled or not.
- store
Password string - The password to read the trust store and key store files, if they are password protected.
- trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate_
store_ strtype - The format of the certificate store.
- key_
store_ strcontent - 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_ strcontent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - Base64 encoded string of trust store file content.
GetTargetDatabasePeerTargetDatabaseTlsConfig
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - Base64 encoded string of trust store file content.
- certificate
Store stringType - The format of the certificate store.
- key
Store stringContent - Base64 encoded string of key store file content.
- status string
- Status to represent whether the database connection is TLS enabled or not.
- store
Password string - The password to read the trust store and key store files, if they are password protected.
- trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate_
store_ strtype - The format of the certificate store.
- key_
store_ strcontent - 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_ strcontent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - Base64 encoded string of trust store file content.
GetTargetDatabaseTlsConfig
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- Certificate
Store stringType - The format of the certificate store.
- Key
Store stringContent - Base64 encoded string of key store file content.
- Status string
- Status to represent whether the database connection is TLS enabled or not.
- Store
Password string - The password to read the trust store and key store files, if they are password protected.
- Trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - Base64 encoded string of trust store file content.
- certificate
Store stringType - The format of the certificate store.
- key
Store stringContent - Base64 encoded string of key store file content.
- status string
- Status to represent whether the database connection is TLS enabled or not.
- store
Password string - The password to read the trust store and key store files, if they are password protected.
- trust
Store stringContent - Base64 encoded string of trust store file content.
- certificate_
store_ strtype - The format of the certificate store.
- key_
store_ strcontent - 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_ strcontent - Base64 encoded string of trust store file content.
- certificate
Store StringType - The format of the certificate store.
- key
Store StringContent - Base64 encoded string of key store file content.
- status String
- Status to represent whether the database connection is TLS enabled or not.
- store
Password String - The password to read the trust store and key store files, if they are password protected.
- trust
Store StringContent - 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.