UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

95 lines (94 loc) 2.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds postgresql backup downloads * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getBackupDownloads({ * backupId: "20251214-200431-0698LD", * instanceId: "postgres-72715e0d9f58", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.BackupDownloads has been deprecated in favor of volcengine.rds_postgresql.getBackupDownloads */ export declare function backupDownloads(args: BackupDownloadsArgs, opts?: pulumi.InvokeOptions): Promise<BackupDownloadsResult>; /** * A collection of arguments for invoking BackupDownloads. */ export interface BackupDownloadsArgs { /** * The ID of the logical backup to be downloaded. */ backupId: string; /** * The id of the PostgreSQL instance. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by BackupDownloads. */ export interface BackupDownloadsResult { /** * The id of the backup. */ readonly backupId: string; /** * Download link information (if needed, please trigger the download task first). */ readonly downloads: outputs.rds_postgresql.BackupDownloadsDownload[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The id of the PostgreSQL instance. */ readonly instanceId: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds postgresql backup downloads * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getBackupDownloads({ * backupId: "20251214-200431-0698LD", * instanceId: "postgres-72715e0d9f58", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.BackupDownloads has been deprecated in favor of volcengine.rds_postgresql.getBackupDownloads */ export declare function backupDownloadsOutput(args: BackupDownloadsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BackupDownloadsResult>; /** * A collection of arguments for invoking BackupDownloads. */ export interface BackupDownloadsOutputArgs { /** * The ID of the logical backup to be downloaded. */ backupId: pulumi.Input<string>; /** * The id of the PostgreSQL instance. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }