UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

170 lines (169 loc) 5.16 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds postgresql instance backup detacheds * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceBackupDetacheds({ * backupEndTime: "2025-12-15T23:59:59.999Z", * backupStartTime: "2025-12-01T00:00:00.000Z", * backupStatus: "Success", * backupType: "Full", * projectName: "default", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstanceBackupDetacheds has been deprecated in favor of volcengine.rds_postgresql.getInstanceBackupDetacheds */ export declare function instanceBackupDetacheds(args?: InstanceBackupDetachedsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceBackupDetachedsResult>; /** * A collection of arguments for invoking InstanceBackupDetacheds. */ export interface InstanceBackupDetachedsArgs { /** * The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ backupEndTime?: string; /** * The ID of the backup. */ backupId?: string; /** * The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ backupStartTime?: string; /** * The status of the backup. */ backupStatus?: string; /** * The type of the backup. */ backupType?: string; /** * The ID of the PostgreSQL instance. */ instanceId?: string; /** * The name of the PostgreSQL instance. */ instanceName?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project to which the instance belongs. */ projectName?: string; } /** * A collection of values returned by InstanceBackupDetacheds. */ export interface InstanceBackupDetachedsResult { /** * The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ readonly backupEndTime?: string; /** * The ID of the backup. */ readonly backupId?: string; /** * The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ readonly backupStartTime?: string; /** * The status of the backup: Success, Failed, Running. */ readonly backupStatus?: string; /** * The type of the backup: Full, Increment. */ readonly backupType?: string; /** * List of deleted instance backups. */ readonly backups: outputs.rds_postgresql.InstanceBackupDetachedsBackup[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the instance. */ readonly instanceId?: string; /** * The name of the instance. */ readonly instanceName?: string; readonly outputFile?: string; readonly projectName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds postgresql instance backup detacheds * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceBackupDetacheds({ * backupEndTime: "2025-12-15T23:59:59.999Z", * backupStartTime: "2025-12-01T00:00:00.000Z", * backupStatus: "Success", * backupType: "Full", * projectName: "default", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstanceBackupDetacheds has been deprecated in favor of volcengine.rds_postgresql.getInstanceBackupDetacheds */ export declare function instanceBackupDetachedsOutput(args?: InstanceBackupDetachedsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceBackupDetachedsResult>; /** * A collection of arguments for invoking InstanceBackupDetacheds. */ export interface InstanceBackupDetachedsOutputArgs { /** * The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ backupEndTime?: pulumi.Input<string>; /** * The ID of the backup. */ backupId?: pulumi.Input<string>; /** * The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ backupStartTime?: pulumi.Input<string>; /** * The status of the backup. */ backupStatus?: pulumi.Input<string>; /** * The type of the backup. */ backupType?: pulumi.Input<string>; /** * The ID of the PostgreSQL instance. */ instanceId?: pulumi.Input<string>; /** * The name of the PostgreSQL instance. */ instanceName?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project to which the instance belongs. */ projectName?: pulumi.Input<string>; }