@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
168 lines (167 loc) • 4.89 kB
TypeScript
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",
* });
* ```
*/
export declare function getInstanceBackupDetacheds(args?: GetInstanceBackupDetachedsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceBackupDetachedsResult>;
/**
* A collection of arguments for invoking getInstanceBackupDetacheds.
*/
export interface GetInstanceBackupDetachedsArgs {
/**
* 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 getInstanceBackupDetacheds.
*/
export interface GetInstanceBackupDetachedsResult {
/**
* 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.GetInstanceBackupDetachedsBackup[];
/**
* 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",
* });
* ```
*/
export declare function getInstanceBackupDetachedsOutput(args?: GetInstanceBackupDetachedsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceBackupDetachedsResult>;
/**
* A collection of arguments for invoking getInstanceBackupDetacheds.
*/
export interface GetInstanceBackupDetachedsOutputArgs {
/**
* 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>;
}