import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Database Tools Connection Credential resource in Oracle Cloud Infrastructure Database Tools Runtime service. * * Get a credential * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsConnectionCredential = oci.databasetools.getRuntimeDatabaseToolsConnectionCredential({ * credentialKey: databaseToolsConnectionCredentialCredentialKey, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * }); * ``` */ export declare function getRuntimeDatabaseToolsConnectionCredential(args: GetRuntimeDatabaseToolsConnectionCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRuntimeDatabaseToolsConnectionCredential. */ export interface GetRuntimeDatabaseToolsConnectionCredentialArgs { /** * The name of the credential */ credentialKey: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection. */ databaseToolsConnectionId: string; } /** * A collection of values returned by getRuntimeDatabaseToolsConnectionCredential. */ export interface GetRuntimeDatabaseToolsConnectionCredentialResult { readonly credentialKey: string; readonly databaseToolsConnectionId: string; /** * Indicates whether this credential is enabled (TRUE) or not (FALSE) */ readonly enabled: string; readonly id: string; /** * Name of the credential */ readonly key: string; /** * Indicates whether this refers to a public synonym or not. */ readonly keyType: string; /** * Owner of the credential */ readonly owner: string; readonly password: string; /** * A related resource for a credential. */ readonly relatedResources: outputs.DatabaseTools.GetRuntimeDatabaseToolsConnectionCredentialRelatedResource[]; /** * The related resource type. */ readonly type: string; /** * Name of the user that will be used to log in to the remote database or the remote or local operating system */ readonly userName: string; /** * For a Windows target, the Windows domain to use when logging in */ readonly windowsDomain: string; } /** * This data source provides details about a specific Database Tools Connection Credential resource in Oracle Cloud Infrastructure Database Tools Runtime service. * * Get a credential * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsConnectionCredential = oci.databasetools.getRuntimeDatabaseToolsConnectionCredential({ * credentialKey: databaseToolsConnectionCredentialCredentialKey, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * }); * ``` */ export declare function getRuntimeDatabaseToolsConnectionCredentialOutput(args: GetRuntimeDatabaseToolsConnectionCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRuntimeDatabaseToolsConnectionCredential. */ export interface GetRuntimeDatabaseToolsConnectionCredentialOutputArgs { /** * The name of the credential */ credentialKey: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection. */ databaseToolsConnectionId: pulumi.Input; } //# sourceMappingURL=getRuntimeDatabaseToolsConnectionCredential.d.ts.map