UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

87 lines (86 loc) 2.36 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of dns backups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.dns.getBackups({ * zid: 58846, * }); * ``` */ /** @deprecated volcengine.dns.Backups has been deprecated in favor of volcengine.dns.getBackups */ export declare function backups(args: BackupsArgs, opts?: pulumi.InvokeOptions): Promise<BackupsResult>; /** * A collection of arguments for invoking Backups. */ export interface BackupsArgs { /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The ID of the domain for which you want to get the backup schedule. */ zid: number; } /** * A collection of values returned by Backups. */ export interface BackupsResult { /** * The collection of query. */ readonly backupInfos: outputs.dns.BackupsBackupInfo[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; readonly zid: number; } /** * Use this data source to query detailed information of dns backups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.dns.getBackups({ * zid: 58846, * }); * ``` */ /** @deprecated volcengine.dns.Backups has been deprecated in favor of volcengine.dns.getBackups */ export declare function backupsOutput(args: BackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BackupsResult>; /** * A collection of arguments for invoking Backups. */ export interface BackupsOutputArgs { /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ID of the domain for which you want to get the backup schedule. */ zid: pulumi.Input<number>; }