UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

93 lines (92 loc) 2.68 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", * }); * ``` */ export declare function getBackupDownloads(args: GetBackupDownloadsArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupDownloadsResult>; /** * A collection of arguments for invoking getBackupDownloads. */ export interface GetBackupDownloadsArgs { /** * 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 getBackupDownloads. */ export interface GetBackupDownloadsResult { /** * The id of the backup. */ readonly backupId: string; /** * Download link information (if needed, please trigger the download task first). */ readonly downloads: outputs.rds_postgresql.GetBackupDownloadsDownload[]; /** * 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", * }); * ``` */ export declare function getBackupDownloadsOutput(args: GetBackupDownloadsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackupDownloadsResult>; /** * A collection of arguments for invoking getBackupDownloads. */ export interface GetBackupDownloadsOutputArgs { /** * 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>; }