import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Target Database Peer Target Database resource in Oracle Cloud Infrastructure Data Safe service. * * Returns the details of the specified Data Safe peer target database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabasePeerTargetDatabase = oci.datasafe.getTargetDatabasePeerTargetDatabase({ * peerTargetDatabaseId: testTargetDatabase.id, * targetDatabaseId: testTargetDatabase.id, * }); * ``` */ export declare function getTargetDatabasePeerTargetDatabase(args: GetTargetDatabasePeerTargetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetDatabasePeerTargetDatabase. */ export interface GetTargetDatabasePeerTargetDatabaseArgs { /** * The unique id of the peer target database. */ peerTargetDatabaseId: string; /** * The OCID of the Data Safe target database. */ targetDatabaseId: string; } /** * A collection of values returned by getTargetDatabasePeerTargetDatabase. */ export interface GetTargetDatabasePeerTargetDatabaseResult { /** * Details of the database for the registration in Data Safe. */ readonly databaseDetails: outputs.DataSafe.GetTargetDatabasePeerTargetDatabaseDatabaseDetail[]; /** * Unique name of the database associated to the peer target database. */ readonly databaseUniqueName: 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. */ readonly dataguardAssociationId: string; /** * The description of the peer target database in Data Safe. */ readonly description: string; /** * The display name of the peer target database in Data Safe. */ readonly displayName: string; readonly id: string; /** * The secondary key assigned for the peer target database in Data Safe. */ readonly key: number; /** * Details about the current state of the peer target database in Data Safe. */ readonly lifecycleDetails: string; readonly peerTargetDatabaseId: string; /** * Role of the database associated to the peer target database. */ readonly role: string; /** * The current state of the peer target database in Data Safe. */ readonly state: string; readonly targetDatabaseId: string; /** * The date and time of the peer target database registration in Data Safe. */ readonly timeCreated: string; /** * The details required to establish a TLS enabled connection. */ readonly tlsConfigs: outputs.DataSafe.GetTargetDatabasePeerTargetDatabaseTlsConfig[]; } /** * This data source provides details about a specific Target Database Peer Target Database resource in Oracle Cloud Infrastructure Data Safe service. * * Returns the details of the specified Data Safe peer target database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabasePeerTargetDatabase = oci.datasafe.getTargetDatabasePeerTargetDatabase({ * peerTargetDatabaseId: testTargetDatabase.id, * targetDatabaseId: testTargetDatabase.id, * }); * ``` */ export declare function getTargetDatabasePeerTargetDatabaseOutput(args: GetTargetDatabasePeerTargetDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetDatabasePeerTargetDatabase. */ export interface GetTargetDatabasePeerTargetDatabaseOutputArgs { /** * The unique id of the peer target database. */ peerTargetDatabaseId: pulumi.Input; /** * The OCID of the Data Safe target database. */ targetDatabaseId: pulumi.Input; } //# sourceMappingURL=getTargetDatabasePeerTargetDatabase.d.ts.map