UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

126 lines (125 loc) 3.19 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", * }); * ``` */ /** @deprecated volcengine.rds_mssql.Backups has been deprecated in favor of volcengine.rds_mssql.getBackups */ export declare function backups(args: BackupsArgs, opts?: pulumi.InvokeOptions): Promise<BackupsResult>; /** * A collection of arguments for invoking Backups. */ export interface BackupsArgs { /** * 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 Backups. */ export interface BackupsResult { /** * 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.BackupsBackup[]; /** * 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", * }); * ``` */ /** @deprecated volcengine.rds_mssql.Backups has been deprecated in favor of volcengine.rds_mssql.getBackups */ export declare function backupsOutput(args: BackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BackupsResult>; /** * A collection of arguments for invoking Backups. */ export interface BackupsOutputArgs { /** * 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>; }