import * as pulumi from "@pulumi/pulumi"; /** * Get Latest Recovery Time for a given instance. For more information see the * [official documentation](https://cloud.google.com/sql/) * and * [API](https://cloud.google.com/sql/docs/postgres/backup-recovery/pitr#get-the-latest-recovery-time). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.sql.getDatabaseInstanceLatestRecoveryTime({ * instance: "sample-instance", * }); * export const latestRecoveryTime = _default; * ``` */ export declare function getDatabaseInstanceLatestRecoveryTime(args: GetDatabaseInstanceLatestRecoveryTimeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseInstanceLatestRecoveryTime. */ export interface GetDatabaseInstanceLatestRecoveryTimeArgs { /** * The name of the instance. */ instance: string; /** * The ID of the project in which the resource belongs. */ project?: string; sourceInstanceDeletionTime?: string; } /** * A collection of values returned by getDatabaseInstanceLatestRecoveryTime. */ export interface GetDatabaseInstanceLatestRecoveryTimeResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the instance. */ readonly instance: string; /** * Timestamp, identifies the latest recovery time of the source instance. */ readonly latestRecoveryTime: string; /** * The ID of the project in which the resource belongs. */ readonly project: string; readonly sourceInstanceDeletionTime?: string; } /** * Get Latest Recovery Time for a given instance. For more information see the * [official documentation](https://cloud.google.com/sql/) * and * [API](https://cloud.google.com/sql/docs/postgres/backup-recovery/pitr#get-the-latest-recovery-time). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.sql.getDatabaseInstanceLatestRecoveryTime({ * instance: "sample-instance", * }); * export const latestRecoveryTime = _default; * ``` */ export declare function getDatabaseInstanceLatestRecoveryTimeOutput(args: GetDatabaseInstanceLatestRecoveryTimeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseInstanceLatestRecoveryTime. */ export interface GetDatabaseInstanceLatestRecoveryTimeOutputArgs { /** * The name of the instance. */ instance: pulumi.Input; /** * The ID of the project in which the resource belongs. */ project?: pulumi.Input; sourceInstanceDeletionTime?: pulumi.Input; }