import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Database Tools Connection User Credential resource in Oracle Cloud Infrastructure Database Tools Runtime service. * * Get a user credential * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsConnectionUserCredential = oci.databasetools.getRuntimeDatabaseToolsConnectionUserCredential({ * credentialKey: databaseToolsConnectionUserCredentialCredentialKey, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * userKey: databaseToolsConnectionUserCredentialUserKey, * }); * ``` */ export declare function getRuntimeDatabaseToolsConnectionUserCredential(args: GetRuntimeDatabaseToolsConnectionUserCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRuntimeDatabaseToolsConnectionUserCredential. */ export interface GetRuntimeDatabaseToolsConnectionUserCredentialArgs { /** * 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; /** * The name of the database user. */ userKey: string; } /** * A collection of values returned by getRuntimeDatabaseToolsConnectionUserCredential. */ export interface GetRuntimeDatabaseToolsConnectionUserCredentialResult { readonly credentialKey: string; readonly databaseToolsConnectionId: string; /** * Indicates whether this credential is enabled (TRUE) or not (FALSE) */ readonly enabled: string; /** * The provider-assigned unique ID for this managed resource. */ 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; /** * A related resource for a credential. */ readonly relatedResources: outputs.DatabaseTools.GetRuntimeDatabaseToolsConnectionUserCredentialRelatedResource[]; readonly userKey: 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 User Credential resource in Oracle Cloud Infrastructure Database Tools Runtime service. * * Get a user credential * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsConnectionUserCredential = oci.databasetools.getRuntimeDatabaseToolsConnectionUserCredential({ * credentialKey: databaseToolsConnectionUserCredentialCredentialKey, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * userKey: databaseToolsConnectionUserCredentialUserKey, * }); * ``` */ export declare function getRuntimeDatabaseToolsConnectionUserCredentialOutput(args: GetRuntimeDatabaseToolsConnectionUserCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRuntimeDatabaseToolsConnectionUserCredential. */ export interface GetRuntimeDatabaseToolsConnectionUserCredentialOutputArgs { /** * 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; /** * The name of the database user. */ userKey: pulumi.Input; } //# sourceMappingURL=getRuntimeDatabaseToolsConnectionUserCredential.d.ts.map