@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
112 lines (111 loc) • 3.55 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 wal logs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceBackupWalLogs({
* backupId: "000000030000000E00000006",
* endTime: "2025-12-15T23:59:59Z",
* instanceId: "postgres-ac541555dd74",
* startTime: "2025-12-10T00:00:00Z",
* });
* ```
*/
export declare function getInstanceBackupWalLogs(args: GetInstanceBackupWalLogsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceBackupWalLogsResult>;
/**
* A collection of arguments for invoking getInstanceBackupWalLogs.
*/
export interface GetInstanceBackupWalLogsArgs {
/**
* The id of the backup.
*/
backupId?: string;
/**
* The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between startTime and endTime cannot exceed 7 days.
*/
endTime?: string;
/**
* The id of the PostgreSQL instance.
*/
instanceId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
*/
startTime?: string;
}
/**
* A collection of values returned by getInstanceBackupWalLogs.
*/
export interface GetInstanceBackupWalLogsResult {
/**
* The ID of the WAL log backup.
*/
readonly backupId?: string;
readonly endTime?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly outputFile?: string;
readonly startTime?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
/**
* List of WAL log backups.
*/
readonly walLogBackups: outputs.rds_postgresql.GetInstanceBackupWalLogsWalLogBackup[];
}
/**
* Use this data source to query detailed information of rds postgresql instance backup wal logs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const example = volcengine.rds_postgresql.getInstanceBackupWalLogs({
* backupId: "000000030000000E00000006",
* endTime: "2025-12-15T23:59:59Z",
* instanceId: "postgres-ac541555dd74",
* startTime: "2025-12-10T00:00:00Z",
* });
* ```
*/
export declare function getInstanceBackupWalLogsOutput(args: GetInstanceBackupWalLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceBackupWalLogsResult>;
/**
* A collection of arguments for invoking getInstanceBackupWalLogs.
*/
export interface GetInstanceBackupWalLogsOutputArgs {
/**
* The id of the backup.
*/
backupId?: pulumi.Input<string>;
/**
* The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between startTime and endTime cannot exceed 7 days.
*/
endTime?: 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>;
/**
* The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
*/
startTime?: pulumi.Input<string>;
}