UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

124 lines (123 loc) 3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds mssql backups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mssql.getBackups({ * instanceId: "mssql-40914121fd22", * }); * ``` */ export declare function getBackups(args: GetBackupsArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupsResult>; /** * A collection of arguments for invoking getBackups. */ export interface GetBackupsArgs { /** * The end time of the backup. */ backupEndTime?: string; /** * The id of the backup. */ backupId?: string; /** * The start time of the backup. */ backupStartTime?: string; /** * The type of the backup. */ backupType?: string; /** * The id of the instance. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getBackups. */ export interface GetBackupsResult { /** * The end time of the backup. */ readonly backupEndTime?: string; /** * The id of the backup. */ readonly backupId?: string; /** * The start time of the backup. */ readonly backupStartTime?: string; /** * The type of the backup. */ readonly backupType?: string; /** * The collection of query. */ readonly backups: outputs.rds_mssql.GetBackupsBackup[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds mssql backups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mssql.getBackups({ * instanceId: "mssql-40914121fd22", * }); * ``` */ export declare function getBackupsOutput(args: GetBackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackupsResult>; /** * A collection of arguments for invoking getBackups. */ export interface GetBackupsOutputArgs { /** * The end time of the backup. */ backupEndTime?: pulumi.Input<string>; /** * The id of the backup. */ backupId?: pulumi.Input<string>; /** * The start time of the backup. */ backupStartTime?: pulumi.Input<string>; /** * The type of the backup. */ backupType?: pulumi.Input<string>; /** * The id of the instance. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }