import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets information about a backup schedule. */ export declare function getBackupSchedule(args: GetBackupScheduleArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetBackupScheduleArgs { backupScheduleId: string; databaseId: string; project?: string; } export interface GetBackupScheduleResult { /** * The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time. */ readonly createTime: string; /** * For a schedule that runs daily at a specified time. */ readonly dailyRecurrence: outputs.firestore.v1.GoogleFirestoreAdminV1DailyRecurrenceResponse; /** * The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` */ readonly name: string; /** * At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. */ readonly retention: string; /** * The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time. */ readonly updateTime: string; /** * For a schedule that runs weekly on a specific day and time. */ readonly weeklyRecurrence: outputs.firestore.v1.GoogleFirestoreAdminV1WeeklyRecurrenceResponse; } /** * Gets information about a backup schedule. */ export declare function getBackupScheduleOutput(args: GetBackupScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetBackupScheduleOutputArgs { backupScheduleId: pulumi.Input; databaseId: pulumi.Input; project?: pulumi.Input; }