import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a Harness DBDevOps Instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getDbInstance({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * schema: "schema1", * }); * ``` */ export declare function getDbInstance(args: GetDbInstanceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbInstance. */ export interface GetDbInstanceArgs { /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId: string; /** * Unique identifier of the project. */ projectId: string; /** * The identifier of the parent database schema */ schema: string; /** * The properties to substitute in changelog migration script */ substituteProperties?: { [key: string]: string; }; } /** * A collection of values returned by getDbInstance. */ export interface GetDbInstanceResult { /** * The branch of changeSet repository */ readonly branch: string; /** * The connector to database */ readonly connector: string; /** * The liquibase context */ readonly context: string; /** * Description of the resource. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier: string; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId: string; /** * Unique identifier of the project. */ readonly projectId: string; /** * The identifier of the parent database schema */ readonly schema: string; /** * The properties to substitute in changelog migration script */ readonly substituteProperties?: { [key: string]: string; }; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for retrieving a Harness DBDevOps Instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getDbInstance({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * schema: "schema1", * }); * ``` */ export declare function getDbInstanceOutput(args: GetDbInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbInstance. */ export interface GetDbInstanceOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId: pulumi.Input; /** * Unique identifier of the project. */ projectId: pulumi.Input; /** * The identifier of the parent database schema */ schema: pulumi.Input; /** * The properties to substitute in changelog migration script */ substituteProperties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getDbInstance.d.ts.map